]> git.r.bdr.sh - rbdr/r.bdr.sh/blame - jekyll/css/application.css
Add dark mode support
[rbdr/r.bdr.sh] / jekyll / css / application.css
CommitLineData
c412c76b 1body {
35ed3bd3 2 margin: 0;
967d51a0
BB
3 background-color: white;
4 font-family: times, 'Times New Roman', serif;
5 font-smooth: never;
6 -webkit-font-smoothing: none;
89539330 7}
967d51a0 8
bb31ec9c 9h1 a, h1 a:visited {
967d51a0
BB
10 color: black;
11}
12
23760dda 13.main-container {
c412c76b 14 margin: 20px 0;
89539330
BB
15}
16
c412c76b
BB
17h1,
18h2,
19h3 {
35ed3bd3 20 margin-left: 10px;
b157bf19 21 font-weight: 300;
16b61d2c
BB
22}
23
967d51a0
BB
24h1 {
25 font-size: 3.33em;
26}
27
28h2 {
29 font-size: 1.61em;
16b61d2c
BB
30}
31
c412c76b 32a {
967d51a0 33 color: blue;
89539330
BB
34}
35
967d51a0
BB
36a:visited {
37 color: purple;
89539330
BB
38}
39
35ed3bd3
BB
40ul, p {
41 margin-left: 10px;
42}
43
c412c76b
BB
44ul {
45 list-style: square;
89539330
BB
46}
47
967d51a0
BB
48li {
49 line-height: 1.82em;
50}
35ed3bd3
BB
51
52img,
53video {
54 max-width: 100vw;
55}
bb31ec9c
BB
56
57/* Dark mode overrides */
58@media (prefers-color-scheme: dark) {
59 body {
60 background-color: white;
61 color: white;
62 }
63
64 h1 a, h1 a:visited {
65 color: white;
66 }
67
68 a {
69 color: #53FFFF;
70 }
71
72 a:visited {
73 color: #FF55FF;
74 }
75}