create configmap from files
This commit is contained in:
296
kubernetes/gitea/landingpage.css
Normal file
296
kubernetes/gitea/landingpage.css
Normal file
@@ -0,0 +1,296 @@
|
||||
#alex-landing {
|
||||
min-height: 100vh;
|
||||
background: #0d1117;
|
||||
color: #e6edf3;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
}
|
||||
|
||||
/* Hero */
|
||||
.hero {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 80px 24px 60px;
|
||||
text-align: center;
|
||||
}
|
||||
.hero-inner {
|
||||
max-width: 640px;
|
||||
}
|
||||
.hero h1 {
|
||||
font-size: 3rem;
|
||||
font-weight: 800;
|
||||
margin: 0 0 12px;
|
||||
background: linear-gradient(135deg, #e6edf3 0%, #58a6ff 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
.hero-links {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.btn-primary {
|
||||
padding: 10px 24px;
|
||||
border-radius: 8px;
|
||||
background: #238636;
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
font-size: 0.95rem;
|
||||
text-decoration: none;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.btn-primary:hover { background: #2ea043; }
|
||||
.btn-ghost {
|
||||
padding: 10px 24px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #30363d;
|
||||
color: #e6edf3;
|
||||
font-weight: 600;
|
||||
font-size: 0.95rem;
|
||||
text-decoration: none;
|
||||
transition: border-color 0.2s, background 0.2s;
|
||||
}
|
||||
.btn-ghost:hover { border-color: #58a6ff; background: #58a6ff11; }
|
||||
|
||||
/* Projects section */
|
||||
.projects-section {
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
padding: 0 24px 80px;
|
||||
}
|
||||
.section-header {
|
||||
margin-bottom: 24px;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.section-header h2 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
margin: 0;
|
||||
color: #e6edf3;
|
||||
}
|
||||
.subtitle {
|
||||
font-size: 0.9rem;
|
||||
color: #8b949e;
|
||||
}
|
||||
|
||||
/* Grid */
|
||||
.repo-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
/* Skeleton loaders */
|
||||
.skeleton-card {
|
||||
height: 160px;
|
||||
border-radius: 12px;
|
||||
background: linear-gradient(90deg, #161b22 25%, #21262d 50%, #161b22 75%);
|
||||
background-size: 200% 100%;
|
||||
animation: shimmer 1.4s infinite;
|
||||
}
|
||||
@keyframes shimmer {
|
||||
0% { background-position: 200% 0; }
|
||||
100% { background-position: -200% 0; }
|
||||
}
|
||||
|
||||
/* Repo cards */
|
||||
.repo-card {
|
||||
background: #161b22;
|
||||
border: 1px solid #21262d;
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
|
||||
cursor: pointer;
|
||||
}
|
||||
.repo-card:hover {
|
||||
border-color: #58a6ff;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 24px #58a6ff1a;
|
||||
}
|
||||
.repo-card-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
.repo-icon {
|
||||
font-size: 1.1rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.repo-name {
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
color: #58a6ff;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.repo-private {
|
||||
font-size: 0.7rem;
|
||||
background: #21262d;
|
||||
border: 1px solid #30363d;
|
||||
border-radius: 4px;
|
||||
padding: 1px 6px;
|
||||
color: #8b949e;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.repo-desc {
|
||||
font-size: 0.875rem;
|
||||
color: #8b949e;
|
||||
line-height: 1.5;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
.repo-commit {
|
||||
font-size: 0.8rem;
|
||||
color: #6e7681;
|
||||
border-top: 1px solid #21262d;
|
||||
padding-top: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.commit-dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: #238636;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.commit-msg {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
flex: 1;
|
||||
}
|
||||
.commit-time {
|
||||
color: #484f58;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.repo-meta {
|
||||
display: flex;
|
||||
gap: 14px;
|
||||
font-size: 0.8rem;
|
||||
color: #6e7681;
|
||||
}
|
||||
.repo-meta span { display: flex; align-items: center; gap: 4px; }
|
||||
|
||||
/* Error state */
|
||||
.error-msg {
|
||||
grid-column: 1 / -1;
|
||||
text-align: center;
|
||||
padding: 40px;
|
||||
color: #8b949e;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
/* Activity section */
|
||||
.activity-section {
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
padding: 0 24px 80px;
|
||||
}
|
||||
.view-all-link {
|
||||
font-size: 0.85rem;
|
||||
color: #58a6ff;
|
||||
text-decoration: none;
|
||||
margin-left: auto;
|
||||
}
|
||||
.view-all-link:hover { text-decoration: underline; }
|
||||
.activity-feed {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
border: 1px solid #21262d;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.skeleton-activity {
|
||||
height: 52px;
|
||||
background: linear-gradient(90deg, #161b22 25%, #21262d 50%, #161b22 75%);
|
||||
background-size: 200% 100%;
|
||||
animation: shimmer 1.4s infinite;
|
||||
border-top: 1px solid #0d1117;
|
||||
}
|
||||
.skeleton-activity:first-child { border-top: none; }
|
||||
.activity-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
padding: 12px 16px;
|
||||
background: #161b22;
|
||||
border-top: 1px solid #21262d;
|
||||
font-size: 0.875rem;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
.activity-item:first-child { border-top: none; }
|
||||
.activity-item:hover { background: #1c2128; }
|
||||
.activity-op-icon {
|
||||
flex-shrink: 0;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 50%;
|
||||
background: #21262d;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 0.8rem;
|
||||
margin-top: 1px;
|
||||
}
|
||||
.activity-body { flex: 1; min-width: 0; }
|
||||
.activity-headline { color: #e6edf3; line-height: 1.5; }
|
||||
.activity-headline a {
|
||||
color: #58a6ff;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
}
|
||||
.activity-headline a:hover { text-decoration: underline; }
|
||||
.activity-commits {
|
||||
margin-top: 6px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
}
|
||||
.activity-commit-line {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 0.8rem;
|
||||
color: #8b949e;
|
||||
overflow: hidden;
|
||||
}
|
||||
.activity-commit-sha {
|
||||
font-family: monospace;
|
||||
font-size: 0.75rem;
|
||||
color: #58a6ff;
|
||||
flex-shrink: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
.activity-commit-sha:hover { text-decoration: underline; }
|
||||
.activity-commit-text {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.activity-time {
|
||||
flex-shrink: 0;
|
||||
font-size: 0.78rem;
|
||||
color: #484f58;
|
||||
margin-left: auto;
|
||||
padding-left: 12px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
Reference in New Issue
Block a user