From 51f7d681e2db33631e8002615dadb5799844ee84 Mon Sep 17 00:00:00 2001 From: Cameron Otsuka Date: Thu, 19 Jun 2025 13:08:34 -0700 Subject: [PATCH] fix font styling, syntax highlighting, consistency --- astro.config.mjs | 5 +++++ ...mdx => build-weekly-roundup-2025-week-4.mdx} | 4 ++-- .../links/build-weekly-roundup-2025-week-5.mdx | 6 +++--- src/components/ui/figure.astro | 3 --- src/styles/style.css | 17 ++++++++++++++++- 5 files changed, 26 insertions(+), 9 deletions(-) rename content/links/{were-ripping-off-the-cuff-about-dollar-rallying-rates-stargate-and-deepseek-listen-in.mdx => build-weekly-roundup-2025-week-4.mdx} (89%) diff --git a/astro.config.mjs b/astro.config.mjs index 1bb8d8e..1661006 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -8,4 +8,9 @@ export default defineConfig({ site: 'https://otsuka.haus', trailingSlash: 'always', integrations: [mdx(), sitemap()], + markdown: { + shikiConfig: { + theme: 'monokai' + }, + }, }); \ No newline at end of file diff --git a/content/links/were-ripping-off-the-cuff-about-dollar-rallying-rates-stargate-and-deepseek-listen-in.mdx b/content/links/build-weekly-roundup-2025-week-4.mdx similarity index 89% rename from content/links/were-ripping-off-the-cuff-about-dollar-rallying-rates-stargate-and-deepseek-listen-in.mdx rename to content/links/build-weekly-roundup-2025-week-4.mdx index 714839d..8aba741 100644 --- a/content/links/were-ripping-off-the-cuff-about-dollar-rallying-rates-stargate-and-deepseek-listen-in.mdx +++ b/content/links/build-weekly-roundup-2025-week-4.mdx @@ -2,8 +2,8 @@ title: "we're ripping off-the-cuff about dollar rallying, rates, stargate, and deepseek. listen in 👇" href: https://x.com/CameronOtsuka/status/1882563050374631488 date: 2025-01-23 -modified: 2025-01-30 -description: Build Weekly Roundup 2025-01-23 +modified: 2025-06-19 +description: "Build Weekly Roundup - 2025 Week #4" tags: - video - ai diff --git a/content/links/build-weekly-roundup-2025-week-5.mdx b/content/links/build-weekly-roundup-2025-week-5.mdx index 74cb356..10a4a95 100644 --- a/content/links/build-weekly-roundup-2025-week-5.mdx +++ b/content/links/build-weekly-roundup-2025-week-5.mdx @@ -1,9 +1,9 @@ --- -title: "Build Weekly Roundup - 2025 Week #5" +title: Yield curve updates, looking forward to Yen meeting, more DeepSeek analysis href: https://x.com/CameronOtsuka/status/1885111055158042704 date: 2025-01-30 -modified: 2025-01-30 -description: Yield curve updates, looking forward to Yen meeting, more DeepSeek analysis +modified: 2025-06-19 +description: "Build Weekly Roundup - 2025 Week #5" tags: - video - ai diff --git a/src/components/ui/figure.astro b/src/components/ui/figure.astro index 06c2ff0..02070f1 100644 --- a/src/components/ui/figure.astro +++ b/src/components/ui/figure.astro @@ -21,9 +21,6 @@ const { image, alt, formats = ['avif', 'webp'] } = Astro.props; figcaption { font-size: 0.8rem; } - img { - height: auto; - } figcaption { font-style: italic; } diff --git a/src/styles/style.css b/src/styles/style.css index cc8058f..65acc75 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -1,7 +1,9 @@ html { background-color: #ffffff; color: #000000; - font-family: "Public Sans", sans-serif; + font-family: "Public Sans Variable", sans-serif; + font-feature-settings: "kern" 1, "kern"; + font-kerning: normal; font-weight: 400; font-size: 100%; line-height: 1.1rem; @@ -39,6 +41,9 @@ menu ul, menu ol, menu dl, menu menu { /* nested lists won't have margins*/ margin-bottom: 0; } +img { + height: auto; +} dd { margin-bottom: 0.2rem; padding-left: 1.5rem; @@ -50,6 +55,8 @@ blockquote { } table { margin-bottom: 1rem; + margin-left: auto; + margin-right: auto; border: 0.1rem solid; border-collapse: collapse; } @@ -58,4 +65,12 @@ th, td { text-align: center; vertical-align: middle; padding: 0.5rem; +} +code { + font-family: "Source Code Variable", monospace; +} +.astro-code, .astro-code span { + font-family: "Source Code Variable", monospace; + margin-bottom: 1rem; + padding: 0.1rem; } \ No newline at end of file -- 2.51.0