hisat-3n/docs/_sass/_header.scss

48 lines
1.1 KiB
SCSS
Raw Permalink Normal View History

2025-01-18 13:09:52 +00:00
.site-header {
font-size: 2em;
padding: 0.7em 0;
background-color: $brand-color;
border-top: 3px solid rgba(#000, .5);
@media screen and (max-width: $mobile-width) {
text-align: center;
}
.avatar {
height: 3em;
width: 3em;
border: 3px solid rgba(#fff, .7);
border-radius: 1.5em;
margin-right: 0.8em;
float: left;
@media screen and (max-width: $mobile-width) {
float: none;
margin-right: 0;
}
}
h1 {
font-size: 1em;
line-height: 1em;
margin: 0;
.title {
display: inline-block;
color: $site-title-color;
font-weight: bold;
margin-top: 0.5em;
&.slim {
margin-top: 0;
}
@media screen and (max-width: $mobile-width) {
margin-top: 0;
}
}
.description {
margin: 0;
font-size: 0.6em;
line-height: 1em;
margin-top: 0.5em;
color: lighten($site-title-color, 20%);
}
}
}