hugo-theme-zzo/assets/sass/layout/_header.scss

51 lines
937 B
SCSS
Raw Normal View History

2019-11-04 13:09:44 +00:00
.header {
@include flexbox();
@include align-items(center);
@include justify-content(center);
2019-11-12 00:05:49 +00:00
@include flex-direction(column);
2019-11-04 13:09:44 +00:00
.title {
font-family: $title-font;
2019-11-04 13:09:44 +00:00
font-weight: 900;
}
&__image {
2019-11-15 09:29:35 +00:00
background-image: url("../images/header/background.jpg"),
url("../images/header/background.png");
width: 100%;
height: 235px;
background-size: cover;
background-repeat: no-repeat;
position: relative;
margin-bottom: 0.5rem;
}
}
.custom-header {
@include flexbox();
@include justify-content(center);
@include flex-direction(column);
&__title {
line-height: 1.1;
font-weight: 700;
font-family: $title-font;
}
&__subtitle {
line-height: 1.2;
font-family: $title-font;
}
&__align-left {
@include align-items(flex-start);
}
&__align-center {
@include align-items(center);
}
&__align-right {
@include align-items(flex-end);
}
2019-11-04 13:09:44 +00:00
}