added navbar
This commit is contained in:
15
styles/elements/hero.css
Normal file
15
styles/elements/hero.css
Normal 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 {
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
*/
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -16,6 +16,7 @@ section {
|
||||
/ 1fr auto 1fr ;
|
||||
grid-gap: 10px;
|
||||
gap: 10px;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
section header {
|
||||
|
||||
Reference in New Issue
Block a user