Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
107 lines (96 loc) · 5.42 KB
/
Copy pathstyle.css
File metadata and controls
107 lines (96 loc) · 5.42 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
/* provemark */
@import url('/fonts/fonts.css');
:root {
--maxw: 46rem;
--paper: #f6f3ec;
--ink: #1c1a17;
--soft: #6a655b;
--rule: #d8d1c3;
--stamp: #a8321f;
--link: #1d4f7a;
--code: #ece7dc;
--serif: 'IBM Plex Serif', Georgia, serif;
--sans: 'IBM Plex Sans', system-ui, sans-serif;
--mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
:root {
--paper: #17150f;
--ink: #ebe5d8;
--soft: #a59e8f;
--rule: #3b362c;
--stamp: #e0705a;
--link: #8db8de;
--code: #24211a;
}
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0; background: var(--paper); color: var(--ink);
font-family: var(--serif); font-size: 17.5px; line-height: 1.65;
-webkit-font-smoothing: antialiased;
}
::selection { background: var(--stamp); color: var(--paper); }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--link) 40%, transparent); }
a:hover { text-decoration-color: var(--link); }
:focus-visible { outline: 2px solid var(--stamp); outline-offset: 2px; }
img, svg { max-width: 100%; }
/* header: the P mark, then the name in mono */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .inner { max-width: var(--maxw); margin: 0 auto; padding: 1rem 1.25rem; display: flex; align-items: center; }
.brand { font-family: var(--mono); font-weight: 500; font-size: 1rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; letter-spacing: -.01em; }
.brand .mark { width: 22px; height: 22px; display: block; border-radius: 3px; }
.header-nav { margin-left: auto; font-family: var(--mono); font-size: .85rem; }
.header-nav a { color: var(--soft); text-decoration: none; }
.header-nav a:hover { color: var(--ink); }
/* page */
.container { max-width: var(--maxw); margin: 0 auto; padding: 2.6rem 1.25rem 3rem; }
.eyebrow { font-family: var(--mono); font-size: .8rem; color: var(--stamp); margin: 0 0 .6rem; text-transform: lowercase; }
h1 { font-family: var(--serif); font-weight: 600; font-size: 2.05rem; line-height: 1.18; letter-spacing: -.012em; margin: 0 0 .7rem; }
h2 { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; letter-spacing: .005em; margin: 2.6rem 0 .8rem; padding-top: .9rem; border-top: 1px solid var(--rule); }
h3 { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; margin: 1.6rem 0 .4rem; }
p, ul, ol { margin: 0 0 1.05rem; }
ul, ol { padding-left: 1.3rem; } li { margin: .3rem 0; }
li::marker { color: var(--soft); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4rem 0; }
.muted { color: var(--ink); }
strong { font-weight: 600; }
code { font-family: var(--mono); font-size: .84em; background: var(--code); padding: .08em .32em; border-radius: 2px; }
pre { font-family: var(--mono); background: var(--code); border-left: 3px solid var(--stamp); padding: .85rem 1rem; overflow-x: auto; font-size: .82rem; line-height: 1.55; }
pre code { background: none; padding: 0; font-size: inherit; }
/* home */
.hero { padding: 0 0 .4rem; }
.hero .lede { font-size: 1.18rem; line-height: 1.55; max-width: 36rem; }
.card { padding: 1.1rem 0 .4rem; border-top: 1px dashed var(--rule); }
.card:first-of-type { border-top: 0; }
.card h3 { margin: 0 0 .5rem; font-family: var(--mono); font-weight: 500; font-size: 1.32rem; letter-spacing: -.01em; }
.card h3 a { color: var(--ink); text-decoration-color: var(--stamp); }
.card p { font-size: .98rem; }
.card .install { margin: .3rem 0 .6rem; }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { display: grid; grid-template-columns: 9.5rem 1fr; gap: .2rem 1rem; padding: .45rem 0; margin: 0; border-bottom: 1px dashed var(--rule); }
.post-list li:last-child { border-bottom: 0; }
.post-list .date { order: -1; font-family: var(--mono); font-size: .82rem; color: var(--soft); padding-top: .2rem; }
.post-list a { color: var(--ink); }
/* articles */
.post .post-header { margin-bottom: 1.4rem; }
.post .post-meta { font-family: var(--mono); font-size: .82rem; color: var(--soft); margin: 0; }
.post .lead { font-size: 1.2rem; line-height: 1.55; margin: 1.2rem 0 1.8rem; padding-left: 1rem; border-left: 3px solid var(--stamp); }
blockquote { margin: 1.3rem 0; padding: 0 0 0 1rem; border-left: 3px solid var(--rule); color: var(--soft); font-style: italic; }
.callout { background: var(--code); padding: .8rem 1rem; margin: 1.3rem 0; font-family: var(--sans); font-size: .95rem; }
table { border-collapse: collapse; width: 100%; margin: 1.3rem 0; font-family: var(--sans); font-size: .9rem; line-height: 1.45; }
.table-wrap { overflow-x: auto; }
th, td { border-bottom: 1px solid var(--rule); padding: .5rem .7rem .5rem 0; text-align: left; vertical-align: top; }
th { font-weight: 600; border-bottom: 1.5px solid var(--ink); }
.cta { margin: 2.6rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: .92rem; color: var(--soft); }
/* footer */
.site-footer { border-top: 1px solid var(--rule); margin-top: 2rem; }
.site-footer .inner { max-width: var(--maxw); margin: 0 auto; padding: 1.2rem 1.25rem 2.6rem; font-family: var(--mono); font-size: .8rem; color: var(--soft); }
.site-footer a { color: var(--soft); }
@media (max-width: 36rem) {
body { font-size: 16.5px; }
h1 { font-size: 1.65rem; }
.post-list li { grid-template-columns: 1fr; }
.post-list .date { padding-top: 0; }
}