2017-03-10 22:59:27 -08:00
|
|
|
/* NAVIGATION BAR */
|
2017-03-04 08:12:31 -08:00
|
|
|
|
2021-08-11 13:52:19 -07:00
|
|
|
/* mobile first at <1000px */
|
2017-03-10 22:59:27 -08:00
|
|
|
.nav-bar {
|
2017-03-13 12:35:41 -07:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 10000;
|
2017-04-08 14:24:15 -07:00
|
|
|
width: 100vw;
|
2017-03-13 12:35:41 -07:00
|
|
|
color: black;
|
|
|
|
background-color: white;
|
|
|
|
border-bottom: 1px solid grey;
|
|
|
|
font-size: 1em;
|
|
|
|
font-weight: bold;
|
2017-03-04 08:12:31 -08:00
|
|
|
}
|
|
|
|
|
2017-03-10 22:59:27 -08:00
|
|
|
.nav-bar__header {
|
2017-03-13 12:35:41 -07:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-content: center;
|
2017-03-21 08:32:26 -07:00
|
|
|
padding-top: 0.9em;
|
|
|
|
padding-bottom: 0.9em;
|
2017-03-04 08:12:31 -08:00
|
|
|
}
|
|
|
|
|
2017-03-13 12:35:41 -07:00
|
|
|
.nav-bar__logo,
|
|
|
|
.nav-bar__menu-button {
|
2017-03-21 08:32:26 -07:00
|
|
|
font-size: 1.8em;
|
2017-03-13 12:35:41 -07:00
|
|
|
padding-left: 1em;
|
2017-03-04 08:12:31 -08:00
|
|
|
}
|
|
|
|
|
2017-03-10 22:59:27 -08:00
|
|
|
.nav-bar__logo {
|
2017-03-13 12:35:41 -07:00
|
|
|
order: 2;
|
2017-03-04 08:12:31 -08:00
|
|
|
}
|
|
|
|
|
2017-03-10 22:59:27 -08:00
|
|
|
.nav-bar__menu-button {
|
2017-03-13 12:35:41 -07:00
|
|
|
order: 1;
|
|
|
|
cursor: pointer;
|
2017-03-10 22:59:27 -08:00
|
|
|
}
|
2017-03-04 08:12:31 -08:00
|
|
|
|
2017-03-10 22:59:27 -08:00
|
|
|
.nav-bar__menu {
|
2017-03-13 12:35:41 -07:00
|
|
|
overflow-y: scroll;
|
2017-04-11 14:47:39 -07:00
|
|
|
max-height: 75vh;
|
2021-08-11 13:52:19 -07:00
|
|
|
padding-right: .5em;
|
2017-03-10 22:59:27 -08:00
|
|
|
}
|
2017-03-04 08:12:31 -08:00
|
|
|
|
2017-03-11 20:11:20 -08:00
|
|
|
.hide-menu {
|
2017-03-13 12:35:41 -07:00
|
|
|
height: 0;
|
2017-03-10 22:59:27 -08:00
|
|
|
}
|
2017-03-04 08:12:31 -08:00
|
|
|
|
2017-03-11 20:11:20 -08:00
|
|
|
.nav-bar__menu-item {
|
2017-03-13 12:35:41 -07:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
transition: 200ms;
|
|
|
|
border-top: 2px solid;
|
2017-03-21 08:32:26 -07:00
|
|
|
font-size: 1.8em;
|
2017-04-07 01:40:29 -07:00
|
|
|
padding: .35em;
|
2017-03-11 20:11:20 -08:00
|
|
|
}
|
|
|
|
|
2017-03-13 12:35:41 -07:00
|
|
|
.nav-bar__menu-item > a {
|
|
|
|
flex-grow: 1;
|
|
|
|
text-align: center;
|
2017-03-14 00:07:16 -07:00
|
|
|
opacity: 1;
|
2017-03-04 08:12:31 -08:00
|
|
|
}
|
|
|
|
|
2017-03-11 20:11:20 -08:00
|
|
|
.nav-bar__menu-item:hover {
|
2017-03-13 12:35:41 -07:00
|
|
|
background-color: black;
|
|
|
|
color: white;
|
2017-03-11 20:11:20 -08:00
|
|
|
}
|
|
|
|
|
2021-08-11 13:52:19 -07:00
|
|
|
/* bigger than small tablet */
|
2017-04-08 15:47:13 -07:00
|
|
|
@media only screen and (min-width: 1000px) {
|
2017-03-13 12:35:41 -07:00
|
|
|
.nav-bar {
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2021-08-11 13:52:19 -07:00
|
|
|
padding-right: 2em;
|
|
|
|
padding-left: 2em;
|
2017-03-13 12:35:41 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-bar__menu {
|
|
|
|
display: flex;
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
2017-03-11 20:11:20 -08:00
|
|
|
|
2017-03-13 12:35:41 -07:00
|
|
|
.hide-menu {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-bar__menu {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
overflow-y: hidden;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-bar__header {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-bar__menu-item,
|
|
|
|
.nav-bar__logo {
|
|
|
|
font-size: 1.5em;
|
|
|
|
padding-left: 0.3em;
|
|
|
|
padding-right: 0.3em;
|
|
|
|
padding-top: 0.7em;
|
|
|
|
padding-bottom: 0.7em;
|
|
|
|
border-top: 0;
|
|
|
|
}
|
2017-03-11 20:11:20 -08:00
|
|
|
|
|
|
|
.nav-bar__menu-button {
|
2017-03-13 12:35:41 -07:00
|
|
|
display: none;
|
|
|
|
}
|
2021-08-11 13:52:19 -07:00
|
|
|
} /* end responsive */
|
2017-03-04 08:12:31 -08:00
|
|
|
|
2017-03-11 20:11:20 -08:00
|
|
|
|
2021-08-11 13:52:19 -07:00
|
|
|
/* full size */
|
2017-03-10 22:59:27 -08:00
|
|
|
|
2017-03-11 20:11:20 -08:00
|
|
|
@media screen and (min-width: 1400px) {
|
2017-03-13 12:35:41 -07:00
|
|
|
.nav-bar__menu-item,
|
|
|
|
.nav-bar__logo {
|
|
|
|
font-size: 2em;
|
|
|
|
padding-left: 0.5em;
|
|
|
|
padding-right: 0.5em;
|
2017-03-11 20:11:20 -08:00
|
|
|
}
|
|
|
|
}
|