Move content from underneath header and add Roboto Flex font
This commit is contained in:
parent
b0cb487458
commit
283bcbef61
|
@ -13,11 +13,14 @@ import Footer from '@components/global/Footer.astro'
|
||||||
// Styles
|
// Styles
|
||||||
import '@styles/index.scss'
|
import '@styles/index.scss'
|
||||||
import '@shoelace-style/shoelace/dist/themes/dark.css';
|
import '@shoelace-style/shoelace/dist/themes/dark.css';
|
||||||
|
import '@fontsource-variable/roboto-flex';
|
||||||
---
|
---
|
||||||
|
|
||||||
<Head Title={Title} Description={Description}/>
|
<Head Title={Title} Description={Description}/>
|
||||||
<Header/>
|
<Header/>
|
||||||
<body>
|
<body>
|
||||||
|
<div class="content">
|
||||||
<slot/>
|
<slot/>
|
||||||
|
</div>
|
||||||
<Footer/>
|
<Footer/>
|
||||||
</body>
|
</body>
|
|
@ -6,7 +6,7 @@
|
||||||
body {
|
body {
|
||||||
background: black;
|
background: black;
|
||||||
color: white;
|
color: white;
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: 'Roboto Flex Variable', sans-serif;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
max-width: 1200px;
|
max-width: 1200px;
|
||||||
|
|
||||||
|
@ -22,5 +22,9 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
* {cursor: var(--default-cursor)}
|
* {cursor: var(--default-cursor)}
|
||||||
a, button {cursor: var(--pointer-cursor) !important}
|
a, button, a > * {cursor: var(--pointer-cursor) !important}
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
margin-top: 72px;
|
||||||
}
|
}
|
Reference in a new issue