134 lines
2.7 KiB
CSS
134 lines
2.7 KiB
CSS
|
body {
|
||
|
margin: 0; /* Remove body margins */
|
||
|
}
|
||
|
|
||
|
/* Mobile View */
|
||
|
|
||
|
.navbar-background {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: end;
|
||
|
align-items: center;
|
||
|
align-items: stretch;
|
||
|
background-color: #252631;
|
||
|
padding: 15px;
|
||
|
padding-right: 40px;
|
||
|
min-height: 44px;
|
||
|
}
|
||
|
.navbar-container {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: flex-start;
|
||
|
align-items: stretch;
|
||
|
flex-grow: 1;
|
||
|
}
|
||
|
.navbar-hamburger {
|
||
|
font-size: 20pt;
|
||
|
color: white;
|
||
|
display: flex;
|
||
|
align-items: start;
|
||
|
margin-top: 10px;
|
||
|
max-height: 35px;
|
||
|
}
|
||
|
.navbar-closed{
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: flex-start;
|
||
|
margin-top: 10px;
|
||
|
display: none;
|
||
|
}
|
||
|
.navbar-open {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: flex-start;
|
||
|
margin-top: 10px;
|
||
|
}
|
||
|
|
||
|
.navbar-item {
|
||
|
color: white;
|
||
|
font-size: 12pt;
|
||
|
padding-left: 20px;
|
||
|
padding-right: 20px;
|
||
|
padding-top: 10px;
|
||
|
padding-bottom: 10px;
|
||
|
font-family: Source Sans Pro;
|
||
|
}
|
||
|
.navbar-item:hover {
|
||
|
background-color: #ffffff14;
|
||
|
font-size: 13pt;
|
||
|
font-weight: bold;
|
||
|
border-radius: 3px;
|
||
|
transition-duration: 0.3s;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.navbar-title {
|
||
|
color: white;
|
||
|
font-size: 15pt;
|
||
|
padding-left: 20px;
|
||
|
padding-right: 20px;
|
||
|
padding-top: 10px;
|
||
|
padding-bottom: 10px;
|
||
|
font-family: Source Sans Pro;
|
||
|
|
||
|
}
|
||
|
|
||
|
/* Desktop view */
|
||
|
|
||
|
@media only screen and (min-width: 850px) {
|
||
|
.navbar-container {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: flex-start;
|
||
|
align-items: stretch;
|
||
|
}
|
||
|
.navbar {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: flex-end;
|
||
|
flex-grow: 1;
|
||
|
}
|
||
|
.navbar-closed {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: flex-end;
|
||
|
flex-grow: 1;
|
||
|
margin-top: 0px;
|
||
|
}
|
||
|
.navbar-open {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: flex-end;
|
||
|
flex-grow: 1;
|
||
|
margin-top: 0px;
|
||
|
}
|
||
|
.navbar-item {
|
||
|
color: white;
|
||
|
font-size: 14pt;
|
||
|
padding-left: 20px;
|
||
|
padding-right: 20px;
|
||
|
padding-top: 10px;
|
||
|
padding-bottom: 10px;
|
||
|
font-family: Source Sans Pro;
|
||
|
}
|
||
|
.navbar-item:hover {
|
||
|
background-color: #ffffff14;
|
||
|
font-size: 15pt;
|
||
|
font-weight: bold;
|
||
|
border-radius: 3px;
|
||
|
transition-duration: 0.3s;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.navbar-title {
|
||
|
color: white;
|
||
|
font-size: 14pt;
|
||
|
padding-left: 20px;
|
||
|
padding-right: 20px;
|
||
|
padding-top: 10px;
|
||
|
padding-bottom: 10px;
|
||
|
font-family: Source Sans Pro;
|
||
|
}
|
||
|
.navbar-hamburger {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|