2017-12-02 02:04:52 -08:00
|
|
|
// ヘッダ
|
|
|
|
header {
|
|
|
|
background: $header-background;
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-weight: bold;
|
2018-02-28 02:21:29 -08:00
|
|
|
height: $header-height;
|
|
|
|
line-height: $header-height;
|
2018-01-16 00:50:29 -08:00
|
|
|
|
|
|
|
@include media-desktop {
|
|
|
|
padding: 0 1em;
|
|
|
|
}
|
2017-12-02 02:04:52 -08:00
|
|
|
|
|
|
|
@include media-mobile {
|
2018-01-15 18:07:59 -08:00
|
|
|
box-shadow: $header-mobile-box-shadow;
|
2017-12-02 02:04:52 -08:00
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
2018-01-16 00:50:29 -08:00
|
|
|
text-align: center;
|
2017-12-02 02:04:52 -08:00
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:link,
|
|
|
|
&:visited,
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
color: $header-link-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
> amp-img {
|
2018-01-16 00:50:29 -08:00
|
|
|
margin-top: $header-img-vertical-adjustment;
|
|
|
|
vertical-align: middle;
|
2017-12-02 02:04:52 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
2018-03-21 22:35:27 -07:00
|
|
|
display: block;
|
|
|
|
font-size: inherit;
|
|
|
|
height: $header-height;
|
2018-02-28 03:31:35 -08:00
|
|
|
left: 0;
|
2017-12-02 02:04:52 -08:00
|
|
|
object-fit: contain;
|
2018-01-16 00:50:29 -08:00
|
|
|
position: absolute;
|
2018-02-28 01:02:49 -08:00
|
|
|
top: 0;
|
2018-03-21 22:35:27 -07:00
|
|
|
width: $header-height;
|
2017-12-02 02:04:52 -08:00
|
|
|
|
|
|
|
@include media-desktop {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|