Overhaul footer design. See #2032

This commit is contained in:
syeopite 2021-05-01 04:00:51 -07:00
parent f849cad4e2
commit 291193d4dc
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82
3 changed files with 214 additions and 43 deletions

View file

@ -324,8 +324,6 @@ footer {
color: #919191;
margin-top: auto;
padding: 1.5em 0;
text-align: center;
max-height: 30vh;
}
footer a {
@ -333,6 +331,42 @@ footer a {
text-decoration: underline;
}
.footer-content {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 20px;
}
.footer-content #about-invidious-description > b {
font-size: 30px;
}
.footer-section {
margin-right: 20px;
margin-top: 20px;
}
.footer-section-list {
margin-top: 8px;
}
.footer-section-item {
margin-bottom: 4px;
}
@media screen and (max-width: 929px) {
#about-invidious-description {
display: none;
}
}
@media screen and (max-width: 916px) {
#about-invidious-description {
display: none;
}
}
/* keyframes */
@keyframes spin {
@ -383,6 +417,10 @@ span > select {
color: #565d64;
}
.light-theme footer {
background: #f2f2f2;
}
@media (prefers-color-scheme: light) {
.no-theme a:hover,
.no-theme a:active,
@ -406,9 +444,13 @@ span > select {
color: #303030;
}
.light-theme .pure-menu-heading {
.no-theme .pure-menu-heading {
color: #565d64;
}
.no-theme footer {
background: #f2f2f2;
}
}
/*
@ -421,12 +463,19 @@ span > select {
color: rgb(0, 182, 240);
}
.dark-theme a,
.dark-theme .footer {
.dark-theme a {
color: #A8A095;
text-decoration: none;
}
.dark-theme footer {
background: #16191a;
}
.dark-theme .footer-content #about-invidious-description > b {
color: #e5e5e5;
}
body.dark-theme {
background-color: rgba(26, 29, 30, 1);
color: #f0f0f0;
@ -463,7 +512,6 @@ body.dark-theme {
color: #CFCBC1;
}
.dark-theme .pure-menu-link:hover, .dark-theme .pure-menu-link:active, .dark-theme .pure-menu-link:focus {
background-color: rgb(34, 36, 38)
}
@ -510,6 +558,14 @@ body.dark-theme {
background-color: inherit;
color: inherit;
}
.no-theme footer {
background: #16191a;
}
.no-theme footer #about-invidious-description > b {
color: #e5e5e5;
}
}
/*With commit d9528f5 all contents of the page is now within a flexbox. However,