2018-02-23 23:34:06 +01:00
|
|
|
/*
|
|
|
|
header
|
|
|
|
*/
|
|
|
|
|
|
|
|
header {
|
2018-11-12 23:27:49 +01:00
|
|
|
height: 50px; margin: 0; padding: 0 30px;
|
|
|
|
display: flex; align-items: center; justify-content: space-between;
|
|
|
|
background: #f8f8fa; border-bottom: 1px solid #d0d0d0;
|
2018-02-23 23:34:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
header h1 {
|
|
|
|
font-family: Raleway; font-weight: 200;
|
|
|
|
}
|
|
|
|
|
2018-11-12 23:27:49 +01:00
|
|
|
header svg {
|
2018-02-23 23:34:06 +01:00
|
|
|
width: 24px; height: 24px; vertical-align: middle;
|
2018-11-12 23:27:49 +01:00
|
|
|
transition: .15s ease;
|
2018-02-23 23:34:06 +01:00
|
|
|
}
|
2018-11-12 23:27:49 +01:00
|
|
|
header a:hover > svg, header a:focus > svg {
|
|
|
|
filter: brightness(.5);
|
2018-02-23 23:34:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
header input[type="search"] {
|
2018-11-12 23:27:49 +01:00
|
|
|
width: 250px;
|
|
|
|
padding: 5px 35px 5px 10px;
|
|
|
|
border: 0; border-radius: 1px;
|
|
|
|
font-family: "Segoe UI", Helvetica, "Droid Sans", Arial,sans-serif;
|
|
|
|
box-shadow: 0 0 1px rgba(0, 0, 0, .4); transition: .15s ease;
|
2018-02-23 23:34:06 +01:00
|
|
|
}
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2018-11-12 23:27:49 +01:00
|
|
|
#spotlight a {
|
|
|
|
padding: 8px 18px 6px 18px;
|
|
|
|
color: #727272; font-size: 15px;
|
|
|
|
border-bottom: 2px solid rgba(93, 123, 141, 0);
|
|
|
|
transition: border .15s ease;
|
2018-02-23 23:34:06 +01:00
|
|
|
}
|
2018-11-12 23:27:49 +01:00
|
|
|
#spotlight a:hover, header #spotlight a:focus {
|
|
|
|
border-bottom: 2px solid rgba(93, 123, 141, 1);
|
2018-02-23 23:34:06 +01:00
|
|
|
}
|
|
|
|
|