wiki/_sass/_header.scss

55 lines
912 B
SCSS

// ヘッダ
header {
background: $header-background;
box-sizing: border-box;
font-weight: bold;
height: $header-height;
line-height: $header-height;
@include media-desktop {
padding: 0 1em;
}
@include media-mobile {
box-shadow: $header-mobile-box-shadow;
position: fixed;
width: 100%;
text-align: center;
z-index: 9999;
}
a {
text-decoration: none;
&:link,
&:visited,
&:hover,
&:focus,
&:active {
color: $header-link-color;
}
> amp-img {
margin-top: $header-img-vertical-adjustment;
vertical-align: middle;
}
}
button {
background: transparent;
border: none;
display: block;
font-size: inherit;
height: $header-height;
left: 0;
object-fit: contain;
position: absolute;
top: 0;
width: $header-height;
@include media-desktop {
display: none;
}
}
}