minimal-mistakes-jekyll 4.4.1 → 4.4.2

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