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