]> git.r.bdr.sh - rbdr/r.bdr.sh/blame - css/style.css
Slightly wider 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;
56ffe968 11 text-align: justify;
554c7e00
RBR
12}
13
b28d5c2c
RBR
14aside {
15 clear: both;
16}
17
7629ba8e
RBR
18::selection {
19 color: #00f;
20 background-color: #e8e8e8;
21}
22
f752d89a
RBR
23@media only screen and (min-width: 500px) {
24 body {
25 overflow-x: auto;
26 }
ea3c62fe 27
f752d89a 28 .columned {
f752d89a
RBR
29 width: max-content;
30 }
ea3c62fe 31
d2329634 32 .columned .h2:not(:only-child) {
f752d89a
RBR
33 float: left;
34 margin: 0 40px;
f752d89a 35 }
ea3c62fe 36
d2329634 37 .columned .h2:not(:only-child) h2 {
f752d89a
RBR
38 width: 14.6em;
39 }
ea3c62fe 40
9ac4588d
RBR
41 .columned .h2:not(:only-child) .h3,
42 .columned .h2:not(:only-child) li,
43 .columned .h2:not(:only-child) p {
56ffe968 44 width: 24em;
f752d89a
RBR
45 }
46
d2329634 47 .columned .h2:not(:only-child) pre { width: 25em }
f752d89a
RBR
48}
49
1d6b1b68
RBR
50.columned .h2:first-of-type pre {
51 line-height: 1;
52}
53
f752d89a
RBR
54blockquote, p { max-width: 45em }
55pre { max-width: 55em }
56blockquote {
57 border-left: 4px solid #ccc;
58 padding-left: 10px;
59}
60
f752d89a 61br { display: none }
554c7e00 62pre {
c26e6664 63 font-family: courier, monospace;
2d479f54 64 font-size: 0.875em;
20ee07e0 65 background-color: #eee;
f752d89a 66 overflow-x: auto;
554c7e00
RBR
67}
68
3b6787e4 69canvas {
21b1c71d
RBR
70 width: 64px;
71 height: 64px;
72 display: inline-block;
36626ad1 73 background-color: #000;
ad06827e 74 border: 1px solid #000;
967d51a0
BB
75}
76
21b1c71d 77@media (prefers-color-scheme: dark) {
b44cad65 78 body {
554c7e00
RBR
79 color: #fff;
80 background: #000;
b44cad65
RBR
81 }
82
36626ad1
RBR
83 canvas {
84 background-color: #fff;
ad06827e 85 border: 1px solid #fff;
36626ad1
RBR
86 }
87
21b1c71d
RBR
88 a {
89 color: #5dc1fd;
96759a28
RBR
90 display: inline-block;
91 min-height: 48px;
b44cad65
RBR
92 }
93
21b1c71d
RBR
94 a:visited {
95 color: #ed6eff;
b44cad65 96 }
20ee07e0
RBR
97
98 pre {
99 background-color: #222;
100 }
bb31ec9c 101}