Add home page and navigation bar
This commit is contained in:
@@ -94,3 +94,54 @@ form {
|
||||
border-radius: 3px;
|
||||
background: #800000;
|
||||
}
|
||||
|
||||
header {
|
||||
background: #5F9EA0;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 40px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-shadow: 0 0 25px 0 black;
|
||||
}
|
||||
|
||||
header * {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
header li {
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
header li a {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
main {
|
||||
background: white;
|
||||
}
|
||||
.hero {
|
||||
/* Sizing */
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
|
||||
/* Flexbox stuff */
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
/* Text styles */
|
||||
text-align: center;
|
||||
color: white;
|
||||
|
||||
/* Background styles */
|
||||
background-image: linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)), url('https://www.pepperconstruction.com/sites/default/files/images/pmc1.jpg');
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user