Overhaul footer design. See #2032

This commit is contained in:
syeopite
2021-05-01 04:00:51 -07:00
parent f5a0a6b899
commit f0c74a9429
3 changed files with 214 additions and 43 deletions

View File

@@ -309,8 +309,6 @@ footer {
color: #919191;
margin-top: auto;
padding: 1.5em 0;
text-align: center;
max-height: 30vh;
}
footer a {
@@ -318,6 +316,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 {
@@ -368,6 +402,10 @@ span > select {
color: #565d64;
}
.light-theme footer {
background: #f2f2f2;
}
@media (prefers-color-scheme: light) {
.no-theme a:hover,
.no-theme a:active,
@@ -391,9 +429,13 @@ span > select {
color: #303030;
}
.light-theme .pure-menu-heading {
.no-theme .pure-menu-heading {
color: #565d64;
}
.no-theme footer {
background: #f2f2f2;
}
}
/*
@@ -406,12 +448,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;
@@ -448,7 +497,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)
}
@@ -495,6 +543,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,