mirror of
https://git.solarpunk.moe/Fries/fries-website.git
synced 2024-11-22 14:02:21 +00:00
move the nav style to the global style
This commit is contained in:
parent
f0753ac18c
commit
5d14a6cc08
2 changed files with 10 additions and 11 deletions
|
@ -1,16 +1,6 @@
|
||||||
<nav id="nav-container" aria-label="a navigation bar with links">
|
<nav aria-label="a navigation bar with links">
|
||||||
<a href="/">Home</a>
|
<a href="/">Home</a>
|
||||||
<a href="/blog">Blog</a>
|
<a href="/blog">Blog</a>
|
||||||
<a href="/projects">Projects</a>
|
<a href="/projects">Projects</a>
|
||||||
<a href="/friends">Friends</a>
|
<a href="/friends">Friends</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<style>
|
|
||||||
#nav-container {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
justify-content: center;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 20px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
|
@ -82,3 +82,12 @@ hr {
|
||||||
hr {
|
hr {
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nav {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 20px;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue