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-06 12:53:58 +00:00
|
|
|
.nav-menu {
|
2018-11-06 12:46:48 +00:00
|
|
|
margin-right: 10px;
|
|
|
|
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;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
/* TODO: if possible, insert a padding-top to move the submenu down such that
|
2018-11-06 12:46:48 +00:00
|
|
|
the text of the first element starts at the bottom border of the .menuDesktop */
|
2018-11-06 08:27:15 +00:00
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
list-style: none;
|
|
|
|
margin-left: -10px;
|
|
|
|
background-color: #131313;
|
|
|
|
|
|
|
|
li {
|
|
|
|
color: #FFFFFF;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
li:hover {
|
|
|
|
color: #66aa66;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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{
|
|
|
|
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-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-06 12:46:48 +00:00
|
|
|
.search-box:focus-within {
|
|
|
|
input {
|
|
|
|
margin-left: 0;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|