]>
Commit | Line | Data |
---|---|---|
1 | body { | |
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; | |
6 | line-height: 1.6; | |
7 | letter-spacing: 0.02em; | |
8 | } | |
9 | ||
10 | @media only screen and (min-width: 500px) { | |
11 | body { | |
12 | overflow-x: auto; | |
13 | } | |
14 | ||
15 | .columned { | |
16 | height: calc(100vh - 200px); | |
17 | width: max-content; | |
18 | } | |
19 | ||
20 | .columned .h2 { | |
21 | float: left; | |
22 | margin: 0 40px; | |
23 | height: calc(100vh - 200px); | |
24 | } | |
25 | ||
26 | .columned h2 { | |
27 | width: 14.6em; | |
28 | } | |
29 | ||
30 | .columned .h3, .columned p { | |
31 | width: 22em; | |
32 | } | |
33 | ||
34 | .columned pre { width: 25em } | |
35 | } | |
36 | ||
37 | blockquote, p { max-width: 45em } | |
38 | pre { max-width: 55em } | |
39 | blockquote { | |
40 | border-left: 4px solid #ccc; | |
41 | padding-left: 10px; | |
42 | } | |
43 | ||
44 | h1, h2, h3 { font-weight: normal } | |
45 | br { display: none } | |
46 | pre { | |
47 | font-family: courier, monospace; | |
48 | font-size: 14px; | |
49 | background-color: #eee; | |
50 | overflow-x: auto; | |
51 | } | |
52 | ||
53 | canvas { | |
54 | width: 64px; | |
55 | height: 64px; | |
56 | display: inline-block; | |
57 | background-color: #000; | |
58 | } | |
59 | ||
60 | @media (prefers-color-scheme: dark) { | |
61 | body { | |
62 | color: #fff; | |
63 | background: #000; | |
64 | } | |
65 | ||
66 | canvas { | |
67 | background-color: #fff; | |
68 | } | |
69 | ||
70 | a { | |
71 | color: #5dc1fd; | |
72 | display: inline-block; | |
73 | min-height: 48px; | |
74 | } | |
75 | ||
76 | a:visited { | |
77 | color: #ed6eff; | |
78 | } | |
79 | ||
80 | pre { | |
81 | background-color: #222; | |
82 | } | |
83 | } |