]> git.r.bdr.sh - rbdr/r.bdr.sh/blame - css/style.css
Add the system body text
[rbdr/r.bdr.sh] / css / style.css
CommitLineData
a28829c3
RBR
1html {
2 scroll-behavior: smooth;
3}
4
554c7e00 5body {
2d479f54 6 font: -apple-system-body;
cb935595 7 font-family: "Hoefler Text", "Times New Roman", serif;
1203ab0c 8 font-feature-settings: "liga" 1, "dlig" 1, "pnum" 1;
ea3c62fe
RBR
9 line-height: 1.6;
10 letter-spacing: 0.02em;
554c7e00
RBR
11}
12
f752d89a
RBR
13@media only screen and (min-width: 500px) {
14 body {
15 overflow-x: auto;
16 }
ea3c62fe 17
f752d89a 18 .columned {
43df122c 19 height: calc(100vh - 200px);
f752d89a
RBR
20 width: max-content;
21 }
ea3c62fe 22
d2329634 23 .columned .h2:not(:only-child) {
f752d89a
RBR
24 float: left;
25 margin: 0 40px;
43df122c 26 height: calc(100vh - 200px);
f752d89a 27 }
ea3c62fe 28
d2329634 29 .columned .h2:not(:only-child) h2 {
f752d89a
RBR
30 width: 14.6em;
31 }
ea3c62fe 32
9ac4588d
RBR
33 .columned .h2:not(:only-child) .h3,
34 .columned .h2:not(:only-child) li,
35 .columned .h2:not(:only-child) p {
f752d89a 36 width: 22em;
f752d89a
RBR
37 }
38
d2329634 39 .columned .h2:not(:only-child) pre { width: 25em }
f752d89a
RBR
40}
41
1d6b1b68
RBR
42.columned .h2:first-of-type pre {
43 line-height: 1;
44}
45
f752d89a
RBR
46blockquote, p { max-width: 45em }
47pre { max-width: 55em }
48blockquote {
49 border-left: 4px solid #ccc;
50 padding-left: 10px;
51}
52
53h1, h2, h3 { font-weight: normal }
54br { display: none }
554c7e00 55pre {
c26e6664 56 font-family: courier, monospace;
2d479f54 57 font-size: 0.875em;
20ee07e0 58 background-color: #eee;
f752d89a 59 overflow-x: auto;
554c7e00
RBR
60}
61
3b6787e4 62canvas {
21b1c71d
RBR
63 width: 64px;
64 height: 64px;
65 display: inline-block;
36626ad1 66 background-color: #000;
ad06827e 67 border: 1px solid #000;
967d51a0
BB
68}
69
21b1c71d 70@media (prefers-color-scheme: dark) {
b44cad65 71 body {
554c7e00
RBR
72 color: #fff;
73 background: #000;
b44cad65
RBR
74 }
75
36626ad1
RBR
76 canvas {
77 background-color: #fff;
ad06827e 78 border: 1px solid #fff;
36626ad1
RBR
79 }
80
21b1c71d
RBR
81 a {
82 color: #5dc1fd;
96759a28
RBR
83 display: inline-block;
84 min-height: 48px;
b44cad65
RBR
85 }
86
21b1c71d
RBR
87 a:visited {
88 color: #ed6eff;
b44cad65 89 }
20ee07e0
RBR
90
91 pre {
92 background-color: #222;
93 }
bb31ec9c 94}