minimal-mistakes-jekyll 4.4.1 → 4.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/LICENSE.txt +20 -20
- data/README.md +160 -160
- data/_includes/analytics-providers/custom.html +2 -2
- data/_includes/analytics-providers/google-universal.html +9 -9
- data/_includes/analytics-providers/google.html +10 -10
- data/_includes/analytics.html +11 -11
- data/_includes/archive-single.html +37 -37
- data/_includes/author-profile-custom-links.html +6 -6
- data/_includes/author-profile.html +249 -241
- data/_includes/base_path +4 -4
- data/_includes/breadcrumbs.html +39 -39
- data/_includes/browser-upgrade.html +2 -2
- data/_includes/category-list.html +25 -25
- data/_includes/comment.html +21 -21
- data/_includes/comments-providers/custom.html +2 -2
- data/_includes/comments-providers/discourse.html +13 -13
- data/_includes/comments-providers/disqus.html +21 -21
- data/_includes/comments-providers/facebook.html +7 -7
- data/_includes/comments-providers/google-plus.html +1 -1
- data/_includes/comments-providers/scripts.html +15 -17
- data/_includes/comments-providers/staticman.html +41 -41
- data/_includes/comments.html +95 -83
- data/_includes/feature_row +49 -49
- data/_includes/figure +12 -12
- data/_includes/footer.html +25 -22
- data/_includes/footer/custom.html +2 -2
- data/_includes/gallery +46 -46
- data/_includes/group-by-array +46 -46
- data/_includes/head.html +33 -33
- data/_includes/head/custom.html +4 -4
- data/_includes/masthead.html +20 -20
- data/_includes/nav_list +46 -46
- data/_includes/page__hero.html +53 -53
- data/_includes/page__hero_video.html +4 -4
- data/_includes/page__taxonomy.html +6 -6
- data/_includes/paginator.html +69 -69
- data/_includes/post_pagination.html +13 -13
- data/_includes/read-time.html +14 -14
- data/_includes/scripts.html +4 -4
- data/_includes/seo.html +147 -147
- data/_includes/sidebar.html +22 -22
- data/_includes/social-share.html +13 -13
- data/_includes/tag-list.html +25 -25
- data/_includes/toc +6 -6
- data/_includes/video +11 -11
- data/_layouts/archive-taxonomy.html +14 -14
- data/_layouts/archive.html +25 -25
- data/_layouts/compress.html +10 -10
- data/_layouts/default.html +34 -34
- data/_layouts/home.html +11 -11
- data/_layouts/single.html +74 -74
- data/_layouts/splash.html +21 -21
- data/_sass/minimal-mistakes.scss +39 -39
- data/_sass/minimal-mistakes/_animations.scss +20 -20
- data/_sass/minimal-mistakes/_archive.scss +237 -237
- data/_sass/minimal-mistakes/_base.scss +314 -314
- data/_sass/minimal-mistakes/_buttons.scss +152 -152
- data/_sass/minimal-mistakes/_footer.scss +79 -79
- data/_sass/minimal-mistakes/_forms.scss +390 -390
- data/_sass/minimal-mistakes/_masthead.scss +76 -76
- data/_sass/minimal-mistakes/_mixins.scss +52 -52
- data/_sass/minimal-mistakes/_navigation.scss +551 -558
- data/_sass/minimal-mistakes/_notices.scss +98 -98
- data/_sass/minimal-mistakes/_page.scss +407 -407
- data/_sass/minimal-mistakes/_print.scss +237 -237
- data/_sass/minimal-mistakes/_reset.scss +186 -186
- data/_sass/minimal-mistakes/_sidebar.scss +230 -230
- data/_sass/minimal-mistakes/_syntax.scss +145 -145
- data/_sass/minimal-mistakes/_tables.scss +37 -37
- data/_sass/minimal-mistakes/_utilities.scss +517 -512
- data/_sass/minimal-mistakes/_variables.scss +129 -128
- data/_sass/minimal-mistakes/vendor/breakpoint/_breakpoint.scss +114 -114
- data/_sass/minimal-mistakes/vendor/breakpoint/_context.scss +94 -94
- data/_sass/minimal-mistakes/vendor/breakpoint/_helpers.scss +151 -151
- data/_sass/minimal-mistakes/vendor/breakpoint/_legacy-settings.scss +49 -49
- data/_sass/minimal-mistakes/vendor/breakpoint/_no-query.scss +15 -15
- data/_sass/minimal-mistakes/vendor/breakpoint/_parsers.scss +215 -215
- data/_sass/minimal-mistakes/vendor/breakpoint/_respond-to.scss +82 -82
- data/_sass/minimal-mistakes/vendor/breakpoint/_settings.scss +70 -70
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_double.scss +33 -33
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_query.scss +82 -82
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_resolution.scss +31 -31
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_single.scss +26 -26
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_triple.scss +36 -36
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default.scss +22 -22
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/single/_default.scss +13 -13
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss +18 -18
- data/_sass/minimal-mistakes/vendor/font-awesome/_animated.scss +34 -34
- data/_sass/minimal-mistakes/vendor/font-awesome/_bordered-pulled.scss +25 -25
- data/_sass/minimal-mistakes/vendor/font-awesome/_core.scss +12 -12
- data/_sass/minimal-mistakes/vendor/font-awesome/_fixed-width.scss +6 -6
- data/_sass/minimal-mistakes/vendor/font-awesome/_font-awesome.scss +18 -18
- data/_sass/minimal-mistakes/vendor/font-awesome/_icons.scss +789 -789
- data/_sass/minimal-mistakes/vendor/font-awesome/_larger.scss +13 -13
- data/_sass/minimal-mistakes/vendor/font-awesome/_list.scss +19 -19
- data/_sass/minimal-mistakes/vendor/font-awesome/_mixins.scss +60 -60
- data/_sass/minimal-mistakes/vendor/font-awesome/_path.scss +15 -15
- data/_sass/minimal-mistakes/vendor/font-awesome/_rotated-flipped.scss +20 -20
- data/_sass/minimal-mistakes/vendor/font-awesome/_screen-reader.scss +5 -5
- data/_sass/minimal-mistakes/vendor/font-awesome/_stacked.scss +20 -20
- data/_sass/minimal-mistakes/vendor/font-awesome/_variables.scss +800 -800
- data/_sass/minimal-mistakes/vendor/magnific-popup/_magnific-popup.scss +649 -649
- data/_sass/minimal-mistakes/vendor/magnific-popup/_settings.scss +45 -45
- data/_sass/minimal-mistakes/vendor/susy/_su.scss +4 -4
- data/_sass/minimal-mistakes/vendor/susy/_susy.scss +4 -4
- data/_sass/minimal-mistakes/vendor/susy/_susyone.scss +4 -4
- data/_sass/minimal-mistakes/vendor/susy/susy/_su.scss +7 -7
- data/_sass/minimal-mistakes/vendor/susy/susy/language/_susy.scss +24 -24
- data/_sass/minimal-mistakes/vendor/susy/susy/language/_susyone.scss +13 -13
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_background.scss +385 -385
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_bleed.scss +200 -200
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_box-sizing.scss +47 -47
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_breakpoint-plugin.scss +185 -185
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_container.scss +81 -81
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_context.scss +36 -36
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_gallery.scss +94 -94
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_grids.scss +64 -64
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_gutters.scss +154 -154
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_isolate.scss +77 -77
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_margins.scss +94 -94
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_padding.scss +74 -74
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_rows.scss +138 -138
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_settings.scss +216 -216
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_span.scss +163 -163
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_validation.scss +16 -16
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_background.scss +18 -18
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_functions.scss +377 -377
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_grid.scss +312 -312
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_isolation.scss +51 -51
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_margin.scss +93 -93
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_media.scss +105 -105
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_padding.scss +92 -92
- data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_settings.scss +60 -60
- data/_sass/minimal-mistakes/vendor/susy/susy/output/_float.scss +9 -9
- data/_sass/minimal-mistakes/vendor/susy/susy/output/_shared.scss +15 -15
- data/_sass/minimal-mistakes/vendor/susy/susy/output/_support.scss +9 -9
- data/_sass/minimal-mistakes/vendor/susy/susy/output/float/_container.scss +16 -16
- data/_sass/minimal-mistakes/vendor/susy/susy/output/float/_end.scss +40 -40
- data/_sass/minimal-mistakes/vendor/susy/susy/output/float/_isolate.scss +22 -22
- data/_sass/minimal-mistakes/vendor/susy/susy/output/float/_span.scss +35 -35
- data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_background.scss +26 -26
- data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_container.scss +21 -21
- data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_direction.scss +42 -42
- data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_inspect.scss +25 -25
- data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_margins.scss +23 -23
- data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_output.scss +14 -14
- data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_padding.scss +23 -23
- data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_background.scss +58 -58
- data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_box-sizing.scss +19 -19
- data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_clearfix.scss +18 -18
- data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_prefix.scss +19 -19
- data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_rem.scss +22 -22
- data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_support.scss +85 -85
- data/_sass/minimal-mistakes/vendor/susy/susy/su/_grid.scss +103 -103
- data/_sass/minimal-mistakes/vendor/susy/susy/su/_settings.scss +73 -73
- data/_sass/minimal-mistakes/vendor/susy/susy/su/_utilities.scss +111 -111
- data/_sass/minimal-mistakes/vendor/susy/susy/su/_validation.scss +57 -57
- data/assets/css/main.scss +6 -6
- data/assets/fonts/fontawesome-webfont.svg +2671 -2671
- data/assets/js/_main.js +72 -72
- data/assets/js/main.min.js +13 -13
- data/assets/js/plugins/jquery.fitvids.js +81 -81
- data/assets/js/plugins/jquery.greedy-navigation.js +77 -74
- data/assets/js/plugins/jquery.magnific-popup.js +2049 -2049
- data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
- data/assets/js/vendor/jquery/jquery-1.12.4.min.js +4 -4
- metadata +7 -7
@@ -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,53 +1,53 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
MIXINS
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
%tab-focus {
|
6
|
-
/* Default*/
|
7
|
-
outline: thin dotted $warning-color;
|
8
|
-
/* Webkit*/
|
9
|
-
outline: 5px auto $warning-color;
|
10
|
-
outline-offset: -2px;
|
11
|
-
}
|
12
|
-
|
13
|
-
/*
|
14
|
-
em function
|
15
|
-
========================================================================== */
|
16
|
-
|
17
|
-
@function em($target, $context: $doc-font-size) {
|
18
|
-
@return ($target / $context) * 1em;
|
19
|
-
}
|
20
|
-
|
21
|
-
|
22
|
-
/*
|
23
|
-
Bourbon clearfix
|
24
|
-
========================================================================== */
|
25
|
-
|
26
|
-
/*
|
27
|
-
* Provides an easy way to include a clearfix for containing floats.
|
28
|
-
* link http://cssmojo.com/latest_new_clearfix_so_far/
|
29
|
-
*
|
30
|
-
* example scss - Usage
|
31
|
-
*
|
32
|
-
* .element {
|
33
|
-
* @include clearfix;
|
34
|
-
* }
|
35
|
-
*
|
36
|
-
* example css - CSS Output
|
37
|
-
*
|
38
|
-
* .element::after {
|
39
|
-
* clear: both;
|
40
|
-
* content: "";
|
41
|
-
* display: table;
|
42
|
-
* }
|
43
|
-
*/
|
44
|
-
|
45
|
-
@mixin clearfix {
|
46
|
-
clear: both;
|
47
|
-
|
48
|
-
&::after {
|
49
|
-
clear: both;
|
50
|
-
content: "";
|
51
|
-
display: table;
|
52
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
MIXINS
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
%tab-focus {
|
6
|
+
/* Default*/
|
7
|
+
outline: thin dotted $warning-color;
|
8
|
+
/* Webkit*/
|
9
|
+
outline: 5px auto $warning-color;
|
10
|
+
outline-offset: -2px;
|
11
|
+
}
|
12
|
+
|
13
|
+
/*
|
14
|
+
em function
|
15
|
+
========================================================================== */
|
16
|
+
|
17
|
+
@function em($target, $context: $doc-font-size) {
|
18
|
+
@return ($target / $context) * 1em;
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
/*
|
23
|
+
Bourbon clearfix
|
24
|
+
========================================================================== */
|
25
|
+
|
26
|
+
/*
|
27
|
+
* Provides an easy way to include a clearfix for containing floats.
|
28
|
+
* link http://cssmojo.com/latest_new_clearfix_so_far/
|
29
|
+
*
|
30
|
+
* example scss - Usage
|
31
|
+
*
|
32
|
+
* .element {
|
33
|
+
* @include clearfix;
|
34
|
+
* }
|
35
|
+
*
|
36
|
+
* example css - CSS Output
|
37
|
+
*
|
38
|
+
* .element::after {
|
39
|
+
* clear: both;
|
40
|
+
* content: "";
|
41
|
+
* display: table;
|
42
|
+
* }
|
43
|
+
*/
|
44
|
+
|
45
|
+
@mixin clearfix {
|
46
|
+
clear: both;
|
47
|
+
|
48
|
+
&::after {
|
49
|
+
clear: both;
|
50
|
+
content: "";
|
51
|
+
display: table;
|
52
|
+
}
|
53
53
|
}
|
@@ -1,558 +1,551 @@
|
|
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:
|
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
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
font-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
display: none;
|
553
|
-
|
554
|
-
@include breakpoint($medium) {
|
555
|
-
display: block;
|
556
|
-
}
|
557
|
-
}
|
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: $navicon-link-color-hover;
|
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
|
+
font-weight: bold;
|
437
|
+
}
|
438
|
+
|
439
|
+
@include breakpoint(max-width ($large - 1px)) {
|
440
|
+
position: relative;
|
441
|
+
max-height: 0;
|
442
|
+
opacity: 0%;
|
443
|
+
overflow: hidden;
|
444
|
+
z-index: 10;
|
445
|
+
-webkit-transition: 0.3s ease-in-out;
|
446
|
+
transition: 0.3s ease-in-out;
|
447
|
+
-webkit-transform: translate(0, 10%);
|
448
|
+
-ms-transform: translate(0, 10%);
|
449
|
+
transform: translate(0, 10%);
|
450
|
+
}
|
451
|
+
}
|
452
|
+
|
453
|
+
@include breakpoint(max-width ($large - 1px)) {
|
454
|
+
.nav__list input:checked ~ .nav__items {
|
455
|
+
-webkit-transition: 0.5s ease-in-out;
|
456
|
+
transition: 0.5s ease-in-out;
|
457
|
+
max-height: 9999px; /* exaggerate max-height to accommodate tall lists*/
|
458
|
+
overflow: visible;
|
459
|
+
opacity: 1;
|
460
|
+
margin-top: 1em;
|
461
|
+
-webkit-transform: translate(0, 0);
|
462
|
+
-ms-transform: translate(0, 0);
|
463
|
+
transform: translate(0, 0);
|
464
|
+
}
|
465
|
+
}
|
466
|
+
|
467
|
+
.nav__title {
|
468
|
+
margin: 0;
|
469
|
+
padding: 0.5rem 1rem;
|
470
|
+
font-family: $sans-serif-narrow;
|
471
|
+
font-size: $type-size-5;
|
472
|
+
font-weight: bold;
|
473
|
+
}
|
474
|
+
|
475
|
+
.nav__sub-title {
|
476
|
+
display: block;
|
477
|
+
margin: 0.5rem 0;
|
478
|
+
padding: 0.5rem 0;
|
479
|
+
font-family: $sans-serif-narrow;
|
480
|
+
font-size: $type-size-6;
|
481
|
+
font-weight: bold;
|
482
|
+
text-transform: uppercase;
|
483
|
+
border-bottom: 1px solid $border-color;
|
484
|
+
}
|
485
|
+
|
486
|
+
|
487
|
+
/*
|
488
|
+
Table of contents navigation
|
489
|
+
========================================================================== */
|
490
|
+
|
491
|
+
.toc {
|
492
|
+
font-family: $sans-serif-narrow;
|
493
|
+
color: $gray;
|
494
|
+
text-transform: uppercase;
|
495
|
+
letter-spacing: 1px;
|
496
|
+
background-color: #fff;
|
497
|
+
border: 1px solid $border-color;
|
498
|
+
border-radius: $border-radius;
|
499
|
+
box-shadow: $box-shadow;
|
500
|
+
|
501
|
+
.nav__title {
|
502
|
+
color: #fff;
|
503
|
+
font-size: $type-size-6;
|
504
|
+
background: $primary-color;
|
505
|
+
border-top-left-radius: $border-radius;
|
506
|
+
border-top-right-radius: $border-radius;
|
507
|
+
}
|
508
|
+
}
|
509
|
+
|
510
|
+
.toc__menu {
|
511
|
+
margin: 0;
|
512
|
+
padding: 0;
|
513
|
+
width: 100%;
|
514
|
+
list-style: none;
|
515
|
+
font-size: 0.8rem;
|
516
|
+
|
517
|
+
a {
|
518
|
+
display: block;
|
519
|
+
padding: 0.5rem 1rem;
|
520
|
+
color: $gray;
|
521
|
+
font-size: $type-size-7;
|
522
|
+
font-weight: bold;
|
523
|
+
line-height: 1.5;
|
524
|
+
border-bottom: 1px solid $border-color;
|
525
|
+
|
526
|
+
&:hover {
|
527
|
+
color: #000;
|
528
|
+
background: $lighter-gray;
|
529
|
+
}
|
530
|
+
}
|
531
|
+
|
532
|
+
> li:last-child {
|
533
|
+
a {
|
534
|
+
border-bottom: none;
|
535
|
+
}
|
536
|
+
}
|
537
|
+
|
538
|
+
li ul > li a {
|
539
|
+
padding-left: 2rem;
|
540
|
+
font-weight: normal;
|
541
|
+
}
|
542
|
+
|
543
|
+
/* hide sub sub links on small screens*/
|
544
|
+
li > ul li {
|
545
|
+
display: none;
|
546
|
+
|
547
|
+
@include breakpoint($medium) {
|
548
|
+
display: block;
|
549
|
+
}
|
550
|
+
}
|
551
|
+
}
|