-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstyles.css
More file actions
97 lines (81 loc) · 1.97 KB
/
Copy pathstyles.css
File metadata and controls
97 lines (81 loc) · 1.97 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
/* ---- Self-hosted fonts (no third-party requests) ---- */
@font-face {
font-family: "Fraunces";
src: url("/static/fonts/fraunces-var.woff2") format("woff2");
font-weight: 300 800;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Fraunces";
src: url("/static/fonts/fraunces-var-italic.woff2") format("woff2");
font-weight: 300 800;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Inter";
src: url("/static/fonts/inter-var.woff2") format("woff2");
font-weight: 300 800;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Inter";
src: url("/static/fonts/inter-var-italic.woff2") format("woff2");
font-weight: 300 800;
font-style: italic;
font-display: swap;
}
/* ---- Legacy Pelican image-alignment convention: posts append
#right/#left/#center to image srcs; browsers ignore the fragment. ---- */
img[src$="#right"] {
float: right;
margin: 0 0 1em 1.5em;
max-width: 50%;
}
img[src$="#left"] {
float: left;
margin: 0 1.5em 1em 0;
max-width: 50%;
}
img[src$="#center"] {
display: block;
margin: 1em auto;
}
article img {
max-width: 100%;
height: auto;
}
/* ---- Tagline strip above the listing ---- */
.site-tagline {
font-family: "Fraunces", Georgia, serif;
font-style: italic;
font-size: 1.15rem;
opacity: 0.75;
margin: 0.25rem 0 1.75rem;
}
/* ---- Listing card geometry (colors live in the theme SCSS) ---- */
div.quarto-post {
transition: border-color 160ms ease, box-shadow 160ms ease,
transform 160ms ease;
}
div.quarto-post .thumbnail img {
width: 100%;
aspect-ratio: 4 / 3;
object-fit: cover;
border-radius: 4px;
}
div.quarto-post .body h3.listing-title {
font-weight: 560;
line-height: 1.25;
letter-spacing: 0.005em;
}
div.quarto-post .listing-categories .listing-category {
font-family: "Inter", system-ui, sans-serif;
font-size: 0.68rem;
font-weight: 600;
letter-spacing: 0.06em;
border-radius: 100px;
padding: 0.22em 0.75em;
}