minimal-mistakes-jekyll 4.6.0 → 4.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/LICENSE.txt +59 -21
- data/README.md +217 -160
- data/_data/navigation.yml +11 -11
- data/_data/ui-text.yml +931 -888
- 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 -249
- 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 +22 -22
- data/_includes/comments-providers/custom.html +2 -2
- data/_includes/comments-providers/discourse.html +13 -13
- data/_includes/comments-providers/facebook.html +7 -7
- data/_includes/comments-providers/google-plus.html +1 -1
- data/_includes/comments-providers/scripts.html +17 -15
- data/_includes/comments-providers/staticman.html +41 -41
- data/_includes/comments-providers/staticman_v2.html +42 -0
- data/_includes/comments.html +168 -96
- data/_includes/feature_row +49 -49
- data/_includes/figure +12 -12
- data/_includes/footer.html +25 -25
- data/_includes/footer/custom.html +2 -2
- data/_includes/gallery +46 -46
- data/_includes/group-by-array +46 -46
- data/_includes/head.html +42 -42
- data/_includes/head/custom.html +4 -4
- data/_includes/masthead.html +23 -20
- data/_includes/nav_list +46 -46
- 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 +15 -15
- data/_includes/seo.html +162 -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/toc.html +75 -0
- 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 +1 -1
- data/_layouts/home.html +11 -11
- data/_layouts/single.html +92 -84
- data/_layouts/splash.html +21 -21
- data/_sass/minimal-mistakes.scss +1 -1
- data/_sass/minimal-mistakes/_animations.scss +20 -20
- data/_sass/minimal-mistakes/_archive.scss +317 -317
- data/_sass/minimal-mistakes/_base.scss +315 -315
- data/_sass/minimal-mistakes/_buttons.scss +97 -97
- data/_sass/minimal-mistakes/_footer.scss +82 -82
- data/_sass/minimal-mistakes/_forms.scss +399 -389
- data/_sass/minimal-mistakes/_masthead.scss +82 -82
- data/_sass/minimal-mistakes/_mixins.scss +91 -91
- data/_sass/minimal-mistakes/_navigation.scss +552 -552
- data/_sass/minimal-mistakes/_notices.scss +99 -99
- data/_sass/minimal-mistakes/_page.scss +430 -430
- data/_sass/minimal-mistakes/_reset.scss +186 -186
- data/_sass/minimal-mistakes/_sidebar.scss +262 -262
- data/_sass/minimal-mistakes/_syntax.scss +286 -146
- data/_sass/minimal-mistakes/_tables.scss +36 -36
- data/_sass/minimal-mistakes/_utilities.scss +519 -519
- data/_sass/minimal-mistakes/_variables.scss +137 -137
- data/_sass/minimal-mistakes/skins/_air.scss +22 -22
- data/_sass/minimal-mistakes/skins/_aqua.scss +30 -0
- data/_sass/minimal-mistakes/skins/_contrast.scss +33 -33
- data/_sass/minimal-mistakes/skins/_dark.scss +23 -23
- data/_sass/minimal-mistakes/skins/_default.scss +5 -5
- data/_sass/minimal-mistakes/skins/_dirt.scss +14 -14
- data/_sass/minimal-mistakes/skins/_mint.scss +22 -22
- data/_sass/minimal-mistakes/skins/_neon.scss +35 -0
- data/_sass/minimal-mistakes/skins/_plum.scss +42 -0
- data/_sass/minimal-mistakes/skins/_sunrise.scss +25 -25
- 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/_susy-prefix.scss +13 -13
- data/_sass/minimal-mistakes/vendor/susy/_susy.scss +5 -5
- data/_sass/minimal-mistakes/vendor/susy/plugins/_svg-grid.scss +5 -5
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_prefix.scss +7 -7
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -114
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -67
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -14
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -18
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -133
- data/_sass/minimal-mistakes/vendor/susy/susy/_api.scss +318 -318
- data/_sass/minimal-mistakes/vendor/susy/susy/_normalize.scss +261 -261
- data/_sass/minimal-mistakes/vendor/susy/susy/_parse.scss +163 -163
- data/_sass/minimal-mistakes/vendor/susy/susy/_settings.scss +329 -329
- data/_sass/minimal-mistakes/vendor/susy/susy/_su-math.scss +441 -441
- data/_sass/minimal-mistakes/vendor/susy/susy/_su-validate.scss +213 -213
- data/_sass/minimal-mistakes/vendor/susy/susy/_syntax-helpers.scss +191 -191
- data/_sass/minimal-mistakes/vendor/susy/susy/_unprefix.scss +56 -56
- data/_sass/minimal-mistakes/vendor/susy/susy/_utilities.scss +167 -167
- data/assets/css/main.scss +7 -7
- data/assets/fonts/fontawesome-webfont.svg +2671 -2671
- data/assets/js/_main.js +72 -72
- data/assets/js/main.min.js +1 -1
- data/assets/js/plugins/jquery.fitvids.js +81 -81
- data/assets/js/plugins/jquery.greedy-navigation.js +77 -77
- metadata +8 -3
@@ -1,83 +1,83 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
MASTHEAD
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
.masthead {
|
6
|
-
position: relative;
|
7
|
-
border-bottom: 1px solid $border-color;
|
8
|
-
-webkit-animation: $intro-transition;
|
9
|
-
animation: $intro-transition;
|
10
|
-
-webkit-animation-delay: 0.15s;
|
11
|
-
animation-delay: 0.15s;
|
12
|
-
z-index: 20;
|
13
|
-
|
14
|
-
&__inner-wrap {
|
15
|
-
@include clearfix;
|
16
|
-
margin-left: auto;
|
17
|
-
margin-right: auto;
|
18
|
-
padding: 1em;
|
19
|
-
max-width: 100%;
|
20
|
-
display: -webkit-box;
|
21
|
-
display: flex;
|
22
|
-
-webkit-box-pack: justify;
|
23
|
-
justify-content: space-between;
|
24
|
-
font-family: $sans-serif-narrow;
|
25
|
-
|
26
|
-
@include breakpoint($x-large) {
|
27
|
-
max-width: $x-large;
|
28
|
-
}
|
29
|
-
|
30
|
-
nav {
|
31
|
-
z-index: 10;
|
32
|
-
}
|
33
|
-
|
34
|
-
a {
|
35
|
-
text-decoration: none;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
.site-title {
|
41
|
-
display: -webkit-box;
|
42
|
-
display: flex;
|
43
|
-
padding: 0.5rem 0;
|
44
|
-
align-self: stretch;
|
45
|
-
-webkit-box-align: center;
|
46
|
-
align-items: center;
|
47
|
-
font-weight: bold;
|
48
|
-
z-index: 20;
|
49
|
-
}
|
50
|
-
|
51
|
-
.masthead__menu {
|
52
|
-
float: left;
|
53
|
-
margin-left: 0;
|
54
|
-
margin-right: 0;
|
55
|
-
width: 100%;
|
56
|
-
clear: both;
|
57
|
-
|
58
|
-
.site-nav {
|
59
|
-
margin-left: 0;
|
60
|
-
|
61
|
-
@include breakpoint($small) {
|
62
|
-
float: right;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
ul {
|
67
|
-
margin: 0;
|
68
|
-
padding: 0;
|
69
|
-
clear: both;
|
70
|
-
list-style-type: none;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
.masthead__menu-item {
|
75
|
-
display: block;
|
76
|
-
list-style-type: none;
|
77
|
-
white-space: nowrap;
|
78
|
-
|
79
|
-
&--lg {
|
80
|
-
padding-right: 2em;
|
81
|
-
font-weight: 700;
|
82
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
MASTHEAD
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.masthead {
|
6
|
+
position: relative;
|
7
|
+
border-bottom: 1px solid $border-color;
|
8
|
+
-webkit-animation: $intro-transition;
|
9
|
+
animation: $intro-transition;
|
10
|
+
-webkit-animation-delay: 0.15s;
|
11
|
+
animation-delay: 0.15s;
|
12
|
+
z-index: 20;
|
13
|
+
|
14
|
+
&__inner-wrap {
|
15
|
+
@include clearfix;
|
16
|
+
margin-left: auto;
|
17
|
+
margin-right: auto;
|
18
|
+
padding: 1em;
|
19
|
+
max-width: 100%;
|
20
|
+
display: -webkit-box;
|
21
|
+
display: flex;
|
22
|
+
-webkit-box-pack: justify;
|
23
|
+
justify-content: space-between;
|
24
|
+
font-family: $sans-serif-narrow;
|
25
|
+
|
26
|
+
@include breakpoint($x-large) {
|
27
|
+
max-width: $x-large;
|
28
|
+
}
|
29
|
+
|
30
|
+
nav {
|
31
|
+
z-index: 10;
|
32
|
+
}
|
33
|
+
|
34
|
+
a {
|
35
|
+
text-decoration: none;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
.site-title {
|
41
|
+
display: -webkit-box;
|
42
|
+
display: flex;
|
43
|
+
padding: 0.5rem 0;
|
44
|
+
align-self: stretch;
|
45
|
+
-webkit-box-align: center;
|
46
|
+
align-items: center;
|
47
|
+
font-weight: bold;
|
48
|
+
z-index: 20;
|
49
|
+
}
|
50
|
+
|
51
|
+
.masthead__menu {
|
52
|
+
float: left;
|
53
|
+
margin-left: 0;
|
54
|
+
margin-right: 0;
|
55
|
+
width: 100%;
|
56
|
+
clear: both;
|
57
|
+
|
58
|
+
.site-nav {
|
59
|
+
margin-left: 0;
|
60
|
+
|
61
|
+
@include breakpoint($small) {
|
62
|
+
float: right;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
ul {
|
67
|
+
margin: 0;
|
68
|
+
padding: 0;
|
69
|
+
clear: both;
|
70
|
+
list-style-type: none;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
.masthead__menu-item {
|
75
|
+
display: block;
|
76
|
+
list-style-type: none;
|
77
|
+
white-space: nowrap;
|
78
|
+
|
79
|
+
&--lg {
|
80
|
+
padding-right: 2em;
|
81
|
+
font-weight: 700;
|
82
|
+
}
|
83
83
|
}
|
@@ -1,92 +1,92 @@
|
|
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
|
-
}
|
54
|
-
|
55
|
-
/*
|
56
|
-
Compass YIQ Color Contrast
|
57
|
-
https://github.com/easy-designs/yiq-color-contrast
|
58
|
-
========================================================================== */
|
59
|
-
|
60
|
-
@function yiq-is-light(
|
61
|
-
$color,
|
62
|
-
$threshold: $yiq-contrasted-threshold
|
63
|
-
) {
|
64
|
-
$red: red($color);
|
65
|
-
$green: green($color);
|
66
|
-
$blue: blue($color);
|
67
|
-
|
68
|
-
$yiq: (($red*299)+($green*587)+($blue*114))/1000;
|
69
|
-
|
70
|
-
@if $yiq-debug { @debug $yiq, $threshold; }
|
71
|
-
|
72
|
-
@return if($yiq >= $threshold, true, false);
|
73
|
-
}
|
74
|
-
|
75
|
-
@function yiq-contrast-color(
|
76
|
-
$color,
|
77
|
-
$dark: $yiq-contrasted-dark-default,
|
78
|
-
$light: $yiq-contrasted-light-default,
|
79
|
-
$threshold: $yiq-contrasted-threshold
|
80
|
-
) {
|
81
|
-
@return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
|
82
|
-
}
|
83
|
-
|
84
|
-
@mixin yiq-contrasted(
|
85
|
-
$background-color,
|
86
|
-
$dark: $yiq-contrasted-dark-default,
|
87
|
-
$light: $yiq-contrasted-light-default,
|
88
|
-
$threshold: $yiq-contrasted-threshold
|
89
|
-
) {
|
90
|
-
background-color: $background-color;
|
91
|
-
color: yiq-contrast-color($background-color, $dark, $light, $threshold);
|
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
|
+
}
|
54
|
+
|
55
|
+
/*
|
56
|
+
Compass YIQ Color Contrast
|
57
|
+
https://github.com/easy-designs/yiq-color-contrast
|
58
|
+
========================================================================== */
|
59
|
+
|
60
|
+
@function yiq-is-light(
|
61
|
+
$color,
|
62
|
+
$threshold: $yiq-contrasted-threshold
|
63
|
+
) {
|
64
|
+
$red: red($color);
|
65
|
+
$green: green($color);
|
66
|
+
$blue: blue($color);
|
67
|
+
|
68
|
+
$yiq: (($red*299)+($green*587)+($blue*114))/1000;
|
69
|
+
|
70
|
+
@if $yiq-debug { @debug $yiq, $threshold; }
|
71
|
+
|
72
|
+
@return if($yiq >= $threshold, true, false);
|
73
|
+
}
|
74
|
+
|
75
|
+
@function yiq-contrast-color(
|
76
|
+
$color,
|
77
|
+
$dark: $yiq-contrasted-dark-default,
|
78
|
+
$light: $yiq-contrasted-light-default,
|
79
|
+
$threshold: $yiq-contrasted-threshold
|
80
|
+
) {
|
81
|
+
@return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
|
82
|
+
}
|
83
|
+
|
84
|
+
@mixin yiq-contrasted(
|
85
|
+
$background-color,
|
86
|
+
$dark: $yiq-contrasted-dark-default,
|
87
|
+
$light: $yiq-contrasted-light-default,
|
88
|
+
$threshold: $yiq-contrasted-threshold
|
89
|
+
) {
|
90
|
+
background-color: $background-color;
|
91
|
+
color: yiq-contrast-color($background-color, $dark, $light, $threshold);
|
92
92
|
}
|
@@ -1,552 +1,552 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
NAVIGATION
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
/*
|
6
|
-
Breadcrumb navigation links
|
7
|
-
========================================================================== */
|
8
|
-
|
9
|
-
.breadcrumbs {
|
10
|
-
@include clearfix;
|
11
|
-
margin: 0 auto;
|
12
|
-
max-width: 100%;
|
13
|
-
padding-left: 2em;
|
14
|
-
padding-right: 2em;
|
15
|
-
font-family: $sans-serif;
|
16
|
-
-webkit-animation: $intro-transition;
|
17
|
-
animation: $intro-transition;
|
18
|
-
-webkit-animation-delay: 0.30s;
|
19
|
-
animation-delay: 0.30s;
|
20
|
-
|
21
|
-
@include breakpoint($large) {
|
22
|
-
padding-left: 1em;
|
23
|
-
padding-right: 1em;
|
24
|
-
}
|
25
|
-
|
26
|
-
@include breakpoint($x-large) {
|
27
|
-
max-width: $x-large;
|
28
|
-
}
|
29
|
-
|
30
|
-
ol {
|
31
|
-
padding: 0;
|
32
|
-
list-style: none;
|
33
|
-
font-size: $type-size-6;
|
34
|
-
|
35
|
-
@include breakpoint($large) {
|
36
|
-
float: right;
|
37
|
-
width: span(10 of 12);
|
38
|
-
}
|
39
|
-
|
40
|
-
@include breakpoint($x-large) {
|
41
|
-
padding-left: gutter(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 clearfix();
|
61
|
-
float: left;
|
62
|
-
margin-top: 1em;
|
63
|
-
padding-top: 1em;
|
64
|
-
width: 100%;
|
65
|
-
|
66
|
-
ul {
|
67
|
-
margin: 0;
|
68
|
-
padding: 0;
|
69
|
-
list-style-type: none;
|
70
|
-
font-family: $sans-serif;
|
71
|
-
}
|
72
|
-
|
73
|
-
li {
|
74
|
-
display: block;
|
75
|
-
float: left;
|
76
|
-
margin-left: -1px;
|
77
|
-
|
78
|
-
a {
|
79
|
-
display: block;
|
80
|
-
margin-bottom: 0.25em;
|
81
|
-
padding: 0.5em 1em;
|
82
|
-
font-family: $sans-serif;
|
83
|
-
font-size: 14px;
|
84
|
-
font-weight: bold;
|
85
|
-
line-height: 1.5;
|
86
|
-
text-align: center;
|
87
|
-
text-decoration: none;
|
88
|
-
color: $muted-text-color;
|
89
|
-
border: 1px solid mix(#000, $border-color, 25%);
|
90
|
-
border-radius: 0;
|
91
|
-
|
92
|
-
&:hover {
|
93
|
-
color: $link-color-hover;
|
94
|
-
}
|
95
|
-
|
96
|
-
&.current,
|
97
|
-
&.current.disabled {
|
98
|
-
color: #fff;
|
99
|
-
background: $primary-color;
|
100
|
-
}
|
101
|
-
|
102
|
-
&.disabled {
|
103
|
-
color: rgba($muted-text-color, 0.5);
|
104
|
-
pointer-events: none;
|
105
|
-
cursor: not-allowed;
|
106
|
-
}
|
107
|
-
}
|
108
|
-
|
109
|
-
&:first-child {
|
110
|
-
margin-left: 0;
|
111
|
-
|
112
|
-
a {
|
113
|
-
border-top-left-radius: $border-radius;
|
114
|
-
border-bottom-left-radius: $border-radius;
|
115
|
-
}
|
116
|
-
}
|
117
|
-
|
118
|
-
&:last-child {
|
119
|
-
a {
|
120
|
-
border-top-right-radius: $border-radius;
|
121
|
-
border-bottom-right-radius: $border-radius;
|
122
|
-
}
|
123
|
-
}
|
124
|
-
}
|
125
|
-
|
126
|
-
/* next/previous buttons */
|
127
|
-
&--pager {
|
128
|
-
display: block;
|
129
|
-
padding: 1em 2em;
|
130
|
-
float: left;
|
131
|
-
width: 50%;
|
132
|
-
font-family: $sans-serif;
|
133
|
-
font-size: $type-size-5;
|
134
|
-
font-weight: bold;
|
135
|
-
text-align: center;
|
136
|
-
text-decoration: none;
|
137
|
-
color: $muted-text-color;
|
138
|
-
border: 1px solid mix(#000, $border-color, 25%);
|
139
|
-
border-radius: $border-radius;
|
140
|
-
|
141
|
-
&:hover {
|
142
|
-
@include yiq-contrasted($muted-text-color);
|
143
|
-
}
|
144
|
-
|
145
|
-
&:first-child {
|
146
|
-
border-top-right-radius: 0;
|
147
|
-
border-bottom-right-radius: 0;
|
148
|
-
}
|
149
|
-
|
150
|
-
&:last-child {
|
151
|
-
margin-left: -1px;
|
152
|
-
border-top-left-radius: 0;
|
153
|
-
border-bottom-left-radius: 0;
|
154
|
-
}
|
155
|
-
|
156
|
-
&.disabled {
|
157
|
-
color: rgba($muted-text-color, 0.5);
|
158
|
-
pointer-events: none;
|
159
|
-
cursor: not-allowed;
|
160
|
-
}
|
161
|
-
}
|
162
|
-
}
|
163
|
-
|
164
|
-
.page__content + .pagination,
|
165
|
-
.page__meta + .pagination,
|
166
|
-
.page__share + .pagination,
|
167
|
-
.page__comments + .pagination {
|
168
|
-
margin-top: 2em;
|
169
|
-
padding-top: 2em;
|
170
|
-
border-top: 1px solid $border-color;
|
171
|
-
}
|
172
|
-
|
173
|
-
|
174
|
-
/*
|
175
|
-
Priority plus navigation
|
176
|
-
========================================================================== */
|
177
|
-
|
178
|
-
.greedy-nav {
|
179
|
-
position: relative;
|
180
|
-
display: -webkit-box;
|
181
|
-
display: flex;
|
182
|
-
-webkit-box-align: center;
|
183
|
-
align-items: center;
|
184
|
-
background: $background-color;
|
185
|
-
|
186
|
-
a {
|
187
|
-
display: block;
|
188
|
-
margin: 0 1rem;
|
189
|
-
padding: 0.5rem 0;
|
190
|
-
color: $masthead-link-color;
|
191
|
-
text-decoration: none;
|
192
|
-
|
193
|
-
&:hover {
|
194
|
-
color: $masthead-link-color-hover;
|
195
|
-
}
|
196
|
-
|
197
|
-
&.site-title {
|
198
|
-
margin-left: 0;
|
199
|
-
}
|
200
|
-
}
|
201
|
-
|
202
|
-
button {
|
203
|
-
padding: 0 0.5rem;
|
204
|
-
align-self: stretch;
|
205
|
-
border: 0;
|
206
|
-
outline: none;
|
207
|
-
color: #fff;
|
208
|
-
background-color: $primary-color;
|
209
|
-
cursor: pointer;
|
210
|
-
}
|
211
|
-
|
212
|
-
.visible-links {
|
213
|
-
display: -webkit-box;
|
214
|
-
display: flex;
|
215
|
-
-webkit-box-pack: end;
|
216
|
-
justify-content: flex-end;
|
217
|
-
-webkit-box-flex: 1;
|
218
|
-
flex: 1;
|
219
|
-
padding-right: 2rem;
|
220
|
-
overflow: hidden;
|
221
|
-
|
222
|
-
li {
|
223
|
-
-webkit-box-flex: 0;
|
224
|
-
flex: none;
|
225
|
-
|
226
|
-
&:last-child {
|
227
|
-
a {
|
228
|
-
margin-right: 0;
|
229
|
-
}
|
230
|
-
}
|
231
|
-
}
|
232
|
-
|
233
|
-
a {
|
234
|
-
position: relative;
|
235
|
-
|
236
|
-
&:before {
|
237
|
-
content: "";
|
238
|
-
position: absolute;
|
239
|
-
left: 0;
|
240
|
-
bottom: 0;
|
241
|
-
height: 4px;
|
242
|
-
background: $primary-color;
|
243
|
-
width: 100%;
|
244
|
-
-webkit-transition: $global-transition;
|
245
|
-
transition: $global-transition;
|
246
|
-
-webkit-transform: scaleX(0) translate3d(0, 0 , 0);
|
247
|
-
transform: scaleX(0) translate3d(0, 0 , 0); /* hide*/
|
248
|
-
}
|
249
|
-
|
250
|
-
&:hover:before {
|
251
|
-
-webkit-transform: scaleX(1);
|
252
|
-
-ms-transform: scaleX(1);
|
253
|
-
transform: scaleX(1); /* reveal*/
|
254
|
-
}
|
255
|
-
}
|
256
|
-
}
|
257
|
-
|
258
|
-
.hidden-links {
|
259
|
-
position: absolute;
|
260
|
-
top: 100%;
|
261
|
-
right: 0;
|
262
|
-
margin-top: 15px;
|
263
|
-
padding: 5px;
|
264
|
-
border: 1px solid $border-color;
|
265
|
-
border-radius: $border-radius;
|
266
|
-
background: $background-color;
|
267
|
-
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
268
|
-
|
269
|
-
&.hidden {
|
270
|
-
display: none;
|
271
|
-
}
|
272
|
-
|
273
|
-
a {
|
274
|
-
margin: 0;
|
275
|
-
padding: 10px 20px;
|
276
|
-
font-size: $type-size-5;
|
277
|
-
|
278
|
-
&:hover {
|
279
|
-
color: $masthead-link-color-hover;
|
280
|
-
background: $navicon-link-color-hover;
|
281
|
-
}
|
282
|
-
}
|
283
|
-
|
284
|
-
&:before {
|
285
|
-
content: "";
|
286
|
-
position: absolute;
|
287
|
-
top: -11px;
|
288
|
-
right: 10px;
|
289
|
-
width: 0;
|
290
|
-
border-style: solid;
|
291
|
-
border-width: 0 10px 10px;
|
292
|
-
border-color: $border-color transparent;
|
293
|
-
display: block;
|
294
|
-
z-index: 0;
|
295
|
-
}
|
296
|
-
|
297
|
-
&:after {
|
298
|
-
content: "";
|
299
|
-
position: absolute;
|
300
|
-
top: -10px;
|
301
|
-
right: 10px;
|
302
|
-
width: 0;
|
303
|
-
border-style: solid;
|
304
|
-
border-width: 0 10px 10px;
|
305
|
-
border-color: $background-color transparent;
|
306
|
-
display: block;
|
307
|
-
z-index: 1;
|
308
|
-
}
|
309
|
-
|
310
|
-
li {
|
311
|
-
display: block;
|
312
|
-
border-bottom: 1px solid $border-color;
|
313
|
-
|
314
|
-
&:last-child {
|
315
|
-
border-bottom: none;
|
316
|
-
}
|
317
|
-
}
|
318
|
-
}
|
319
|
-
}
|
320
|
-
|
321
|
-
|
322
|
-
/*
|
323
|
-
Navigation list
|
324
|
-
========================================================================== */
|
325
|
-
|
326
|
-
.nav__list {
|
327
|
-
margin-bottom: 1.5em;
|
328
|
-
|
329
|
-
input[type="checkbox"],
|
330
|
-
label {
|
331
|
-
display: none;
|
332
|
-
}
|
333
|
-
|
334
|
-
@include breakpoint(max-width ($large - 1px)) {
|
335
|
-
|
336
|
-
label {
|
337
|
-
position: relative;
|
338
|
-
display: inline-block;
|
339
|
-
padding: 0.5em 2.5em 0.5em 1em;
|
340
|
-
color: $gray;
|
341
|
-
font-size: $type-size-6;
|
342
|
-
font-weight: bold;
|
343
|
-
border: 1px solid $light-gray;
|
344
|
-
border-radius: $border-radius;
|
345
|
-
z-index: 20;
|
346
|
-
-webkit-transition: 0.2s ease-out;
|
347
|
-
transition: 0.2s ease-out;
|
348
|
-
cursor: pointer;
|
349
|
-
|
350
|
-
&:before,
|
351
|
-
&:after {
|
352
|
-
content: '';
|
353
|
-
position: absolute;
|
354
|
-
right: 1em;
|
355
|
-
top: 1.25em;
|
356
|
-
width: 0.75em;
|
357
|
-
height: 0.125em;
|
358
|
-
line-height: 1;
|
359
|
-
background-color: $gray;
|
360
|
-
-webkit-transition: 0.2s ease-out;
|
361
|
-
transition: 0.2s ease-out;
|
362
|
-
}
|
363
|
-
|
364
|
-
&:after {
|
365
|
-
-webkit-transform: rotate(90deg);
|
366
|
-
-ms-transform: rotate(90deg);
|
367
|
-
transform: rotate(90deg);
|
368
|
-
}
|
369
|
-
|
370
|
-
&:hover {
|
371
|
-
color: #fff;
|
372
|
-
border-color: $gray;
|
373
|
-
background-color: mix(white, #000, 20%);
|
374
|
-
|
375
|
-
&:before,
|
376
|
-
&:after {
|
377
|
-
background-color: #fff;
|
378
|
-
}
|
379
|
-
}
|
380
|
-
}
|
381
|
-
|
382
|
-
/* selected*/
|
383
|
-
input:checked + label {
|
384
|
-
color: white;
|
385
|
-
background-color: mix(white, #000, 20%);
|
386
|
-
|
387
|
-
&:before,
|
388
|
-
&:after {
|
389
|
-
background-color: #fff;
|
390
|
-
}
|
391
|
-
}
|
392
|
-
|
393
|
-
/* on hover show expand*/
|
394
|
-
label:hover:after {
|
395
|
-
-webkit-transform: rotate(90deg);
|
396
|
-
-ms-transform: rotate(90deg);
|
397
|
-
transform: rotate(90deg);
|
398
|
-
}
|
399
|
-
|
400
|
-
input:checked + label:hover:after {
|
401
|
-
-webkit-transform: rotate(0);
|
402
|
-
-ms-transform: rotate(0);
|
403
|
-
transform: rotate(0);
|
404
|
-
}
|
405
|
-
|
406
|
-
ul {
|
407
|
-
margin-bottom: 1em;
|
408
|
-
}
|
409
|
-
|
410
|
-
a {
|
411
|
-
display: block;
|
412
|
-
padding: 0.25em 0;
|
413
|
-
|
414
|
-
@include breakpoint($large) {
|
415
|
-
padding-top: 0.125em;
|
416
|
-
padding-bottom: 0.125em;
|
417
|
-
}
|
418
|
-
|
419
|
-
&:hover {
|
420
|
-
text-decoration: underline;
|
421
|
-
}
|
422
|
-
}
|
423
|
-
}
|
424
|
-
}
|
425
|
-
|
426
|
-
.nav__list .nav__items {
|
427
|
-
margin: 0;
|
428
|
-
font-size: 1.25rem;
|
429
|
-
|
430
|
-
a {
|
431
|
-
color: inherit;
|
432
|
-
}
|
433
|
-
|
434
|
-
.active {
|
435
|
-
margin-left: -0.5em;
|
436
|
-
padding-left: 0.5em;
|
437
|
-
padding-right: 0.5em;
|
438
|
-
font-weight: bold;
|
439
|
-
}
|
440
|
-
|
441
|
-
@include breakpoint(max-width ($large - 1px)) {
|
442
|
-
position: relative;
|
443
|
-
max-height: 0;
|
444
|
-
opacity: 0%;
|
445
|
-
overflow: hidden;
|
446
|
-
z-index: 10;
|
447
|
-
-webkit-transition: 0.3s ease-in-out;
|
448
|
-
transition: 0.3s ease-in-out;
|
449
|
-
-webkit-transform: translate(0, 10%);
|
450
|
-
-ms-transform: translate(0, 10%);
|
451
|
-
transform: translate(0, 10%);
|
452
|
-
}
|
453
|
-
}
|
454
|
-
|
455
|
-
@include breakpoint(max-width ($large - 1px)) {
|
456
|
-
.nav__list input:checked ~ .nav__items {
|
457
|
-
-webkit-transition: 0.5s ease-in-out;
|
458
|
-
transition: 0.5s ease-in-out;
|
459
|
-
max-height: 9999px; /* exaggerate max-height to accommodate tall lists*/
|
460
|
-
overflow: visible;
|
461
|
-
opacity: 1;
|
462
|
-
margin-top: 1em;
|
463
|
-
-webkit-transform: translate(0, 0);
|
464
|
-
-ms-transform: translate(0, 0);
|
465
|
-
transform: translate(0, 0);
|
466
|
-
}
|
467
|
-
}
|
468
|
-
|
469
|
-
.nav__title {
|
470
|
-
margin: 0;
|
471
|
-
padding: 0.5rem 1rem;
|
472
|
-
font-family: $sans-serif-narrow;
|
473
|
-
font-size: $type-size-5;
|
474
|
-
font-weight: bold;
|
475
|
-
}
|
476
|
-
|
477
|
-
.nav__sub-title {
|
478
|
-
display: block;
|
479
|
-
margin: 0.5rem 0;
|
480
|
-
padding: 0.5rem 0;
|
481
|
-
font-family: $sans-serif-narrow;
|
482
|
-
font-size: $type-size-6;
|
483
|
-
font-weight: bold;
|
484
|
-
text-transform: uppercase;
|
485
|
-
border-bottom: 1px solid $border-color;
|
486
|
-
}
|
487
|
-
|
488
|
-
|
489
|
-
/*
|
490
|
-
Table of contents navigation
|
491
|
-
========================================================================== */
|
492
|
-
|
493
|
-
.toc {
|
494
|
-
font-family: $sans-serif-narrow;
|
495
|
-
color: $gray;
|
496
|
-
text-transform: uppercase;
|
497
|
-
letter-spacing: 1px;
|
498
|
-
background-color: $background-color;
|
499
|
-
border: 1px solid $border-color;
|
500
|
-
border-radius: $border-radius;
|
501
|
-
box-shadow: $box-shadow;
|
502
|
-
|
503
|
-
.nav__title {
|
504
|
-
color: #fff;
|
505
|
-
font-size: $type-size-6;
|
506
|
-
background: $primary-color;
|
507
|
-
border-top-left-radius: $border-radius;
|
508
|
-
border-top-right-radius: $border-radius;
|
509
|
-
}
|
510
|
-
}
|
511
|
-
|
512
|
-
.toc__menu {
|
513
|
-
margin: 0;
|
514
|
-
padding: 0;
|
515
|
-
width: 100%;
|
516
|
-
list-style: none;
|
517
|
-
font-size: 0.8rem;
|
518
|
-
|
519
|
-
a {
|
520
|
-
display: block;
|
521
|
-
padding: 0.5rem 1rem;
|
522
|
-
color: $muted-text-color;
|
523
|
-
font-size: $type-size-7;
|
524
|
-
font-weight: bold;
|
525
|
-
line-height: 1.5;
|
526
|
-
border-bottom: 1px solid $border-color;
|
527
|
-
|
528
|
-
&:hover {
|
529
|
-
color: $text-color;
|
530
|
-
}
|
531
|
-
}
|
532
|
-
|
533
|
-
> li:last-child {
|
534
|
-
a {
|
535
|
-
border-bottom: none;
|
536
|
-
}
|
537
|
-
}
|
538
|
-
|
539
|
-
li ul > li a {
|
540
|
-
padding-left: 1.75rem;
|
541
|
-
font-weight: normal;
|
542
|
-
}
|
543
|
-
|
544
|
-
/* hide sub sub links on small screens*/
|
545
|
-
li > ul li {
|
546
|
-
display: none;
|
547
|
-
|
548
|
-
@include breakpoint($medium) {
|
549
|
-
display: block;
|
550
|
-
}
|
551
|
-
}
|
552
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
NAVIGATION
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/*
|
6
|
+
Breadcrumb navigation links
|
7
|
+
========================================================================== */
|
8
|
+
|
9
|
+
.breadcrumbs {
|
10
|
+
@include clearfix;
|
11
|
+
margin: 0 auto;
|
12
|
+
max-width: 100%;
|
13
|
+
padding-left: 2em;
|
14
|
+
padding-right: 2em;
|
15
|
+
font-family: $sans-serif;
|
16
|
+
-webkit-animation: $intro-transition;
|
17
|
+
animation: $intro-transition;
|
18
|
+
-webkit-animation-delay: 0.30s;
|
19
|
+
animation-delay: 0.30s;
|
20
|
+
|
21
|
+
@include breakpoint($large) {
|
22
|
+
padding-left: 1em;
|
23
|
+
padding-right: 1em;
|
24
|
+
}
|
25
|
+
|
26
|
+
@include breakpoint($x-large) {
|
27
|
+
max-width: $x-large;
|
28
|
+
}
|
29
|
+
|
30
|
+
ol {
|
31
|
+
padding: 0;
|
32
|
+
list-style: none;
|
33
|
+
font-size: $type-size-6;
|
34
|
+
|
35
|
+
@include breakpoint($large) {
|
36
|
+
float: right;
|
37
|
+
width: span(10 of 12);
|
38
|
+
}
|
39
|
+
|
40
|
+
@include breakpoint($x-large) {
|
41
|
+
padding-left: gutter(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 clearfix();
|
61
|
+
float: left;
|
62
|
+
margin-top: 1em;
|
63
|
+
padding-top: 1em;
|
64
|
+
width: 100%;
|
65
|
+
|
66
|
+
ul {
|
67
|
+
margin: 0;
|
68
|
+
padding: 0;
|
69
|
+
list-style-type: none;
|
70
|
+
font-family: $sans-serif;
|
71
|
+
}
|
72
|
+
|
73
|
+
li {
|
74
|
+
display: block;
|
75
|
+
float: left;
|
76
|
+
margin-left: -1px;
|
77
|
+
|
78
|
+
a {
|
79
|
+
display: block;
|
80
|
+
margin-bottom: 0.25em;
|
81
|
+
padding: 0.5em 1em;
|
82
|
+
font-family: $sans-serif;
|
83
|
+
font-size: 14px;
|
84
|
+
font-weight: bold;
|
85
|
+
line-height: 1.5;
|
86
|
+
text-align: center;
|
87
|
+
text-decoration: none;
|
88
|
+
color: $muted-text-color;
|
89
|
+
border: 1px solid mix(#000, $border-color, 25%);
|
90
|
+
border-radius: 0;
|
91
|
+
|
92
|
+
&:hover {
|
93
|
+
color: $link-color-hover;
|
94
|
+
}
|
95
|
+
|
96
|
+
&.current,
|
97
|
+
&.current.disabled {
|
98
|
+
color: #fff;
|
99
|
+
background: $primary-color;
|
100
|
+
}
|
101
|
+
|
102
|
+
&.disabled {
|
103
|
+
color: rgba($muted-text-color, 0.5);
|
104
|
+
pointer-events: none;
|
105
|
+
cursor: not-allowed;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
&:first-child {
|
110
|
+
margin-left: 0;
|
111
|
+
|
112
|
+
a {
|
113
|
+
border-top-left-radius: $border-radius;
|
114
|
+
border-bottom-left-radius: $border-radius;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
&:last-child {
|
119
|
+
a {
|
120
|
+
border-top-right-radius: $border-radius;
|
121
|
+
border-bottom-right-radius: $border-radius;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
/* next/previous buttons */
|
127
|
+
&--pager {
|
128
|
+
display: block;
|
129
|
+
padding: 1em 2em;
|
130
|
+
float: left;
|
131
|
+
width: 50%;
|
132
|
+
font-family: $sans-serif;
|
133
|
+
font-size: $type-size-5;
|
134
|
+
font-weight: bold;
|
135
|
+
text-align: center;
|
136
|
+
text-decoration: none;
|
137
|
+
color: $muted-text-color;
|
138
|
+
border: 1px solid mix(#000, $border-color, 25%);
|
139
|
+
border-radius: $border-radius;
|
140
|
+
|
141
|
+
&:hover {
|
142
|
+
@include yiq-contrasted($muted-text-color);
|
143
|
+
}
|
144
|
+
|
145
|
+
&:first-child {
|
146
|
+
border-top-right-radius: 0;
|
147
|
+
border-bottom-right-radius: 0;
|
148
|
+
}
|
149
|
+
|
150
|
+
&:last-child {
|
151
|
+
margin-left: -1px;
|
152
|
+
border-top-left-radius: 0;
|
153
|
+
border-bottom-left-radius: 0;
|
154
|
+
}
|
155
|
+
|
156
|
+
&.disabled {
|
157
|
+
color: rgba($muted-text-color, 0.5);
|
158
|
+
pointer-events: none;
|
159
|
+
cursor: not-allowed;
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
|
164
|
+
.page__content + .pagination,
|
165
|
+
.page__meta + .pagination,
|
166
|
+
.page__share + .pagination,
|
167
|
+
.page__comments + .pagination {
|
168
|
+
margin-top: 2em;
|
169
|
+
padding-top: 2em;
|
170
|
+
border-top: 1px solid $border-color;
|
171
|
+
}
|
172
|
+
|
173
|
+
|
174
|
+
/*
|
175
|
+
Priority plus navigation
|
176
|
+
========================================================================== */
|
177
|
+
|
178
|
+
.greedy-nav {
|
179
|
+
position: relative;
|
180
|
+
display: -webkit-box;
|
181
|
+
display: flex;
|
182
|
+
-webkit-box-align: center;
|
183
|
+
align-items: center;
|
184
|
+
background: $background-color;
|
185
|
+
|
186
|
+
a {
|
187
|
+
display: block;
|
188
|
+
margin: 0 1rem;
|
189
|
+
padding: 0.5rem 0;
|
190
|
+
color: $masthead-link-color;
|
191
|
+
text-decoration: none;
|
192
|
+
|
193
|
+
&:hover {
|
194
|
+
color: $masthead-link-color-hover;
|
195
|
+
}
|
196
|
+
|
197
|
+
&.site-title {
|
198
|
+
margin-left: 0;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
button {
|
203
|
+
padding: 0 0.5rem;
|
204
|
+
align-self: stretch;
|
205
|
+
border: 0;
|
206
|
+
outline: none;
|
207
|
+
color: #fff;
|
208
|
+
background-color: $primary-color;
|
209
|
+
cursor: pointer;
|
210
|
+
}
|
211
|
+
|
212
|
+
.visible-links {
|
213
|
+
display: -webkit-box;
|
214
|
+
display: flex;
|
215
|
+
-webkit-box-pack: end;
|
216
|
+
justify-content: flex-end;
|
217
|
+
-webkit-box-flex: 1;
|
218
|
+
flex: 1;
|
219
|
+
padding-right: 2rem;
|
220
|
+
overflow: hidden;
|
221
|
+
|
222
|
+
li {
|
223
|
+
-webkit-box-flex: 0;
|
224
|
+
flex: none;
|
225
|
+
|
226
|
+
&:last-child {
|
227
|
+
a {
|
228
|
+
margin-right: 0;
|
229
|
+
}
|
230
|
+
}
|
231
|
+
}
|
232
|
+
|
233
|
+
a {
|
234
|
+
position: relative;
|
235
|
+
|
236
|
+
&:before {
|
237
|
+
content: "";
|
238
|
+
position: absolute;
|
239
|
+
left: 0;
|
240
|
+
bottom: 0;
|
241
|
+
height: 4px;
|
242
|
+
background: $primary-color;
|
243
|
+
width: 100%;
|
244
|
+
-webkit-transition: $global-transition;
|
245
|
+
transition: $global-transition;
|
246
|
+
-webkit-transform: scaleX(0) translate3d(0, 0 , 0);
|
247
|
+
transform: scaleX(0) translate3d(0, 0 , 0); /* hide*/
|
248
|
+
}
|
249
|
+
|
250
|
+
&:hover:before {
|
251
|
+
-webkit-transform: scaleX(1);
|
252
|
+
-ms-transform: scaleX(1);
|
253
|
+
transform: scaleX(1); /* reveal*/
|
254
|
+
}
|
255
|
+
}
|
256
|
+
}
|
257
|
+
|
258
|
+
.hidden-links {
|
259
|
+
position: absolute;
|
260
|
+
top: 100%;
|
261
|
+
right: 0;
|
262
|
+
margin-top: 15px;
|
263
|
+
padding: 5px;
|
264
|
+
border: 1px solid $border-color;
|
265
|
+
border-radius: $border-radius;
|
266
|
+
background: $background-color;
|
267
|
+
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
268
|
+
|
269
|
+
&.hidden {
|
270
|
+
display: none;
|
271
|
+
}
|
272
|
+
|
273
|
+
a {
|
274
|
+
margin: 0;
|
275
|
+
padding: 10px 20px;
|
276
|
+
font-size: $type-size-5;
|
277
|
+
|
278
|
+
&:hover {
|
279
|
+
color: $masthead-link-color-hover;
|
280
|
+
background: $navicon-link-color-hover;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
|
284
|
+
&:before {
|
285
|
+
content: "";
|
286
|
+
position: absolute;
|
287
|
+
top: -11px;
|
288
|
+
right: 10px;
|
289
|
+
width: 0;
|
290
|
+
border-style: solid;
|
291
|
+
border-width: 0 10px 10px;
|
292
|
+
border-color: $border-color transparent;
|
293
|
+
display: block;
|
294
|
+
z-index: 0;
|
295
|
+
}
|
296
|
+
|
297
|
+
&:after {
|
298
|
+
content: "";
|
299
|
+
position: absolute;
|
300
|
+
top: -10px;
|
301
|
+
right: 10px;
|
302
|
+
width: 0;
|
303
|
+
border-style: solid;
|
304
|
+
border-width: 0 10px 10px;
|
305
|
+
border-color: $background-color transparent;
|
306
|
+
display: block;
|
307
|
+
z-index: 1;
|
308
|
+
}
|
309
|
+
|
310
|
+
li {
|
311
|
+
display: block;
|
312
|
+
border-bottom: 1px solid $border-color;
|
313
|
+
|
314
|
+
&:last-child {
|
315
|
+
border-bottom: none;
|
316
|
+
}
|
317
|
+
}
|
318
|
+
}
|
319
|
+
}
|
320
|
+
|
321
|
+
|
322
|
+
/*
|
323
|
+
Navigation list
|
324
|
+
========================================================================== */
|
325
|
+
|
326
|
+
.nav__list {
|
327
|
+
margin-bottom: 1.5em;
|
328
|
+
|
329
|
+
input[type="checkbox"],
|
330
|
+
label {
|
331
|
+
display: none;
|
332
|
+
}
|
333
|
+
|
334
|
+
@include breakpoint(max-width ($large - 1px)) {
|
335
|
+
|
336
|
+
label {
|
337
|
+
position: relative;
|
338
|
+
display: inline-block;
|
339
|
+
padding: 0.5em 2.5em 0.5em 1em;
|
340
|
+
color: $gray;
|
341
|
+
font-size: $type-size-6;
|
342
|
+
font-weight: bold;
|
343
|
+
border: 1px solid $light-gray;
|
344
|
+
border-radius: $border-radius;
|
345
|
+
z-index: 20;
|
346
|
+
-webkit-transition: 0.2s ease-out;
|
347
|
+
transition: 0.2s ease-out;
|
348
|
+
cursor: pointer;
|
349
|
+
|
350
|
+
&:before,
|
351
|
+
&:after {
|
352
|
+
content: '';
|
353
|
+
position: absolute;
|
354
|
+
right: 1em;
|
355
|
+
top: 1.25em;
|
356
|
+
width: 0.75em;
|
357
|
+
height: 0.125em;
|
358
|
+
line-height: 1;
|
359
|
+
background-color: $gray;
|
360
|
+
-webkit-transition: 0.2s ease-out;
|
361
|
+
transition: 0.2s ease-out;
|
362
|
+
}
|
363
|
+
|
364
|
+
&:after {
|
365
|
+
-webkit-transform: rotate(90deg);
|
366
|
+
-ms-transform: rotate(90deg);
|
367
|
+
transform: rotate(90deg);
|
368
|
+
}
|
369
|
+
|
370
|
+
&:hover {
|
371
|
+
color: #fff;
|
372
|
+
border-color: $gray;
|
373
|
+
background-color: mix(white, #000, 20%);
|
374
|
+
|
375
|
+
&:before,
|
376
|
+
&:after {
|
377
|
+
background-color: #fff;
|
378
|
+
}
|
379
|
+
}
|
380
|
+
}
|
381
|
+
|
382
|
+
/* selected*/
|
383
|
+
input:checked + label {
|
384
|
+
color: white;
|
385
|
+
background-color: mix(white, #000, 20%);
|
386
|
+
|
387
|
+
&:before,
|
388
|
+
&:after {
|
389
|
+
background-color: #fff;
|
390
|
+
}
|
391
|
+
}
|
392
|
+
|
393
|
+
/* on hover show expand*/
|
394
|
+
label:hover:after {
|
395
|
+
-webkit-transform: rotate(90deg);
|
396
|
+
-ms-transform: rotate(90deg);
|
397
|
+
transform: rotate(90deg);
|
398
|
+
}
|
399
|
+
|
400
|
+
input:checked + label:hover:after {
|
401
|
+
-webkit-transform: rotate(0);
|
402
|
+
-ms-transform: rotate(0);
|
403
|
+
transform: rotate(0);
|
404
|
+
}
|
405
|
+
|
406
|
+
ul {
|
407
|
+
margin-bottom: 1em;
|
408
|
+
}
|
409
|
+
|
410
|
+
a {
|
411
|
+
display: block;
|
412
|
+
padding: 0.25em 0;
|
413
|
+
|
414
|
+
@include breakpoint($large) {
|
415
|
+
padding-top: 0.125em;
|
416
|
+
padding-bottom: 0.125em;
|
417
|
+
}
|
418
|
+
|
419
|
+
&:hover {
|
420
|
+
text-decoration: underline;
|
421
|
+
}
|
422
|
+
}
|
423
|
+
}
|
424
|
+
}
|
425
|
+
|
426
|
+
.nav__list .nav__items {
|
427
|
+
margin: 0;
|
428
|
+
font-size: 1.25rem;
|
429
|
+
|
430
|
+
a {
|
431
|
+
color: inherit;
|
432
|
+
}
|
433
|
+
|
434
|
+
.active {
|
435
|
+
margin-left: -0.5em;
|
436
|
+
padding-left: 0.5em;
|
437
|
+
padding-right: 0.5em;
|
438
|
+
font-weight: bold;
|
439
|
+
}
|
440
|
+
|
441
|
+
@include breakpoint(max-width ($large - 1px)) {
|
442
|
+
position: relative;
|
443
|
+
max-height: 0;
|
444
|
+
opacity: 0%;
|
445
|
+
overflow: hidden;
|
446
|
+
z-index: 10;
|
447
|
+
-webkit-transition: 0.3s ease-in-out;
|
448
|
+
transition: 0.3s ease-in-out;
|
449
|
+
-webkit-transform: translate(0, 10%);
|
450
|
+
-ms-transform: translate(0, 10%);
|
451
|
+
transform: translate(0, 10%);
|
452
|
+
}
|
453
|
+
}
|
454
|
+
|
455
|
+
@include breakpoint(max-width ($large - 1px)) {
|
456
|
+
.nav__list input:checked ~ .nav__items {
|
457
|
+
-webkit-transition: 0.5s ease-in-out;
|
458
|
+
transition: 0.5s ease-in-out;
|
459
|
+
max-height: 9999px; /* exaggerate max-height to accommodate tall lists*/
|
460
|
+
overflow: visible;
|
461
|
+
opacity: 1;
|
462
|
+
margin-top: 1em;
|
463
|
+
-webkit-transform: translate(0, 0);
|
464
|
+
-ms-transform: translate(0, 0);
|
465
|
+
transform: translate(0, 0);
|
466
|
+
}
|
467
|
+
}
|
468
|
+
|
469
|
+
.nav__title {
|
470
|
+
margin: 0;
|
471
|
+
padding: 0.5rem 1rem;
|
472
|
+
font-family: $sans-serif-narrow;
|
473
|
+
font-size: $type-size-5;
|
474
|
+
font-weight: bold;
|
475
|
+
}
|
476
|
+
|
477
|
+
.nav__sub-title {
|
478
|
+
display: block;
|
479
|
+
margin: 0.5rem 0;
|
480
|
+
padding: 0.5rem 0;
|
481
|
+
font-family: $sans-serif-narrow;
|
482
|
+
font-size: $type-size-6;
|
483
|
+
font-weight: bold;
|
484
|
+
text-transform: uppercase;
|
485
|
+
border-bottom: 1px solid $border-color;
|
486
|
+
}
|
487
|
+
|
488
|
+
|
489
|
+
/*
|
490
|
+
Table of contents navigation
|
491
|
+
========================================================================== */
|
492
|
+
|
493
|
+
.toc {
|
494
|
+
font-family: $sans-serif-narrow;
|
495
|
+
color: $gray;
|
496
|
+
text-transform: uppercase;
|
497
|
+
letter-spacing: 1px;
|
498
|
+
background-color: $background-color;
|
499
|
+
border: 1px solid $border-color;
|
500
|
+
border-radius: $border-radius;
|
501
|
+
box-shadow: $box-shadow;
|
502
|
+
|
503
|
+
.nav__title {
|
504
|
+
color: #fff;
|
505
|
+
font-size: $type-size-6;
|
506
|
+
background: $primary-color;
|
507
|
+
border-top-left-radius: $border-radius;
|
508
|
+
border-top-right-radius: $border-radius;
|
509
|
+
}
|
510
|
+
}
|
511
|
+
|
512
|
+
.toc__menu {
|
513
|
+
margin: 0;
|
514
|
+
padding: 0;
|
515
|
+
width: 100%;
|
516
|
+
list-style: none;
|
517
|
+
font-size: 0.8rem;
|
518
|
+
|
519
|
+
a {
|
520
|
+
display: block;
|
521
|
+
padding: 0.5rem 1rem;
|
522
|
+
color: $muted-text-color;
|
523
|
+
font-size: $type-size-7;
|
524
|
+
font-weight: bold;
|
525
|
+
line-height: 1.5;
|
526
|
+
border-bottom: 1px solid $border-color;
|
527
|
+
|
528
|
+
&:hover {
|
529
|
+
color: $text-color;
|
530
|
+
}
|
531
|
+
}
|
532
|
+
|
533
|
+
> li:last-child {
|
534
|
+
a {
|
535
|
+
border-bottom: none;
|
536
|
+
}
|
537
|
+
}
|
538
|
+
|
539
|
+
li ul > li a {
|
540
|
+
padding-left: 1.75rem;
|
541
|
+
font-weight: normal;
|
542
|
+
}
|
543
|
+
|
544
|
+
/* hide sub sub links on small screens*/
|
545
|
+
li > ul li {
|
546
|
+
display: none;
|
547
|
+
|
548
|
+
@include breakpoint($medium) {
|
549
|
+
display: block;
|
550
|
+
}
|
551
|
+
}
|
552
|
+
}
|