gilroyhacks.com/css/general.css

82 lines
1.3 KiB
CSS
Raw Normal View History

2022-05-26 22:09:31 -07:00
/*
Gilroy Hacks Website Source Code -> CSS (https://gilroyhacks.com)
For more info, contact jamesdinh77 (at) protonmail (dot) com
*/
html {
scroll-behavior: smooth;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
2022-05-27 20:37:36 -07:00
nav {
background: rgb(31, 33, 35);;
height: auto;
width: 100%;
overflow: hidden;
top: 0;
left: 0;
position: fixed;
flex-wrap: nowrap;
z-index: 100;
box-shadow: 0 1px 6px 0 rgb(0 0 0 / 20%);
}
nav * {
padding: 0;
margin: 1px 1px;
text-decoration: none;
list-style: none;
box-sizing: border-box;
z-index: 100;
}
nav ul {
float: right;
margin-right: 20px;
}
nav li {
display: inline-block;
line-height: 58px;
margin: 0 7px;
}
nav a {
color:rgb(136, 180, 231);
font-size: 18px;
}
nav a.active,a:hover {
color: rgb(111, 129, 138);
transition: .5s;
}
.checkbtn {
font-size: 30px;
color: white;
float: right;
line-height: 60px;
margin-right: 20px;
cursor: pointer;
display: none;
}
#check {
display: none;
}
2022-05-26 22:09:31 -07:00
.header-background {
background-image: none;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
height: 100vh; /* makes it so it covers the entire page */
}