wiki/_sass/_header.scss

44 lines
678 B
SCSS
Raw Normal View History

2017-12-02 02:04:52 -08:00
// ヘッダ
header {
background: $header-background;
box-sizing: border-box;
font-weight: bold;
padding: 1em;
@include media-mobile {
box-shadow: $header-mobile-box-shadow;
2017-12-02 02:04:52 -08:00
position: fixed;
width: 100%;
z-index: 9999;
}
a {
text-decoration: none;
&:link,
&:visited,
&:hover,
&:focus,
&:active {
color: $header-link-color;
}
> amp-img {
2018-01-15 18:23:41 -08:00
float: left;
2017-12-02 02:04:52 -08:00
margin: $header-img-vertical-adjustment 1em 0 0;
}
}
button {
background: transparent;
border: none;
float: right;
object-fit: contain;
2018-01-15 17:43:46 -08:00
padding: 0 1em;
2017-12-02 02:04:52 -08:00
@include media-desktop {
display: none;
}
}
}