-
Notifications
You must be signed in to change notification settings - Fork 11
/
_cover.scss
56 lines (43 loc) · 904 Bytes
/
_cover.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
$cover-height: 600px;
$cover-height-small: 300px;
.cover {
height: $cover-height;
position: relative;
color: $white;
background-color: $primary-color;
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-attachment: fixed;
&.small {
height: $cover-height-small;
}
> .row {
height: 100%;
}
.main-header {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
}
.main-header {
@each $breakpoint, $value in $grid-column-gutter {
@include breakpoint($breakpoint) {
padding: rem-calc(1.5 * $value) (rem-calc($value) / 2);
}
}
h1 {
line-height: 1.2;
font-weight: bold;
text-transform: uppercase;
@include breakpoint(medium only) {
font-size: 36px;
}
+ .lead {
margin-top: 20px;
}
}
}