adds some styling
This commit is contained in:
parent
c401b1bc03
commit
24d21f05c8
5 changed files with 8 additions and 2 deletions
BIN
public/cover.png
Normal file
BIN
public/cover.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.5 MiB |
BIN
public/tri.png
Normal file
BIN
public/tri.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.1 MiB |
|
|
@ -60,8 +60,10 @@ const navItems = [
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav > ul > li > a.active {
|
nav > ul > li > a.active,
|
||||||
background-color: var(--accent);
|
a:hover {
|
||||||
|
background-color: var(--muted);
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,8 +48,10 @@ const { title } = Astro.props;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
|
color-scheme: light;
|
||||||
/* Oat UI */
|
/* Oat UI */
|
||||||
--background: #ffffff;
|
--background: #ffffff;
|
||||||
|
--foreground: #000000;
|
||||||
--primary: #133d56;
|
--primary: #133d56;
|
||||||
|
|
||||||
/* Custom */
|
/* Custom */
|
||||||
|
|
@ -57,6 +59,7 @@ const { title } = Astro.props;
|
||||||
--container-lg: 1200px;
|
--container-lg: 1200px;
|
||||||
--container-md: 600px;
|
--container-md: 600px;
|
||||||
--container-sm: 480px;
|
--container-sm: 480px;
|
||||||
|
--radius-sm: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,5 @@ import Layout from "../layouts/Layout.astro";
|
||||||
|
|
||||||
<Layout title="Home">
|
<Layout title="Home">
|
||||||
<h1>Welcome!</h1>
|
<h1>Welcome!</h1>
|
||||||
|
<img src="public/cover.png" />
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue