forked from wtgowers/human-style-atp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom_styling.css
97 lines (82 loc) · 1.95 KB
/
custom_styling.css
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// Styling for the masthead
header.masthead2 {
// TIP: Background images are set within the HTML using inline CSS!
margin-bottom: 50px;
background: no-repeat center center;
background-color: $gray-600;
background-attachment: scroll;
position: relative;
background-size: cover;
.overlay {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: $gray-900;
opacity: 0.5;
}
.page-heading,
.post-heading,
.site-heading {
padding: 200px 0 150px;
color: white;
@media only screen and (min-width: 768px) {
padding: 200px 0;
}
}
.page-heading,
.site-heading {
text-align: center;
h1 {
font-size: 50px;
margin-top: 0;
}
.subheading {
font-size: 24px;
font-weight: 300;
line-height: 1.1;
display: block;
margin: 10px 0 0;
font-family: $headings-font-family;
}
@media only screen and (min-width: 768px) {
h1 {
font-size: 80px;
}
}
}
.post-heading {
h1 {
font-size: 35px;
}
.meta,
.subheading {
line-height: 1.1;
display: block;
}
.subheading {
font-size: 24px;
font-weight: 600;
margin: 10px 0 30px;
font-family: $headings-font-family;
}
.meta {
font-size: 20px;
font-weight: 300;
font-style: italic;
font-family: $font-family-base;
a {
color: $white;
}
}
@media only screen and (min-width: 768px) {
h1 {
font-size: 55px;
}
.subheading {
font-size: 30px;
}
}
}
}