78 lines
1.2 KiB
Plaintext
78 lines
1.2 KiB
Plaintext
.nav {
|
|
background: var(--bg2);
|
|
border-bottom: solid 1px var(--darken);
|
|
}
|
|
|
|
.nav {
|
|
height: 50px;
|
|
padding: 11px 0 15px;
|
|
/* TODO: migrate to ems (currently we don't use them because of iOS compatibility problems (has to do with unicode icon for close)) */
|
|
/* Uncomment for animations
|
|
max-height: 1.5em;
|
|
*/
|
|
}
|
|
|
|
.nav a {
|
|
opacity: 0.7;
|
|
padding-right: 1em;
|
|
position: relative;
|
|
top: -1px;
|
|
}
|
|
.nav a:hover { opacity: 1; }
|
|
|
|
.nav .pagename {
|
|
opacity: 1;
|
|
font-weight: bold;
|
|
font-size: 22px;
|
|
top: 1px;
|
|
}
|
|
|
|
.btn.btn-close {
|
|
float: right;
|
|
font-size: 25px;
|
|
margin: -51px 10px;
|
|
display: none;
|
|
border: none;
|
|
box-shadow: none;
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
@media (max-width:500px) {
|
|
.btn.btn-close {
|
|
display: block;
|
|
}
|
|
.nav {
|
|
/* transition: max-height .5s ease-in-out, height .5s ease-in-out; */
|
|
overflow: hidden;
|
|
}
|
|
.pagename {
|
|
margin-top: -11px;
|
|
}
|
|
.nav:active,.nav:focus {
|
|
height: auto;
|
|
/* Necesary for animations
|
|
max-height: 500px;
|
|
height: 100%;
|
|
*/
|
|
}
|
|
.nav div:before {
|
|
background: var(--bg2);
|
|
border-bottom: 11px double;
|
|
border-top: 3px solid;
|
|
content: '';
|
|
float: right;
|
|
height: 4px;
|
|
position: relative;
|
|
right: 3px;
|
|
top: 14px;
|
|
width: 20px;
|
|
}
|
|
.nav a {
|
|
display: block;
|
|
padding: .5em 0;
|
|
width: 50%;
|
|
}
|
|
}
|
|
|