minimal-mistakes-jekyll 4.4.0 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/_includes/analytics-providers/custom.html +2 -2
  4. data/_includes/analytics-providers/google-universal.html +9 -9
  5. data/_includes/analytics-providers/google.html +10 -10
  6. data/_includes/analytics.html +11 -11
  7. data/_includes/archive-single.html +37 -37
  8. data/_includes/author-profile-custom-links.html +6 -6
  9. data/_includes/author-profile.html +241 -241
  10. data/_includes/base_path +4 -4
  11. data/_includes/breadcrumbs.html +38 -38
  12. data/_includes/browser-upgrade.html +2 -2
  13. data/_includes/category-list.html +25 -25
  14. data/_includes/comment.html +21 -21
  15. data/_includes/comments-providers/custom.html +2 -2
  16. data/_includes/comments-providers/discourse.html +13 -13
  17. data/_includes/comments-providers/disqus.html +21 -21
  18. data/_includes/comments-providers/facebook.html +7 -7
  19. data/_includes/comments-providers/google-plus.html +1 -1
  20. data/_includes/comments-providers/scripts.html +17 -17
  21. data/_includes/comments-providers/staticman.html +41 -41
  22. data/_includes/comments.html +83 -83
  23. data/_includes/feature_row +49 -49
  24. data/_includes/figure +12 -12
  25. data/_includes/footer.html +21 -21
  26. data/_includes/footer/custom.html +2 -2
  27. data/_includes/gallery +46 -46
  28. data/_includes/group-by-array +46 -46
  29. data/_includes/head.html +33 -33
  30. data/_includes/head/custom.html +4 -4
  31. data/_includes/masthead.html +20 -20
  32. data/_includes/nav_list +46 -46
  33. data/_includes/page__hero.html +53 -53
  34. data/_includes/page__hero_video.html +4 -4
  35. data/_includes/page__taxonomy.html +6 -6
  36. data/_includes/paginator.html +69 -69
  37. data/_includes/post_pagination.html +13 -13
  38. data/_includes/read-time.html +14 -14
  39. data/_includes/scripts.html +4 -4
  40. data/_includes/seo.html +147 -147
  41. data/_includes/sidebar.html +22 -22
  42. data/_includes/social-share.html +13 -13
  43. data/_includes/tag-list.html +25 -25
  44. data/_includes/toc +6 -6
  45. data/_includes/video +11 -11
  46. data/_layouts/archive-taxonomy.html +14 -14
  47. data/_layouts/archive.html +25 -25
  48. data/_layouts/compress.html +10 -10
  49. data/_layouts/default.html +1 -1
  50. data/_layouts/home.html +11 -11
  51. data/_layouts/single.html +74 -74
  52. data/_layouts/splash.html +21 -21
  53. data/_sass/minimal-mistakes.scss +1 -1
  54. data/_sass/minimal-mistakes/_masthead.scss +76 -76
  55. data/_sass/minimal-mistakes/_navigation.scss +557 -557
  56. data/_sass/minimal-mistakes/_page.scss +407 -407
  57. data/_sass/minimal-mistakes/_print.scss +237 -237
  58. data/_sass/minimal-mistakes/_reset.scss +186 -186
  59. data/_sass/minimal-mistakes/_sidebar.scss +230 -230
  60. data/_sass/minimal-mistakes/_syntax.scss +145 -145
  61. data/_sass/minimal-mistakes/vendor/breakpoint/_breakpoint.scss +114 -114
  62. data/_sass/minimal-mistakes/vendor/breakpoint/_context.scss +94 -94
  63. data/_sass/minimal-mistakes/vendor/breakpoint/_helpers.scss +151 -151
  64. data/_sass/minimal-mistakes/vendor/breakpoint/_legacy-settings.scss +49 -49
  65. data/_sass/minimal-mistakes/vendor/breakpoint/_no-query.scss +15 -15
  66. data/_sass/minimal-mistakes/vendor/breakpoint/_parsers.scss +215 -215
  67. data/_sass/minimal-mistakes/vendor/breakpoint/_respond-to.scss +82 -82
  68. data/_sass/minimal-mistakes/vendor/breakpoint/_settings.scss +70 -70
  69. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_double.scss +33 -33
  70. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_query.scss +82 -82
  71. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_resolution.scss +31 -31
  72. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_single.scss +26 -26
  73. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_triple.scss +36 -36
  74. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
  75. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default.scss +22 -22
  76. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
  77. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
  78. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/single/_default.scss +13 -13
  79. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss +18 -18
  80. data/_sass/minimal-mistakes/vendor/font-awesome/_animated.scss +34 -34
  81. data/_sass/minimal-mistakes/vendor/font-awesome/_bordered-pulled.scss +25 -25
  82. data/_sass/minimal-mistakes/vendor/font-awesome/_core.scss +12 -12
  83. data/_sass/minimal-mistakes/vendor/font-awesome/_fixed-width.scss +6 -6
  84. data/_sass/minimal-mistakes/vendor/font-awesome/_font-awesome.scss +18 -18
  85. data/_sass/minimal-mistakes/vendor/font-awesome/_icons.scss +789 -789
  86. data/_sass/minimal-mistakes/vendor/font-awesome/_larger.scss +13 -13
  87. data/_sass/minimal-mistakes/vendor/font-awesome/_list.scss +19 -19
  88. data/_sass/minimal-mistakes/vendor/font-awesome/_mixins.scss +60 -60
  89. data/_sass/minimal-mistakes/vendor/font-awesome/_path.scss +15 -15
  90. data/_sass/minimal-mistakes/vendor/font-awesome/_rotated-flipped.scss +20 -20
  91. data/_sass/minimal-mistakes/vendor/font-awesome/_screen-reader.scss +5 -5
  92. data/_sass/minimal-mistakes/vendor/font-awesome/_stacked.scss +20 -20
  93. data/_sass/minimal-mistakes/vendor/font-awesome/_variables.scss +800 -800
  94. data/_sass/minimal-mistakes/vendor/magnific-popup/_settings.scss +45 -45
  95. data/_sass/minimal-mistakes/vendor/susy/_su.scss +4 -4
  96. data/_sass/minimal-mistakes/vendor/susy/_susy.scss +4 -4
  97. data/_sass/minimal-mistakes/vendor/susy/_susyone.scss +4 -4
  98. data/_sass/minimal-mistakes/vendor/susy/susy/_su.scss +7 -7
  99. data/_sass/minimal-mistakes/vendor/susy/susy/language/_susy.scss +24 -24
  100. data/_sass/minimal-mistakes/vendor/susy/susy/language/_susyone.scss +13 -13
  101. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_background.scss +385 -385
  102. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_bleed.scss +200 -200
  103. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_box-sizing.scss +47 -47
  104. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_breakpoint-plugin.scss +185 -185
  105. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_container.scss +81 -81
  106. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_context.scss +36 -36
  107. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_gallery.scss +94 -94
  108. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_grids.scss +64 -64
  109. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_gutters.scss +154 -154
  110. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_isolate.scss +77 -77
  111. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_margins.scss +94 -94
  112. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_padding.scss +74 -74
  113. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_rows.scss +138 -138
  114. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_settings.scss +216 -216
  115. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_span.scss +163 -163
  116. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_validation.scss +16 -16
  117. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_background.scss +18 -18
  118. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_functions.scss +377 -377
  119. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_grid.scss +312 -312
  120. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_isolation.scss +51 -51
  121. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_margin.scss +93 -93
  122. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_media.scss +105 -105
  123. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_padding.scss +92 -92
  124. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_settings.scss +60 -60
  125. data/_sass/minimal-mistakes/vendor/susy/susy/output/_float.scss +9 -9
  126. data/_sass/minimal-mistakes/vendor/susy/susy/output/_shared.scss +15 -15
  127. data/_sass/minimal-mistakes/vendor/susy/susy/output/_support.scss +9 -9
  128. data/_sass/minimal-mistakes/vendor/susy/susy/output/float/_container.scss +16 -16
  129. data/_sass/minimal-mistakes/vendor/susy/susy/output/float/_end.scss +40 -40
  130. data/_sass/minimal-mistakes/vendor/susy/susy/output/float/_isolate.scss +22 -22
  131. data/_sass/minimal-mistakes/vendor/susy/susy/output/float/_span.scss +35 -35
  132. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_background.scss +26 -26
  133. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_container.scss +21 -21
  134. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_direction.scss +42 -42
  135. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_inspect.scss +25 -25
  136. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_margins.scss +23 -23
  137. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_output.scss +14 -14
  138. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_padding.scss +23 -23
  139. data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_background.scss +58 -58
  140. data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_box-sizing.scss +19 -19
  141. data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_clearfix.scss +18 -18
  142. data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_prefix.scss +19 -19
  143. data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_rem.scss +22 -22
  144. data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_support.scss +85 -85
  145. data/_sass/minimal-mistakes/vendor/susy/susy/su/_grid.scss +103 -103
  146. data/_sass/minimal-mistakes/vendor/susy/susy/su/_settings.scss +73 -73
  147. data/_sass/minimal-mistakes/vendor/susy/susy/su/_utilities.scss +111 -111
  148. data/_sass/minimal-mistakes/vendor/susy/susy/su/_validation.scss +57 -57
  149. data/assets/fonts/fontawesome-webfont.svg +2671 -2671
  150. data/assets/js/_main.js +72 -72
  151. data/assets/js/main.min.js +2 -2
  152. data/assets/js/plugins/jquery.fitvids.js +81 -81
  153. data/assets/js/plugins/jquery.greedy-navigation.js +74 -73
  154. data/assets/js/plugins/jquery.magnific-popup.js +2049 -2049
  155. data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
  156. data/assets/js/vendor/jquery/jquery-1.12.4.min.js +4 -4
  157. metadata +3 -3
data/_layouts/splash.html CHANGED
@@ -1,22 +1,22 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
6
- {% include page__hero.html %}
7
- {% elsif page.header.video.id and page.header.video.provider %}
8
- {% include page__hero_video.html %}
9
- {% endif %}
10
-
11
- <div id="main" role="main">
12
- <article class="splash" itemscope itemtype="http://schema.org/CreativeWork">
13
- {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
14
- {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
15
- {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
16
- {% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
17
-
18
- <section class="page__content" itemprop="text">
19
- {{ content }}
20
- </section>
21
- </article>
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
6
+ {% include page__hero.html %}
7
+ {% elsif page.header.video.id and page.header.video.provider %}
8
+ {% include page__hero_video.html %}
9
+ {% endif %}
10
+
11
+ <div id="main" role="main">
12
+ <article class="splash" itemscope itemtype="http://schema.org/CreativeWork">
13
+ {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
14
+ {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
15
+ {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
16
+ {% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
17
+
18
+ <section class="page__content" itemprop="text">
19
+ {{ content }}
20
+ </section>
21
+ </article>
22
22
  </div>
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.4.0 by Michael Rose
2
+ * Minimal Mistakes Jekyll Theme 4.4.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,77 +1,77 @@
1
- /* ==========================================================================
2
- MASTHEAD
3
- ========================================================================== */
4
-
5
- .masthead {
6
- position: relative;
7
- border-bottom: 1px solid $border-color;
8
- -webkit-animation: intro 0.3s both;
9
- animation: intro 0.3s both;
10
- -webkit-animation-delay: 0.15s;
11
- animation-delay: 0.15s;
12
- z-index: 20;
13
-
14
- &__inner-wrap {
15
- @include container;
16
- @include clearfix;
17
- display: -webkit-box;
18
- display: flex;
19
- -webkit-box-pack: justify;
20
- justify-content: space-between;
21
- padding: 1em 1em 1em;
22
- font-family: $sans-serif-narrow;
23
-
24
- @include breakpoint($x-large) {
25
- max-width: $x-large;
26
- }
27
-
28
- nav {
29
- z-index: 10;
30
- }
31
-
32
- a {
33
- text-decoration: none;
34
- }
35
- }
36
- }
37
-
38
- .site-title {
39
- display: -webkit-box;
40
- display: flex;
41
- padding: 0.5rem 0;
42
- align-self: stretch;
43
- -webkit-box-align: center;
44
- align-items: center;
45
- font-weight: bold;
46
- z-index: 20;
47
- }
48
-
49
- .masthead__menu {
50
- width: 100%;
51
-
52
- .site-nav {
53
- margin-left: 0;
54
-
55
- @include breakpoint($small) {
56
- float: right;
57
- }
58
- }
59
-
60
- ul {
61
- margin: 0;
62
- padding: 0;
63
- clear: both;
64
- list-style-type: none;
65
- }
66
- }
67
-
68
- .masthead__menu-item {
69
- display: block;
70
- list-style-type: none;
71
- white-space: nowrap;
72
-
73
- &--lg {
74
- padding-right: 2em;
75
- font-weight: 700;
76
- }
1
+ /* ==========================================================================
2
+ MASTHEAD
3
+ ========================================================================== */
4
+
5
+ .masthead {
6
+ position: relative;
7
+ border-bottom: 1px solid $border-color;
8
+ -webkit-animation: intro 0.3s both;
9
+ animation: intro 0.3s both;
10
+ -webkit-animation-delay: 0.15s;
11
+ animation-delay: 0.15s;
12
+ z-index: 20;
13
+
14
+ &__inner-wrap {
15
+ @include container;
16
+ @include clearfix;
17
+ display: -webkit-box;
18
+ display: flex;
19
+ -webkit-box-pack: justify;
20
+ justify-content: space-between;
21
+ padding: 1em 1em 1em;
22
+ font-family: $sans-serif-narrow;
23
+
24
+ @include breakpoint($x-large) {
25
+ max-width: $x-large;
26
+ }
27
+
28
+ nav {
29
+ z-index: 10;
30
+ }
31
+
32
+ a {
33
+ text-decoration: none;
34
+ }
35
+ }
36
+ }
37
+
38
+ .site-title {
39
+ display: -webkit-box;
40
+ display: flex;
41
+ padding: 0.5rem 0;
42
+ align-self: stretch;
43
+ -webkit-box-align: center;
44
+ align-items: center;
45
+ font-weight: bold;
46
+ z-index: 20;
47
+ }
48
+
49
+ .masthead__menu {
50
+ width: 100%;
51
+
52
+ .site-nav {
53
+ margin-left: 0;
54
+
55
+ @include breakpoint($small) {
56
+ float: right;
57
+ }
58
+ }
59
+
60
+ ul {
61
+ margin: 0;
62
+ padding: 0;
63
+ clear: both;
64
+ list-style-type: none;
65
+ }
66
+ }
67
+
68
+ .masthead__menu-item {
69
+ display: block;
70
+ list-style-type: none;
71
+ white-space: nowrap;
72
+
73
+ &--lg {
74
+ padding-right: 2em;
75
+ font-weight: 700;
76
+ }
77
77
  }
@@ -1,558 +1,558 @@
1
- /* ==========================================================================
2
- NAVIGATION
3
- ========================================================================== */
4
-
5
- /*
6
- Breadcrumb navigation links
7
- ========================================================================== */
8
-
9
- .breadcrumbs {
10
- @include container;
11
- @include clearfix;
12
- margin-top: 0;
13
- margin-bottom: 0;
14
- padding-left: 2em;
15
- padding-right: 2em;
16
- font-family: $sans-serif;
17
- -webkit-animation: intro 0.3s both;
18
- animation: intro 0.3s both;
19
- -webkit-animation-delay: 0.30s;
20
- animation-delay: 0.30s;
21
-
22
- @include breakpoint($large) {
23
- padding-left: 1em;
24
- padding-right: 1em;
25
- }
26
-
27
- @include breakpoint($x-large) {
28
- max-width: $x-large;
29
- }
30
-
31
- ol {
32
- padding: 0;
33
- list-style: none;
34
- font-size: $type-size-6;
35
-
36
- @include breakpoint($large) {
37
- @include span(10 of 12 last);
38
- }
39
-
40
- @include breakpoint($x-large) {
41
- @include prefix(0.5 of 12);
42
- }
43
- }
44
-
45
- li {
46
- display: inline;
47
- }
48
-
49
- .current {
50
- font-weight: bold;
51
- }
52
- }
53
-
54
-
55
- /*
56
- Post pagination navigation links
57
- ========================================================================== */
58
-
59
- .pagination {
60
- @include full();
61
- @include clearfix();
62
- margin-top: 1em;
63
- padding-top: 1em;
64
-
65
- ul {
66
- margin: 0;
67
- padding: 0;
68
- list-style-type: none;
69
- font-family: $sans-serif;
70
- }
71
-
72
- li {
73
- display: block;
74
- float: left;
75
- margin-left: -1px;
76
-
77
- a {
78
- display: block;
79
- margin-bottom: 0.25em;
80
- padding: 0.5em 1em;
81
- font-family: $sans-serif;
82
- font-size: 14px;
83
- font-weight: bold;
84
- line-height: 1.5;
85
- text-align: center;
86
- text-decoration: none;
87
- color: mix(#fff, $gray, 25%);
88
- border: 1px solid $light-gray;
89
- border-radius: 0;
90
-
91
- &:hover {
92
- color: $link-color-hover;
93
- }
94
-
95
- &.current {
96
- color: #fff;
97
- background: $primary-color;
98
- }
99
-
100
- &.disabled {
101
- color: mix(#fff, $gray, 75%);
102
- pointer-events: none;
103
- cursor: not-allowed;
104
- }
105
- }
106
-
107
- &:first-child {
108
- margin-left: 0;
109
-
110
- a {
111
- border-top-left-radius: $border-radius;
112
- border-bottom-left-radius: $border-radius;
113
- }
114
- }
115
-
116
- &:last-child {
117
- a {
118
- border-top-right-radius: $border-radius;
119
- border-bottom-right-radius: $border-radius;
120
- }
121
- }
122
- }
123
-
124
- /* next/previous buttons */
125
- &--pager {
126
- display: block;
127
- padding: 1em 2em;
128
- float: left;
129
- width: 50%;
130
- font-family: $sans-serif;
131
- font-size: $type-size-5;
132
- font-weight: bold;
133
- text-align: center;
134
- text-decoration: none;
135
- color: $link-color;
136
- border: 1px solid $light-gray;
137
- border-radius: $border-radius;
138
-
139
- &:hover {
140
- color: $link-color-hover;
141
- }
142
-
143
- &:first-child {
144
- border-top-right-radius: 0;
145
- border-bottom-right-radius: 0;
146
- }
147
-
148
- &:last-child {
149
- margin-left: -1px;
150
- border-top-left-radius: 0;
151
- border-bottom-left-radius: 0;
152
- }
153
-
154
- &.disabled {
155
- color: mix(#fff, $gray, 75%);
156
- pointer-events: none;
157
- cursor: not-allowed;
158
- }
159
- }
160
- }
161
-
162
- .page__content + .pagination,
163
- .page__meta + .pagination,
164
- .page__share + .pagination,
165
- .page__comments + .pagination {
166
- margin-top: 2em;
167
- padding-top: 2em;
168
- border-top: 1px solid $border-color;
169
- }
170
-
171
-
172
- /*
173
- Priority plus navigation
174
- ========================================================================== */
175
-
176
- .greedy-nav {
177
- position: relative;
178
- display: -webkit-box;
179
- display: flex;
180
- -webkit-box-align: center;
181
- align-items: center;
182
- background: $background-color;
183
-
184
- a {
185
- display: block;
186
- margin: 0 1rem;
187
- padding: 0.5rem 0;
188
- color: $masthead-link-color;
189
- text-decoration: none;
190
-
191
- &:hover {
192
- color: $masthead-link-color-hover;
193
- }
194
-
195
- &.site-title {
196
- margin-left: 0;
197
- }
198
- }
199
-
200
- button {
201
- padding: 0 0.5rem;
202
- align-self: stretch;
203
- border: 0;
204
- outline: none;
205
- color: #fff;
206
- background-color: $primary-color;
207
- cursor: pointer;
208
- }
209
-
210
- .visible-links {
211
- display: -webkit-box;
212
- display: flex;
213
- -webkit-box-pack: end;
214
- justify-content: flex-end;
215
- -webkit-box-flex: 1;
216
- flex: 1;
217
- padding-right: 2rem;
218
- overflow: hidden;
219
-
220
- li {
221
- -webkit-box-flex: 0;
222
- flex: none;
223
-
224
- &:last-child {
225
- a {
226
- margin-right: 0;
227
- }
228
- }
229
- }
230
-
231
- a {
232
- position: relative;
233
-
234
- &:before {
235
- content: "";
236
- position: absolute;
237
- left: 0;
238
- bottom: 0;
239
- height: 4px;
240
- background: mix(#fff, $primary-color, 50%);
241
- width: 100%;
242
- -webkit-transition: $global-transition;
243
- transition: $global-transition;
244
- -webkit-transform: scaleX(0) translate3d(0, 0 , 0);
245
- transform: scaleX(0) translate3d(0, 0 , 0); /* hide*/
246
- }
247
-
248
- &:hover:before {
249
- -webkit-transform: scaleX(1);
250
- -ms-transform: scaleX(1);
251
- transform: scaleX(1); /* reveal*/
252
- }
253
- }
254
- }
255
-
256
- .hidden-links {
257
- position: absolute;
258
- top: 100%;
259
- right: 0;
260
- margin-top: 15px;
261
- padding: 5px;
262
- border: 1px solid $border-color;
263
- border-radius: $border-radius;
264
- background: #fff;
265
- box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
266
-
267
- &.hidden {
268
- display: none;
269
- }
270
-
271
- a {
272
- margin: 0;
273
- padding: 10px 20px;
274
- font-size: $type-size-5;
275
-
276
- &:hover {
277
- color: $masthead-link-color-hover;
278
- background: mix(#fff, $primary-color, 75%);
279
- }
280
- }
281
-
282
- &:before {
283
- content: "";
284
- position: absolute;
285
- top: -11px;
286
- right: 10px;
287
- width: 0;
288
- border-style: solid;
289
- border-width: 0 10px 10px;
290
- border-color: $border-color transparent;
291
- display: block;
292
- z-index: 0;
293
- }
294
-
295
- &:after {
296
- content: "";
297
- position: absolute;
298
- top: -10px;
299
- right: 10px;
300
- width: 0;
301
- border-style: solid;
302
- border-width: 0 10px 10px;
303
- border-color: #fff transparent;
304
- display: block;
305
- z-index: 1;
306
- }
307
-
308
- li {
309
- display: block;
310
- border-bottom: 1px solid $border-color;
311
-
312
- &:last-child {
313
- border-bottom: none;
314
- }
315
- }
316
- }
317
- }
318
-
319
-
320
- /*
321
- Navigation list
322
- ========================================================================== */
323
-
324
- .nav__list {
325
- margin-bottom: 1.5em;
326
-
327
- input[type="checkbox"],
328
- label {
329
- display: none;
330
- }
331
-
332
- @include breakpoint(max-width ($large - 1px)) {
333
-
334
- label {
335
- position: relative;
336
- display: inline-block;
337
- padding: 0.5em 2.5em 0.5em 1em;
338
- color: $gray;
339
- font-size: $type-size-6;
340
- font-weight: bold;
341
- border: 1px solid $light-gray;
342
- border-radius: $border-radius;
343
- z-index: 20;
344
- -webkit-transition: 0.2s ease-out;
345
- transition: 0.2s ease-out;
346
- cursor: pointer;
347
-
348
- &:before,
349
- &:after {
350
- content: '';
351
- position: absolute;
352
- right: 1em;
353
- top: 1.25em;
354
- width: 0.75em;
355
- height: 0.125em;
356
- line-height: 1;
357
- background-color: $gray;
358
- -webkit-transition: 0.2s ease-out;
359
- transition: 0.2s ease-out;
360
- }
361
-
362
- &:after {
363
- -webkit-transform: rotate(90deg);
364
- -ms-transform: rotate(90deg);
365
- transform: rotate(90deg);
366
- }
367
-
368
- &:hover {
369
- color: #fff;
370
- border-color: $gray;
371
- background-color: mix(white, #000, 20%);
372
-
373
- &:before,
374
- &:after {
375
- background-color: #fff;
376
- }
377
- }
378
- }
379
-
380
- /* selected*/
381
- input:checked + label {
382
- color: white;
383
- background-color: mix(white, #000, 20%);
384
-
385
- &:before,
386
- &:after {
387
- background-color: #fff;
388
- }
389
- }
390
-
391
- /* on hover show expand*/
392
- label:hover:after {
393
- -webkit-transform: rotate(90deg);
394
- -ms-transform: rotate(90deg);
395
- transform: rotate(90deg);
396
- }
397
-
398
- input:checked + label:hover:after {
399
- -webkit-transform: rotate(0);
400
- -ms-transform: rotate(0);
401
- transform: rotate(0);
402
- }
403
-
404
- ul {
405
- margin-bottom: 1em;
406
- }
407
-
408
- a {
409
- display: block;
410
- padding: 0.25em 0;
411
-
412
- @include breakpoint($large) {
413
- padding-top: 0.125em;
414
- padding-bottom: 0.125em;
415
- }
416
-
417
- &:hover {
418
- text-decoration: underline;
419
- }
420
- }
421
- }
422
- }
423
-
424
- .nav__list .nav__items {
425
- margin: 0;
426
- font-size: 1.25rem;
427
-
428
- a {
429
- color: inherit;
430
- }
431
-
432
- .active {
433
- margin-left: -0.5em;
434
- padding-left: 0.5em;
435
- padding-right: 0.5em;
436
- color: #fff;
437
- font-weight: bold;
438
- background: $primary-color;
439
- border-radius: $border-radius;
440
-
441
- &:hover {
442
- color: #fff;
443
- }
444
- }
445
-
446
- @include breakpoint(max-width ($large - 1px)) {
447
- position: relative;
448
- max-height: 0;
449
- opacity: 0%;
450
- overflow: hidden;
451
- z-index: 10;
452
- -webkit-transition: 0.3s ease-in-out;
453
- transition: 0.3s ease-in-out;
454
- -webkit-transform: translate(0, 10%);
455
- -ms-transform: translate(0, 10%);
456
- transform: translate(0, 10%);
457
- }
458
- }
459
-
460
- @include breakpoint(max-width ($large - 1px)) {
461
- .nav__list input:checked ~ .nav__items {
462
- -webkit-transition: 0.5s ease-in-out;
463
- transition: 0.5s ease-in-out;
464
- max-height: 9999px; /* exaggerate max-height to accommodate tall lists*/
465
- overflow: visible;
466
- opacity: 1;
467
- margin-top: 1em;
468
- -webkit-transform: translate(0, 0);
469
- -ms-transform: translate(0, 0);
470
- transform: translate(0, 0);
471
- }
472
- }
473
-
474
- .nav__title {
475
- margin: 0;
476
- padding: 0.5rem 1rem;
477
- font-family: $sans-serif-narrow;
478
- font-size: $type-size-5;
479
- font-weight: bold;
480
- }
481
-
482
- .nav__sub-title {
483
- display: block;
484
- margin: 0.5rem 0;
485
- padding: 0.5rem 0;
486
- font-family: $sans-serif-narrow;
487
- font-size: $type-size-6;
488
- font-weight: bold;
489
- text-transform: uppercase;
490
- border-bottom: 1px solid $border-color;
491
- }
492
-
493
-
494
- /*
495
- Table of contents navigation
496
- ========================================================================== */
497
-
498
- .toc {
499
- font-family: $sans-serif-narrow;
500
- color: $gray;
501
- text-transform: uppercase;
502
- letter-spacing: 1px;
503
- background-color: #fff;
504
- border: 1px solid $border-color;
505
- border-radius: $border-radius;
506
- box-shadow: $box-shadow;
507
-
508
- .nav__title {
509
- color: #fff;
510
- font-size: $type-size-6;
511
- background: $primary-color;
512
- border-top-left-radius: $border-radius;
513
- border-top-right-radius: $border-radius;
514
- }
515
- }
516
-
517
- .toc__menu {
518
- margin: 0;
519
- padding: 0;
520
- width: 100%;
521
- list-style: none;
522
- font-size: 0.8rem;
523
-
524
- a {
525
- display: block;
526
- padding: 0.5rem 1rem;
527
- color: $gray;
528
- font-size: $type-size-7;
529
- font-weight: bold;
530
- line-height: 1.5;
531
- border-bottom: 1px solid $border-color;
532
-
533
- &:hover {
534
- color: #000;
535
- background: $lighter-gray;
536
- }
537
- }
538
-
539
- > li:last-child {
540
- a {
541
- border-bottom: none;
542
- }
543
- }
544
-
545
- li ul > li a {
546
- padding-left: 2rem;
547
- font-weight: normal;
548
- }
549
-
550
- /* hide sub sub links on small screens*/
551
- li > ul li {
552
- display: none;
553
-
554
- @include breakpoint($medium) {
555
- display: block;
556
- }
557
- }
1
+ /* ==========================================================================
2
+ NAVIGATION
3
+ ========================================================================== */
4
+
5
+ /*
6
+ Breadcrumb navigation links
7
+ ========================================================================== */
8
+
9
+ .breadcrumbs {
10
+ @include container;
11
+ @include clearfix;
12
+ margin-top: 0;
13
+ margin-bottom: 0;
14
+ padding-left: 2em;
15
+ padding-right: 2em;
16
+ font-family: $sans-serif;
17
+ -webkit-animation: intro 0.3s both;
18
+ animation: intro 0.3s both;
19
+ -webkit-animation-delay: 0.30s;
20
+ animation-delay: 0.30s;
21
+
22
+ @include breakpoint($large) {
23
+ padding-left: 1em;
24
+ padding-right: 1em;
25
+ }
26
+
27
+ @include breakpoint($x-large) {
28
+ max-width: $x-large;
29
+ }
30
+
31
+ ol {
32
+ padding: 0;
33
+ list-style: none;
34
+ font-size: $type-size-6;
35
+
36
+ @include breakpoint($large) {
37
+ @include span(10 of 12 last);
38
+ }
39
+
40
+ @include breakpoint($x-large) {
41
+ @include prefix(0.5 of 12);
42
+ }
43
+ }
44
+
45
+ li {
46
+ display: inline;
47
+ }
48
+
49
+ .current {
50
+ font-weight: bold;
51
+ }
52
+ }
53
+
54
+
55
+ /*
56
+ Post pagination navigation links
57
+ ========================================================================== */
58
+
59
+ .pagination {
60
+ @include full();
61
+ @include clearfix();
62
+ margin-top: 1em;
63
+ padding-top: 1em;
64
+
65
+ ul {
66
+ margin: 0;
67
+ padding: 0;
68
+ list-style-type: none;
69
+ font-family: $sans-serif;
70
+ }
71
+
72
+ li {
73
+ display: block;
74
+ float: left;
75
+ margin-left: -1px;
76
+
77
+ a {
78
+ display: block;
79
+ margin-bottom: 0.25em;
80
+ padding: 0.5em 1em;
81
+ font-family: $sans-serif;
82
+ font-size: 14px;
83
+ font-weight: bold;
84
+ line-height: 1.5;
85
+ text-align: center;
86
+ text-decoration: none;
87
+ color: mix(#fff, $gray, 25%);
88
+ border: 1px solid $light-gray;
89
+ border-radius: 0;
90
+
91
+ &:hover {
92
+ color: $link-color-hover;
93
+ }
94
+
95
+ &.current {
96
+ color: #fff;
97
+ background: $primary-color;
98
+ }
99
+
100
+ &.disabled {
101
+ color: mix(#fff, $gray, 75%);
102
+ pointer-events: none;
103
+ cursor: not-allowed;
104
+ }
105
+ }
106
+
107
+ &:first-child {
108
+ margin-left: 0;
109
+
110
+ a {
111
+ border-top-left-radius: $border-radius;
112
+ border-bottom-left-radius: $border-radius;
113
+ }
114
+ }
115
+
116
+ &:last-child {
117
+ a {
118
+ border-top-right-radius: $border-radius;
119
+ border-bottom-right-radius: $border-radius;
120
+ }
121
+ }
122
+ }
123
+
124
+ /* next/previous buttons */
125
+ &--pager {
126
+ display: block;
127
+ padding: 1em 2em;
128
+ float: left;
129
+ width: 50%;
130
+ font-family: $sans-serif;
131
+ font-size: $type-size-5;
132
+ font-weight: bold;
133
+ text-align: center;
134
+ text-decoration: none;
135
+ color: $link-color;
136
+ border: 1px solid $light-gray;
137
+ border-radius: $border-radius;
138
+
139
+ &:hover {
140
+ color: $link-color-hover;
141
+ }
142
+
143
+ &:first-child {
144
+ border-top-right-radius: 0;
145
+ border-bottom-right-radius: 0;
146
+ }
147
+
148
+ &:last-child {
149
+ margin-left: -1px;
150
+ border-top-left-radius: 0;
151
+ border-bottom-left-radius: 0;
152
+ }
153
+
154
+ &.disabled {
155
+ color: mix(#fff, $gray, 75%);
156
+ pointer-events: none;
157
+ cursor: not-allowed;
158
+ }
159
+ }
160
+ }
161
+
162
+ .page__content + .pagination,
163
+ .page__meta + .pagination,
164
+ .page__share + .pagination,
165
+ .page__comments + .pagination {
166
+ margin-top: 2em;
167
+ padding-top: 2em;
168
+ border-top: 1px solid $border-color;
169
+ }
170
+
171
+
172
+ /*
173
+ Priority plus navigation
174
+ ========================================================================== */
175
+
176
+ .greedy-nav {
177
+ position: relative;
178
+ display: -webkit-box;
179
+ display: flex;
180
+ -webkit-box-align: center;
181
+ align-items: center;
182
+ background: $background-color;
183
+
184
+ a {
185
+ display: block;
186
+ margin: 0 1rem;
187
+ padding: 0.5rem 0;
188
+ color: $masthead-link-color;
189
+ text-decoration: none;
190
+
191
+ &:hover {
192
+ color: $masthead-link-color-hover;
193
+ }
194
+
195
+ &.site-title {
196
+ margin-left: 0;
197
+ }
198
+ }
199
+
200
+ button {
201
+ padding: 0 0.5rem;
202
+ align-self: stretch;
203
+ border: 0;
204
+ outline: none;
205
+ color: #fff;
206
+ background-color: $primary-color;
207
+ cursor: pointer;
208
+ }
209
+
210
+ .visible-links {
211
+ display: -webkit-box;
212
+ display: flex;
213
+ -webkit-box-pack: end;
214
+ justify-content: flex-end;
215
+ -webkit-box-flex: 1;
216
+ flex: 1;
217
+ padding-right: 2rem;
218
+ overflow: hidden;
219
+
220
+ li {
221
+ -webkit-box-flex: 0;
222
+ flex: none;
223
+
224
+ &:last-child {
225
+ a {
226
+ margin-right: 0;
227
+ }
228
+ }
229
+ }
230
+
231
+ a {
232
+ position: relative;
233
+
234
+ &:before {
235
+ content: "";
236
+ position: absolute;
237
+ left: 0;
238
+ bottom: 0;
239
+ height: 4px;
240
+ background: mix(#fff, $primary-color, 50%);
241
+ width: 100%;
242
+ -webkit-transition: $global-transition;
243
+ transition: $global-transition;
244
+ -webkit-transform: scaleX(0) translate3d(0, 0 , 0);
245
+ transform: scaleX(0) translate3d(0, 0 , 0); /* hide*/
246
+ }
247
+
248
+ &:hover:before {
249
+ -webkit-transform: scaleX(1);
250
+ -ms-transform: scaleX(1);
251
+ transform: scaleX(1); /* reveal*/
252
+ }
253
+ }
254
+ }
255
+
256
+ .hidden-links {
257
+ position: absolute;
258
+ top: 100%;
259
+ right: 0;
260
+ margin-top: 15px;
261
+ padding: 5px;
262
+ border: 1px solid $border-color;
263
+ border-radius: $border-radius;
264
+ background: #fff;
265
+ box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
266
+
267
+ &.hidden {
268
+ display: none;
269
+ }
270
+
271
+ a {
272
+ margin: 0;
273
+ padding: 10px 20px;
274
+ font-size: $type-size-5;
275
+
276
+ &:hover {
277
+ color: $masthead-link-color-hover;
278
+ background: mix(#fff, $primary-color, 75%);
279
+ }
280
+ }
281
+
282
+ &:before {
283
+ content: "";
284
+ position: absolute;
285
+ top: -11px;
286
+ right: 10px;
287
+ width: 0;
288
+ border-style: solid;
289
+ border-width: 0 10px 10px;
290
+ border-color: $border-color transparent;
291
+ display: block;
292
+ z-index: 0;
293
+ }
294
+
295
+ &:after {
296
+ content: "";
297
+ position: absolute;
298
+ top: -10px;
299
+ right: 10px;
300
+ width: 0;
301
+ border-style: solid;
302
+ border-width: 0 10px 10px;
303
+ border-color: #fff transparent;
304
+ display: block;
305
+ z-index: 1;
306
+ }
307
+
308
+ li {
309
+ display: block;
310
+ border-bottom: 1px solid $border-color;
311
+
312
+ &:last-child {
313
+ border-bottom: none;
314
+ }
315
+ }
316
+ }
317
+ }
318
+
319
+
320
+ /*
321
+ Navigation list
322
+ ========================================================================== */
323
+
324
+ .nav__list {
325
+ margin-bottom: 1.5em;
326
+
327
+ input[type="checkbox"],
328
+ label {
329
+ display: none;
330
+ }
331
+
332
+ @include breakpoint(max-width ($large - 1px)) {
333
+
334
+ label {
335
+ position: relative;
336
+ display: inline-block;
337
+ padding: 0.5em 2.5em 0.5em 1em;
338
+ color: $gray;
339
+ font-size: $type-size-6;
340
+ font-weight: bold;
341
+ border: 1px solid $light-gray;
342
+ border-radius: $border-radius;
343
+ z-index: 20;
344
+ -webkit-transition: 0.2s ease-out;
345
+ transition: 0.2s ease-out;
346
+ cursor: pointer;
347
+
348
+ &:before,
349
+ &:after {
350
+ content: '';
351
+ position: absolute;
352
+ right: 1em;
353
+ top: 1.25em;
354
+ width: 0.75em;
355
+ height: 0.125em;
356
+ line-height: 1;
357
+ background-color: $gray;
358
+ -webkit-transition: 0.2s ease-out;
359
+ transition: 0.2s ease-out;
360
+ }
361
+
362
+ &:after {
363
+ -webkit-transform: rotate(90deg);
364
+ -ms-transform: rotate(90deg);
365
+ transform: rotate(90deg);
366
+ }
367
+
368
+ &:hover {
369
+ color: #fff;
370
+ border-color: $gray;
371
+ background-color: mix(white, #000, 20%);
372
+
373
+ &:before,
374
+ &:after {
375
+ background-color: #fff;
376
+ }
377
+ }
378
+ }
379
+
380
+ /* selected*/
381
+ input:checked + label {
382
+ color: white;
383
+ background-color: mix(white, #000, 20%);
384
+
385
+ &:before,
386
+ &:after {
387
+ background-color: #fff;
388
+ }
389
+ }
390
+
391
+ /* on hover show expand*/
392
+ label:hover:after {
393
+ -webkit-transform: rotate(90deg);
394
+ -ms-transform: rotate(90deg);
395
+ transform: rotate(90deg);
396
+ }
397
+
398
+ input:checked + label:hover:after {
399
+ -webkit-transform: rotate(0);
400
+ -ms-transform: rotate(0);
401
+ transform: rotate(0);
402
+ }
403
+
404
+ ul {
405
+ margin-bottom: 1em;
406
+ }
407
+
408
+ a {
409
+ display: block;
410
+ padding: 0.25em 0;
411
+
412
+ @include breakpoint($large) {
413
+ padding-top: 0.125em;
414
+ padding-bottom: 0.125em;
415
+ }
416
+
417
+ &:hover {
418
+ text-decoration: underline;
419
+ }
420
+ }
421
+ }
422
+ }
423
+
424
+ .nav__list .nav__items {
425
+ margin: 0;
426
+ font-size: 1.25rem;
427
+
428
+ a {
429
+ color: inherit;
430
+ }
431
+
432
+ .active {
433
+ margin-left: -0.5em;
434
+ padding-left: 0.5em;
435
+ padding-right: 0.5em;
436
+ color: #fff;
437
+ font-weight: bold;
438
+ background: $primary-color;
439
+ border-radius: $border-radius;
440
+
441
+ &:hover {
442
+ color: #fff;
443
+ }
444
+ }
445
+
446
+ @include breakpoint(max-width ($large - 1px)) {
447
+ position: relative;
448
+ max-height: 0;
449
+ opacity: 0%;
450
+ overflow: hidden;
451
+ z-index: 10;
452
+ -webkit-transition: 0.3s ease-in-out;
453
+ transition: 0.3s ease-in-out;
454
+ -webkit-transform: translate(0, 10%);
455
+ -ms-transform: translate(0, 10%);
456
+ transform: translate(0, 10%);
457
+ }
458
+ }
459
+
460
+ @include breakpoint(max-width ($large - 1px)) {
461
+ .nav__list input:checked ~ .nav__items {
462
+ -webkit-transition: 0.5s ease-in-out;
463
+ transition: 0.5s ease-in-out;
464
+ max-height: 9999px; /* exaggerate max-height to accommodate tall lists*/
465
+ overflow: visible;
466
+ opacity: 1;
467
+ margin-top: 1em;
468
+ -webkit-transform: translate(0, 0);
469
+ -ms-transform: translate(0, 0);
470
+ transform: translate(0, 0);
471
+ }
472
+ }
473
+
474
+ .nav__title {
475
+ margin: 0;
476
+ padding: 0.5rem 1rem;
477
+ font-family: $sans-serif-narrow;
478
+ font-size: $type-size-5;
479
+ font-weight: bold;
480
+ }
481
+
482
+ .nav__sub-title {
483
+ display: block;
484
+ margin: 0.5rem 0;
485
+ padding: 0.5rem 0;
486
+ font-family: $sans-serif-narrow;
487
+ font-size: $type-size-6;
488
+ font-weight: bold;
489
+ text-transform: uppercase;
490
+ border-bottom: 1px solid $border-color;
491
+ }
492
+
493
+
494
+ /*
495
+ Table of contents navigation
496
+ ========================================================================== */
497
+
498
+ .toc {
499
+ font-family: $sans-serif-narrow;
500
+ color: $gray;
501
+ text-transform: uppercase;
502
+ letter-spacing: 1px;
503
+ background-color: #fff;
504
+ border: 1px solid $border-color;
505
+ border-radius: $border-radius;
506
+ box-shadow: $box-shadow;
507
+
508
+ .nav__title {
509
+ color: #fff;
510
+ font-size: $type-size-6;
511
+ background: $primary-color;
512
+ border-top-left-radius: $border-radius;
513
+ border-top-right-radius: $border-radius;
514
+ }
515
+ }
516
+
517
+ .toc__menu {
518
+ margin: 0;
519
+ padding: 0;
520
+ width: 100%;
521
+ list-style: none;
522
+ font-size: 0.8rem;
523
+
524
+ a {
525
+ display: block;
526
+ padding: 0.5rem 1rem;
527
+ color: $gray;
528
+ font-size: $type-size-7;
529
+ font-weight: bold;
530
+ line-height: 1.5;
531
+ border-bottom: 1px solid $border-color;
532
+
533
+ &:hover {
534
+ color: #000;
535
+ background: $lighter-gray;
536
+ }
537
+ }
538
+
539
+ > li:last-child {
540
+ a {
541
+ border-bottom: none;
542
+ }
543
+ }
544
+
545
+ li ul > li a {
546
+ padding-left: 2rem;
547
+ font-weight: normal;
548
+ }
549
+
550
+ /* hide sub sub links on small screens*/
551
+ li > ul li {
552
+ display: none;
553
+
554
+ @include breakpoint($medium) {
555
+ display: block;
556
+ }
557
+ }
558
558
  }