minimal-mistakes-jekyll 4.1.0 → 4.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/LICENSE.txt +20 -20
  4. data/README.md +157 -157
  5. data/_includes/analytics-providers/custom.html +2 -2
  6. data/_includes/analytics-providers/google-universal.html +8 -8
  7. data/_includes/analytics-providers/google.html +10 -10
  8. data/_includes/analytics.html +11 -11
  9. data/_includes/archive-single.html +37 -37
  10. data/_includes/author-profile-custom-links.html +6 -6
  11. data/_includes/author-profile.html +241 -233
  12. data/_includes/base_path +4 -4
  13. data/_includes/breadcrumbs.html +38 -38
  14. data/_includes/browser-upgrade.html +2 -2
  15. data/_includes/category-list.html +25 -25
  16. data/_includes/comment.html +21 -21
  17. data/_includes/comments-providers/custom.html +2 -2
  18. data/_includes/comments-providers/discourse.html +13 -13
  19. data/_includes/comments-providers/disqus.html +21 -21
  20. data/_includes/comments-providers/facebook.html +7 -7
  21. data/_includes/comments-providers/google-plus.html +1 -1
  22. data/_includes/comments-providers/scripts.html +17 -17
  23. data/_includes/comments-providers/staticman.html +41 -41
  24. data/_includes/comments.html +79 -79
  25. data/_includes/feature_row +49 -49
  26. data/_includes/figure +12 -12
  27. data/_includes/footer.html +21 -21
  28. data/_includes/footer/custom.html +2 -2
  29. data/_includes/gallery +46 -46
  30. data/_includes/group-by-array +46 -46
  31. data/_includes/head.html +18 -18
  32. data/_includes/head/custom.html +4 -4
  33. data/_includes/masthead.html +20 -20
  34. data/_includes/nav_list +46 -46
  35. data/_includes/page__hero.html +52 -52
  36. data/_includes/page__taxonomy.html +6 -6
  37. data/_includes/paginator.html +67 -67
  38. data/_includes/post_pagination.html +13 -13
  39. data/_includes/read-time.html +14 -14
  40. data/_includes/scripts.html +4 -4
  41. data/_includes/seo.html +145 -145
  42. data/_includes/sidebar.html +22 -22
  43. data/_includes/social-share.html +13 -13
  44. data/_includes/tag-list.html +25 -25
  45. data/_includes/toc +6 -6
  46. data/_layouts/archive-taxonomy.html +14 -14
  47. data/_layouts/archive.html +23 -23
  48. data/_layouts/compress.html +10 -10
  49. data/_layouts/default.html +28 -28
  50. data/_layouts/home.html +11 -11
  51. data/_layouts/single.html +73 -73
  52. data/_layouts/splash.html +19 -19
  53. data/_sass/_archive.scss +237 -237
  54. data/_sass/_footer.scss +79 -79
  55. data/_sass/_forms.scss +390 -390
  56. data/_sass/_masthead.scss +52 -52
  57. data/_sass/_mixins.scss +52 -52
  58. data/_sass/_navigation.scss +543 -543
  59. data/_sass/_notices.scss +98 -98
  60. data/_sass/_page.scss +400 -400
  61. data/_sass/_print.scss +17 -17
  62. data/_sass/_reset.scss +186 -186
  63. data/_sass/_sidebar.scss +230 -230
  64. data/_sass/_syntax.scss +145 -145
  65. data/_sass/_tables.scss +37 -37
  66. data/_sass/_utilities.scss +469 -469
  67. data/_sass/_variables.scss +127 -127
  68. data/_sass/vendor/breakpoint/_breakpoint.scss +114 -114
  69. data/_sass/vendor/breakpoint/_context.scss +94 -94
  70. data/_sass/vendor/breakpoint/_helpers.scss +151 -151
  71. data/_sass/vendor/breakpoint/_legacy-settings.scss +49 -49
  72. data/_sass/vendor/breakpoint/_no-query.scss +15 -15
  73. data/_sass/vendor/breakpoint/_parsers.scss +215 -215
  74. data/_sass/vendor/breakpoint/_respond-to.scss +82 -82
  75. data/_sass/vendor/breakpoint/_settings.scss +70 -70
  76. data/_sass/vendor/breakpoint/parsers/_double.scss +33 -33
  77. data/_sass/vendor/breakpoint/parsers/_query.scss +82 -82
  78. data/_sass/vendor/breakpoint/parsers/_resolution.scss +31 -31
  79. data/_sass/vendor/breakpoint/parsers/_single.scss +26 -26
  80. data/_sass/vendor/breakpoint/parsers/_triple.scss +36 -36
  81. data/_sass/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
  82. data/_sass/vendor/breakpoint/parsers/double/_default.scss +22 -22
  83. data/_sass/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
  84. data/_sass/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
  85. data/_sass/vendor/breakpoint/parsers/single/_default.scss +13 -13
  86. data/_sass/vendor/breakpoint/parsers/triple/_default.scss +18 -18
  87. data/_sass/vendor/font-awesome/_animated.scss +34 -34
  88. data/_sass/vendor/font-awesome/_bordered-pulled.scss +25 -25
  89. data/_sass/vendor/font-awesome/_core.scss +12 -12
  90. data/_sass/vendor/font-awesome/_fixed-width.scss +6 -6
  91. data/_sass/vendor/font-awesome/_font-awesome.scss +18 -18
  92. data/_sass/vendor/font-awesome/_icons.scss +789 -733
  93. data/_sass/vendor/font-awesome/_larger.scss +13 -13
  94. data/_sass/vendor/font-awesome/_list.scss +19 -19
  95. data/_sass/vendor/font-awesome/_mixins.scss +60 -60
  96. data/_sass/vendor/font-awesome/_path.scss +15 -15
  97. data/_sass/vendor/font-awesome/_rotated-flipped.scss +20 -20
  98. data/_sass/vendor/font-awesome/_screen-reader.scss +5 -5
  99. data/_sass/vendor/font-awesome/_stacked.scss +20 -20
  100. data/_sass/vendor/font-awesome/_variables.scss +800 -744
  101. data/_sass/vendor/magnific-popup/_settings.scss +45 -45
  102. data/_sass/vendor/susy/_su.scss +4 -4
  103. data/_sass/vendor/susy/_susy.scss +4 -4
  104. data/_sass/vendor/susy/_susyone.scss +4 -4
  105. data/_sass/vendor/susy/susy/_su.scss +7 -7
  106. data/_sass/vendor/susy/susy/language/_susy.scss +24 -24
  107. data/_sass/vendor/susy/susy/language/_susyone.scss +13 -13
  108. data/_sass/vendor/susy/susy/language/susy/_background.scss +385 -385
  109. data/_sass/vendor/susy/susy/language/susy/_bleed.scss +200 -200
  110. data/_sass/vendor/susy/susy/language/susy/_box-sizing.scss +47 -47
  111. data/_sass/vendor/susy/susy/language/susy/_breakpoint-plugin.scss +185 -185
  112. data/_sass/vendor/susy/susy/language/susy/_container.scss +81 -81
  113. data/_sass/vendor/susy/susy/language/susy/_context.scss +36 -36
  114. data/_sass/vendor/susy/susy/language/susy/_gallery.scss +94 -94
  115. data/_sass/vendor/susy/susy/language/susy/_grids.scss +64 -64
  116. data/_sass/vendor/susy/susy/language/susy/_gutters.scss +154 -154
  117. data/_sass/vendor/susy/susy/language/susy/_isolate.scss +77 -77
  118. data/_sass/vendor/susy/susy/language/susy/_margins.scss +94 -94
  119. data/_sass/vendor/susy/susy/language/susy/_padding.scss +74 -74
  120. data/_sass/vendor/susy/susy/language/susy/_rows.scss +138 -138
  121. data/_sass/vendor/susy/susy/language/susy/_settings.scss +216 -216
  122. data/_sass/vendor/susy/susy/language/susy/_span.scss +163 -163
  123. data/_sass/vendor/susy/susy/language/susy/_validation.scss +16 -16
  124. data/_sass/vendor/susy/susy/language/susyone/_background.scss +18 -18
  125. data/_sass/vendor/susy/susy/language/susyone/_functions.scss +377 -377
  126. data/_sass/vendor/susy/susy/language/susyone/_grid.scss +312 -312
  127. data/_sass/vendor/susy/susy/language/susyone/_isolation.scss +51 -51
  128. data/_sass/vendor/susy/susy/language/susyone/_margin.scss +93 -93
  129. data/_sass/vendor/susy/susy/language/susyone/_media.scss +105 -105
  130. data/_sass/vendor/susy/susy/language/susyone/_padding.scss +92 -92
  131. data/_sass/vendor/susy/susy/language/susyone/_settings.scss +60 -60
  132. data/_sass/vendor/susy/susy/output/_float.scss +9 -9
  133. data/_sass/vendor/susy/susy/output/_shared.scss +15 -15
  134. data/_sass/vendor/susy/susy/output/_support.scss +9 -9
  135. data/_sass/vendor/susy/susy/output/float/_container.scss +16 -16
  136. data/_sass/vendor/susy/susy/output/float/_end.scss +40 -40
  137. data/_sass/vendor/susy/susy/output/float/_isolate.scss +22 -22
  138. data/_sass/vendor/susy/susy/output/float/_span.scss +35 -35
  139. data/_sass/vendor/susy/susy/output/shared/_background.scss +26 -26
  140. data/_sass/vendor/susy/susy/output/shared/_container.scss +21 -21
  141. data/_sass/vendor/susy/susy/output/shared/_direction.scss +42 -42
  142. data/_sass/vendor/susy/susy/output/shared/_inspect.scss +25 -25
  143. data/_sass/vendor/susy/susy/output/shared/_margins.scss +23 -23
  144. data/_sass/vendor/susy/susy/output/shared/_output.scss +14 -14
  145. data/_sass/vendor/susy/susy/output/shared/_padding.scss +23 -23
  146. data/_sass/vendor/susy/susy/output/support/_background.scss +58 -58
  147. data/_sass/vendor/susy/susy/output/support/_box-sizing.scss +19 -19
  148. data/_sass/vendor/susy/susy/output/support/_clearfix.scss +18 -18
  149. data/_sass/vendor/susy/susy/output/support/_prefix.scss +19 -19
  150. data/_sass/vendor/susy/susy/output/support/_rem.scss +22 -22
  151. data/_sass/vendor/susy/susy/output/support/_support.scss +85 -85
  152. data/_sass/vendor/susy/susy/su/_grid.scss +103 -103
  153. data/_sass/vendor/susy/susy/su/_settings.scss +73 -73
  154. data/_sass/vendor/susy/susy/su/_utilities.scss +111 -111
  155. data/_sass/vendor/susy/susy/su/_validation.scss +57 -57
  156. data/assets/css/main.scss +78 -78
  157. data/assets/fonts/FontAwesome.otf +0 -0
  158. data/assets/fonts/fontawesome-webfont.eot +0 -0
  159. data/assets/fonts/fontawesome-webfont.svg +2671 -685
  160. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  161. data/assets/fonts/fontawesome-webfont.woff +0 -0
  162. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  163. data/assets/js/_main.js +100 -100
  164. data/assets/js/main.min.js +4 -4
  165. data/assets/js/plugins/jquery.fitvids.js +81 -81
  166. data/assets/js/plugins/jquery.greedy-navigation.js +71 -71
  167. data/assets/js/plugins/jquery.magnific-popup.js +2049 -2049
  168. data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
  169. data/assets/js/plugins/stickyfill.min.js +7 -7
  170. data/assets/js/vendor/jquery/jquery-1.12.4.min.js +4 -4
  171. metadata +28 -28
data/_sass/_notices.scss CHANGED
@@ -1,99 +1,99 @@
1
- /* ==========================================================================
2
- NOTICE TEXT BLOCKS
3
- ========================================================================== */
4
-
5
- /**
6
- * Default Kramdown usage (no indents!):
7
- * <div class="notice" markdown="1">
8
- * #### Headline for the Notice
9
- * Text for the notice
10
- * </div>
11
- */
12
-
13
- @mixin notice($notice-color) {
14
- margin: 2em 0 !important; /* override*/
15
- padding: 1em;
16
- font-family: $global-font-family;
17
- font-size: $type-size-6 !important;
18
- text-indent: initial; /* override*/
19
- background-color: mix(#fff, $notice-color, 90%);
20
- border-radius: $border-radius;
21
- box-shadow: 0 1px 1px rgba($notice-color, 0.25);
22
-
23
- h4 {
24
- margin-top: 0 !important; /* override*/
25
- margin-bottom: 0.75em;
26
- }
27
-
28
- @at-root .page__content #{&} h4 {
29
- /* using at-root to override .page-content h4 font size*/
30
- margin-bottom: 0;
31
- font-size: 1em;
32
- }
33
-
34
- p {
35
- &:last-child {
36
- margin-bottom: 0 !important; /* override*/
37
- }
38
- }
39
-
40
- h4 + p {
41
- /* remove space above paragraphs that appear directly after notice headline*/
42
- margin-top: 0;
43
- padding-top: 0;
44
- }
45
-
46
- a {
47
- color: $notice-color;
48
-
49
- &:hover {
50
- color: mix(#000, $notice-color, 40%);
51
- }
52
- }
53
-
54
- code {
55
- background-color: mix(#fff, $notice-color, 95%)
56
- }
57
-
58
- ul {
59
- &:last-child {
60
- margin-bottom: 0; /* override*/
61
- }
62
- }
63
- }
64
-
65
- /* Default notice */
66
-
67
- .notice {
68
- @include notice($light-gray);
69
- }
70
-
71
- /* Primary notice */
72
-
73
- .notice--primary {
74
- @include notice($primary-color);
75
- }
76
-
77
- /* Info notice */
78
-
79
- .notice--info {
80
- @include notice($info-color);
81
- }
82
-
83
- /* Warning notice */
84
-
85
- .notice--warning {
86
- @include notice($warning-color);
87
- }
88
-
89
- /* Success notice */
90
-
91
- .notice--success {
92
- @include notice($success-color);
93
- }
94
-
95
- /* Danger notice */
96
-
97
- .notice--danger {
98
- @include notice($danger-color);
1
+ /* ==========================================================================
2
+ NOTICE TEXT BLOCKS
3
+ ========================================================================== */
4
+
5
+ /**
6
+ * Default Kramdown usage (no indents!):
7
+ * <div class="notice" markdown="1">
8
+ * #### Headline for the Notice
9
+ * Text for the notice
10
+ * </div>
11
+ */
12
+
13
+ @mixin notice($notice-color) {
14
+ margin: 2em 0 !important; /* override*/
15
+ padding: 1em;
16
+ font-family: $global-font-family;
17
+ font-size: $type-size-6 !important;
18
+ text-indent: initial; /* override*/
19
+ background-color: mix(#fff, $notice-color, 90%);
20
+ border-radius: $border-radius;
21
+ box-shadow: 0 1px 1px rgba($notice-color, 0.25);
22
+
23
+ h4 {
24
+ margin-top: 0 !important; /* override*/
25
+ margin-bottom: 0.75em;
26
+ }
27
+
28
+ @at-root .page__content #{&} h4 {
29
+ /* using at-root to override .page-content h4 font size*/
30
+ margin-bottom: 0;
31
+ font-size: 1em;
32
+ }
33
+
34
+ p {
35
+ &:last-child {
36
+ margin-bottom: 0 !important; /* override*/
37
+ }
38
+ }
39
+
40
+ h4 + p {
41
+ /* remove space above paragraphs that appear directly after notice headline*/
42
+ margin-top: 0;
43
+ padding-top: 0;
44
+ }
45
+
46
+ a {
47
+ color: $notice-color;
48
+
49
+ &:hover {
50
+ color: mix(#000, $notice-color, 40%);
51
+ }
52
+ }
53
+
54
+ code {
55
+ background-color: mix(#fff, $notice-color, 95%)
56
+ }
57
+
58
+ ul {
59
+ &:last-child {
60
+ margin-bottom: 0; /* override*/
61
+ }
62
+ }
63
+ }
64
+
65
+ /* Default notice */
66
+
67
+ .notice {
68
+ @include notice($light-gray);
69
+ }
70
+
71
+ /* Primary notice */
72
+
73
+ .notice--primary {
74
+ @include notice($primary-color);
75
+ }
76
+
77
+ /* Info notice */
78
+
79
+ .notice--info {
80
+ @include notice($info-color);
81
+ }
82
+
83
+ /* Warning notice */
84
+
85
+ .notice--warning {
86
+ @include notice($warning-color);
87
+ }
88
+
89
+ /* Success notice */
90
+
91
+ .notice--success {
92
+ @include notice($success-color);
93
+ }
94
+
95
+ /* Danger notice */
96
+
97
+ .notice--danger {
98
+ @include notice($danger-color);
99
99
  }
data/_sass/_page.scss CHANGED
@@ -1,401 +1,401 @@
1
- /* ==========================================================================
2
- SINGLE PAGE/POST
3
- ========================================================================== */
4
-
5
- #main {
6
- @include container;
7
- @include clearfix;
8
- margin-top: 2em;
9
- padding-left: 1em;
10
- padding-right: 1em;
11
- animation: intro 0.3s both;
12
- animation-delay: 0.35s;
13
-
14
- @include breakpoint($x-large) {
15
- max-width: $x-large;
16
- }
17
- }
18
-
19
- .page {
20
- @include breakpoint($large) {
21
- @include span(10 of 12 last);
22
- @include prefix(0.5 of 12);
23
- @include suffix(2 of 12);
24
- }
25
-
26
- .page__inner-wrap {
27
- @include full();
28
-
29
- .page__content,
30
- .page__meta,
31
- .page__share {
32
- @include full();
33
- }
34
- }
35
- }
36
-
37
- .page__title {
38
- margin-top: 0;
39
- line-height: 1;
40
-
41
- & + .page__meta {
42
- margin-top: -0.5em;
43
- }
44
- }
45
-
46
- .page__lead {
47
- font-family: $global-font-family;
48
- font-size: $type-size-4;
49
- }
50
-
51
- .page__content {
52
-
53
- h2 {
54
- padding-bottom: 0.5em;
55
- border-bottom: 1px solid $border-color;
56
- }
57
-
58
- p, li, dl {
59
- font-size: 1em;
60
- }
61
-
62
- /* paragraph indents */
63
- p {
64
- margin: 0 0 $indent-var;
65
-
66
- /* sibling indentation*/
67
- @if $paragraph-indent == true {
68
- & + p {
69
- text-indent: $indent-var;
70
- margin-top: -($indent-var);
71
- }
72
- }
73
- }
74
-
75
- a {
76
- text-decoration: none;
77
-
78
- &:hover {
79
- text-decoration: underline;
80
-
81
- img {
82
- box-shadow: 0 0 10px rgba(#000, 0.25);
83
- }
84
- }
85
- }
86
-
87
- dt {
88
- margin-top: 1em;
89
- font-family: $sans-serif;
90
- font-weight: bold;
91
- }
92
-
93
- dd {
94
- margin-left: 1em;
95
- font-family: $sans-serif;
96
- font-size: $type-size-6;
97
- }
98
-
99
- .small {
100
- font-size: $type-size-6;
101
- }
102
-
103
- /* blockquote citations */
104
- blockquote + .small {
105
- margin-top: -1.5em;
106
- padding-left: 1.25rem;
107
- }
108
- }
109
-
110
- .page__hero {
111
- position: relative;
112
- margin-bottom: 2em;
113
- @include clearfix;
114
- animation: intro 0.3s both;
115
- animation-delay: 0.25s;
116
-
117
- &--overlay {
118
- position: relative;
119
- margin-bottom: 2em;
120
- padding: 3em 0;
121
- @include clearfix;
122
- background-size: cover;
123
- background-repeat: no-repeat;
124
- background-position: center;
125
- animation: intro 0.3s both;
126
- animation-delay: 0.25s;
127
-
128
- a {
129
- color: #fff;
130
- }
131
-
132
- .wrapper {
133
- padding-left: 1em;
134
- padding-right: 1em;
135
-
136
- @include breakpoint($x-large) {
137
- max-width: $x-large;
138
- }
139
- }
140
-
141
- .page__title,
142
- .page__meta,
143
- .page__lead,
144
- .btn {
145
- color: #fff;
146
- text-shadow: 1px 1px 4px rgba(#000, 0.5);
147
- }
148
-
149
- .page__lead {
150
- max-width: $medium;
151
- }
152
-
153
- .page__title {
154
- font-size: $type-size-2;
155
-
156
- @include breakpoint($small) {
157
- font-size: $type-size-1;
158
- }
159
- }
160
- }
161
- }
162
-
163
- .page__hero-image {
164
- width: 100%;
165
- height: auto;
166
- -ms-interpolation-mode: bicubic;
167
- }
168
-
169
- .page__hero-caption {
170
- position: absolute;
171
- bottom: 0;
172
- right: 0;
173
- margin: 0 auto;
174
- padding: 2px 5px;
175
- color: #fff;
176
- font-family: $caption-font-family;
177
- font-size: $type-size-7;
178
- background: #000;
179
- text-align: right;
180
- z-index: 5;
181
- opacity: 0.5;
182
- border-radius: $border-radius 0 $border-radius 0;
183
-
184
- @include breakpoint($large) {
185
- padding: 5px 10px;
186
- }
187
-
188
- a {
189
- color: #fff;
190
- text-decoration: none;
191
- }
192
- }
193
-
194
- /*
195
- Social sharing
196
- ========================================================================== */
197
-
198
- .page__share {
199
- margin-top: 2em;
200
- padding-top: 1em;
201
- border-top: 1px solid $border-color;
202
-
203
- @include breakpoint(max-width $small) {
204
- .btn span {
205
- border: 0;
206
- clip: rect(0 0 0 0);
207
- height: 1px;
208
- margin: -1px;
209
- overflow: hidden;
210
- padding: 0;
211
- position: absolute;
212
- width: 1px;
213
- }
214
- }
215
- }
216
-
217
- .page__share-title {
218
- margin-bottom: 10px;
219
- font-size: $type-size-6;
220
- text-transform: uppercase;
221
- }
222
-
223
-
224
- /*
225
- Page meta
226
- ========================================================================== */
227
-
228
- .page__meta {
229
- margin-top: 2em;
230
- color: mix(#fff, $gray, 25%);
231
- font-family: $sans-serif;
232
- font-size: $type-size-6;
233
-
234
- p {
235
- margin: 0;
236
- }
237
-
238
- a {
239
- color: inherit;
240
- }
241
- }
242
-
243
- .page__meta-title {
244
- margin-bottom: 10px;
245
- font-size: $type-size-6;
246
- text-transform: uppercase;
247
- }
248
-
249
-
250
- /*
251
- Page taxonomy
252
- ========================================================================== */
253
-
254
- .page__taxonomy {
255
- .sep {
256
- display: none;
257
- }
258
-
259
- strong {
260
- margin-right: 10px;
261
- }
262
- }
263
-
264
- .page__taxonomy-item {
265
- display: inline-block;
266
- margin-right: 5px;
267
- margin-bottom: 8px;
268
- padding: 5px 10px;
269
- text-decoration: none;
270
- border: 1px solid $light-gray;
271
- border-radius: $border-radius;
272
-
273
- &:hover {
274
- text-decoration: none;
275
- color: $link-color-hover;
276
- }
277
- }
278
-
279
-
280
- /*
281
- Comments
282
- ========================================================================== */
283
-
284
- .page__comments {
285
- @include full();
286
- }
287
-
288
- .page__comments-title {
289
- margin-top: 2rem;
290
- margin-bottom: 10px;
291
- padding-top: 2rem;
292
- font-size: $type-size-6;
293
- border-top: 1px solid $border-color;
294
- text-transform: uppercase;
295
- }
296
-
297
- .page__comments-form {
298
- padding: 1em;
299
- background: $lighter-gray;
300
- transition: $global-transition;
301
-
302
- &.disabled {
303
- input,
304
- button,
305
- textarea,
306
- label {
307
- pointer-events: none;
308
- cursor: not-allowed;
309
- filter: alpha(opacity=65);
310
- box-shadow: none;
311
- opacity: 0.65;
312
- }
313
- }
314
- }
315
-
316
- .comment {
317
- @include clearfix();
318
- margin: 1em 0;
319
-
320
- &:not(:last-child) {
321
- border-bottom: 1px solid $border-color;
322
- }
323
- }
324
-
325
- .comment__avatar-wrapper {
326
- float: left;
327
- width: 60px;
328
- height: 60px;
329
-
330
- @include breakpoint($large) {
331
- width: 100px;
332
- height: 100px;
333
- }
334
- }
335
-
336
- .comment__avatar {
337
- width: 40px;
338
- height: 40px;
339
- border-radius: 50%;
340
-
341
- @include breakpoint($large) {
342
- width: 80px;
343
- height: 80px;
344
- padding: 5px;
345
- border: 1px solid $border-color;
346
- }
347
- }
348
-
349
- .comment__content-wrapper {
350
- float: right;
351
- width: calc(100% - 60px);
352
-
353
- @include breakpoint($large) {
354
- width: calc(100% - 100px);
355
- }
356
- }
357
-
358
- .comment__author {
359
- margin: 0;
360
-
361
- a {
362
- text-decoration: none;
363
- }
364
- }
365
-
366
- .comment__date {
367
- @extend .page__meta;
368
- margin: 0;
369
-
370
- a {
371
- text-decoration: none;
372
- }
373
- }
374
-
375
-
376
- /*
377
- Related
378
- ========================================================================== */
379
-
380
- .page__related {
381
- margin-top: 2em;
382
- padding-top: 1em;
383
- border-top: 1px solid $border-color;
384
- @include clearfix();
385
- float: left;
386
-
387
- @include breakpoint($large) {
388
- @include pre(2.5 of 12);
389
- }
390
-
391
- a {
392
- color: inherit;
393
- text-decoration: none;
394
- }
395
- }
396
-
397
- .page__related-title {
398
- margin-bottom: 10px;
399
- font-size: $type-size-6;
400
- text-transform: uppercase;
1
+ /* ==========================================================================
2
+ SINGLE PAGE/POST
3
+ ========================================================================== */
4
+
5
+ #main {
6
+ @include container;
7
+ @include clearfix;
8
+ margin-top: 2em;
9
+ padding-left: 1em;
10
+ padding-right: 1em;
11
+ animation: intro 0.3s both;
12
+ animation-delay: 0.35s;
13
+
14
+ @include breakpoint($x-large) {
15
+ max-width: $x-large;
16
+ }
17
+ }
18
+
19
+ .page {
20
+ @include breakpoint($large) {
21
+ @include span(10 of 12 last);
22
+ @include prefix(0.5 of 12);
23
+ @include suffix(2 of 12);
24
+ }
25
+
26
+ .page__inner-wrap {
27
+ @include full();
28
+
29
+ .page__content,
30
+ .page__meta,
31
+ .page__share {
32
+ @include full();
33
+ }
34
+ }
35
+ }
36
+
37
+ .page__title {
38
+ margin-top: 0;
39
+ line-height: 1;
40
+
41
+ & + .page__meta {
42
+ margin-top: -0.5em;
43
+ }
44
+ }
45
+
46
+ .page__lead {
47
+ font-family: $global-font-family;
48
+ font-size: $type-size-4;
49
+ }
50
+
51
+ .page__content {
52
+
53
+ h2 {
54
+ padding-bottom: 0.5em;
55
+ border-bottom: 1px solid $border-color;
56
+ }
57
+
58
+ p, li, dl {
59
+ font-size: 1em;
60
+ }
61
+
62
+ /* paragraph indents */
63
+ p {
64
+ margin: 0 0 $indent-var;
65
+
66
+ /* sibling indentation*/
67
+ @if $paragraph-indent == true {
68
+ & + p {
69
+ text-indent: $indent-var;
70
+ margin-top: -($indent-var);
71
+ }
72
+ }
73
+ }
74
+
75
+ a {
76
+ text-decoration: none;
77
+
78
+ &:hover {
79
+ text-decoration: underline;
80
+
81
+ img {
82
+ box-shadow: 0 0 10px rgba(#000, 0.25);
83
+ }
84
+ }
85
+ }
86
+
87
+ dt {
88
+ margin-top: 1em;
89
+ font-family: $sans-serif;
90
+ font-weight: bold;
91
+ }
92
+
93
+ dd {
94
+ margin-left: 1em;
95
+ font-family: $sans-serif;
96
+ font-size: $type-size-6;
97
+ }
98
+
99
+ .small {
100
+ font-size: $type-size-6;
101
+ }
102
+
103
+ /* blockquote citations */
104
+ blockquote + .small {
105
+ margin-top: -1.5em;
106
+ padding-left: 1.25rem;
107
+ }
108
+ }
109
+
110
+ .page__hero {
111
+ position: relative;
112
+ margin-bottom: 2em;
113
+ @include clearfix;
114
+ animation: intro 0.3s both;
115
+ animation-delay: 0.25s;
116
+
117
+ &--overlay {
118
+ position: relative;
119
+ margin-bottom: 2em;
120
+ padding: 3em 0;
121
+ @include clearfix;
122
+ background-size: cover;
123
+ background-repeat: no-repeat;
124
+ background-position: center;
125
+ animation: intro 0.3s both;
126
+ animation-delay: 0.25s;
127
+
128
+ a {
129
+ color: #fff;
130
+ }
131
+
132
+ .wrapper {
133
+ padding-left: 1em;
134
+ padding-right: 1em;
135
+
136
+ @include breakpoint($x-large) {
137
+ max-width: $x-large;
138
+ }
139
+ }
140
+
141
+ .page__title,
142
+ .page__meta,
143
+ .page__lead,
144
+ .btn {
145
+ color: #fff;
146
+ text-shadow: 1px 1px 4px rgba(#000, 0.5);
147
+ }
148
+
149
+ .page__lead {
150
+ max-width: $medium;
151
+ }
152
+
153
+ .page__title {
154
+ font-size: $type-size-2;
155
+
156
+ @include breakpoint($small) {
157
+ font-size: $type-size-1;
158
+ }
159
+ }
160
+ }
161
+ }
162
+
163
+ .page__hero-image {
164
+ width: 100%;
165
+ height: auto;
166
+ -ms-interpolation-mode: bicubic;
167
+ }
168
+
169
+ .page__hero-caption {
170
+ position: absolute;
171
+ bottom: 0;
172
+ right: 0;
173
+ margin: 0 auto;
174
+ padding: 2px 5px;
175
+ color: #fff;
176
+ font-family: $caption-font-family;
177
+ font-size: $type-size-7;
178
+ background: #000;
179
+ text-align: right;
180
+ z-index: 5;
181
+ opacity: 0.5;
182
+ border-radius: $border-radius 0 $border-radius 0;
183
+
184
+ @include breakpoint($large) {
185
+ padding: 5px 10px;
186
+ }
187
+
188
+ a {
189
+ color: #fff;
190
+ text-decoration: none;
191
+ }
192
+ }
193
+
194
+ /*
195
+ Social sharing
196
+ ========================================================================== */
197
+
198
+ .page__share {
199
+ margin-top: 2em;
200
+ padding-top: 1em;
201
+ border-top: 1px solid $border-color;
202
+
203
+ @include breakpoint(max-width $small) {
204
+ .btn span {
205
+ border: 0;
206
+ clip: rect(0 0 0 0);
207
+ height: 1px;
208
+ margin: -1px;
209
+ overflow: hidden;
210
+ padding: 0;
211
+ position: absolute;
212
+ width: 1px;
213
+ }
214
+ }
215
+ }
216
+
217
+ .page__share-title {
218
+ margin-bottom: 10px;
219
+ font-size: $type-size-6;
220
+ text-transform: uppercase;
221
+ }
222
+
223
+
224
+ /*
225
+ Page meta
226
+ ========================================================================== */
227
+
228
+ .page__meta {
229
+ margin-top: 2em;
230
+ color: mix(#fff, $gray, 25%);
231
+ font-family: $sans-serif;
232
+ font-size: $type-size-6;
233
+
234
+ p {
235
+ margin: 0;
236
+ }
237
+
238
+ a {
239
+ color: inherit;
240
+ }
241
+ }
242
+
243
+ .page__meta-title {
244
+ margin-bottom: 10px;
245
+ font-size: $type-size-6;
246
+ text-transform: uppercase;
247
+ }
248
+
249
+
250
+ /*
251
+ Page taxonomy
252
+ ========================================================================== */
253
+
254
+ .page__taxonomy {
255
+ .sep {
256
+ display: none;
257
+ }
258
+
259
+ strong {
260
+ margin-right: 10px;
261
+ }
262
+ }
263
+
264
+ .page__taxonomy-item {
265
+ display: inline-block;
266
+ margin-right: 5px;
267
+ margin-bottom: 8px;
268
+ padding: 5px 10px;
269
+ text-decoration: none;
270
+ border: 1px solid $light-gray;
271
+ border-radius: $border-radius;
272
+
273
+ &:hover {
274
+ text-decoration: none;
275
+ color: $link-color-hover;
276
+ }
277
+ }
278
+
279
+
280
+ /*
281
+ Comments
282
+ ========================================================================== */
283
+
284
+ .page__comments {
285
+ @include full();
286
+ }
287
+
288
+ .page__comments-title {
289
+ margin-top: 2rem;
290
+ margin-bottom: 10px;
291
+ padding-top: 2rem;
292
+ font-size: $type-size-6;
293
+ border-top: 1px solid $border-color;
294
+ text-transform: uppercase;
295
+ }
296
+
297
+ .page__comments-form {
298
+ padding: 1em;
299
+ background: $lighter-gray;
300
+ transition: $global-transition;
301
+
302
+ &.disabled {
303
+ input,
304
+ button,
305
+ textarea,
306
+ label {
307
+ pointer-events: none;
308
+ cursor: not-allowed;
309
+ filter: alpha(opacity=65);
310
+ box-shadow: none;
311
+ opacity: 0.65;
312
+ }
313
+ }
314
+ }
315
+
316
+ .comment {
317
+ @include clearfix();
318
+ margin: 1em 0;
319
+
320
+ &:not(:last-child) {
321
+ border-bottom: 1px solid $border-color;
322
+ }
323
+ }
324
+
325
+ .comment__avatar-wrapper {
326
+ float: left;
327
+ width: 60px;
328
+ height: 60px;
329
+
330
+ @include breakpoint($large) {
331
+ width: 100px;
332
+ height: 100px;
333
+ }
334
+ }
335
+
336
+ .comment__avatar {
337
+ width: 40px;
338
+ height: 40px;
339
+ border-radius: 50%;
340
+
341
+ @include breakpoint($large) {
342
+ width: 80px;
343
+ height: 80px;
344
+ padding: 5px;
345
+ border: 1px solid $border-color;
346
+ }
347
+ }
348
+
349
+ .comment__content-wrapper {
350
+ float: right;
351
+ width: calc(100% - 60px);
352
+
353
+ @include breakpoint($large) {
354
+ width: calc(100% - 100px);
355
+ }
356
+ }
357
+
358
+ .comment__author {
359
+ margin: 0;
360
+
361
+ a {
362
+ text-decoration: none;
363
+ }
364
+ }
365
+
366
+ .comment__date {
367
+ @extend .page__meta;
368
+ margin: 0;
369
+
370
+ a {
371
+ text-decoration: none;
372
+ }
373
+ }
374
+
375
+
376
+ /*
377
+ Related
378
+ ========================================================================== */
379
+
380
+ .page__related {
381
+ margin-top: 2em;
382
+ padding-top: 1em;
383
+ border-top: 1px solid $border-color;
384
+ @include clearfix();
385
+ float: left;
386
+
387
+ @include breakpoint($large) {
388
+ @include pre(2.5 of 12);
389
+ }
390
+
391
+ a {
392
+ color: inherit;
393
+ text-decoration: none;
394
+ }
395
+ }
396
+
397
+ .page__related-title {
398
+ margin-bottom: 10px;
399
+ font-size: $type-size-6;
400
+ text-transform: uppercase;
401
401
  }