Skip to content

Commit ee3e975

Browse files
Rahul TyagiRahul Tyagi
authored andcommitted
switch to all-monospace dark theme, drop Instrument Serif
1 parent 30c6119 commit ee3e975

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="{{ page.description | default: site.description | strip_newlines }}">
88
<link rel="preconnect" href="https://fonts.googleapis.com">
99
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10-
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
10+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
1111
<link rel="stylesheet" href="{{ '/assets/style.css' | relative_url }}">
1212
{%- feed_meta -%}
1313
</head>

assets/style.css

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
--glow: rgba(240,163,94,0.10);
1515

1616
--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
17-
--serif: "Instrument Serif", Georgia, "Times New Roman", serif;
1817

1918
--maxw: 920px;
2019
}
@@ -109,7 +108,7 @@ a { color: var(--accent); text-decoration: none; }
109108
}
110109
.prompt .dot, .post-meta .dot, .hero-blurb .dot { color: var(--accent-dim); margin: 0 4px; }
111110
.hero-name {
112-
font-family: var(--serif);
111+
font-family: var(--mono);
113112
font-weight: 400;
114113
font-size: clamp(56px, 11vw, 116px);
115114
line-height: 0.92;
@@ -118,8 +117,7 @@ a { color: var(--accent); text-decoration: none; }
118117
color: var(--text);
119118
}
120119
.hero-tagline {
121-
font-family: var(--serif);
122-
font-style: italic;
120+
font-family: var(--mono);
123121
font-size: clamp(22px, 4vw, 32px);
124122
color: var(--accent);
125123
margin: 0 0 24px;
@@ -209,7 +207,7 @@ a { color: var(--accent); text-decoration: none; }
209207

210208
.card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
211209
.card-name {
212-
font-family: var(--serif);
210+
font-family: var(--mono);
213211
font-weight: 400;
214212
font-size: 26px;
215213
line-height: 1;
@@ -258,7 +256,7 @@ a { color: var(--accent); text-decoration: none; }
258256
/* ---------- documents (about / blog / post) ---------- */
259257
.doc { max-width: 680px; padding-top: 20px; }
260258
.doc-title {
261-
font-family: var(--serif);
259+
font-family: var(--mono);
262260
font-weight: 400;
263261
font-size: clamp(40px, 7vw, 60px);
264262
line-height: 1;
@@ -273,7 +271,7 @@ a { color: var(--accent); text-decoration: none; }
273271
.prose { color: #d4d4cf; font-size: 15px; }
274272
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
275273
.prose h2, .prose h3 {
276-
font-family: var(--serif);
274+
font-family: var(--mono);
277275
font-weight: 400;
278276
color: var(--text);
279277
margin: 36px 0 14px;
@@ -322,7 +320,7 @@ a { color: var(--accent); text-decoration: none; }
322320
}
323321
.post-item a:hover { padding-left: 8px; }
324322
.post-item time { color: var(--faint); font-size: 12.5px; white-space: nowrap; min-width: 96px; }
325-
.post-title { font-family: var(--serif); font-size: 21px; transition: color 0.18s ease; }
323+
.post-title { font-family: var(--mono); font-size: 21px; transition: color 0.18s ease; }
326324
.post-item a:hover .post-title { color: var(--accent); }
327325
.post-empty { color: var(--muted); padding: 16px 0; }
328326

0 commit comments

Comments
 (0)