improved footer
This commit is contained in:
parent
de57e628c4
commit
7e0021aa9b
2 changed files with 251 additions and 63 deletions
240
dist/css/styles.css
vendored
240
dist/css/styles.css
vendored
|
|
@ -913,69 +913,171 @@ select:focus {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-footer {
|
/* Footer */
|
||||||
background: var(--bg-secondary);
|
.site-footer {
|
||||||
border-top: 1px solid var(--border-primary);
|
background: var(--bg-secondary);
|
||||||
padding: var(--space-6xl) 0 var(--space-3xl);
|
border-top: 1px solid var(--border-primary);
|
||||||
margin-top: auto
|
padding: var(--space-7xl) 0 var(--space-4xl);
|
||||||
}
|
margin-top: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.footer-content {
|
.footer-content {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
grid-template-columns: 2fr 1fr 1fr 1fr;
|
||||||
gap: var(--space-4xl);
|
gap: var(--space-5xl);
|
||||||
margin-bottom: var(--space-4xl)
|
margin-bottom: var(--space-5xl);
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-section h4 {
|
.footer-section h4,
|
||||||
margin: 0 0 var(--space-xl);
|
.footer-section h5 {
|
||||||
font-size: var(--text-lg);
|
margin: 0 0 var(--space-xl);
|
||||||
font-weight: var(--font-semibold);
|
font-size: var(--text-lg);
|
||||||
color: var(--text-primary)
|
font-weight: var(--font-semibold);
|
||||||
}
|
color: var(--text-primary);
|
||||||
|
}
|
||||||
|
|
||||||
.footer-section p {
|
.footer-section h5 {
|
||||||
margin: 0;
|
font-size: var(--text-base);
|
||||||
color: var(--text-secondary);
|
margin-bottom: var(--space-lg);
|
||||||
line-height: 1.6
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.footer-section ul {
|
.footer-brand {
|
||||||
list-style: none;
|
display: flex;
|
||||||
padding: 0;
|
align-items: center;
|
||||||
margin: 0
|
gap: var(--space-md);
|
||||||
}
|
margin-bottom: var(--space-lg);
|
||||||
|
}
|
||||||
|
|
||||||
.footer-section li {
|
.footer-logo {
|
||||||
margin-bottom: var(--space-sm)
|
width: 32px;
|
||||||
}
|
height: 32px;
|
||||||
|
color: var(--primary);
|
||||||
|
}
|
||||||
|
|
||||||
.footer-section a {
|
.footer-brand h4 {
|
||||||
color: var(--text-secondary);
|
margin: 0;
|
||||||
transition: color var(--transition-fast)
|
font-size: var(--text-xl);
|
||||||
}
|
font-weight: var(--font-bold);
|
||||||
|
}
|
||||||
|
|
||||||
.footer-section a:hover {
|
.footer-description {
|
||||||
color: var(--primary)
|
margin: 0 0 var(--space-xl);
|
||||||
}
|
color: var(--text-secondary);
|
||||||
|
line-height: 1.6;
|
||||||
|
max-width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
.footer-bottom {
|
.footer-stats {
|
||||||
text-align: center;
|
display: flex;
|
||||||
padding-top: var(--space-3xl);
|
gap: var(--space-lg);
|
||||||
border-top: 1px solid var(--border-primary)
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-bottom p {
|
.footer-stat {
|
||||||
margin: 0;
|
display: inline-flex;
|
||||||
color: var(--text-tertiary);
|
align-items: center;
|
||||||
font-size: var(--text-sm)
|
padding: var(--space-xs) var(--space-md);
|
||||||
}
|
background: var(--bg-primary);
|
||||||
|
border: 1px solid var(--border-primary);
|
||||||
|
border-radius: var(--radius-full);
|
||||||
|
font-size: var(--text-xs);
|
||||||
|
font-weight: var(--font-medium);
|
||||||
|
color: var(--text-secondary);
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
}
|
||||||
|
|
||||||
.footer-bottom a {
|
.footer-links {
|
||||||
color: var(--primary)
|
list-style: none;
|
||||||
}
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.back-to-top.visible {
|
.footer-links li {
|
||||||
|
margin-bottom: var(--space-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links a {
|
||||||
|
color: var(--text-secondary);
|
||||||
|
text-decoration: none;
|
||||||
|
transition: color var(--transition-fast);
|
||||||
|
font-size: var(--text-sm);
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links a:hover {
|
||||||
|
color: var(--primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-bottom {
|
||||||
|
padding-top: var(--space-4xl);
|
||||||
|
border-top: 1px solid var(--border-primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-bottom-content {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: flex-end;
|
||||||
|
gap: var(--space-3xl);
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-left p {
|
||||||
|
margin: 0 0 var(--space-sm);
|
||||||
|
color: var(--text-tertiary);
|
||||||
|
font-size: var(--text-sm);
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-disclaimer {
|
||||||
|
font-size: var(--text-xs) !important;
|
||||||
|
color: var(--text-muted) !important;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-left a {
|
||||||
|
color: var(--primary);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-left a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-right {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-meta {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: var(--space-lg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.last-updated {
|
||||||
|
font-size: var(--text-xs);
|
||||||
|
color: var(--text-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
.github-link {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
background: var(--bg-primary);
|
||||||
|
border: 1px solid var(--border-primary);
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
color: var(--text-secondary);
|
||||||
|
text-decoration: none;
|
||||||
|
transition: all var(--transition-fast);
|
||||||
|
}
|
||||||
|
|
||||||
|
.github-link:hover {
|
||||||
|
background: var(--primary);
|
||||||
|
color: white;
|
||||||
|
border-color: var(--primary);
|
||||||
|
transform: translateY(-1px);
|
||||||
|
box-shadow: var(--shadow-md);
|
||||||
|
}.back-to-top.visible {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
transform: translateY(0)
|
transform: translateY(0)
|
||||||
|
|
@ -1184,6 +1286,15 @@ select:focus {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
gap: var(--space-md)
|
gap: var(--space-md)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer-content {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
gap: var(--space-xl)
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-brand h3 {
|
||||||
|
font-size: var(--text-lg)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width:480px) {
|
@media (max-width:480px) {
|
||||||
|
|
@ -1209,6 +1320,31 @@ select:focus {
|
||||||
.comparison-filters {
|
.comparison-filters {
|
||||||
gap: var(--space-sm)
|
gap: var(--space-sm)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer-content {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
gap: var(--space-lg)
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-brand {
|
||||||
|
text-align: center;
|
||||||
|
padding-bottom: var(--space-lg);
|
||||||
|
border-bottom: 1px solid rgba(var(--text-rgb), 0.1);
|
||||||
|
margin-bottom: var(--space-lg)
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links {
|
||||||
|
justify-content: center
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links h4 {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: var(--space-md)
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-bottom {
|
||||||
|
text-align: center
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media print {
|
@media print {
|
||||||
|
|
|
||||||
74
dist/index.html
vendored
74
dist/index.html
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue