2018-11-08 18:04:08 +00:00
|
|
|
header{
|
|
|
|
z-index:1;
|
|
|
|
}
|
|
|
|
|
2018-11-05 20:03:04 +00:00
|
|
|
.menuDesktop {
|
|
|
|
background-color: #131313;
|
2018-11-06 12:46:48 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
*{
|
|
|
|
flex-grow: 0;
|
|
|
|
}
|
|
|
|
.fill-space{
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2018-11-05 20:03:04 +00:00
|
|
|
}
|
2018-10-31 16:03:29 +00:00
|
|
|
|
2018-11-06 12:53:58 +00:00
|
|
|
.logo {
|
2018-11-05 20:03:04 +00:00
|
|
|
padding: .5em;
|
|
|
|
}
|
2018-10-31 16:03:29 +00:00
|
|
|
|
2018-11-08 08:21:27 +00:00
|
|
|
.nav-menu div ul, .search-box ul {
|
|
|
|
/* TODO: if possible, insert a padding-top to move the submenu down such that
|
|
|
|
the text of the first element starts at the bottom border of the .menuDesktop */
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
list-style: none;
|
|
|
|
margin-left: -10px;
|
|
|
|
background-color: #131313;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
li {
|
|
|
|
color: #FFFFFF;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
li:hover {
|
|
|
|
color: #66aa66;
|
|
|
|
}
|
|
|
|
|
2018-11-11 13:22:26 +00:00
|
|
|
a{
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
}
|
2018-11-08 08:21:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-11-11 13:22:26 +00:00
|
|
|
|
2018-11-06 12:53:58 +00:00
|
|
|
.nav-menu {
|
2018-11-07 14:27:31 +00:00
|
|
|
margin-right: 100px;
|
2018-11-06 12:46:48 +00:00
|
|
|
margin-left: 10px;
|
2018-11-05 20:03:04 +00:00
|
|
|
display: inline-table;
|
2018-10-31 16:03:29 +00:00
|
|
|
|
2018-11-06 08:27:15 +00:00
|
|
|
div, code {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
color: #FFFFFF;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 20px;
|
|
|
|
padding: 0 5px;
|
|
|
|
|
2018-11-11 13:22:26 +00:00
|
|
|
//a{
|
|
|
|
// text-decoration: none;
|
|
|
|
// color: inherit;
|
|
|
|
//}
|
2018-11-08 18:04:08 +00:00
|
|
|
|
2018-11-06 08:27:15 +00:00
|
|
|
ul:hover {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
code{
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
div{
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
div:hover{
|
|
|
|
color: #66aa66;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2018-11-06 11:45:55 +00:00
|
|
|
}
|
|
|
|
|
2018-11-06 12:46:48 +00:00
|
|
|
.search-box{
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 10px;
|
2018-11-06 11:45:55 +00:00
|
|
|
|
2018-11-06 12:46:48 +00:00
|
|
|
input{
|
2018-11-06 14:20:08 +00:00
|
|
|
outline:none;
|
2018-11-06 12:46:48 +00:00
|
|
|
background-color: #131313;
|
2018-11-06 11:45:55 +00:00
|
|
|
border: none;
|
|
|
|
transition: 500ms;
|
|
|
|
border-bottom: 2px solid white;
|
|
|
|
opacity:0;
|
2018-11-06 12:46:48 +00:00
|
|
|
color: #FFFFFF;
|
|
|
|
}
|
2018-11-06 11:45:55 +00:00
|
|
|
|
2018-11-11 13:22:26 +00:00
|
|
|
ul {
|
|
|
|
display: none;
|
|
|
|
li{
|
|
|
|
margin-top: 15px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-06 12:46:48 +00:00
|
|
|
img{
|
|
|
|
vertical-align: middle;
|
2018-11-06 11:45:55 +00:00
|
|
|
cursor: pointer;
|
|
|
|
width: 22px;
|
2018-11-06 12:46:48 +00:00
|
|
|
}
|
2018-11-06 11:45:55 +00:00
|
|
|
}
|
|
|
|
|
2018-11-11 13:22:26 +00:00
|
|
|
.search-box:focus-within, .search-box:active {
|
2018-11-06 12:46:48 +00:00
|
|
|
input {
|
|
|
|
margin-left: 0;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2018-11-11 13:22:26 +00:00
|
|
|
|
|
|
|
ul{
|
|
|
|
display: block;
|
|
|
|
}
|
2018-11-06 12:46:48 +00:00
|
|
|
}
|
2018-11-12 12:48:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
@keyframes cursor {
|
|
|
|
from, to { border-color: transparent }
|
|
|
|
20% { border-color: orange; }
|
|
|
|
}
|
|
|
|
|