minimal-mistakes-jekyll 4.14.0 → 4.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/LICENSE +20 -20
- data/README.md +1 -1
- data/_data/ui-text.yml +1176 -1176
- data/_includes/analytics-providers/google-gtag.html +9 -9
- data/_includes/analytics-providers/google-universal.html +10 -10
- data/_includes/analytics-providers/google.html +13 -13
- data/_includes/analytics.html +13 -13
- data/_includes/author-profile-custom-links.html +6 -6
- data/_includes/author-profile.html +271 -271
- data/_includes/breadcrumbs.html +39 -39
- data/_includes/comments-providers/scripts.html +19 -19
- data/_includes/comments-providers/utterances.html +19 -19
- data/_includes/comments.html +174 -174
- data/_includes/footer.html +19 -19
- data/_includes/head.html +41 -41
- data/_includes/masthead.html +33 -33
- data/_includes/search/algolia-search-scripts.html +54 -54
- data/_includes/search/search_form.html +17 -17
- data/_includes/seo.html +164 -164
- data/_includes/video +13 -13
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +13 -13
- data/_layouts/posts.html +29 -29
- data/_layouts/single.html +94 -94
- data/_layouts/splash.html +21 -21
- data/_layouts/tags.html +42 -42
- data/_sass/minimal-mistakes.scss +1 -1
- data/_sass/minimal-mistakes/_archive.scss +437 -437
- data/_sass/minimal-mistakes/_base.scss +357 -357
- data/_sass/minimal-mistakes/_footer.scss +91 -91
- data/_sass/minimal-mistakes/_mixins.scss +91 -91
- data/_sass/minimal-mistakes/_navigation.scss +556 -556
- data/_sass/minimal-mistakes/_search.scss +126 -126
- data/_sass/minimal-mistakes/_sidebar.scss +318 -318
- data/_sass/minimal-mistakes/_utilities.scss +6 -0
- data/_sass/minimal-mistakes/_variables.scss +159 -159
- data/_sass/minimal-mistakes/skins/_dark.scss +27 -27
- data/_sass/minimal-mistakes/skins/_neon.scss +56 -56
- data/_sass/minimal-mistakes/skins/_plum.scss +63 -63
- data/assets/js/_main.js +106 -106
- data/assets/js/lunr/lunr-store.js +54 -54
- data/assets/js/lunr/lunr.js +3483 -3483
- data/assets/js/lunr/lunr.min.js +5 -5
- data/assets/js/main.min.js +5 -5
- metadata +2 -2
@@ -1,126 +1,126 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
SEARCH
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
.layout--search {
|
6
|
-
.archive__item-teaser {
|
7
|
-
margin-bottom: 0.25em;
|
8
|
-
}
|
9
|
-
}
|
10
|
-
|
11
|
-
.search__toggle {
|
12
|
-
margin-left: 1rem;
|
13
|
-
margin-right: 1rem;
|
14
|
-
height: $nav-toggle-height;
|
15
|
-
border: 0;
|
16
|
-
outline: none;
|
17
|
-
color: $primary-color;
|
18
|
-
background-color: transparent;
|
19
|
-
cursor: pointer;
|
20
|
-
-webkit-transition: 0.2s;
|
21
|
-
transition: 0.2s;
|
22
|
-
|
23
|
-
&:hover {
|
24
|
-
color: mix(#000, $primary-color, 25%);
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
.search-icon {
|
29
|
-
width: 100%;
|
30
|
-
height: 100%;
|
31
|
-
}
|
32
|
-
|
33
|
-
.search-content {
|
34
|
-
display: none;
|
35
|
-
visibility: hidden;
|
36
|
-
padding-top: 1em;
|
37
|
-
padding-bottom: 1em;
|
38
|
-
|
39
|
-
&__inner-wrap {
|
40
|
-
width: 100%;
|
41
|
-
margin-left: auto;
|
42
|
-
margin-right: auto;
|
43
|
-
padding-left: 1em;
|
44
|
-
padding-right: 1em;
|
45
|
-
-webkit-animation: $intro-transition;
|
46
|
-
animation: $intro-transition;
|
47
|
-
-webkit-animation-delay: 0.15s;
|
48
|
-
animation-delay: 0.15s;
|
49
|
-
|
50
|
-
@include breakpoint($x-large) {
|
51
|
-
max-width: $x-large;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
.search-input {
|
56
|
-
display: block;
|
57
|
-
margin-bottom: 0;
|
58
|
-
padding: 0;
|
59
|
-
border: none;
|
60
|
-
outline: none;
|
61
|
-
box-shadow: none;
|
62
|
-
background-color: transparent;
|
63
|
-
font-size: $type-size-3;
|
64
|
-
|
65
|
-
@include breakpoint($large) {
|
66
|
-
font-size: $type-size-2;
|
67
|
-
}
|
68
|
-
|
69
|
-
@include breakpoint($x-large) {
|
70
|
-
font-size: $type-size-1;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
&.is--visible {
|
75
|
-
display: block;
|
76
|
-
visibility: visible;
|
77
|
-
|
78
|
-
&::after {
|
79
|
-
content: "";
|
80
|
-
display: block;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
|
84
|
-
.results__found {
|
85
|
-
margin-top: 0.5em;
|
86
|
-
font-size: $type-size-6;
|
87
|
-
}
|
88
|
-
|
89
|
-
.archive__item {
|
90
|
-
margin-bottom: 2em;
|
91
|
-
|
92
|
-
@include breakpoint($large) {
|
93
|
-
width: 75%;
|
94
|
-
}
|
95
|
-
|
96
|
-
@include breakpoint($x-large) {
|
97
|
-
width: 50%;
|
98
|
-
}
|
99
|
-
}
|
100
|
-
|
101
|
-
.archive__item-title {
|
102
|
-
margin-top: 0;
|
103
|
-
}
|
104
|
-
|
105
|
-
.archive__item-excerpt {
|
106
|
-
margin-bottom: 0;
|
107
|
-
}
|
108
|
-
}
|
109
|
-
|
110
|
-
/* Algolia search */
|
111
|
-
|
112
|
-
.ais-search-box {
|
113
|
-
max-width: 100% !important;
|
114
|
-
margin-bottom: 2em;
|
115
|
-
}
|
116
|
-
|
117
|
-
.archive__item-title .ais-Highlight {
|
118
|
-
color: $primary-color;
|
119
|
-
font-style: normal;
|
120
|
-
text-decoration: underline;
|
121
|
-
}
|
122
|
-
.archive__item-excerpt .ais-Highlight {
|
123
|
-
color: $primary-color;
|
124
|
-
font-style: normal;
|
125
|
-
font-weight: bold;
|
126
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
SEARCH
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.layout--search {
|
6
|
+
.archive__item-teaser {
|
7
|
+
margin-bottom: 0.25em;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
.search__toggle {
|
12
|
+
margin-left: 1rem;
|
13
|
+
margin-right: 1rem;
|
14
|
+
height: $nav-toggle-height;
|
15
|
+
border: 0;
|
16
|
+
outline: none;
|
17
|
+
color: $primary-color;
|
18
|
+
background-color: transparent;
|
19
|
+
cursor: pointer;
|
20
|
+
-webkit-transition: 0.2s;
|
21
|
+
transition: 0.2s;
|
22
|
+
|
23
|
+
&:hover {
|
24
|
+
color: mix(#000, $primary-color, 25%);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.search-icon {
|
29
|
+
width: 100%;
|
30
|
+
height: 100%;
|
31
|
+
}
|
32
|
+
|
33
|
+
.search-content {
|
34
|
+
display: none;
|
35
|
+
visibility: hidden;
|
36
|
+
padding-top: 1em;
|
37
|
+
padding-bottom: 1em;
|
38
|
+
|
39
|
+
&__inner-wrap {
|
40
|
+
width: 100%;
|
41
|
+
margin-left: auto;
|
42
|
+
margin-right: auto;
|
43
|
+
padding-left: 1em;
|
44
|
+
padding-right: 1em;
|
45
|
+
-webkit-animation: $intro-transition;
|
46
|
+
animation: $intro-transition;
|
47
|
+
-webkit-animation-delay: 0.15s;
|
48
|
+
animation-delay: 0.15s;
|
49
|
+
|
50
|
+
@include breakpoint($x-large) {
|
51
|
+
max-width: $x-large;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.search-input {
|
56
|
+
display: block;
|
57
|
+
margin-bottom: 0;
|
58
|
+
padding: 0;
|
59
|
+
border: none;
|
60
|
+
outline: none;
|
61
|
+
box-shadow: none;
|
62
|
+
background-color: transparent;
|
63
|
+
font-size: $type-size-3;
|
64
|
+
|
65
|
+
@include breakpoint($large) {
|
66
|
+
font-size: $type-size-2;
|
67
|
+
}
|
68
|
+
|
69
|
+
@include breakpoint($x-large) {
|
70
|
+
font-size: $type-size-1;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
&.is--visible {
|
75
|
+
display: block;
|
76
|
+
visibility: visible;
|
77
|
+
|
78
|
+
&::after {
|
79
|
+
content: "";
|
80
|
+
display: block;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
.results__found {
|
85
|
+
margin-top: 0.5em;
|
86
|
+
font-size: $type-size-6;
|
87
|
+
}
|
88
|
+
|
89
|
+
.archive__item {
|
90
|
+
margin-bottom: 2em;
|
91
|
+
|
92
|
+
@include breakpoint($large) {
|
93
|
+
width: 75%;
|
94
|
+
}
|
95
|
+
|
96
|
+
@include breakpoint($x-large) {
|
97
|
+
width: 50%;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
.archive__item-title {
|
102
|
+
margin-top: 0;
|
103
|
+
}
|
104
|
+
|
105
|
+
.archive__item-excerpt {
|
106
|
+
margin-bottom: 0;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
/* Algolia search */
|
111
|
+
|
112
|
+
.ais-search-box {
|
113
|
+
max-width: 100% !important;
|
114
|
+
margin-bottom: 2em;
|
115
|
+
}
|
116
|
+
|
117
|
+
.archive__item-title .ais-Highlight {
|
118
|
+
color: $primary-color;
|
119
|
+
font-style: normal;
|
120
|
+
text-decoration: underline;
|
121
|
+
}
|
122
|
+
.archive__item-excerpt .ais-Highlight {
|
123
|
+
color: $primary-color;
|
124
|
+
font-style: normal;
|
125
|
+
font-weight: bold;
|
126
|
+
}
|
@@ -1,318 +1,318 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
SIDEBAR
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
/*
|
6
|
-
Default
|
7
|
-
========================================================================== */
|
8
|
-
|
9
|
-
.sidebar {
|
10
|
-
@include clearfix();
|
11
|
-
@include breakpoint(max-width $large) {
|
12
|
-
/* fix z-index order of follow links */
|
13
|
-
position: relative;
|
14
|
-
z-index: 10;
|
15
|
-
-webkit-transform: translate3d(0, 0, 0);
|
16
|
-
transform: translate3d(0, 0, 0);
|
17
|
-
}
|
18
|
-
|
19
|
-
@include breakpoint($large) {
|
20
|
-
float: left;
|
21
|
-
width: calc(#{$right-sidebar-width-narrow} - 1em);
|
22
|
-
opacity: 0.75;
|
23
|
-
-webkit-transition: opacity 0.2s ease-in-out;
|
24
|
-
transition: opacity 0.2s ease-in-out;
|
25
|
-
|
26
|
-
&:hover {
|
27
|
-
opacity: 1;
|
28
|
-
}
|
29
|
-
|
30
|
-
&.sticky {
|
31
|
-
overflow-y: auto;
|
32
|
-
/* calculate height of nav list
|
33
|
-
viewport height - nav height - masthead x-padding
|
34
|
-
*/
|
35
|
-
height: calc(100vh - #{$nav-height} - 2em);
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
@include breakpoint($x-large) {
|
40
|
-
width: calc(#{$right-sidebar-width} - 1em);
|
41
|
-
}
|
42
|
-
|
43
|
-
> * {
|
44
|
-
margin-top: 1em;
|
45
|
-
margin-bottom: 1em;
|
46
|
-
}
|
47
|
-
|
48
|
-
h2,
|
49
|
-
h3,
|
50
|
-
h4,
|
51
|
-
h5,
|
52
|
-
h6 {
|
53
|
-
margin-bottom: 0;
|
54
|
-
font-family: $sans-serif-narrow;
|
55
|
-
}
|
56
|
-
|
57
|
-
p,
|
58
|
-
li {
|
59
|
-
font-family: $sans-serif;
|
60
|
-
font-size: $type-size-6;
|
61
|
-
line-height: 1.5;
|
62
|
-
}
|
63
|
-
|
64
|
-
img {
|
65
|
-
width: 100%;
|
66
|
-
|
67
|
-
&.emoji {
|
68
|
-
width: 20px;
|
69
|
-
height: 20px;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
.sidebar__right {
|
75
|
-
margin-bottom: 1em;
|
76
|
-
|
77
|
-
@include breakpoint($large) {
|
78
|
-
position: absolute;
|
79
|
-
top: 0;
|
80
|
-
right: 0;
|
81
|
-
width: $right-sidebar-width-narrow;
|
82
|
-
margin-right: -1 * $right-sidebar-width-narrow;
|
83
|
-
padding-left: 1em;
|
84
|
-
z-index: 10;
|
85
|
-
|
86
|
-
&.sticky {
|
87
|
-
@include clearfix();
|
88
|
-
position: -webkit-sticky;
|
89
|
-
position: sticky;
|
90
|
-
top: 2em;
|
91
|
-
float: right;
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
@include breakpoint($x-large) {
|
96
|
-
width: $right-sidebar-width;
|
97
|
-
margin-right: -1 * $right-sidebar-width;
|
98
|
-
}
|
99
|
-
}
|
100
|
-
|
101
|
-
.splash .sidebar__right {
|
102
|
-
@include breakpoint($large) {
|
103
|
-
position: relative;
|
104
|
-
float: right;
|
105
|
-
margin-right: 0;
|
106
|
-
}
|
107
|
-
|
108
|
-
@include breakpoint($x-large) {
|
109
|
-
margin-right: 0;
|
110
|
-
}
|
111
|
-
}
|
112
|
-
|
113
|
-
/*
|
114
|
-
Author profile and links
|
115
|
-
========================================================================== */
|
116
|
-
|
117
|
-
.author__avatar {
|
118
|
-
display: table-cell;
|
119
|
-
vertical-align: top;
|
120
|
-
width: 36px;
|
121
|
-
height: 36px;
|
122
|
-
|
123
|
-
@include breakpoint($large) {
|
124
|
-
display: block;
|
125
|
-
width: auto;
|
126
|
-
height: auto;
|
127
|
-
}
|
128
|
-
|
129
|
-
img {
|
130
|
-
max-width: 110px;
|
131
|
-
border-radius: 50%;
|
132
|
-
|
133
|
-
@include breakpoint($large) {
|
134
|
-
padding: 5px;
|
135
|
-
border: 1px solid $border-color;
|
136
|
-
}
|
137
|
-
}
|
138
|
-
}
|
139
|
-
|
140
|
-
.author__content {
|
141
|
-
display: table-cell;
|
142
|
-
vertical-align: top;
|
143
|
-
padding-left: 15px;
|
144
|
-
padding-right: 25px;
|
145
|
-
line-height: 1;
|
146
|
-
|
147
|
-
@include breakpoint($large) {
|
148
|
-
display: block;
|
149
|
-
width: 100%;
|
150
|
-
padding-left: 0;
|
151
|
-
padding-right: 0;
|
152
|
-
}
|
153
|
-
|
154
|
-
a {
|
155
|
-
color: inherit;
|
156
|
-
text-decoration: none;
|
157
|
-
}
|
158
|
-
}
|
159
|
-
|
160
|
-
.author__name {
|
161
|
-
margin: 0;
|
162
|
-
|
163
|
-
@include breakpoint($large) {
|
164
|
-
margin-top: 10px;
|
165
|
-
margin-bottom: 10px;
|
166
|
-
}
|
167
|
-
}
|
168
|
-
.sidebar .author__name {
|
169
|
-
font-family: $sans-serif;
|
170
|
-
font-size: $type-size-5;
|
171
|
-
}
|
172
|
-
|
173
|
-
.author__bio {
|
174
|
-
margin: 0;
|
175
|
-
|
176
|
-
@include breakpoint($large) {
|
177
|
-
margin-top: 10px;
|
178
|
-
margin-bottom: 20px;
|
179
|
-
}
|
180
|
-
}
|
181
|
-
|
182
|
-
.author__urls-wrapper {
|
183
|
-
position: relative;
|
184
|
-
display: table-cell;
|
185
|
-
vertical-align: middle;
|
186
|
-
font-family: $sans-serif;
|
187
|
-
z-index: 10;
|
188
|
-
position: relative;
|
189
|
-
cursor: pointer;
|
190
|
-
|
191
|
-
li:last-child {
|
192
|
-
a {
|
193
|
-
margin-bottom: 0;
|
194
|
-
}
|
195
|
-
}
|
196
|
-
|
197
|
-
@include breakpoint($large) {
|
198
|
-
display: block;
|
199
|
-
}
|
200
|
-
|
201
|
-
button {
|
202
|
-
margin-bottom: 0;
|
203
|
-
|
204
|
-
@include breakpoint($large) {
|
205
|
-
display: none;
|
206
|
-
}
|
207
|
-
}
|
208
|
-
}
|
209
|
-
|
210
|
-
.author__urls {
|
211
|
-
display: none;
|
212
|
-
position: absolute;
|
213
|
-
right: 0;
|
214
|
-
margin-top: 15px;
|
215
|
-
padding: 10px;
|
216
|
-
list-style-type: none;
|
217
|
-
border: 1px solid $border-color;
|
218
|
-
border-radius: $border-radius;
|
219
|
-
background: $background-color;
|
220
|
-
z-index: -1;
|
221
|
-
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
222
|
-
cursor: default;
|
223
|
-
|
224
|
-
&.is--visible {
|
225
|
-
display: block;
|
226
|
-
}
|
227
|
-
|
228
|
-
@include breakpoint($large) {
|
229
|
-
display: block;
|
230
|
-
position: relative;
|
231
|
-
margin: 0;
|
232
|
-
padding: 0;
|
233
|
-
border: 0;
|
234
|
-
background: transparent;
|
235
|
-
box-shadow: none;
|
236
|
-
}
|
237
|
-
|
238
|
-
&:before {
|
239
|
-
display: block;
|
240
|
-
content: "";
|
241
|
-
position: absolute;
|
242
|
-
top: -11px;
|
243
|
-
left: calc(50% - 10px);
|
244
|
-
width: 0;
|
245
|
-
border-style: solid;
|
246
|
-
border-width: 0 10px 10px;
|
247
|
-
border-color: $border-color transparent;
|
248
|
-
z-index: 0;
|
249
|
-
|
250
|
-
@include breakpoint($large) {
|
251
|
-
display: none;
|
252
|
-
}
|
253
|
-
}
|
254
|
-
|
255
|
-
&:after {
|
256
|
-
display: block;
|
257
|
-
content: "";
|
258
|
-
position: absolute;
|
259
|
-
top: -10px;
|
260
|
-
left: calc(50% - 10px);
|
261
|
-
width: 0;
|
262
|
-
border-style: solid;
|
263
|
-
border-width: 0 10px 10px;
|
264
|
-
border-color: $background-color transparent;
|
265
|
-
z-index: 1;
|
266
|
-
|
267
|
-
@include breakpoint($large) {
|
268
|
-
display: none;
|
269
|
-
}
|
270
|
-
}
|
271
|
-
|
272
|
-
li {
|
273
|
-
white-space: nowrap;
|
274
|
-
}
|
275
|
-
|
276
|
-
a {
|
277
|
-
display: block;
|
278
|
-
margin-bottom: 5px;
|
279
|
-
padding-right: 5px;
|
280
|
-
padding-top: 2px;
|
281
|
-
padding-bottom: 2px;
|
282
|
-
color: inherit;
|
283
|
-
font-size: $type-size-5;
|
284
|
-
text-decoration: none;
|
285
|
-
|
286
|
-
&:hover {
|
287
|
-
text-decoration: underline;
|
288
|
-
}
|
289
|
-
}
|
290
|
-
}
|
291
|
-
|
292
|
-
/*
|
293
|
-
Wide Pages
|
294
|
-
========================================================================== */
|
295
|
-
|
296
|
-
.wide .sidebar__right {
|
297
|
-
margin-bottom: 1em;
|
298
|
-
|
299
|
-
@include breakpoint($large) {
|
300
|
-
position: initial;
|
301
|
-
top: initial;
|
302
|
-
right: initial;
|
303
|
-
width: initial;
|
304
|
-
margin-right: initial;
|
305
|
-
padding-left: initial;
|
306
|
-
z-index: initial;
|
307
|
-
|
308
|
-
&.sticky {
|
309
|
-
float: none;
|
310
|
-
}
|
311
|
-
}
|
312
|
-
|
313
|
-
@include breakpoint($x-large) {
|
314
|
-
width: initial;
|
315
|
-
margin-right: initial;
|
316
|
-
}
|
317
|
-
}
|
318
|
-
|
1
|
+
/* ==========================================================================
|
2
|
+
SIDEBAR
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/*
|
6
|
+
Default
|
7
|
+
========================================================================== */
|
8
|
+
|
9
|
+
.sidebar {
|
10
|
+
@include clearfix();
|
11
|
+
@include breakpoint(max-width $large) {
|
12
|
+
/* fix z-index order of follow links */
|
13
|
+
position: relative;
|
14
|
+
z-index: 10;
|
15
|
+
-webkit-transform: translate3d(0, 0, 0);
|
16
|
+
transform: translate3d(0, 0, 0);
|
17
|
+
}
|
18
|
+
|
19
|
+
@include breakpoint($large) {
|
20
|
+
float: left;
|
21
|
+
width: calc(#{$right-sidebar-width-narrow} - 1em);
|
22
|
+
opacity: 0.75;
|
23
|
+
-webkit-transition: opacity 0.2s ease-in-out;
|
24
|
+
transition: opacity 0.2s ease-in-out;
|
25
|
+
|
26
|
+
&:hover {
|
27
|
+
opacity: 1;
|
28
|
+
}
|
29
|
+
|
30
|
+
&.sticky {
|
31
|
+
overflow-y: auto;
|
32
|
+
/* calculate height of nav list
|
33
|
+
viewport height - nav height - masthead x-padding
|
34
|
+
*/
|
35
|
+
height: calc(100vh - #{$nav-height} - 2em);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
@include breakpoint($x-large) {
|
40
|
+
width: calc(#{$right-sidebar-width} - 1em);
|
41
|
+
}
|
42
|
+
|
43
|
+
> * {
|
44
|
+
margin-top: 1em;
|
45
|
+
margin-bottom: 1em;
|
46
|
+
}
|
47
|
+
|
48
|
+
h2,
|
49
|
+
h3,
|
50
|
+
h4,
|
51
|
+
h5,
|
52
|
+
h6 {
|
53
|
+
margin-bottom: 0;
|
54
|
+
font-family: $sans-serif-narrow;
|
55
|
+
}
|
56
|
+
|
57
|
+
p,
|
58
|
+
li {
|
59
|
+
font-family: $sans-serif;
|
60
|
+
font-size: $type-size-6;
|
61
|
+
line-height: 1.5;
|
62
|
+
}
|
63
|
+
|
64
|
+
img {
|
65
|
+
width: 100%;
|
66
|
+
|
67
|
+
&.emoji {
|
68
|
+
width: 20px;
|
69
|
+
height: 20px;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
.sidebar__right {
|
75
|
+
margin-bottom: 1em;
|
76
|
+
|
77
|
+
@include breakpoint($large) {
|
78
|
+
position: absolute;
|
79
|
+
top: 0;
|
80
|
+
right: 0;
|
81
|
+
width: $right-sidebar-width-narrow;
|
82
|
+
margin-right: -1 * $right-sidebar-width-narrow;
|
83
|
+
padding-left: 1em;
|
84
|
+
z-index: 10;
|
85
|
+
|
86
|
+
&.sticky {
|
87
|
+
@include clearfix();
|
88
|
+
position: -webkit-sticky;
|
89
|
+
position: sticky;
|
90
|
+
top: 2em;
|
91
|
+
float: right;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
@include breakpoint($x-large) {
|
96
|
+
width: $right-sidebar-width;
|
97
|
+
margin-right: -1 * $right-sidebar-width;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
.splash .sidebar__right {
|
102
|
+
@include breakpoint($large) {
|
103
|
+
position: relative;
|
104
|
+
float: right;
|
105
|
+
margin-right: 0;
|
106
|
+
}
|
107
|
+
|
108
|
+
@include breakpoint($x-large) {
|
109
|
+
margin-right: 0;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
/*
|
114
|
+
Author profile and links
|
115
|
+
========================================================================== */
|
116
|
+
|
117
|
+
.author__avatar {
|
118
|
+
display: table-cell;
|
119
|
+
vertical-align: top;
|
120
|
+
width: 36px;
|
121
|
+
height: 36px;
|
122
|
+
|
123
|
+
@include breakpoint($large) {
|
124
|
+
display: block;
|
125
|
+
width: auto;
|
126
|
+
height: auto;
|
127
|
+
}
|
128
|
+
|
129
|
+
img {
|
130
|
+
max-width: 110px;
|
131
|
+
border-radius: 50%;
|
132
|
+
|
133
|
+
@include breakpoint($large) {
|
134
|
+
padding: 5px;
|
135
|
+
border: 1px solid $border-color;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
.author__content {
|
141
|
+
display: table-cell;
|
142
|
+
vertical-align: top;
|
143
|
+
padding-left: 15px;
|
144
|
+
padding-right: 25px;
|
145
|
+
line-height: 1;
|
146
|
+
|
147
|
+
@include breakpoint($large) {
|
148
|
+
display: block;
|
149
|
+
width: 100%;
|
150
|
+
padding-left: 0;
|
151
|
+
padding-right: 0;
|
152
|
+
}
|
153
|
+
|
154
|
+
a {
|
155
|
+
color: inherit;
|
156
|
+
text-decoration: none;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
.author__name {
|
161
|
+
margin: 0;
|
162
|
+
|
163
|
+
@include breakpoint($large) {
|
164
|
+
margin-top: 10px;
|
165
|
+
margin-bottom: 10px;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
.sidebar .author__name {
|
169
|
+
font-family: $sans-serif;
|
170
|
+
font-size: $type-size-5;
|
171
|
+
}
|
172
|
+
|
173
|
+
.author__bio {
|
174
|
+
margin: 0;
|
175
|
+
|
176
|
+
@include breakpoint($large) {
|
177
|
+
margin-top: 10px;
|
178
|
+
margin-bottom: 20px;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
.author__urls-wrapper {
|
183
|
+
position: relative;
|
184
|
+
display: table-cell;
|
185
|
+
vertical-align: middle;
|
186
|
+
font-family: $sans-serif;
|
187
|
+
z-index: 10;
|
188
|
+
position: relative;
|
189
|
+
cursor: pointer;
|
190
|
+
|
191
|
+
li:last-child {
|
192
|
+
a {
|
193
|
+
margin-bottom: 0;
|
194
|
+
}
|
195
|
+
}
|
196
|
+
|
197
|
+
@include breakpoint($large) {
|
198
|
+
display: block;
|
199
|
+
}
|
200
|
+
|
201
|
+
button {
|
202
|
+
margin-bottom: 0;
|
203
|
+
|
204
|
+
@include breakpoint($large) {
|
205
|
+
display: none;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
.author__urls {
|
211
|
+
display: none;
|
212
|
+
position: absolute;
|
213
|
+
right: 0;
|
214
|
+
margin-top: 15px;
|
215
|
+
padding: 10px;
|
216
|
+
list-style-type: none;
|
217
|
+
border: 1px solid $border-color;
|
218
|
+
border-radius: $border-radius;
|
219
|
+
background: $background-color;
|
220
|
+
z-index: -1;
|
221
|
+
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
222
|
+
cursor: default;
|
223
|
+
|
224
|
+
&.is--visible {
|
225
|
+
display: block;
|
226
|
+
}
|
227
|
+
|
228
|
+
@include breakpoint($large) {
|
229
|
+
display: block;
|
230
|
+
position: relative;
|
231
|
+
margin: 0;
|
232
|
+
padding: 0;
|
233
|
+
border: 0;
|
234
|
+
background: transparent;
|
235
|
+
box-shadow: none;
|
236
|
+
}
|
237
|
+
|
238
|
+
&:before {
|
239
|
+
display: block;
|
240
|
+
content: "";
|
241
|
+
position: absolute;
|
242
|
+
top: -11px;
|
243
|
+
left: calc(50% - 10px);
|
244
|
+
width: 0;
|
245
|
+
border-style: solid;
|
246
|
+
border-width: 0 10px 10px;
|
247
|
+
border-color: $border-color transparent;
|
248
|
+
z-index: 0;
|
249
|
+
|
250
|
+
@include breakpoint($large) {
|
251
|
+
display: none;
|
252
|
+
}
|
253
|
+
}
|
254
|
+
|
255
|
+
&:after {
|
256
|
+
display: block;
|
257
|
+
content: "";
|
258
|
+
position: absolute;
|
259
|
+
top: -10px;
|
260
|
+
left: calc(50% - 10px);
|
261
|
+
width: 0;
|
262
|
+
border-style: solid;
|
263
|
+
border-width: 0 10px 10px;
|
264
|
+
border-color: $background-color transparent;
|
265
|
+
z-index: 1;
|
266
|
+
|
267
|
+
@include breakpoint($large) {
|
268
|
+
display: none;
|
269
|
+
}
|
270
|
+
}
|
271
|
+
|
272
|
+
li {
|
273
|
+
white-space: nowrap;
|
274
|
+
}
|
275
|
+
|
276
|
+
a {
|
277
|
+
display: block;
|
278
|
+
margin-bottom: 5px;
|
279
|
+
padding-right: 5px;
|
280
|
+
padding-top: 2px;
|
281
|
+
padding-bottom: 2px;
|
282
|
+
color: inherit;
|
283
|
+
font-size: $type-size-5;
|
284
|
+
text-decoration: none;
|
285
|
+
|
286
|
+
&:hover {
|
287
|
+
text-decoration: underline;
|
288
|
+
}
|
289
|
+
}
|
290
|
+
}
|
291
|
+
|
292
|
+
/*
|
293
|
+
Wide Pages
|
294
|
+
========================================================================== */
|
295
|
+
|
296
|
+
.wide .sidebar__right {
|
297
|
+
margin-bottom: 1em;
|
298
|
+
|
299
|
+
@include breakpoint($large) {
|
300
|
+
position: initial;
|
301
|
+
top: initial;
|
302
|
+
right: initial;
|
303
|
+
width: initial;
|
304
|
+
margin-right: initial;
|
305
|
+
padding-left: initial;
|
306
|
+
z-index: initial;
|
307
|
+
|
308
|
+
&.sticky {
|
309
|
+
float: none;
|
310
|
+
}
|
311
|
+
}
|
312
|
+
|
313
|
+
@include breakpoint($x-large) {
|
314
|
+
width: initial;
|
315
|
+
margin-right: initial;
|
316
|
+
}
|
317
|
+
}
|
318
|
+
|