minimal-mistakes-jekyll 4.5.0 → 4.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 570ae5d3284aa6e0299bad0f8bbd3f6f633355b6
4
- data.tar.gz: 56d7f9359757d81a3866d9fddb2a3e86d24a79bc
3
+ metadata.gz: 509bfab6197655e8082b667f3587247fc813c553
4
+ data.tar.gz: d53e66700aa96e1c1c11c5864e02f65edf9cf9fd
5
5
  SHA512:
6
- metadata.gz: 6e7ee19934d9867af7923013837f158df4c2130d5e854dd5f348d4016d40f1ba97afc41cedffacbdbdaeab27a8d86a20de334ebdcf26bf0794026095afcdc8ae
7
- data.tar.gz: 75a889793375e6f783b734421645787cf31e156d5b2d255aa6d592a6a0e83b280e250b27a0af954a7f170bf71f8b41efce86c35bae25b6b1d812016c743fc430
6
+ metadata.gz: 4649d24384b4c2aac3ec929775d16f7998ef22a321896086702ced76419a62d6e1fba5d3124adc2bf9bacf993b7bb03ec7374ae38ed7dcd8d308ea9f1d7d28d6
7
+ data.tar.gz: 3d598ea89c6640a37cac15fab8798211163831da5dcee71c4fe0787bd4f4ed519434f02c84010573f186e6e2f548c0022010aff6ecf9582da8f84ef09f87b899
data/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ ## [4.5.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.5.1)
2
+
3
+ ### Enhancements
4
+
5
+ - Add Greek and Danish localized UI text strings. [#1159](https://github.com/mmistakes/minimal-mistakes/pull/1159) [#1188](https://github.com/mmistakes/minimal-mistakes/pull/1188)
6
+ - Remove blank YAML Front Matter from JavaScript banner. [#1158](https://github.com/mmistakes/minimal-mistakes/issues/1158)
7
+ - Improve `page` and `archive` layouts to visually center main content and harmonize sidebar widths and placement. [#1166](https://github.com/mmistakes/minimal-mistakes/pull/1166)
8
+ - Increase font-size of code blocks.
9
+ - Reduce indent of nested "table of contents" links.
10
+ - Extend [archive grid view](https://mmistakes.github.io/minimal-mistakes/docs/layouts/) to the right to better fill the page.
11
+ - URL encode title and page URL in social share links. [#1177](https://github.com/mmistakes/minimal-mistakes/pull/1177)
12
+ - Replace old Disqus script with new Universal Embed Code. [#1179](https://github.com/mmistakes/minimal-mistakes/pull/1179)
13
+
14
+ ## Bug Fixes
15
+
16
+ - Fix positioning of sidebar table of contents when using `layout: splash`. [#1169](https://github.com/mmistakes/minimal-mistakes/issues/1169)
17
+ - Fix "follow" links `z-index` order to avoid overlapping issues. [#1167](https://github.com/mmistakes/minimal-mistakes/issues/1167)
18
+
19
+ ### Maintenance
20
+
21
+ - Fix typo `words_per_minute` typo in documentation. [#1164](https://github.com/mmistakes/minimal-mistakes/pull/1164)
22
+ - Remove outside and right borders in `table`s.
23
+ - Adjust width of `.sidebar` to match `.sidebar__right`.
24
+ - Add sample documents to ["portfolio" collection](https://mmistakes.github.io/minimal-mistakes/portfolio/) for testing grid view.
25
+ - Fix typo in stylesheets documentation. [#1170](https://github.com/mmistakes/minimal-mistakes/pull/1170)
26
+ - Add note about setting Discourse `server` as a scheme-less URL (eg. `meta.discourse.com` and not `http://meta.discourse.com`) in `_config.yml`. [#1182](https://github.com/mmistakes/minimal-mistakes/issues/1182)
27
+
1
28
  ## [4.5.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.5.0)
2
29
 
3
30
  ### Enhancements
@@ -18,6 +45,7 @@
18
45
 
19
46
  - Replace reference to "Basically Basic theme" with **Minimal Mistakes**. [#1149](https://github.com/mmistakes/minimal-mistakes/pull/1149)
20
47
  - Add documentation for disabling CSS3 animations. [#1150](https://github.com/mmistakes/minimal-mistakes/pull/1150)
48
+ - Update quickstart, installation, and overriding defaults documentation. [#1151](https://github.com/mmistakes/minimal-mistakes/pull/1151)
21
49
 
22
50
  ## [4.4.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.4.2)
23
51
 
data/_data/ui-text.yml CHANGED
@@ -708,7 +708,7 @@ sv-SE:
708
708
  <<: *DEFAULT_SV
709
709
  sv-FI:
710
710
  <<: *DEFAULT_SV
711
-
711
+
712
712
  # Dutch
713
713
  # -----------------
714
714
  nl: &DEFAULT_NL
@@ -797,6 +797,92 @@ id: &DEFAULT_ID
797
797
  id-ID:
798
798
  <<: *DEFAULT_ID
799
799
 
800
+ # Vietnamese
801
+ # -----------------
802
+ vi: &DEFAULT_VI
803
+ page : "Trang"
804
+ pagination_previous : "Trước"
805
+ pagination_next : "Sau"
806
+ breadcrumb_home_label : "Trang chủ"
807
+ breadcrumb_separator : "/"
808
+ menu_label : "Menu"
809
+ toc_label : "Tại trang này"
810
+ ext_link_label : "Đường dẫn trực tiếp"
811
+ less_than : "nhỏ hơn"
812
+ minute_read : "phút đọc"
813
+ share_on_label : "Chia sẻ tại"
814
+ meta_label :
815
+ tags_label : "Nhãn:"
816
+ categories_label : "Chủ đề:"
817
+ date_label : "Cập nhật:"
818
+ comments_label : "Để lại bình luận"
819
+ comments_title : "Bình luận"
820
+ more_label : "Mở rộng"
821
+ related_label : "Có thể bạn cũng thích"
822
+ follow_label : "Theo dõi:"
823
+ feed_label : "Feed"
824
+ powered_by : "Được hỗ trợ bởi"
825
+ website_label : "Website"
826
+ email_label : "Email"
827
+ recent_posts : "Bài viết mới"
828
+ undefined_wpm : "Chưa định nghĩa thông số words_per_minute tại _config.yml"
829
+ comment_form_info : "Email của bạn sẽ được giữ bí mật. Các phần bắt buộc được đánh dấu."
830
+ comment_form_comment_label : "Bình luận"
831
+ comment_form_md_info : "Hỗ trợ Markdown."
832
+ comment_form_name_label : "Tên"
833
+ comment_form_email_label : "Địa chỉ email"
834
+ comment_form_website_label : "Website (không bắt buộc)"
835
+ comment_btn_submit : "Gửi bình luận"
836
+ comment_btn_submitted : "Đã được gửi"
837
+ comment_success_msg : "Cảm ơn bạn đã bình luận! Bình luận sẽ xuất hiện sau khi được duyệt."
838
+ comment_error_msg : "Rất tiếc, có lỗi trong việc gửi bình luận. Hãy đảm bảo toàn bộ các phần bắt buộc đã được điền đầy đủ và thử lại."
839
+ loading_label : "Đang tải..."
840
+ vi-VN:
841
+ <<: *DEFAULT_VI
842
+
843
+ # Danish
844
+ # ------
845
+ da: &DEFAULT_DA
846
+ page : "Side"
847
+ pagination_previous : "Forrige"
848
+ pagination_next : "Næste"
849
+ breadcrumb_home_label : "Home"
850
+ breadcrumb_separator : "/"
851
+ menu_label : "Vis/skjul menu"
852
+ toc_label : "På denne side"
853
+ ext_link_label : "Direkte link"
854
+ less_than : "mindre end"
855
+ minute_read : "minutters læsning"
856
+ share_on_label : "Del på"
857
+ meta_label :
858
+ tags_label : "Nøgleord:"
859
+ categories_label : "Kategorier:"
860
+ date_label : "Opdateret:"
861
+ comments_label : "Skriv en kommentar"
862
+ comments_title : "Kommentarer"
863
+ more_label : "Lær mere"
864
+ related_label : "Måske kan du også lide"
865
+ follow_label : "Følg:"
866
+ feed_label : "Feed"
867
+ powered_by : "Drives af"
868
+ website_label : "Website"
869
+ email_label : "E-mail"
870
+ recent_posts : "Seneste indlæg"
871
+ undefined_wpm : "Parameteren words_per_minute er ikke defineret i _config.yml"
872
+ comment_form_info : "Din e-mail bliver ikke offentliggjort. Obligatoriske felter er markeret"
873
+ comment_form_comment_label : "Kommentar"
874
+ comment_form_md_info : "Markdown er understøttet."
875
+ comment_form_name_label : "Navn"
876
+ comment_form_email_label : "E-mail"
877
+ comment_form_website_label : "Website (frivillig)"
878
+ comment_btn_submit : "Send kommentar"
879
+ comment_btn_submitted : "Sendt"
880
+ comment_success_msg : "Tak for din kommentar! Den bliver vist på siden, så snart den er godkendt."
881
+ comment_error_msg : "Desværre skete der en fejl. Prøv igen, mens du sørger for at alle obligatoriske felter er udfyldt."
882
+ loading_label : "Indlæser..."
883
+ da-DK:
884
+ <<: *DEFAULT_DA
885
+
800
886
  # Another locale
801
887
  # --------------
802
888
  #
@@ -1,22 +1,16 @@
1
1
  {% if site.comments.disqus.shortname %}
2
- <script type="text/javascript">
3
- /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
4
- var disqus_shortname = '{{ site.comments.disqus.shortname }}';
5
-
6
- /* * * DON'T EDIT BELOW THIS LINE * * */
7
- (function() {
8
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
9
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
10
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
11
- })();
12
-
13
- /* * * DON'T EDIT BELOW THIS LINE * * */
14
- (function () {
15
- var s = document.createElement('script'); s.async = true;
16
- s.type = 'text/javascript';
17
- s.src = '//' + disqus_shortname + '.disqus.com/count.js';
18
- (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
19
- }());
2
+ <div id="disqus_thread"></div>
3
+ <script>
4
+ var disqus_config = function () {
5
+ this.page.url = "{{ page.url | absolute_url }}"; // Replace PAGE_URL with your page's canonical URL variable
6
+ this.page.identifier = "{{ page.id }}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
7
+ };
8
+ (function() { // DON'T EDIT BELOW THIS LINE
9
+ var d = document, s = d.createElement('script');
10
+ s.src = 'https://{{ site.comments.disqus.shortname }}.disqus.com/embed.js';
11
+ s.setAttribute('data-timestamp', +new Date());
12
+ (d.head || d.body).appendChild(s);
13
+ })();
20
14
  </script>
21
- <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
22
- {% endif %}
15
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
16
+ {% endif %}
@@ -3,11 +3,11 @@
3
3
  <h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
4
4
  {% endif %}
5
5
 
6
- <a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username }}&{% endif %}text={{ page.title }} {{ page.url | absolute_url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
6
+ <a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
7
7
 
8
- <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
8
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
9
9
 
10
- <a href="https://plus.google.com/share?url={{ page.url | absolute_url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
10
+ <a href="https://plus.google.com/share?url={{ page.url | absolute_url | url_encode }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
11
11
 
12
- <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
12
+ <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
13
13
  </section>
@@ -3,7 +3,7 @@
3
3
 
4
4
  <!doctype html>
5
5
  <!--
6
- Minimal Mistakes Jekyll Theme 4.5.0 by Michael Rose
6
+ Minimal Mistakes Jekyll Theme 4.5.1 by Michael Rose
7
7
  Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
8
8
  Free for personal and commercial use under the MIT license
9
9
  https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.5.0 by Michael Rose
2
+ * Minimal Mistakes Jekyll Theme 4.5.1 by Michael Rose
3
3
  * Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
4
4
  * Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
5
5
  */
@@ -1,310 +1,315 @@
1
- /* ==========================================================================
2
- ARCHIVE
3
- ========================================================================== */
4
-
5
- .archive {
6
- margin-bottom: 2em;
7
-
8
- @include breakpoint($medium) {
9
- width: span(12 of 12);
10
- }
11
-
12
- @include breakpoint($large) {
13
- float: right;
14
- padding-left: gutter(0.5 of 12);
15
- width: span(10 of 12);
16
- }
17
-
18
- a {
19
- color: inherit;
20
- text-decoration: none;
21
- }
22
- }
23
-
24
- .archive__subtitle {
25
- margin: 1.414em 0 0;
26
- padding-bottom: 0.5em;
27
- font-size: $type-size-5;
28
- color: mix(#fff, $gray, 25%);
29
- border-bottom: 1px solid $border-color;
30
-
31
- + .list__item .archive__item-title {
32
- margin-top: 0.5em;
33
- }
34
- }
35
-
36
- .archive__item-title {
37
- margin-bottom: 0.25em;
38
- font-family: $sans-serif-narrow;
39
-
40
- a + a {
41
- opacity: 0.5;
42
- }
43
- }
44
-
45
- /* remove border*/
46
- .page__content {
47
-
48
- .archive__item-title {
49
- margin-top: 1em;
50
- border-bottom: none;
51
- }
52
- }
53
-
54
- .archive__item-excerpt {
55
- margin-top: 0;
56
- font-size: $type-size-6;
57
-
58
- & + p {
59
- text-indent: 0;
60
- }
61
- }
62
-
63
- .archive__item-teaser {
64
- border-radius: $border-radius;
65
- overflow: hidden;
66
- img {
67
- width: 100%;
68
- }
69
- }
70
-
71
- .archive__item:hover {
72
- .archive__item-teaser {
73
- box-shadow: 0 0 10px rgba(#000, 0.25);
74
- }
75
-
76
- .archive__item-title {
77
- text-decoration: underline;
78
- }
79
- }
80
-
81
-
82
- /*
83
- List view
84
- ========================================================================== */
85
-
86
- .list__item {
87
- @include breakpoint($medium) {
88
- padding-right: $right-sidebar-width-narrow;
89
- }
90
-
91
- @include breakpoint($large) {
92
- padding-right: $right-sidebar-width;
93
- }
94
-
95
- @include breakpoint($x-large) {
96
- padding-right: $right-sidebar-width-wide;
97
- }
98
-
99
- .page__meta {
100
- margin: 0 0 4px;
101
- }
102
- }
103
-
104
-
105
- /*
106
- Grid view
107
- ========================================================================== */
108
-
109
- .grid__item {
110
- margin-bottom: 2em;
111
-
112
- @include breakpoint($small) {
113
- float: left;
114
- width: span(5 of 10);
115
-
116
- &:nth-child(2n+1) {
117
- clear: both;
118
- margin-left: 0;
119
- }
120
-
121
- &:nth-child(2n+2) {
122
- clear: none;
123
- margin-left: gutter(of 10);
124
- }
125
- }
126
-
127
- @include breakpoint($medium) {
128
- margin-left: 0; /* override margin*/
129
- margin-right: 0; /* override margin*/
130
- width: span(3 of 12);
131
-
132
- &:nth-child(2n+1) {
133
- clear: none;
134
- }
135
-
136
- &:nth-child(4n+1) {
137
- clear: both;
138
- }
139
-
140
- &:nth-child(4n+2) {
141
- clear: none;
142
- margin-left: gutter(1 of 12);
143
- }
144
-
145
- &:nth-child(4n+3) {
146
- clear: none;
147
- margin-left: gutter(1 of 12);
148
- }
149
-
150
- &:nth-child(4n+4) {
151
- clear: none;
152
- margin-left: gutter(1 of 12);
153
- }
154
- }
155
-
156
- .page__meta {
157
- margin: 0 0 4px;
158
- }
159
-
160
- .archive__item-title {
161
- margin-top: 0.5em;
162
- font-size: $type-size-5;
163
- }
164
-
165
- .archive__item-excerpt {
166
- display: none;
167
-
168
- @include breakpoint($medium) {
169
- display: block;
170
- font-size: $type-size-6;
171
- }
172
- }
173
-
174
- .archive__item-teaser {
175
-
176
- @include breakpoint($small) {
177
- max-height: 200px;
178
- }
179
-
180
- @include breakpoint($medium) {
181
- max-height: 120px;
182
- }
183
- }
184
- }
185
-
186
-
187
- /*
188
- Features
189
- ========================================================================== */
190
-
191
- .feature__wrapper {
192
- @include clearfix();
193
- margin-bottom: 2em;
194
- border-bottom: 1px solid $border-color;
195
- }
196
-
197
- .feature__item {
198
- margin-bottom: 2em;
199
- font-size: 1.25rem;
200
-
201
- @include breakpoint($small) {
202
- float: left;
203
- margin-bottom: 0;
204
- width: span(4 of 12);
205
-
206
- &:nth-child(3n+1) {
207
- clear: both;
208
- margin-left: 0;
209
- }
210
-
211
- &:nth-child(3n+2) {
212
- clear: none;
213
- margin-left: gutter(of 12);
214
- }
215
-
216
- &:nth-child(3n+3) {
217
- clear: none;
218
- margin-left: gutter(of 12);
219
- }
220
-
221
- .feature__item-teaser {
222
- max-height: 200px;
223
- overflow: hidden;
224
- }
225
- }
226
-
227
- &--left {
228
- float: left;
229
- margin-left: 0;
230
- margin-right: 0;
231
- width: 100%;
232
- clear: both;
233
- font-size: 1.25rem;
234
-
235
- .archive__item-teaser {
236
- margin-bottom: 2em;
237
- }
238
-
239
- @include breakpoint($small) {
240
-
241
- .archive__item-teaser {
242
- float: left;
243
- width: span(5 of 12);
244
- }
245
-
246
- .archive__item-body {
247
- float: right;
248
- padding-left: gutter(0.5 of 12);
249
- padding-right: gutter(1 of 12);
250
- width: span(7 of 12);
251
- }
252
- }
253
- }
254
-
255
- &--right {
256
- float: left;
257
- margin-left: 0;
258
- margin-right: 0;
259
- width: 100%;
260
- clear: both;
261
- font-size: 1.25rem;
262
-
263
- .archive__item-teaser {
264
- margin-bottom: 2em;
265
- }
266
-
267
- @include breakpoint($small) {
268
- text-align: right;
269
-
270
- .archive__item-teaser {
271
- float: right;
272
- width: span(5 of 12);
273
- }
274
-
275
- .archive__item-body {
276
- float: right;
277
- width: span(7 of 12);
278
- padding-left: gutter(0.5 of 12);
279
- padding-right: gutter(1 of 12);
280
- }
281
- }
282
- }
283
-
284
- &--center {
285
- float: left;
286
- margin-left: 0;
287
- margin-right: 0;
288
- width: 100%;
289
- clear: both;
290
- font-size: 1.25rem;
291
-
292
- .archive__item-teaser {
293
- margin-bottom: 2em;
294
- }
295
-
296
- @include breakpoint($small) {
297
- text-align: center;
298
-
299
- .archive__item-teaser {
300
- margin: 0 auto;
301
- width: span(5 of 12);
302
- }
303
-
304
- .archive__item-body {
305
- margin: 0 auto;
306
- width: span(7 of 12);
307
- }
308
- }
309
- }
1
+ /* ==========================================================================
2
+ ARCHIVE
3
+ ========================================================================== */
4
+
5
+ .archive {
6
+ margin-bottom: 2em;
7
+
8
+ @include breakpoint($large) {
9
+ float: right;
10
+ width: calc(100% - #{$right-sidebar-width-narrow});
11
+ padding-right: $right-sidebar-width-narrow;
12
+ }
13
+
14
+ @include breakpoint($x-large) {
15
+ width: calc(100% - #{$right-sidebar-width});
16
+ padding-right: $right-sidebar-width;
17
+ }
18
+
19
+ a {
20
+ color: inherit;
21
+ text-decoration: none;
22
+ }
23
+ }
24
+
25
+ .archive__subtitle {
26
+ margin: 1.414em 0 0;
27
+ padding-bottom: 0.5em;
28
+ font-size: $type-size-5;
29
+ color: mix(#fff, $gray, 25%);
30
+ border-bottom: 1px solid $border-color;
31
+
32
+ + .list__item .archive__item-title {
33
+ margin-top: 0.5em;
34
+ }
35
+ }
36
+
37
+ .archive__item-title {
38
+ margin-bottom: 0.25em;
39
+ font-family: $sans-serif-narrow;
40
+
41
+ a + a {
42
+ opacity: 0.5;
43
+ }
44
+ }
45
+
46
+ /* remove border*/
47
+ .page__content {
48
+
49
+ .archive__item-title {
50
+ margin-top: 1em;
51
+ border-bottom: none;
52
+ }
53
+ }
54
+
55
+ .archive__item-excerpt {
56
+ margin-top: 0;
57
+ font-size: $type-size-6;
58
+
59
+ & + p {
60
+ text-indent: 0;
61
+ }
62
+ }
63
+
64
+ .archive__item-teaser {
65
+ border-radius: $border-radius;
66
+ overflow: hidden;
67
+ img {
68
+ width: 100%;
69
+ }
70
+ }
71
+
72
+ .archive__item:hover {
73
+ .archive__item-teaser {
74
+ box-shadow: 0 0 10px rgba(#000, 0.25);
75
+ }
76
+
77
+ .archive__item-title {
78
+ text-decoration: underline;
79
+ }
80
+ }
81
+
82
+
83
+ /*
84
+ List view
85
+ ========================================================================== */
86
+
87
+ .list__item {
88
+
89
+ .page__meta {
90
+ margin: 0 0 4px;
91
+ }
92
+ }
93
+
94
+
95
+ /*
96
+ Grid view
97
+ ========================================================================== */
98
+
99
+ .archive {
100
+
101
+ .grid__wrapper {
102
+ /* extend grid elements to the right */
103
+
104
+ @include breakpoint($large) {
105
+ margin-right: -1 * $right-sidebar-width-narrow;
106
+ }
107
+
108
+ @include breakpoint($x-large) {
109
+ margin-right: -1 * $right-sidebar-width;
110
+ }
111
+ }
112
+ }
113
+
114
+ .grid__item {
115
+ margin-bottom: 2em;
116
+
117
+ @include breakpoint($small) {
118
+ float: left;
119
+ width: span(5 of 10);
120
+
121
+ &:nth-child(2n+1) {
122
+ clear: both;
123
+ margin-left: 0;
124
+ }
125
+
126
+ &:nth-child(2n+2) {
127
+ clear: none;
128
+ margin-left: gutter(of 10);
129
+ }
130
+ }
131
+
132
+ @include breakpoint($medium) {
133
+ margin-left: 0; /* override margin*/
134
+ margin-right: 0; /* override margin*/
135
+ width: span(3 of 12);
136
+
137
+ &:nth-child(2n+1) {
138
+ clear: none;
139
+ }
140
+
141
+ &:nth-child(4n+1) {
142
+ clear: both;
143
+ }
144
+
145
+ &:nth-child(4n+2) {
146
+ clear: none;
147
+ margin-left: gutter(1 of 12);
148
+ }
149
+
150
+ &:nth-child(4n+3) {
151
+ clear: none;
152
+ margin-left: gutter(1 of 12);
153
+ }
154
+
155
+ &:nth-child(4n+4) {
156
+ clear: none;
157
+ margin-left: gutter(1 of 12);
158
+ }
159
+ }
160
+
161
+ .page__meta {
162
+ margin: 0 0 4px;
163
+ }
164
+
165
+ .archive__item-title {
166
+ margin-top: 0.5em;
167
+ font-size: $type-size-5;
168
+ }
169
+
170
+ .archive__item-excerpt {
171
+ display: none;
172
+
173
+ @include breakpoint($medium) {
174
+ display: block;
175
+ font-size: $type-size-6;
176
+ }
177
+ }
178
+
179
+ .archive__item-teaser {
180
+
181
+ @include breakpoint($small) {
182
+ max-height: 200px;
183
+ }
184
+
185
+ @include breakpoint($medium) {
186
+ max-height: 120px;
187
+ }
188
+ }
189
+ }
190
+
191
+
192
+ /*
193
+ Features
194
+ ========================================================================== */
195
+
196
+ .feature__wrapper {
197
+ @include clearfix();
198
+ margin-bottom: 2em;
199
+ border-bottom: 1px solid $border-color;
200
+ }
201
+
202
+ .feature__item {
203
+ margin-bottom: 2em;
204
+ font-size: 1.25rem;
205
+
206
+ @include breakpoint($small) {
207
+ float: left;
208
+ margin-bottom: 0;
209
+ width: span(4 of 12);
210
+
211
+ &:nth-child(3n+1) {
212
+ clear: both;
213
+ margin-left: 0;
214
+ }
215
+
216
+ &:nth-child(3n+2) {
217
+ clear: none;
218
+ margin-left: gutter(of 12);
219
+ }
220
+
221
+ &:nth-child(3n+3) {
222
+ clear: none;
223
+ margin-left: gutter(of 12);
224
+ }
225
+
226
+ .feature__item-teaser {
227
+ max-height: 200px;
228
+ overflow: hidden;
229
+ }
230
+ }
231
+
232
+ &--left {
233
+ float: left;
234
+ margin-left: 0;
235
+ margin-right: 0;
236
+ width: 100%;
237
+ clear: both;
238
+ font-size: 1.25rem;
239
+
240
+ .archive__item-teaser {
241
+ margin-bottom: 2em;
242
+ }
243
+
244
+ @include breakpoint($small) {
245
+
246
+ .archive__item-teaser {
247
+ float: left;
248
+ width: span(5 of 12);
249
+ }
250
+
251
+ .archive__item-body {
252
+ float: right;
253
+ padding-left: gutter(0.5 of 12);
254
+ padding-right: gutter(1 of 12);
255
+ width: span(7 of 12);
256
+ }
257
+ }
258
+ }
259
+
260
+ &--right {
261
+ float: left;
262
+ margin-left: 0;
263
+ margin-right: 0;
264
+ width: 100%;
265
+ clear: both;
266
+ font-size: 1.25rem;
267
+
268
+ .archive__item-teaser {
269
+ margin-bottom: 2em;
270
+ }
271
+
272
+ @include breakpoint($small) {
273
+ text-align: right;
274
+
275
+ .archive__item-teaser {
276
+ float: right;
277
+ width: span(5 of 12);
278
+ }
279
+
280
+ .archive__item-body {
281
+ float: right;
282
+ width: span(7 of 12);
283
+ padding-left: gutter(0.5 of 12);
284
+ padding-right: gutter(1 of 12);
285
+ }
286
+ }
287
+ }
288
+
289
+ &--center {
290
+ float: left;
291
+ margin-left: 0;
292
+ margin-right: 0;
293
+ width: 100%;
294
+ clear: both;
295
+ font-size: 1.25rem;
296
+
297
+ .archive__item-teaser {
298
+ margin-bottom: 2em;
299
+ }
300
+
301
+ @include breakpoint($small) {
302
+ text-align: center;
303
+
304
+ .archive__item-teaser {
305
+ margin: 0 auto;
306
+ width: span(5 of 12);
307
+ }
308
+
309
+ .archive__item-body {
310
+ margin: 0 auto;
311
+ width: span(7 of 12);
312
+ }
313
+ }
314
+ }
310
315
  }