remove global.css

Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt 2023-08-15 21:01:58 +02:00
parent 7872c6dbd6
commit c353c228c8
2 changed files with 16 additions and 28 deletions

View File

@ -1,28 +0,0 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
font-family: "Plex";
src: url("/fonts/Plex-Regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plex";
src: url("/fonts/Plex-Bold.woff2") format("woff2");
font-weight: bold;
font-style: normal;
font-display: swap;
}
h1 {
@apply text-6xl font-bold;
}
h2 {
@apply text-4xl font-bold;
}
h3 {
@apply text-xl font-bold;
}

View File

@ -16,6 +16,22 @@ const { title } = Astro.props;
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>{title}</title>
<ViewTransitions />
<style>
@font-face {
font-family: "Plex";
src: url("/fonts/Plex-Regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plex";
src: url("/fonts/Plex-Bold.woff2") format("woff2");
font-weight: bold;
font-style: normal;
font-display: swap;
}
</style>
</head>
<body class="font-plex bg-gray max-w-7xl mx-auto py-8 text-gray-200 px-6">
<slot />