minimal-mistakes-jekyll 4.12.1 → 4.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -2
- data/_data/ui-text.yml +11 -8
- data/_includes/masthead.html +9 -9
- data/_includes/toc.html +23 -13
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +2 -0
- data/_layouts/single.html +1 -1
- data/_sass/minimal-mistakes.scss +1 -1
- data/_sass/minimal-mistakes/_archive.scss +15 -9
- data/_sass/minimal-mistakes/_masthead.scss +5 -4
- data/_sass/minimal-mistakes/_navigation.scss +40 -22
- data/_sass/minimal-mistakes/_page.scss +1 -1
- data/_sass/minimal-mistakes/_sidebar.scss +14 -6
- data/_sass/minimal-mistakes/_variables.scss +2 -0
- data/assets/js/main.min.js +1 -1
- 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: 5832c168d58ce1865475142748e402a446e76ead
|
4
|
+
data.tar.gz: 388f4e07a468efc0fd1e590e66b5bba0244d5f62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72e6ce9d2429c5188b5ec03f28bb4a77da5340fa7cf9cba5f349a6878d7cbe8a92e9bf08def05e604f64d4ae97e3658800a6c999d57ec0949579bf9fb8fb6714
|
7
|
+
data.tar.gz: 1b9c2f4cf0009ba916bbb7df42c45258deac10c0c487e209cf174a578f8832fc852c554964418cf1b3235f0c2685ca2fc60157cc03c63e97438a146139446ed3
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,26 @@
|
|
1
|
+
## [4.12.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.2)
|
2
|
+
|
3
|
+
### Enhancements
|
4
|
+
|
5
|
+
* Add missing Italian localized UI text strings. [#1793]
|
6
|
+
* Update [jekyll-toc](https://github.com/allejo/jekyll-toc) to `v1.0.5`.
|
7
|
+
* Support heading levels 1-6 in table of contents with proper indentation styling. [#1782](https://github.com/mmistakes/minimal-mistakes/issues/1782)
|
8
|
+
* Use relative links for masthead navigation menu items when possible. [#1784](https://github.com/mmistakes/minimal-mistakes/pull/1784)
|
9
|
+
* Add `.emoji` class to author sidebar to normalize image sizes. [#1780](https://github.com/mmistakes/minimal-mistakes/pull/1780)
|
10
|
+
* Update Staticman commit message to include commentor's name.
|
11
|
+
* Improve side navigation spacing in relation to masthead.
|
12
|
+
* Style archive links with appropriate link color.
|
13
|
+
* Adjust feature row spacing and font-sizes.
|
14
|
+
* Use sentence case and increase font-sizes for improved readability in table of contents.
|
15
|
+
* Add `{{ content }}` to `home` layout. [#1775](https://github.com/mmistakes/minimal-mistakes/pull/1775)
|
16
|
+
|
1
17
|
## [4.12.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.1)
|
2
18
|
|
3
19
|
### Enhancements
|
4
20
|
|
5
|
-
* Add missing French localized UI text strings. [#1769](https://github.com/mmistakes/minimal-mistakes/pull/1769)
|
21
|
+
* Add missing French localized UI text strings. [#1769](https://github.com/mmistakes/minimal-mistakes/pull/1769) [#1741](https://github.com/mmistakes/minimal-mistakes/pull/1741)
|
6
22
|
* Update Font Awesome to version [`5.2.0`](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md). [#1754](https://github.com/mmistakes/minimal-mistakes/pull/1754)
|
7
23
|
* Add documentation note to update root `Gemfile` when forking theme.
|
8
|
-
* Add missing French translations. [#1741](https://github.com/mmistakes/minimal-mistakes/pull/1741)
|
9
24
|
|
10
25
|
### Bug Fixes
|
11
26
|
|
data/_data/ui-text.yml
CHANGED
@@ -8,9 +8,9 @@ en: &DEFAULT_EN
|
|
8
8
|
pagination_next : "Next"
|
9
9
|
breadcrumb_home_label : "Home"
|
10
10
|
breadcrumb_separator : "/"
|
11
|
-
menu_label : "Toggle
|
12
|
-
toc_label : "On
|
13
|
-
ext_link_label : "Direct
|
11
|
+
menu_label : "Toggle menu"
|
12
|
+
toc_label : "On this page"
|
13
|
+
ext_link_label : "Direct link"
|
14
14
|
less_than : "less than"
|
15
15
|
minute_read : "minute read"
|
16
16
|
share_on_label : "Share on"
|
@@ -18,16 +18,16 @@ en: &DEFAULT_EN
|
|
18
18
|
tags_label : "Tags:"
|
19
19
|
categories_label : "Categories:"
|
20
20
|
date_label : "Updated:"
|
21
|
-
comments_label : "Leave a
|
21
|
+
comments_label : "Leave a comment"
|
22
22
|
comments_title : "Comments"
|
23
|
-
more_label : "Learn
|
24
|
-
related_label : "You
|
23
|
+
more_label : "Learn more"
|
24
|
+
related_label : "You may also enjoy"
|
25
25
|
follow_label : "Follow:"
|
26
26
|
feed_label : "Feed"
|
27
27
|
powered_by : "Powered by"
|
28
28
|
website_label : "Website"
|
29
29
|
email_label : "Email"
|
30
|
-
recent_posts : "Recent
|
30
|
+
recent_posts : "Recent posts"
|
31
31
|
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
|
32
32
|
comment_form_info : "Your email address will not be published. Required fields are marked"
|
33
33
|
comment_form_comment_label : "Comment"
|
@@ -35,7 +35,7 @@ en: &DEFAULT_EN
|
|
35
35
|
comment_form_name_label : "Name"
|
36
36
|
comment_form_email_label : "Email address"
|
37
37
|
comment_form_website_label : "Website (optional)"
|
38
|
-
comment_btn_submit : "Submit
|
38
|
+
comment_btn_submit : "Submit comment"
|
39
39
|
comment_btn_submitted : "Submitted"
|
40
40
|
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved."
|
41
41
|
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again."
|
@@ -312,6 +312,9 @@ it: &DEFAULT_IT
|
|
312
312
|
comment_success_msg : "Grazie per il tuo commento! Verrà visualizzato nel sito una volta che sarà approvato."
|
313
313
|
comment_error_msg : "C'è stato un errore con il tuo invio. Assicurati che tutti i campi richiesti siano stati completati e riprova."
|
314
314
|
loading_label : "Caricamento..."
|
315
|
+
search_placeholder_text : "Inserisci termini di ricerca..."
|
316
|
+
results_found : "Risultati"
|
317
|
+
back_to_top : "Vai su"
|
315
318
|
it-IT:
|
316
319
|
<<: *DEFAULT_IT
|
317
320
|
|
data/_includes/masthead.html
CHANGED
@@ -4,16 +4,16 @@
|
|
4
4
|
<nav id="site-nav" class="greedy-nav">
|
5
5
|
<a class="site-title" href="{{ '/' | relative_url }}">{{ site.title }}</a>
|
6
6
|
<ul class="visible-links">
|
7
|
-
{
|
8
|
-
{
|
9
|
-
{
|
10
|
-
{
|
11
|
-
{
|
12
|
-
{
|
7
|
+
{%- for link in site.data.navigation.main -%}
|
8
|
+
{%- if link.url contains '://' -%}
|
9
|
+
{%- assign url = link.url -%}
|
10
|
+
{%- else -%}
|
11
|
+
{%- assign url = link.url | relative_url -%}
|
12
|
+
{%- endif -%}
|
13
13
|
<li class="masthead__menu-item">
|
14
|
-
<a href="{{
|
14
|
+
<a href="{{ url }}" {% if link.description %}title="{{ link.description }}"{% endif %}>{{ link.title }}</a>
|
15
15
|
</li>
|
16
|
-
{
|
16
|
+
{%- endfor -%}
|
17
17
|
</ul>
|
18
18
|
{% if site.search == true %}
|
19
19
|
<button class="search__toggle" type="button">
|
@@ -30,4 +30,4 @@
|
|
30
30
|
</nav>
|
31
31
|
</div>
|
32
32
|
</div>
|
33
|
-
</div>
|
33
|
+
</div>
|
data/_includes/toc.html
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
{% capture tocWorkspace %}
|
2
|
-
{
|
3
|
-
Version 1.0.
|
2
|
+
{% comment %}
|
3
|
+
Version 1.0.5
|
4
|
+
https://github.com/allejo/jekyll-toc
|
4
5
|
|
5
6
|
"...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
|
6
7
|
|
@@ -8,25 +9,31 @@
|
|
8
9
|
{% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
|
9
10
|
|
10
11
|
Parameters:
|
11
|
-
* html
|
12
|
+
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
|
12
13
|
|
13
14
|
Optional Parameters:
|
14
|
-
* sanitize
|
15
|
-
* class
|
16
|
-
* id
|
17
|
-
* h_min
|
18
|
-
* h_max
|
15
|
+
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
|
16
|
+
* class (string) : '' - a CSS class assigned to the TOC
|
17
|
+
* id (string) : '' - an ID to assigned to the TOC
|
18
|
+
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
|
19
|
+
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
|
20
|
+
* ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
|
21
|
+
* item_class (string) : '' - add custom class for each list item; has support for '%level%' placeholder, which is the current heading level
|
22
|
+
* baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
|
19
23
|
|
20
24
|
Output:
|
21
|
-
An unordered list representing the table of contents of a markdown block. This snippet will only generate the table of contents and will NOT output the markdown given to it
|
22
|
-
{
|
25
|
+
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only generate the table of contents and will NOT output the markdown given to it
|
26
|
+
{% endcomment %}
|
23
27
|
|
24
28
|
{% capture my_toc %}{% endcapture %}
|
29
|
+
{% assign orderedList = include.ordered | default: false %}
|
25
30
|
{% assign minHeader = include.h_min | default: 1 %}
|
26
31
|
{% assign maxHeader = include.h_max | default: 6 %}
|
27
32
|
{% assign nodes = include.html | split: '<h' %}
|
28
33
|
{% assign firstHeader = true %}
|
29
34
|
|
35
|
+
{% capture listModifier %}{% if orderedList %}1.{% else %}-{% endif %}{% endcapture %}
|
36
|
+
|
30
37
|
{% for node in nodes %}
|
31
38
|
{% if node == "" %}
|
32
39
|
{% continue %}
|
@@ -55,12 +62,15 @@
|
|
55
62
|
|
56
63
|
{% assign space = '' %}
|
57
64
|
{% for i in (1..indentAmount) %}
|
58
|
-
{% assign space = space | prepend: '
|
65
|
+
{% assign space = space | prepend: ' ' %}
|
59
66
|
{% endfor %}
|
60
67
|
|
61
|
-
{%
|
62
|
-
{
|
68
|
+
{% unless include.item_class == blank %}
|
69
|
+
{% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
|
70
|
+
{% endunless %}
|
63
71
|
|
72
|
+
{% capture my_toc %}{{ my_toc }}
|
73
|
+
{{ space }}{{ listModifier }} {{ listItemClass }} [{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% endcapture %}
|
64
74
|
{% endfor %}
|
65
75
|
|
66
76
|
{% if include.class %}
|
data/_layouts/default.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
<!doctype html>
|
5
5
|
<!--
|
6
|
-
Minimal Mistakes Jekyll Theme 4.12.
|
6
|
+
Minimal Mistakes Jekyll Theme 4.12.2 by Michael Rose
|
7
7
|
Copyright 2013-2018 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/_layouts/home.html
CHANGED
data/_layouts/single.html
CHANGED
@@ -38,7 +38,7 @@ layout: default
|
|
38
38
|
<aside class="sidebar__right {% if page.toc_sticky %}sticky{% endif %}">
|
39
39
|
<nav class="toc">
|
40
40
|
<header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
|
41
|
-
{% include toc.html sanitize=true html=content h_min=
|
41
|
+
{% include toc.html sanitize=true html=content h_min=1 h_max=6 class="toc__menu" %}
|
42
42
|
</nav>
|
43
43
|
</aside>
|
44
44
|
{% endif %}
|
data/_sass/minimal-mistakes.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Minimal Mistakes Jekyll Theme 4.12.
|
2
|
+
* Minimal Mistakes Jekyll Theme 4.12.2 by Michael Rose
|
3
3
|
* Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
4
4
|
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
|
5
5
|
*/
|
@@ -3,6 +3,7 @@
|
|
3
3
|
========================================================================== */
|
4
4
|
|
5
5
|
.archive {
|
6
|
+
margin-top: 1em;
|
6
7
|
margin-bottom: 2em;
|
7
8
|
|
8
9
|
@include breakpoint($large) {
|
@@ -36,10 +37,6 @@
|
|
36
37
|
overflow: hidden;
|
37
38
|
text-overflow: ellipsis;
|
38
39
|
|
39
|
-
a {
|
40
|
-
color: inherit;
|
41
|
-
}
|
42
|
-
|
43
40
|
a + a {
|
44
41
|
opacity: 0.5;
|
45
42
|
}
|
@@ -211,11 +208,15 @@
|
|
211
208
|
@include clearfix();
|
212
209
|
margin-bottom: 2em;
|
213
210
|
border-bottom: 1px solid $border-color;
|
211
|
+
|
212
|
+
.archive__item-title {
|
213
|
+
margin-bottom: 0;
|
214
|
+
}
|
214
215
|
}
|
215
216
|
|
216
217
|
.feature__item {
|
217
218
|
margin-bottom: 2em;
|
218
|
-
font-size: 1.
|
219
|
+
font-size: 1.125em;
|
219
220
|
|
220
221
|
@include breakpoint($small) {
|
221
222
|
float: left;
|
@@ -243,13 +244,18 @@
|
|
243
244
|
}
|
244
245
|
}
|
245
246
|
|
247
|
+
.archive__item-body {
|
248
|
+
padding-left: gutter(1 of 12);
|
249
|
+
padding-right: gutter(1 of 12);
|
250
|
+
}
|
251
|
+
|
246
252
|
&--left {
|
247
253
|
float: left;
|
248
254
|
margin-left: 0;
|
249
255
|
margin-right: 0;
|
250
256
|
width: 100%;
|
251
257
|
clear: both;
|
252
|
-
font-size: 1.
|
258
|
+
font-size: 1.125em;
|
253
259
|
|
254
260
|
.archive__item-teaser {
|
255
261
|
margin-bottom: 2em;
|
@@ -276,7 +282,7 @@
|
|
276
282
|
margin-right: 0;
|
277
283
|
width: 100%;
|
278
284
|
clear: both;
|
279
|
-
font-size: 1.
|
285
|
+
font-size: 1.125em;
|
280
286
|
|
281
287
|
.archive__item-teaser {
|
282
288
|
margin-bottom: 2em;
|
@@ -291,7 +297,7 @@
|
|
291
297
|
}
|
292
298
|
|
293
299
|
.archive__item-body {
|
294
|
-
float:
|
300
|
+
float: left;
|
295
301
|
width: span(7 of 12);
|
296
302
|
padding-left: gutter(0.5 of 12);
|
297
303
|
padding-right: gutter(1 of 12);
|
@@ -305,7 +311,7 @@
|
|
305
311
|
margin-right: 0;
|
306
312
|
width: 100%;
|
307
313
|
clear: both;
|
308
|
-
font-size: 1.
|
314
|
+
font-size: 1.125em;
|
309
315
|
|
310
316
|
.archive__item-teaser {
|
311
317
|
margin-bottom: 2em;
|
@@ -18,8 +18,10 @@
|
|
18
18
|
padding: 1em;
|
19
19
|
max-width: 100%;
|
20
20
|
display: -webkit-box;
|
21
|
+
display: -ms-flexbox;
|
21
22
|
display: flex;
|
22
23
|
-webkit-box-pack: justify;
|
24
|
+
-ms-flex-pack: justify;
|
23
25
|
justify-content: space-between;
|
24
26
|
font-family: $sans-serif-narrow;
|
25
27
|
|
@@ -39,11 +41,10 @@
|
|
39
41
|
|
40
42
|
.site-title {
|
41
43
|
display: -webkit-box;
|
44
|
+
display: -ms-flexbox;
|
42
45
|
display: flex;
|
43
|
-
|
44
|
-
align-self:
|
45
|
-
-webkit-box-align: center;
|
46
|
-
align-items: center;
|
46
|
+
-ms-flex-item-align: center;
|
47
|
+
align-self: center;
|
47
48
|
font-weight: bold;
|
48
49
|
z-index: 20;
|
49
50
|
}
|
@@ -176,15 +176,17 @@
|
|
176
176
|
.greedy-nav {
|
177
177
|
position: relative;
|
178
178
|
display: -webkit-box;
|
179
|
+
display: -ms-flexbox;
|
179
180
|
display: flex;
|
180
181
|
-webkit-box-align: center;
|
182
|
+
-ms-flex-align: center;
|
181
183
|
align-items: center;
|
184
|
+
min-height: $nav-height;
|
182
185
|
background: $background-color;
|
183
186
|
|
184
187
|
a {
|
185
188
|
display: block;
|
186
189
|
margin: 0 1rem;
|
187
|
-
padding: 0.5rem 0;
|
188
190
|
color: $masthead-link-color;
|
189
191
|
text-decoration: none;
|
190
192
|
|
@@ -198,8 +200,9 @@
|
|
198
200
|
}
|
199
201
|
|
200
202
|
&__toggle {
|
201
|
-
|
202
|
-
align-self:
|
203
|
+
-ms-flex-item-align: center;
|
204
|
+
align-self: center;
|
205
|
+
height: $nav-toggle-height;
|
203
206
|
border: 0;
|
204
207
|
outline: none;
|
205
208
|
color: #fff;
|
@@ -209,15 +212,19 @@
|
|
209
212
|
|
210
213
|
.visible-links {
|
211
214
|
display: -webkit-box;
|
215
|
+
display: -ms-flexbox;
|
212
216
|
display: flex;
|
213
217
|
-webkit-box-pack: end;
|
218
|
+
-ms-flex-pack: end;
|
214
219
|
justify-content: flex-end;
|
215
220
|
-webkit-box-flex: 1;
|
221
|
+
-ms-flex: 1;
|
216
222
|
flex: 1;
|
217
223
|
overflow: hidden;
|
218
224
|
|
219
225
|
li {
|
220
226
|
-webkit-box-flex: 0;
|
227
|
+
-ms-flex: none;
|
221
228
|
flex: none;
|
222
229
|
}
|
223
230
|
|
@@ -235,13 +242,13 @@
|
|
235
242
|
-webkit-transition: $global-transition;
|
236
243
|
transition: $global-transition;
|
237
244
|
-webkit-transform: scaleX(0) translate3d(0, 0, 0);
|
238
|
-
transform: scaleX(0) translate3d(0, 0, 0);
|
245
|
+
transform: scaleX(0) translate3d(0, 0, 0); // hide
|
239
246
|
}
|
240
247
|
|
241
248
|
&:hover:before {
|
242
249
|
-webkit-transform: scaleX(1);
|
243
250
|
-ms-transform: scaleX(1);
|
244
|
-
transform: scaleX(1);
|
251
|
+
transform: scaleX(1); // reveal
|
245
252
|
}
|
246
253
|
}
|
247
254
|
}
|
@@ -255,6 +262,8 @@
|
|
255
262
|
border: 1px solid $border-color;
|
256
263
|
border-radius: $border-radius;
|
257
264
|
background: $background-color;
|
265
|
+
-webkit-box-shadow: 0 2px 4px 0 rgba(#000, 0.16),
|
266
|
+
0 2px 10px 0 rgba(#000, 0.12);
|
258
267
|
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
259
268
|
|
260
269
|
&.hidden {
|
@@ -331,7 +340,7 @@
|
|
331
340
|
display: none;
|
332
341
|
}
|
333
342
|
|
334
|
-
@include breakpoint(max-width
|
343
|
+
@include breakpoint(max-width($large - 1px)) {
|
335
344
|
label {
|
336
345
|
position: relative;
|
337
346
|
display: inline-block;
|
@@ -437,7 +446,7 @@
|
|
437
446
|
font-weight: bold;
|
438
447
|
}
|
439
448
|
|
440
|
-
@include breakpoint(max-width
|
449
|
+
@include breakpoint(max-width($large - 1px)) {
|
441
450
|
position: relative;
|
442
451
|
max-height: 0;
|
443
452
|
opacity: 0%;
|
@@ -451,7 +460,7 @@
|
|
451
460
|
}
|
452
461
|
}
|
453
462
|
|
454
|
-
@include breakpoint(max-width
|
463
|
+
@include breakpoint(max-width($large - 1px)) {
|
455
464
|
.nav__list input:checked ~ .nav__items {
|
456
465
|
-webkit-transition: 0.5s ease-in-out;
|
457
466
|
transition: 0.5s ease-in-out;
|
@@ -467,7 +476,7 @@
|
|
467
476
|
|
468
477
|
.nav__title {
|
469
478
|
margin: 0;
|
470
|
-
padding: 0.
|
479
|
+
padding: 0.25rem 0.75rem;
|
471
480
|
font-family: $sans-serif-narrow;
|
472
481
|
font-size: $type-size-5;
|
473
482
|
font-weight: bold;
|
@@ -476,7 +485,7 @@
|
|
476
485
|
.nav__sub-title {
|
477
486
|
display: block;
|
478
487
|
margin: 0.5rem 0;
|
479
|
-
padding: 0.
|
488
|
+
padding: 0.25rem 0;
|
480
489
|
font-family: $sans-serif-narrow;
|
481
490
|
font-size: $type-size-6;
|
482
491
|
font-weight: bold;
|
@@ -491,11 +500,10 @@
|
|
491
500
|
.toc {
|
492
501
|
font-family: $sans-serif-narrow;
|
493
502
|
color: $gray;
|
494
|
-
text-transform: uppercase;
|
495
|
-
letter-spacing: 1px;
|
496
503
|
background-color: $background-color;
|
497
504
|
border: 1px solid $border-color;
|
498
505
|
border-radius: $border-radius;
|
506
|
+
-webkit-box-shadow: $box-shadow;
|
499
507
|
box-shadow: $box-shadow;
|
500
508
|
|
501
509
|
.nav__title {
|
@@ -512,13 +520,16 @@
|
|
512
520
|
padding: 0;
|
513
521
|
width: 100%;
|
514
522
|
list-style: none;
|
515
|
-
font-size:
|
523
|
+
font-size: $type-size-6;
|
524
|
+
|
525
|
+
@include breakpoint($large) {
|
526
|
+
font-size: $type-size-7;
|
527
|
+
}
|
516
528
|
|
517
529
|
a {
|
518
530
|
display: block;
|
519
|
-
padding: 0.
|
531
|
+
padding: 0.25rem 0.75rem;
|
520
532
|
color: $muted-text-color;
|
521
|
-
font-size: $type-size-7;
|
522
533
|
font-weight: bold;
|
523
534
|
line-height: 1.5;
|
524
535
|
border-bottom: 1px solid $border-color;
|
@@ -529,16 +540,23 @@
|
|
529
540
|
}
|
530
541
|
|
531
542
|
li ul > li a {
|
532
|
-
padding-left: 1.
|
543
|
+
padding-left: 1.25rem;
|
533
544
|
font-weight: normal;
|
534
545
|
}
|
535
546
|
|
536
|
-
|
537
|
-
|
538
|
-
|
547
|
+
li ul li ul > li a {
|
548
|
+
padding-left: 1.75rem;
|
549
|
+
}
|
539
550
|
|
540
|
-
|
541
|
-
|
542
|
-
|
551
|
+
li ul li ul li ul > li a {
|
552
|
+
padding-left: 2.25rem;
|
553
|
+
}
|
554
|
+
|
555
|
+
li ul li ul li ul li ul > li a {
|
556
|
+
padding-left: 2.75rem;
|
557
|
+
}
|
558
|
+
|
559
|
+
li ul li ul li ul li ul li ul > li a {
|
560
|
+
padding-left: 3.25rem
|
543
561
|
}
|
544
562
|
}
|
@@ -5,7 +5,6 @@
|
|
5
5
|
#main {
|
6
6
|
@include clearfix;
|
7
7
|
margin-left: auto;
|
8
|
-
margin-top: 2em;
|
9
8
|
margin-right: auto;
|
10
9
|
padding-left: 1em;
|
11
10
|
padding-right: 1em;
|
@@ -34,6 +33,7 @@
|
|
34
33
|
|
35
34
|
.page__inner-wrap {
|
36
35
|
float: left;
|
36
|
+
margin-top: 1em;
|
37
37
|
margin-left: 0;
|
38
38
|
margin-right: 0;
|
39
39
|
width: 100%;
|
@@ -8,8 +8,6 @@
|
|
8
8
|
|
9
9
|
.sidebar {
|
10
10
|
@include clearfix();
|
11
|
-
margin-bottom: 1em;
|
12
|
-
|
13
11
|
@include breakpoint(max-width $large) {
|
14
12
|
/* fix z-index order of follow links */
|
15
13
|
position: relative;
|
@@ -31,10 +29,10 @@
|
|
31
29
|
|
32
30
|
&.sticky {
|
33
31
|
overflow-y: auto;
|
34
|
-
/* calculate height of nav list
|
35
|
-
|
36
|
-
|
37
|
-
|
32
|
+
/* calculate height of nav list
|
33
|
+
viewport height - nav height - masthead x-padding
|
34
|
+
*/
|
35
|
+
height: calc(100vh - #{$nav-height} - 2em);
|
38
36
|
}
|
39
37
|
}
|
40
38
|
|
@@ -42,6 +40,11 @@
|
|
42
40
|
width: calc(#{$right-sidebar-width} - 1em);
|
43
41
|
}
|
44
42
|
|
43
|
+
> * {
|
44
|
+
margin-top: 1em;
|
45
|
+
margin-bottom: 1em;
|
46
|
+
}
|
47
|
+
|
45
48
|
h2,
|
46
49
|
h3,
|
47
50
|
h4,
|
@@ -60,6 +63,11 @@
|
|
60
63
|
|
61
64
|
img {
|
62
65
|
width: 100%;
|
66
|
+
|
67
|
+
&.emoji {
|
68
|
+
width: 20px;
|
69
|
+
height: 20px;
|
70
|
+
}
|
63
71
|
}
|
64
72
|
}
|
65
73
|
|
@@ -148,6 +148,8 @@ $right-sidebar-width-wide: 400px !default;
|
|
148
148
|
|
149
149
|
$border-radius: 4px !default;
|
150
150
|
$box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125) !default;
|
151
|
+
$nav-height: 2em !default;
|
152
|
+
$nav-toggle-height: 2rem !default;
|
151
153
|
$navicon-width: 1.5rem !default;
|
152
154
|
$navicon-height: 0.25rem !default;
|
153
155
|
$global-transition: all 0.2s ease-in-out !default;
|
data/assets/js/main.min.js
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minimal-mistakes-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.12.
|
4
|
+
version: 4.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Rose
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|