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