diff options
| author | Pinapelz <donaldshan1@outlook.com> | 2023-09-19 15:21:51 -0700 |
|---|---|---|
| committer | Pinapelz <donaldshan1@outlook.com> | 2023-09-19 15:21:51 -0700 |
| commit | f2ff1aeb03400c77396c729d887bb284da963378 (patch) | |
| tree | f6de23c06bd420de3f5d89cd82b9e9723833e0a3 /src/layouts | |
Initial Commit
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/Layout.astro | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro new file mode 100644 index 0000000..b800e50 --- /dev/null +++ b/src/layouts/Layout.astro @@ -0,0 +1,53 @@ +--- +interface Props { + title: string; +} + +const { title } = Astro.props; +import Header from '../components/Header.astro'; +--- + +<!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" /> + <meta name="generator" content={Astro.generator} /> + <title>{title}</title> + </head> + <Header /> + <body> + <slot /> + </body> +</html> +<style is:global> + :root { + --accent: 204, 102, 102; + --accent-light: 255, 153, 153; + --accent-dark: 153, 0, 0; + --accent-gradient: linear-gradient( + 45deg, + rgb(var(--accent)), + rgb(var(--accent-light)) 30%, + white 60% + ); + } + html { + font-family: system-ui, sans-serif; + background: #13151a; + background-size: 224px; + } + code { + font-family: + Menlo, + Monaco, + Lucida Console, + Liberation Mono, + DejaVu Sans Mono, + Bitstream Vera Sans Mono, + Courier New, + monospace; + } +</style> |
