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