]> git.r.bdr.sh - rbdr/r.bdr.sh/blame - css/style.css
Also don't reference Math in cos/sin
[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
f752d89a
RBR
20 .columned .h2 {
21 float: left;
22 margin: 0 40px;
43df122c 23 height: calc(100vh - 200px);
f752d89a 24 }
ea3c62fe 25
f752d89a
RBR
26 .columned h2 {
27 width: 14.6em;
28 }
ea3c62fe 29
f752d89a
RBR
30 .columned .h3, .columned p {
31 width: 22em;
f752d89a
RBR
32 }
33
34 .columned pre { width: 25em }
35}
36
37blockquote, p { max-width: 45em }
38pre { max-width: 55em }
39blockquote {
40 border-left: 4px solid #ccc;
41 padding-left: 10px;
42}
43
44h1, h2, h3 { font-weight: normal }
45br { display: none }
554c7e00 46pre {
c26e6664 47 font-family: courier, monospace;
ea3c62fe 48 font-size: 14px;
20ee07e0 49 background-color: #eee;
f752d89a 50 overflow-x: auto;
554c7e00
RBR
51}
52
3b6787e4 53canvas {
21b1c71d
RBR
54 width: 64px;
55 height: 64px;
56 display: inline-block;
36626ad1 57 background-color: #000;
ad06827e 58 border: 1px solid #000;
967d51a0
BB
59}
60
21b1c71d 61@media (prefers-color-scheme: dark) {
b44cad65 62 body {
554c7e00
RBR
63 color: #fff;
64 background: #000;
b44cad65
RBR
65 }
66
36626ad1
RBR
67 canvas {
68 background-color: #fff;
ad06827e 69 border: 1px solid #fff;
36626ad1
RBR
70 }
71
21b1c71d
RBR
72 a {
73 color: #5dc1fd;
96759a28
RBR
74 display: inline-block;
75 min-height: 48px;
b44cad65
RBR
76 }
77
21b1c71d
RBR
78 a:visited {
79 color: #ed6eff;
b44cad65 80 }
20ee07e0
RBR
81
82 pre {
83 background-color: #222;
84 }
bb31ec9c 85}