blob: def56f8969a1be16b0a891b91fb583ef1d28b8e4 [file] [log] [blame]
bigbiffd006b302015-03-06 18:36:03 -05001/**
2 * Site header
3 */
4.site-header {
5 border-top: 5px solid $grey-color-dark;
6 border-bottom: 1px solid $grey-color-light;
7 min-height: 56px;
8
9 // Positioning context for the mobile navigation icon
10 position: relative;
11}
12
13.site-title {
14 font-size: 26px;
15 line-height: 56px;
16 letter-spacing: -1px;
17 margin-bottom: 0;
18 float: left;
19
20 &,
21 &:visited {
22 color: $grey-color-dark;
23 }
24}
25
26.site-nav {
27 float: right;
28 line-height: 56px;
29
30 .menu-icon {
31 display: none;
32 }
33
34 .page-link {
35 color: $text-color;
36 line-height: $base-line-height;
37
38 // Gaps between nav items, but not on the first one
39 &:not(:first-child) {
40 margin-left: 20px;
41 }
42 }
43
44 @include media-query($on-palm) {
45 position: absolute;
46 top: 9px;
47 right: 30px;
48 background-color: $background-color;
49 border: 1px solid $grey-color-light;
50 border-radius: 5px;
51 text-align: right;
52
53 .menu-icon {
54 display: block;
55 float: right;
56 width: 36px;
57 height: 26px;
58 line-height: 0;
59 padding-top: 10px;
60 text-align: center;
61
62 > svg {
63 width: 18px;
64 height: 15px;
65
66 path {
67 fill: $grey-color-dark;
68 }
69 }
70 }
71
72 .trigger {
73 clear: both;
74 display: none;
75 }
76
77 &:hover .trigger {
78 display: block;
79 padding-bottom: 5px;
80 }
81
82 .page-link {
83 display: block;
84 padding: 5px 10px;
85 }
86 }
87}
88
89
90
91/**
92 * Site footer
93 */
94.site-footer {
95 border-top: 1px solid $grey-color-light;
96 padding: $spacing-unit 0;
97}
98
99.footer-heading {
100 font-size: 18px;
101 margin-bottom: $spacing-unit / 2;
102}
103
104.contact-list,
105.social-media-list {
106 list-style: none;
107 margin-left: 0;
108}
109
110.footer-col-wrapper {
111 font-size: 15px;
112 color: $grey-color;
113 margin-left: -$spacing-unit / 2;
114 @extend %clearfix;
115}
116
117.footer-col {
118 float: left;
119 margin-bottom: $spacing-unit / 2;
120 padding-left: $spacing-unit / 2;
121}
122
123.footer-col-1 {
124 width: -webkit-calc(35% - (#{$spacing-unit} / 2));
125 width: calc(35% - (#{$spacing-unit} / 2));
126}
127
128.footer-col-2 {
129 width: -webkit-calc(20% - (#{$spacing-unit} / 2));
130 width: calc(20% - (#{$spacing-unit} / 2));
131}
132
133.footer-col-3 {
134 width: -webkit-calc(45% - (#{$spacing-unit} / 2));
135 width: calc(45% - (#{$spacing-unit} / 2));
136}
137
138@include media-query($on-laptop) {
139 .footer-col-1,
140 .footer-col-2 {
141 width: -webkit-calc(50% - (#{$spacing-unit} / 2));
142 width: calc(50% - (#{$spacing-unit} / 2));
143 }
144
145 .footer-col-3 {
146 width: -webkit-calc(100% - (#{$spacing-unit} / 2));
147 width: calc(100% - (#{$spacing-unit} / 2));
148 }
149}
150
151@include media-query($on-palm) {
152 .footer-col {
153 float: none;
154 width: -webkit-calc(100% - (#{$spacing-unit} / 2));
155 width: calc(100% - (#{$spacing-unit} / 2));
156 }
157}
158
159
160
161/**
162 * Page content
163 */
164.page-content {
165 padding: $spacing-unit 0;
166}
167
168.page-heading {
169 font-size: 20px;
170}
171
172.post-list {
173 margin-left: 0;
174 list-style: none;
175
176 > li {
177 margin-bottom: $spacing-unit;
178 }
179}
180
181.post-meta {
182 font-size: $small-font-size;
183 color: $grey-color;
184}
185
186.post-link {
187 display: block;
188 font-size: 24px;
189}
190
191
192
193/**
194 * Posts
195 */
196.post-header {
197 margin-bottom: $spacing-unit;
198}
199
200.post-title {
201 font-size: 42px;
202 letter-spacing: -1px;
203 line-height: 1;
204
205 @include media-query($on-laptop) {
206 font-size: 36px;
207 }
208}
209
210.post-content {
211 margin-bottom: $spacing-unit;
212
213 h2 {
214 font-size: 32px;
215
216 @include media-query($on-laptop) {
217 font-size: 28px;
218 }
219 }
220
221 h3 {
222 font-size: 26px;
223
224 @include media-query($on-laptop) {
225 font-size: 22px;
226 }
227 }
228
229 h4 {
230 font-size: 20px;
231
232 @include media-query($on-laptop) {
233 font-size: 18px;
234 }
235 }
236}