From f5f542777febe6a2a4463bb8042e9a72e628e724 Mon Sep 17 00:00:00 2001 From: Ashelyn Rose Date: Sat, 22 Mar 2025 18:02:52 -0600 Subject: Fonts --- src/components/layout/layout.module.css | 19 +++++++++++++++++++ src/components/layout/mod.rs | 3 +-- 2 files changed, 20 insertions(+), 2 deletions(-) (limited to 'src/components/layout') diff --git a/src/components/layout/layout.module.css b/src/components/layout/layout.module.css index abcf876..7a6a818 100644 --- a/src/components/layout/layout.module.css +++ b/src/components/layout/layout.module.css @@ -33,6 +33,16 @@ padding: var(--container-padding) 0; } +.layout header a#siteTitle { + color: inherit; + text-decoration: none; + font-family: var(--font-family-heading); + + &:hover { + text-decoration: initial; + } +} + .layout nav { grid-row: 2 / 3; grid-column: 1 / 2; @@ -49,6 +59,15 @@ background-clip: padding-box; } +.layout main h1, +.layout main h2, +.layout main h3, +.layout main h4, +.layout main h5, +.layout main h6 { + font-family: var(--font-family-heading); +} + .layout footer { grid-column: 2 / 3; grid-row: 3 / 4; diff --git a/src/components/layout/mod.rs b/src/components/layout/mod.rs index 4b8061e..e688f5f 100644 --- a/src/components/layout/mod.rs +++ b/src/components/layout/mod.rs @@ -9,13 +9,12 @@ pub fn Layout() -> impl IntoView { view! {
-

Site Title

+ Site Title
-

Article