-
Notifications
You must be signed in to change notification settings - Fork 0
/
_masthead.scss
executable file
·61 lines (61 loc) · 1.29 KB
/
_masthead.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
57
58
59
60
61
// Styling for the masthead
header.masthead {
position: relative;
width: 100%;
min-height: auto;
text-align: center;
color: white;
background-image: url('../img/header.jpg');
background-position: center;
@include background-cover;
.header-content {
position: relative;
width: 100%;
padding: 150px 15px 100px;
text-align: center;
.header-content-inner {
h1 {
font-size: 30px;
font-weight: 700;
margin-top: 0;
margin-bottom: 0;
text-transform: uppercase;
}
hr {
margin: 30px auto;
}
p {
font-size: 16px;
font-weight: 300;
margin-bottom: 50px;
color: fade-out(white, .3);
}
}
}
@media (min-width: 768px) {
height: 100%;
min-height: 600px;
.header-content {
position: absolute;
top: 50%;
padding: 0 50px;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
.header-content-inner {
max-width: 1000px;
margin-right: auto;
margin-left: auto;
h1 {
font-size: 50px;
}
p {
font-size: 18px;
max-width: 80%;
margin-right: auto;
margin-left: auto;
}
}
}
}
}