Fix font styling for dark mode and strong text
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
import "../style/global.css";
|
import "../style/global.css";
|
||||||
|
|
||||||
import { SITE_TITLE } from "../config"
|
import { SITE_TITLE } from "../config";
|
||||||
|
|
||||||
const { title, description, image = "/home-blog-card.png" } = Astro.props;
|
const { title, description, image = "/home-blog-card.png" } = Astro.props;
|
||||||
---
|
---
|
||||||
@@ -36,11 +36,18 @@ const { title, description, image = "/home-blog-card.png" } = Astro.props;
|
|||||||
<meta name="twitter:creator" content="@cassidoo" />
|
<meta name="twitter:creator" content="@cassidoo" />
|
||||||
<meta name="twitter:image" content="http://cassidoo.co/img/headshot.png" />
|
<meta name="twitter:image" content="http://cassidoo.co/img/headshot.png" />
|
||||||
|
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
<link
|
<link
|
||||||
href="https://fonts.googleapis.com/css?family=Roboto+Mono"
|
href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap"
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- RSS Link -->
|
<!-- RSS Link -->
|
||||||
<link rel="alternate" href="/rss.xml" type="application/rss+xml" title={SITE_TITLE}>
|
<link
|
||||||
|
rel="alternate"
|
||||||
|
href="/rss.xml"
|
||||||
|
type="application/rss+xml"
|
||||||
|
title={SITE_TITLE}
|
||||||
|
/>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -67,6 +67,9 @@ body.dark-mode nav {
|
|||||||
body,
|
body,
|
||||||
body button,
|
body button,
|
||||||
body h1,
|
body h1,
|
||||||
|
body strong,
|
||||||
|
body b,
|
||||||
|
body em,
|
||||||
body blockquote,
|
body blockquote,
|
||||||
body .go-home {
|
body .go-home {
|
||||||
background: var(--black);
|
background: var(--black);
|
||||||
|
|||||||
Reference in New Issue
Block a user