1
0
mirror of https://github.com/aureliendavid/rsspreview.git synced 2025-08-23 03:38:44 +00:00

CSS: dark mode

Feed preview will use dark mode according to the browser settings.
Colors are the same (or similar) that Firefox uses in its own menus.
This commit is contained in:
dmnix 2023-11-24 22:17:38 +01:00
parent b9f80de6ac
commit f8e8dc9bcc

View File

@ -169,3 +169,27 @@ img {
padding-left: 5px; padding-left: 5px;
padding-top: 3px; padding-top: 3px;
} }
@media(prefers-color-scheme: dark){
html {
background-color: rgb(28, 27, 34);
color: white;
}
h1 {
border-color: rgba(249,249,250,0.2);
}
#feedBody {
border-color: rgba(249,249,250,0.2);
background-color: rgb(35, 34, 43);
}
#feedBody a {
color: rgb(0,221,255);
}
.link {
color: rgb(0,221,255);
}
.enclosures {
border-color: rgba(249,249,250,0.2);
background-color: rgb(28, 27, 34);
}
}