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