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