mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-09 15:02:14 +05:30
badge now supports browser auto theming
This commit is contained in:
parent
34a2a92090
commit
3f64e3f439
@ -22,18 +22,21 @@ body {
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.dark-theme .length-watch-page{
|
.dark-theme .length-watch-page{
|
||||||
position: relative;
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: rgba(35, 35, 35, 1);
|
color: rgba(35, 35, 35, 1);
|
||||||
border-radius: 2px;
|
}
|
||||||
padding: 4px;
|
|
||||||
font-size: 20px;
|
@media (prefers-color-scheme: dark) {
|
||||||
right: 0.25em;
|
.length-watch-page{
|
||||||
bottom: 0.25em;
|
background-color: #fff;
|
||||||
margin-left: 10px;
|
color: rgba(35, 35, 35, 1);
|
||||||
margin-right: 10px;
|
}
|
||||||
|
|
||||||
|
.light-theme .length-watch-page {
|
||||||
|
background-color: rgba(35, 35, 35, 0.75);
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#contents {
|
#contents {
|
||||||
|
Loading…
Reference in New Issue
Block a user