mirror of
https://github.com/danbulant/1mb-club
synced 2026-07-08 20:30:35 +00:00
include dark mode for main 1MB website
This commit is contained in:
parent
16683ddc79
commit
193040cc7a
1 changed files with 25 additions and 0 deletions
25
style.css
25
style.css
|
|
@ -107,6 +107,31 @@ footer p {
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Dark Theme */
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
body {
|
||||||
|
background: #2d2d2d;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
.referral {
|
||||||
|
background: rgba(108, 95, 245, 0.4);
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
.referral a, .referral a:visited {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
blockquote {
|
||||||
|
background: #191919;
|
||||||
|
border-left: 5px solid black;
|
||||||
|
}
|
||||||
|
ul li {
|
||||||
|
background: rgba(0,0,0,0.2);
|
||||||
|
}
|
||||||
|
ul li span.before {
|
||||||
|
background: rgba(0,0,0,0.5);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media(max-width:500px) {
|
@media(max-width:500px) {
|
||||||
body {
|
body {
|
||||||
font: 16px/1.5 "Helvetica", "Arial", sans-serif;
|
font: 16px/1.5 "Helvetica", "Arial", sans-serif;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue