minimal-mistakes-jekyll 4.5.0 → 4.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/_data/ui-text.yml +87 -1
- data/_includes/comments-providers/disqus.html +14 -20
- data/_includes/social-share.html +4 -4
- data/_layouts/default.html +1 -1
- data/_sass/minimal-mistakes.scss +1 -1
- data/_sass/minimal-mistakes/_archive.scss +314 -309
- data/_sass/minimal-mistakes/_navigation.scss +552 -551
- data/_sass/minimal-mistakes/_page.scss +433 -426
- data/_sass/minimal-mistakes/_sidebar.scss +262 -241
- data/_sass/minimal-mistakes/_syntax.scss +145 -145
- data/_sass/minimal-mistakes/_tables.scss +36 -37
- data/assets/js/main.min.js +1 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 509bfab6197655e8082b667f3587247fc813c553
|
4
|
+
data.tar.gz: d53e66700aa96e1c1c11c5864e02f65edf9cf9fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
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
|
-
|
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 %}
|
data/_includes/social-share.html
CHANGED
@@ -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 }}
|
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>
|
data/_layouts/default.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
<!doctype html>
|
5
5
|
<!--
|
6
|
-
Minimal Mistakes Jekyll Theme 4.5.
|
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
|
data/_sass/minimal-mistakes.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Minimal Mistakes Jekyll Theme 4.5.
|
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($
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
width:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
}
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
}
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
}
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
}
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
}
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
}
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
}
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
&:nth-child(2n+
|
122
|
-
clear:
|
123
|
-
margin-left:
|
124
|
-
}
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
}
|
144
|
-
|
145
|
-
&:nth-child(4n+
|
146
|
-
clear: none;
|
147
|
-
margin-left: gutter(1 of 12);
|
148
|
-
}
|
149
|
-
|
150
|
-
&:nth-child(4n+
|
151
|
-
clear: none;
|
152
|
-
margin-left: gutter(1 of 12);
|
153
|
-
}
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
}
|
164
|
-
|
165
|
-
.archive__item-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
margin-bottom: 2em;
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
&:nth-child(3n+
|
212
|
-
clear:
|
213
|
-
margin-left:
|
214
|
-
}
|
215
|
-
|
216
|
-
&:nth-child(3n+
|
217
|
-
clear: none;
|
218
|
-
margin-left: gutter(of 12);
|
219
|
-
}
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
}
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
.archive__item-
|
247
|
-
float:
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
.archive__item-
|
276
|
-
float: right;
|
277
|
-
width: span(
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
.archive__item-
|
305
|
-
margin: 0 auto;
|
306
|
-
width: span(
|
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
|
}
|