diff --git a/assets/css/default.css b/assets/css/default.css index 79489c8c..f9e6a2ea 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -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, diff --git a/locales/en-US.json b/locales/en-US.json index 020c22ee..2c6cebb1 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -430,5 +430,20 @@ "Stats": "Stats", "Joined": "Joined", "Links": "Links", - "This channel doesn't feature any other channels.": "This channel doesn't feature any other channels." + "This channel doesn't feature any other channels.": "This channel doesn't feature any other channels.", + "Navigation": "Navigation", + "Home": "Home", + "Project Homepage": "Project Homepage", + "Source Code": "Source Code", + "Issue tracker": "Issue tracker", + "Public instances": "Public instances", + "Donate": "Donate", + "Matrix": "Matrix", + "Support": "Support", + "Contact instance maintainer": "Contact instance maintainer", + "Report a bug": "Report a bug", + "FAQs": "FAQs", + "Legal": "Legal", + "Licences": "Licences", + "Privacy": "Privacy" } diff --git a/src/invidious/views/template.ecr b/src/invidious/views/template.ecr index ec8408c8..bf650a9d 100644 --- a/src/invidious/views/template.ecr +++ b/src/invidious/views/template.ecr @@ -114,42 +114,6 @@ <% end %> <%= content %> - -
@@ -167,6 +131,142 @@ <% end %> + +