added navbar

This commit is contained in:
asus
2023-12-06 15:45:28 +01:00
parent cf8ec07002
commit 59382b8d21
5 changed files with 37 additions and 63 deletions

15
styles/elements/hero.css Normal file
View File

@@ -0,0 +1,15 @@
#hero {
grid-template-rows: 1fr auto auto;
height: 100vh;
/*
grid-template-rows: 1fr 50px auto auto;
*/
}
#hero header {
}
#hero .mouse {
}
#hero .banner {
}

View File

@@ -1,14 +0,0 @@
#home {
height: 100vh;
grid-template-rows: 1fr 1fr auto auto;
/*
grid-template-rows: 1fr 50px auto auto;
*/
}
#home article {
/*
height: 10000vh;
*/
}

View File

@@ -3,11 +3,11 @@ nav {
display: flex;
flex-direction: row;
justify-content: center;
position: -webkit-sticky;
position: sticky;
position: fixed;
top: 0;
background-color: #f6f6f6;
z-index: 1;
width: 100vw;
}
nav a {
position: relative;

View File

@@ -16,6 +16,7 @@ section {
/ 1fr auto 1fr ;
grid-gap: 10px;
gap: 10px;
min-height: 100vh;
}
section header {