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