diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-11-10 14:24:12 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-11-10 14:24:12 +0200 |
| commit | cb229426184dc22a2c08992e54723ed1023bcd32 (patch) | |
| tree | 80b707be86fe39350d6ae8fbe8d68607654a866e /src/layouts | |
| parent | cc21abd0ae1e3bc54ece7c162cfcf4f4111e6115 (diff) | |
Committing in case I fuck up smthing
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/MarkdownLayout.astro | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/layouts/MarkdownLayout.astro b/src/layouts/MarkdownLayout.astro new file mode 100644 index 0000000..becb8e9 --- /dev/null +++ b/src/layouts/MarkdownLayout.astro @@ -0,0 +1,53 @@ +--- +interface Props { + title: string; +} + +const { title } = Astro.props; +--- + +<!doctype html> +<html lang="en"> + <head> + <meta charset="UTF-8" /> + <meta name="description" content="Astro description" /> + <meta name="viewport" content="width=device-width" /> + <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> + <!-- <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"> --> + <meta name="generator" content={Astro.generator} /> + <title>{title}</title> + </head> + <body> + <slot /> + </body> +</html> +<style is:global> + :root { + --accent: 136, 58, 234; + --accent-light: 224, 204, 250; + --accent-dark: 49, 10, 101; + --accent-gradient: linear-gradient( + 45deg, + rgb(var(--accent)), + rgb(var(--accent-light)) 30%, + white 60% + ); + } + html { + font-family: system-ui, sans-serif; + /* font-family: jetbrains-mono; */ + /* font-family: 'JetBrains Mono'; */ + background: #13151a; + } + code { + font-family: + Menlo, + Monaco, + Lucida Console, + Liberation Mono, + DejaVu Sans Mono, + Bitstream Vera Sans Mono, + Courier New, + monospace; + } +</style> |
