2018-02-23 23:34:06 +01:00
|
|
|
|
/*
|
|
|
|
|
header
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
header {
|
|
|
|
|
margin: 0; padding: 10px 16px;
|
|
|
|
|
display: flex; align-items: center; justify-content: flex-end;
|
|
|
|
|
background: #ffffff; border-bottom: 1px solid #e0e0e0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
header h1 {
|
|
|
|
|
font-family: Raleway; font-weight: 200;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
header input + span { position: relative; left: -32px; cursor: pointer; }
|
|
|
|
|
header span > svg {
|
|
|
|
|
width: 24px; height: 24px; vertical-align: middle;
|
|
|
|
|
transition: .15s ease; fill: #969696;
|
|
|
|
|
}
|
|
|
|
|
header span:hover > svg, header span:focus > svg {
|
|
|
|
|
border-color: rgba(32, 128, 255, .6);
|
|
|
|
|
fill: #484848;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
header form {
|
|
|
|
|
flex-shrink: 0; margin-right: -23px;
|
|
|
|
|
}
|
|
|
|
|
header input[type="search"] {
|
|
|
|
|
width: 220px; height: 30px; padding: 4px 30px 4px 8px;
|
|
|
|
|
border: 1px solid rgba(0, 0, 0, .2); border-radius: 2px;
|
|
|
|
|
}
|
|
|
|
|
header input[type="search"] ~ a {
|
|
|
|
|
position: relative; left: -33px;
|
|
|
|
|
}
|
|
|
|
|
header input[type="search"]:focus {
|
|
|
|
|
box-shadow: 0 0 4px rgba(0, 102, 255, .9);
|
|
|
|
|
}
|
|
|
|
|
header input[type="search"] ~ a > svg > path {
|
|
|
|
|
fill: #cccccc; transition: .15s ease;
|
|
|
|
|
}
|
|
|
|
|
header input[type="search"]:focus ~ a > svg > path {
|
|
|
|
|
fill: #333333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#spotlight {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
#spotlight a {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
height: 24px; line-height: 24px;
|
|
|
|
|
padding: 2px 10px;
|
|
|
|
|
background: #728bf6; color: white; font-size: 12px;
|
|
|
|
|
border-radius: 2px; border: 1px solid rgba(0, 0, 255, .05);
|
|
|
|
|
}
|
|
|
|
|
#spotlight a:hover { border-bottom: 1px solid rgba(128, 128, 255, .05);
|
|
|
|
|
background: #7a93ff; border-color: rgba(128, 128, 255, .03);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
subheader
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#subheader {
|
|
|
|
|
margin: 0; padding: 0 32px;
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
}
|
|
|
|
|
#subheader * {
|
|
|
|
|
margin: 0; padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#subheader li {
|
|
|
|
|
height: 30px; margin: 5px 0;
|
|
|
|
|
display: inline;
|
|
|
|
|
/*display: flex; align-items: center;*/
|
|
|
|
|
}
|
|
|
|
|
#subheader li:after {
|
|
|
|
|
content: "<22><>";
|
|
|
|
|
opacity: 0.3;
|
|
|
|
|
}
|
|
|
|
|
#subheader li:last-child:after {
|
|
|
|
|
content: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#subheader a {
|
|
|
|
|
padding: 0 3px;
|
|
|
|
|
/*border-bottom: 1px solid rgba(93, 123, 141, 0);*/
|
|
|
|
|
color: #727272;
|
|
|
|
|
}
|
|
|
|
|
#subheader a:hover, #subheader a:focus {
|
|
|
|
|
/*border-bottom: 1px solid rgba(93, 123, 141, 1);*/
|
|
|
|
|
color: #22292c;
|
|
|
|
|
text-decoration: none
|
|
|
|
|
}
|
|
|
|
|
|