-
Notifications
You must be signed in to change notification settings - Fork 0
/
simple-readability.css
83 lines (74 loc) · 1010 Bytes
/
simple-readability.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/* dark mode, and a little bit of meyer reset */
* {
background-color: #363839 !important;
color: #d1cec9 !important;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
body {
line-height: 1.1;
max-width: 85%;
margin: 3em;
font-size: 150%;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
color: #d1cec9;
}
p {
line-height: 1.35;
}
/* https://alistapart.com/article/axiomatic-css-and-lobotomized-owls/ */
* + * {
margin-top: 1.2em;
}
/* Heading Hierarchy */
h1 {
font-size: 60px;
}
h2 {
font-size: 48px;
}
h3 {
font-size: 36px;
}
h4 {
font-size: 30px;
}
h5 {
font-size: 24px;
}
h6 {
font-size: 21px;
}
/* Links */
a {
color: #d1cec9;
text-decoration: underline;
}
a:visited {
color: #8e8b88;
}
blockquote,
aside {
border-left: 5px solid gray;
margin-left: 0;
padding-left: 1em;
}
/* Code */
code,
pre {
font-family: monospace;
font-size: 95%;
border: 1px dotted #ccc;
padding: 0.4em 0.5em;
/* wrap */
white-space: pre-wrap;
word-wrap: break-word;
}