mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 21:45:41 +00:00
123 lines
2.0 KiB
CSS
123 lines
2.0 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500&display=swap');
|
|
body {
|
|
margin: 70px 0px 0px 0px;
|
|
/* padding: 15px;
|
|
font-family: Arial, sans-serif; */
|
|
}
|
|
|
|
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
.p-header {
|
|
background-color: #24252a;
|
|
box-shadow: 0px 3px 10px #464646;
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0.1rem 2rem;
|
|
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo h1 {
|
|
color: #fff;
|
|
}
|
|
|
|
.nav-list {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-list ul {
|
|
display: flex;
|
|
justify-content: center;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-item {
|
|
margin: 0 15px;
|
|
}
|
|
|
|
.nav-link {
|
|
text-decoration: none;
|
|
font-size: 1.15rem;
|
|
color: #fff;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.login-button button {
|
|
border: none;
|
|
padding: 10px 15px;
|
|
border-radius: 5px;
|
|
background-color: #0187a7;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.login-button button a {
|
|
text-decoration: none;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.mobile-menu-icon {
|
|
display: none;
|
|
}
|
|
|
|
.mobile-menu {
|
|
display: none;
|
|
}
|
|
|
|
@media screen and (max-width: 730px) {
|
|
.nav-bar {
|
|
padding: 0.1rem 2rem;
|
|
}
|
|
.nav-item {
|
|
display: none;
|
|
}
|
|
.login-button {
|
|
display: none;
|
|
}
|
|
.mobile-menu-icon {
|
|
display: block;
|
|
}
|
|
.mobile-menu-icon button {
|
|
background-color: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
.mobile-menu ul {
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-align: center;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.mobile-menu .nav-item {
|
|
display: block;
|
|
padding-top: 1.2rem;
|
|
}
|
|
.mobile-menu .login-button {
|
|
display: block;
|
|
padding: 1rem 2rem;
|
|
}
|
|
.mobile-menu .login-button button {
|
|
width: 100%;
|
|
}
|
|
.open {
|
|
display: block;
|
|
transition: transform 0.2s;
|
|
}
|
|
}
|