]> git.r.bdr.sh - rbdr/r.bdr.sh/blame - css/style.css
Avoid vertical scroll
[rbdr/r.bdr.sh] / css / style.css
CommitLineData
554c7e00 1body {
ea3c62fe
RBR
2 font-family: "Times New Roman", Times, serif;
3 line-height: 1.6;
4 letter-spacing: 0.02em;
554c7e00
RBR
5}
6
f752d89a
RBR
7@media only screen and (min-width: 500px) {
8 body {
9 overflow-x: auto;
10 }
ea3c62fe 11
f752d89a 12 .columned {
43df122c 13 height: calc(100vh - 200px);
f752d89a
RBR
14 width: max-content;
15 }
ea3c62fe 16
f752d89a
RBR
17 .columned .h2 {
18 float: left;
19 margin: 0 40px;
43df122c 20 height: calc(100vh - 200px);
f752d89a 21 }
ea3c62fe 22
f752d89a
RBR
23 .columned h2 {
24 width: 14.6em;
25 }
ea3c62fe 26
f752d89a
RBR
27 .columned .h3, .columned p {
28 width: 22em;
f752d89a
RBR
29 }
30
31 .columned pre { width: 25em }
32}
33
34blockquote, p { max-width: 45em }
35pre { max-width: 55em }
36blockquote {
37 border-left: 4px solid #ccc;
38 padding-left: 10px;
39}
40
41h1, h2, h3 { font-weight: normal }
42br { display: none }
554c7e00
RBR
43pre {
44 font-family: Monaco, monospace;
ea3c62fe 45 font-size: 14px;
20ee07e0 46 background-color: #eee;
f752d89a 47 overflow-x: auto;
554c7e00
RBR
48}
49
3b6787e4 50canvas {
21b1c71d
RBR
51 width: 64px;
52 height: 64px;
53 display: inline-block;
54 background-color: gainsboro;
967d51a0
BB
55}
56
21b1c71d 57@media (prefers-color-scheme: dark) {
b44cad65 58 body {
554c7e00
RBR
59 color: #fff;
60 background: #000;
b44cad65
RBR
61 }
62
21b1c71d
RBR
63 a {
64 color: #5dc1fd;
96759a28
RBR
65 display: inline-block;
66 min-height: 48px;
b44cad65
RBR
67 }
68
21b1c71d
RBR
69 a:visited {
70 color: #ed6eff;
b44cad65 71 }
20ee07e0
RBR
72
73 pre {
74 background-color: #222;
75 }
bb31ec9c 76}