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