2017-03-10 22:59:27 -08:00
|
|
|
/* NAVIGATION BAR */
|
2017-03-04 08:12:31 -08:00
|
|
|
|
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;
|
|
|
|
width: 100%;
|
|
|
|
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-03-29 19:58:42 -07:00
|
|
|
max-height: 100vh;
|
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;
|
|
|
|
padding: .5em;
|
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
|
|
|
}
|
|
|
|
|
2017-03-29 19:58:42 -07:00
|
|
|
@media only screen and (min-width: 860px) {
|
2017-03-13 12:35:41 -07:00
|
|
|
.nav-bar {
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
2017-03-04 08:12:31 -08:00
|
|
|
}
|
|
|
|
|
2017-03-11 20:11:20 -08:00
|
|
|
|
2017-03-10 22:59:27 -08:00
|
|
|
/* Desktop */
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|