-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreader.css
More file actions
131 lines (131 loc) · 2.43 KB
/
Copy pathreader.css
File metadata and controls
131 lines (131 loc) · 2.43 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
* {
box-sizing: border-box;
}
/* Use the bundled IBM Plex Serif for the title and headings (adds a reading
character; body stays on a robust system serif so nothing depends on a load). */
@font-face {
font-family: 'Plex Serif';
src: url('fonts/ibm-plex-serif-600.woff2') format('woff2');
font-weight: 600;
font-display: swap;
}
html,
body {
margin: 0;
height: 100%;
background: var(--paper);
color: var(--ink);
}
#reader {
height: 100%;
overflow-y: auto;
}
.rd-bar {
position: sticky;
top: 0;
z-index: 2;
display: flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
background: var(--paper);
border-bottom: 1px solid var(--border);
}
.rd-slash {
color: var(--accent);
font-family: var(--font-grotesk, sans-serif);
font-weight: 700;
}
.rd-label {
color: var(--muted);
font-size: 12.5px;
letter-spacing: 0.02em;
}
.rd-spacer {
flex: 1;
}
#rd-close {
background: transparent;
border: 1px solid var(--border);
color: var(--muted);
border-radius: var(--radius);
padding: 6px 12px;
font-size: 12.5px;
cursor: pointer;
}
#rd-close:hover {
color: var(--ink);
border-color: var(--border-strong);
}
#rd-article {
max-width: 680px;
margin: 0 auto;
padding: 44px 28px 120px;
}
#rd-title {
font-family: 'Plex Serif', Georgia, serif;
font-weight: 600;
font-size: 30px;
line-height: 1.25;
margin: 0 0 10px;
}
#rd-byline {
color: var(--muted);
font-size: 13px;
margin-bottom: 30px;
}
#rd-byline:empty {
display: none;
}
#rd-content {
font-family: Georgia, 'Times New Roman', serif;
font-size: 18px;
line-height: 1.75;
}
#rd-content p {
margin: 0 0 22px;
}
#rd-content h2,
#rd-content h3,
#rd-content h4 {
font-family: 'Plex Serif', Georgia, serif;
line-height: 1.3;
margin: 34px 0 12px;
}
#rd-content h2 {
font-size: 22px;
}
#rd-content h3 {
font-size: 19px;
}
#rd-content img {
max-width: 100%;
height: auto;
border-radius: var(--radius);
margin: 8px 0 24px;
display: block;
}
#rd-content blockquote {
margin: 0 0 22px;
padding-left: 18px;
border-left: 3px solid var(--accent);
color: var(--muted);
}
#rd-content ul {
margin: 0 0 22px;
padding-left: 22px;
}
#rd-content li {
margin-bottom: 8px;
}
#rd-content pre {
background: var(--raised);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 14px;
overflow-x: auto;
font-family: var(--font-mono, monospace);
font-size: 13.5px;
line-height: 1.5;
white-space: pre-wrap;
}