mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-02 11:41:08 +05:30
Add Invidious version to footer
This commit is contained in:
parent
629f95fcbe
commit
dc9697157b
@ -459,12 +459,23 @@ p.video-data { margin: 0; font-weight: bold; font-size: 80%; }
|
||||
* Footer
|
||||
*/
|
||||
|
||||
footer {
|
||||
footer {
|
||||
color: #919191;
|
||||
margin-top: 2.5em;
|
||||
padding: 1.5em 0;
|
||||
}
|
||||
|
||||
#footer-content-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
#footer-content-container > hr {
|
||||
margin: 0;
|
||||
color: rgb(241, 241, 241);
|
||||
}
|
||||
|
||||
.footer-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@ -472,7 +483,7 @@ p.video-data { margin: 0; font-weight: bold; font-size: 80%; }
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
footer .footer-content a {
|
||||
footer a {
|
||||
color: #919191;
|
||||
}
|
||||
|
||||
@ -493,6 +504,20 @@ footer .footer-content a {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.footer-footer .left {
|
||||
float: left
|
||||
}
|
||||
|
||||
.footer-footer .right {
|
||||
float: right;
|
||||
display: flex;
|
||||
gap: 5px;;
|
||||
}
|
||||
|
||||
.footer-right .right a {
|
||||
color: #919191
|
||||
}
|
||||
|
||||
@media screen and (max-width: 929px) {
|
||||
#about-invidious-description {
|
||||
display: none;
|
||||
@ -563,11 +588,20 @@ span > select {
|
||||
}
|
||||
|
||||
.light-theme footer {
|
||||
color: #7a7a7a;
|
||||
background: #f2f2f2;
|
||||
}
|
||||
|
||||
.light-theme #footer-content-container > hr {
|
||||
color: rgb(241, 241, 241);
|
||||
}
|
||||
|
||||
.light-theme footer a {
|
||||
color: #7c7c7c !important;
|
||||
}
|
||||
|
||||
.light-theme footer #about-invidious-description > b {
|
||||
color: #7a7a7a;
|
||||
color: #565D64;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
@ -605,24 +639,21 @@ span > select {
|
||||
color: #303030;
|
||||
}
|
||||
|
||||
.no-theme footer {
|
||||
color: #7c7c7c;
|
||||
}
|
||||
|
||||
.no-theme footer a {
|
||||
color: #7c7c7c !important;
|
||||
}
|
||||
|
||||
.light-theme .pure-menu-heading {
|
||||
color: #565d64;
|
||||
}
|
||||
|
||||
.no-theme footer {
|
||||
background: #f2f2f2;
|
||||
color: #7c7c7c;
|
||||
}
|
||||
|
||||
.no-theme footer #about-invidious-description > b {
|
||||
color: #7a7a7a;
|
||||
color: #565D64;
|
||||
}
|
||||
|
||||
.no-theme footer a {
|
||||
color: #7c7c7c !important;
|
||||
}
|
||||
}
|
||||
|
||||
@ -691,8 +722,12 @@ body.dark-theme {
|
||||
background: #16191a;
|
||||
}
|
||||
|
||||
.dark-theme #footer-content-container > hr {
|
||||
color: #313131;
|
||||
}
|
||||
|
||||
.dark-theme .footer-content #about-invidious-description > b {
|
||||
color: #e5e5e5;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
|
||||
@ -752,10 +787,11 @@ body.dark-theme {
|
||||
|
||||
.no-theme footer {
|
||||
background: #16191a;
|
||||
color: #313131;
|
||||
}
|
||||
|
||||
.no-theme footer #about-invidious-description > b {
|
||||
color: #e5e5e5;
|
||||
color: #ccc;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -137,7 +137,7 @@
|
||||
|
||||
<footer class="pure-g">
|
||||
<div class="pure-u-1 pure-u-md-2-24"></div>
|
||||
<div class="h-box pure-u-1 pure-u-md-20-24">
|
||||
<div class="h-box pure-u-1 pure-u-md-20-24" id="footer-content-container">
|
||||
<div class="pure-u-1 footer-content">
|
||||
<div class="footer-section pure-u-1-4" id="about-invidious-description">
|
||||
<b>Invidious</b>
|
||||
@ -249,25 +249,17 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer-section">
|
||||
<b class="footer-section-header"><%= translate(locale, "footer_legal_section_header")%></b>
|
||||
<ul class="pure-menu-list footer-section-list">
|
||||
<li class="pure-menu-item footer-section-item">
|
||||
<a href="/licenses" title="<%= translate(locale, "footer_licences_link")%>">
|
||||
<%= translate(locale, "footer_licences_link") %>
|
||||
</a>
|
||||
</li>
|
||||
<!-- TODO -->
|
||||
<li class="pure-menu-item footer-section-item">
|
||||
<a href="/privacy" title="<%= translate(locale, "footer_privacy_policy_link")%>">
|
||||
<%= translate(locale, "footer_privacy_policy_link") %>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="footer-footer">
|
||||
<span class="left"><%= translate(locale, "Current version: ") %> <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %></span>
|
||||
<div class="right">
|
||||
<a href="/privacy" title="<%= translate(locale, "footer_privacy_policy_link")%>"><%= translate(locale, "footer_privacy_policy_link") %></a>
|
||||
<span> | </span>
|
||||
<a href="/licenses" title="<%= translate(locale, "footer_licences_link")%>"><%= translate(locale, "footer_licences_link") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <%= translate(locale, "Current version: ") %> <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %> -->
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-2-24"></div>
|
||||
</footer>
|
||||
|
Loading…
Reference in New Issue
Block a user