-
Notifications
You must be signed in to change notification settings - Fork 0
/
_header.scss
41 lines (38 loc) · 964 Bytes
/
_header.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
.header {
height: 100vh;
max-height: 900px;
background: url(../imgs/main.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
min-height: 750px;
.overlay {
height: 100%;
background: rgba($gray-900, .85);
display: -webkit-flex;
display: -ms-flex;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
&-title {
font-size: 2.4rem;
font-weight: bold;
opacity: .8;
color: $dark;
}
// header mini
&-mini {
min-height: 24rem;
height: 24rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 1rem;
background: lighten($primary, 25%) !important;
}
}