Font and some styling
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
---
|
||||
import AuthTest from '../components/AuthTest.jsx';
|
||||
|
||||
let { title } = Astro.props;
|
||||
---
|
||||
<style lang="scss">
|
||||
@use "../styles/base";
|
||||
@use "../styles/global";
|
||||
|
||||
body {
|
||||
background-color: base.$bg-color;
|
||||
padding: 10px;
|
||||
font-family: 'NotoSerif';
|
||||
}
|
||||
</style>
|
||||
|
||||
<html lang="en">
|
||||
@@ -16,7 +21,6 @@ let { title } = Astro.props;
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<AuthTest client:only />
|
||||
</header>
|
||||
<main>
|
||||
<slot/>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
$bg-color: #fff;
|
||||
@@ -0,0 +1,4 @@
|
||||
@font-face {
|
||||
font-family: 'NotoSerif';
|
||||
src: url('/assets/fonts/NotoSerif-Regular.ttf');
|
||||
}
|
||||
@@ -1,9 +1,8 @@
|
||||
@use "normalize.css/normalize.css";
|
||||
@use "base";
|
||||
@use "tokens";
|
||||
@use "typography";
|
||||
@use "utils";
|
||||
|
||||
body {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
Reference in New Issue
Block a user