]> git.r.bdr.sh - rbdr/r.bdr.sh/blame - css/style.css
Use css font features
[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
RBR
46pre {
47 font-family: Monaco, 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;
57 background-color: gainsboro;
967d51a0
BB
58}
59
21b1c71d 60@media (prefers-color-scheme: dark) {
b44cad65 61 body {
554c7e00
RBR
62 color: #fff;
63 background: #000;
b44cad65
RBR
64 }
65
21b1c71d
RBR
66 a {
67 color: #5dc1fd;
96759a28
RBR
68 display: inline-block;
69 min-height: 48px;
b44cad65
RBR
70 }
71
21b1c71d
RBR
72 a:visited {
73 color: #ed6eff;
b44cad65 74 }
20ee07e0
RBR
75
76 pre {
77 background-color: #222;
78 }
bb31ec9c 79}