Locaft/client/src/navbar.css

93 lines
1.2 KiB
CSS
Raw Normal View History

2020-11-21 09:27:17 -08:00
* {
box-sizing: border-box;
2020-11-23 08:49:49 -08:00
text-decoration: none;
2020-11-21 09:27:17 -08:00
}
2021-01-20 09:05:30 -08:00
2020-11-21 09:27:17 -08:00
2020-11-22 05:52:50 -08:00
header{
2020-11-23 08:49:49 -08:00
background: #66bfbf;
2020-11-22 05:52:50 -08:00
position: fixed;
top: 0;
left: 0;
2020-11-21 09:27:17 -08:00
width: 100%;
2020-11-22 05:52:50 -08:00
display: flex;
justify-content: space-between;
align-items: center;
transition: 0.6s;
2020-11-23 08:49:49 -08:00
padding: 10px 15px;
2020-11-22 05:52:50 -08:00
z-index: 100000;
font-family: Ubuntu;
2020-11-21 09:27:17 -08:00
}
2020-11-22 05:52:50 -08:00
header.sticky{
2020-11-21 09:27:17 -08:00
2020-11-22 05:52:50 -08:00
padding: 3px 50px;
background: #66bfbf;
opacity: 0.85;
}
header .logo{
font-family: "Ubuntu";
font-size: 2rem;
font-weight: bold;
position: relative;
2020-11-21 09:27:17 -08:00
color: #fff;
2020-11-22 05:52:50 -08:00
text-decoration: none;
text-transform: lowercase;
padding-left: 100px;
transition: 0.6s;
2020-11-21 09:27:17 -08:00
}
2020-11-22 05:52:50 -08:00
header ul {
position: relative;
display: flex;
justify-content: center;
align-items: center;
2020-11-21 09:27:17 -08:00
}
2020-11-22 05:52:50 -08:00
header ul li {
2020-11-21 09:27:17 -08:00
2020-11-22 05:52:50 -08:00
position: relative;
list-style: none;
2020-11-23 08:49:49 -08:00
2020-11-21 09:27:17 -08:00
}
2020-12-04 08:38:55 -08:00
header ul li a {
2020-11-21 09:27:17 -08:00
2020-11-22 05:52:50 -08:00
position: relative;
2020-11-21 09:27:17 -08:00
2020-11-23 08:49:49 -08:00
}
2021-03-17 10:46:05 -07:00
header ul li a {
2020-11-23 08:49:49 -08:00
position: absolute;
content: '';
left:0;
bottom: 0;
2020-11-29 09:05:56 -08:00
height: 5px;
text-decoration: none;
2020-12-04 08:38:55 -08:00
2020-11-23 08:49:49 -08:00
}
2020-11-22 05:52:50 -08:00
header.sticky ul li a{
color: #fff;
}
2020-11-23 08:49:49 -08:00
.checkbtn
{
color:white;
font-size: 30px;
float:right;
line-height: 80px;
margin-right: 40px;
cursor: pointer;
display: none;
}
#check{
display: none;
}