minimal-mistakes-jekyll 4.2.1 → 4.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/_sass/_page.scss CHANGED
@@ -8,8 +8,10 @@
8
8
  margin-top: 2em;
9
9
  padding-left: 1em;
10
10
  padding-right: 1em;
11
- animation: intro 0.3s both;
12
- animation-delay: 0.35s;
11
+ -webkit-animation: intro 0.3s both;
12
+ animation: intro 0.3s both;
13
+ -webkit-animation-delay: 0.35s;
14
+ animation-delay: 0.35s;
13
15
 
14
16
  @include breakpoint($x-large) {
15
17
  max-width: $x-large;
@@ -111,8 +113,10 @@
111
113
  position: relative;
112
114
  margin-bottom: 2em;
113
115
  @include clearfix;
114
- animation: intro 0.3s both;
115
- animation-delay: 0.25s;
116
+ -webkit-animation: intro 0.3s both;
117
+ animation: intro 0.3s both;
118
+ -webkit-animation-delay: 0.25s;
119
+ animation-delay: 0.25s;
116
120
 
117
121
  &--overlay {
118
122
  position: relative;
@@ -122,8 +126,10 @@
122
126
  background-size: cover;
123
127
  background-repeat: no-repeat;
124
128
  background-position: center;
125
- animation: intro 0.3s both;
126
- animation-delay: 0.25s;
129
+ -webkit-animation: intro 0.3s both;
130
+ animation: intro 0.3s both;
131
+ -webkit-animation-delay: 0.25s;
132
+ animation-delay: 0.25s;
127
133
 
128
134
  a {
129
135
  color: #fff;
@@ -297,6 +303,7 @@
297
303
  .page__comments-form {
298
304
  padding: 1em;
299
305
  background: $lighter-gray;
306
+ -webkit-transition: $global-transition;
300
307
  transition: $global-transition;
301
308
 
302
309
  &.disabled {
data/_sass/_print.scss CHANGED
@@ -1,18 +1,18 @@
1
- /* ==========================================================================
2
- PRINT STYLES
3
- ========================================================================== */
4
-
5
- /*
6
- Hide the following elements on print
7
- ========================================================================== */
8
-
9
- @media print {
10
- .masthead,
11
- .toc,
12
- .page__share,
13
- .page__related,
14
- .ads,
15
- .page__footer {
16
- display: none;
17
- }
1
+ /* ==========================================================================
2
+ PRINT STYLES
3
+ ========================================================================== */
4
+
5
+ /*
6
+ Hide the following elements on print
7
+ ========================================================================== */
8
+
9
+ @media print {
10
+ .masthead,
11
+ .toc,
12
+ .page__share,
13
+ .page__related,
14
+ .ads,
15
+ .page__footer {
16
+ display: none;
17
+ }
18
18
  }
data/_sass/_sidebar.scss CHANGED
@@ -1,231 +1,231 @@
1
- /* ==========================================================================
2
- SIDEBAR
3
- ========================================================================== */
4
-
5
- /*
6
- Default
7
- ========================================================================== */
8
-
9
- .sidebar {
10
- -webkit-transform: translate3d(0, 0 , 0);
11
- transform: translate3d(0, 0 , 0);
12
-
13
- @include clearfix();
14
- margin-bottom: 1em;
15
-
16
- @include breakpoint($large) {
17
- @include span(2 of 12);
18
- opacity: 0.75;
19
- -webkit-transition: opacity 0.2s ease-in-out;
20
- transition: opacity 0.2s ease-in-out;
21
-
22
- &:hover {
23
- opacity: 1;
24
- }
25
- }
26
-
27
- @include breakpoint($x-large) {
28
- padding-right: 0;
29
- }
30
-
31
- h2, h3, h4, h5, h6 {
32
- margin-bottom: 0;
33
- font-family: $sans-serif-narrow;
34
- }
35
-
36
- p, li {
37
- font-family: $sans-serif;
38
- font-size: $type-size-6;
39
- line-height: 1.5;
40
- }
41
-
42
- img {
43
- width: 100%;
44
- }
45
- }
46
-
47
- .sidebar__right {
48
- margin-bottom: 1em;
49
-
50
- @include breakpoint($large) {
51
- position: relative;
52
- float: right;
53
- width: $right-sidebar-width-narrow;
54
- margin-left: span(0.5 of 12);
55
- z-index: 10;
56
- }
57
-
58
- @include breakpoint($x-large) {
59
- width: $right-sidebar-width;
60
- }
61
- }
62
-
63
- /*
64
- Author profile and links
65
- ========================================================================== */
66
-
67
- .author__avatar {
68
- display: table-cell;
69
- vertical-align: top;
70
- width: 36px;
71
- height: 36px;
72
-
73
- @include breakpoint($large) {
74
- display: block;
75
- width: auto;
76
- height: auto;
77
- }
78
-
79
- img {
80
- max-width: 110px;
81
- border-radius: 50%;
82
-
83
- @include breakpoint($large) {
84
- padding: 5px;
85
- border: 1px solid $border-color;
86
- }
87
- }
88
- }
89
-
90
- .author__content {
91
- display: table-cell;
92
- vertical-align: top;
93
- padding-left: 15px;
94
- padding-right: 25px;
95
- line-height: 1;
96
-
97
- @include breakpoint($large) {
98
- display: block;
99
- width: 100%;
100
- padding-left: 0;
101
- padding-right: 0;
102
- }
103
- }
104
-
105
- .author__name {
106
- margin: 0;
107
-
108
- @include breakpoint($large) {
109
- margin-top: 10px;
110
- margin-bottom: 10px;
111
- }
112
- }
113
- .sidebar .author__name {
114
- font-family: $sans-serif;
115
- font-size: $type-size-5;
116
- }
117
-
118
- .author__bio {
119
- margin: 0;
120
-
121
- @include breakpoint($large) {
122
- margin-top: 10px;
123
- margin-bottom: 20px;
124
- }
125
- }
126
-
127
- .author__urls-wrapper {
128
- position: relative;
129
- display: table-cell;
130
- vertical-align: middle;
131
- font-family: $sans-serif;
132
- z-index: 10;
133
- position: relative;
134
- cursor: pointer;
135
-
136
- li:last-child {
137
- a {
138
- margin-bottom: 0;
139
- }
140
- }
141
-
142
- @include breakpoint($large) {
143
- display: block;
144
- }
145
-
146
- button {
147
- margin-bottom: 0;
148
-
149
- @include breakpoint($large) {
150
- display: none;
151
- }
152
- }
153
- }
154
-
155
- .author__urls {
156
- display: none;
157
- position: absolute;
158
- right: 0;
159
- margin-top: 15px;
160
- padding: 10px;
161
- list-style-type: none;
162
- border: 1px solid $border-color;
163
- border-radius: $border-radius;
164
- background: #fff;
165
- z-index: -1;
166
- box-shadow: 0 0 10px rgba(#000, 0.25);
167
- cursor: default;
168
-
169
- @include breakpoint($large) {
170
- display: block;
171
- position: relative;
172
- margin: 0;
173
- padding: 0;
174
- border: 0;
175
- background: transparent;
176
- box-shadow: none;
177
- }
178
-
179
- &:before {
180
- display: block;
181
- content: "";
182
- position: absolute;
183
- top: -11px;
184
- left: calc(50% - 10px);
185
- width: 0;
186
- border-style: solid;
187
- border-width: 0 10px 10px;
188
- border-color: $border-color transparent;
189
- z-index: 0;
190
-
191
- @include breakpoint($large) {
192
- display: none;
193
- }
194
- }
195
-
196
- &:after {
197
- display: block;
198
- content: "";
199
- position: absolute;
200
- top: -10px;
201
- left: calc(50% - 10px);
202
- width: 0;
203
- border-style: solid;
204
- border-width: 0 10px 10px;
205
- border-color: #fff transparent;
206
- z-index: 1;
207
-
208
- @include breakpoint($large) {
209
- display: none;
210
- }
211
- }
212
-
213
- li {
214
- white-space: nowrap;
215
- }
216
-
217
- a {
218
- display: block;
219
- margin-bottom: 5px;
220
- padding-right: 5px;
221
- padding-top: 2px;
222
- padding-bottom: 2px;
223
- color: inherit;
224
- font-size: $type-size-5;
225
- text-decoration: none;
226
-
227
- &:hover {
228
- text-decoration: underline;
229
- }
230
- }
1
+ /* ==========================================================================
2
+ SIDEBAR
3
+ ========================================================================== */
4
+
5
+ /*
6
+ Default
7
+ ========================================================================== */
8
+
9
+ .sidebar {
10
+ -webkit-transform: translate3d(0, 0 , 0);
11
+ transform: translate3d(0, 0 , 0);
12
+
13
+ @include clearfix();
14
+ margin-bottom: 1em;
15
+
16
+ @include breakpoint($large) {
17
+ @include span(2 of 12);
18
+ opacity: 0.75;
19
+ -webkit-transition: opacity 0.2s ease-in-out;
20
+ transition: opacity 0.2s ease-in-out;
21
+
22
+ &:hover {
23
+ opacity: 1;
24
+ }
25
+ }
26
+
27
+ @include breakpoint($x-large) {
28
+ padding-right: 0;
29
+ }
30
+
31
+ h2, h3, h4, h5, h6 {
32
+ margin-bottom: 0;
33
+ font-family: $sans-serif-narrow;
34
+ }
35
+
36
+ p, li {
37
+ font-family: $sans-serif;
38
+ font-size: $type-size-6;
39
+ line-height: 1.5;
40
+ }
41
+
42
+ img {
43
+ width: 100%;
44
+ }
45
+ }
46
+
47
+ .sidebar__right {
48
+ margin-bottom: 1em;
49
+
50
+ @include breakpoint($large) {
51
+ position: relative;
52
+ float: right;
53
+ width: $right-sidebar-width-narrow;
54
+ margin-left: span(0.5 of 12);
55
+ z-index: 10;
56
+ }
57
+
58
+ @include breakpoint($x-large) {
59
+ width: $right-sidebar-width;
60
+ }
61
+ }
62
+
63
+ /*
64
+ Author profile and links
65
+ ========================================================================== */
66
+
67
+ .author__avatar {
68
+ display: table-cell;
69
+ vertical-align: top;
70
+ width: 36px;
71
+ height: 36px;
72
+
73
+ @include breakpoint($large) {
74
+ display: block;
75
+ width: auto;
76
+ height: auto;
77
+ }
78
+
79
+ img {
80
+ max-width: 110px;
81
+ border-radius: 50%;
82
+
83
+ @include breakpoint($large) {
84
+ padding: 5px;
85
+ border: 1px solid $border-color;
86
+ }
87
+ }
88
+ }
89
+
90
+ .author__content {
91
+ display: table-cell;
92
+ vertical-align: top;
93
+ padding-left: 15px;
94
+ padding-right: 25px;
95
+ line-height: 1;
96
+
97
+ @include breakpoint($large) {
98
+ display: block;
99
+ width: 100%;
100
+ padding-left: 0;
101
+ padding-right: 0;
102
+ }
103
+ }
104
+
105
+ .author__name {
106
+ margin: 0;
107
+
108
+ @include breakpoint($large) {
109
+ margin-top: 10px;
110
+ margin-bottom: 10px;
111
+ }
112
+ }
113
+ .sidebar .author__name {
114
+ font-family: $sans-serif;
115
+ font-size: $type-size-5;
116
+ }
117
+
118
+ .author__bio {
119
+ margin: 0;
120
+
121
+ @include breakpoint($large) {
122
+ margin-top: 10px;
123
+ margin-bottom: 20px;
124
+ }
125
+ }
126
+
127
+ .author__urls-wrapper {
128
+ position: relative;
129
+ display: table-cell;
130
+ vertical-align: middle;
131
+ font-family: $sans-serif;
132
+ z-index: 10;
133
+ position: relative;
134
+ cursor: pointer;
135
+
136
+ li:last-child {
137
+ a {
138
+ margin-bottom: 0;
139
+ }
140
+ }
141
+
142
+ @include breakpoint($large) {
143
+ display: block;
144
+ }
145
+
146
+ button {
147
+ margin-bottom: 0;
148
+
149
+ @include breakpoint($large) {
150
+ display: none;
151
+ }
152
+ }
153
+ }
154
+
155
+ .author__urls {
156
+ display: none;
157
+ position: absolute;
158
+ right: 0;
159
+ margin-top: 15px;
160
+ padding: 10px;
161
+ list-style-type: none;
162
+ border: 1px solid $border-color;
163
+ border-radius: $border-radius;
164
+ background: #fff;
165
+ z-index: -1;
166
+ box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
167
+ cursor: default;
168
+
169
+ @include breakpoint($large) {
170
+ display: block;
171
+ position: relative;
172
+ margin: 0;
173
+ padding: 0;
174
+ border: 0;
175
+ background: transparent;
176
+ box-shadow: none;
177
+ }
178
+
179
+ &:before {
180
+ display: block;
181
+ content: "";
182
+ position: absolute;
183
+ top: -11px;
184
+ left: calc(50% - 10px);
185
+ width: 0;
186
+ border-style: solid;
187
+ border-width: 0 10px 10px;
188
+ border-color: $border-color transparent;
189
+ z-index: 0;
190
+
191
+ @include breakpoint($large) {
192
+ display: none;
193
+ }
194
+ }
195
+
196
+ &:after {
197
+ display: block;
198
+ content: "";
199
+ position: absolute;
200
+ top: -10px;
201
+ left: calc(50% - 10px);
202
+ width: 0;
203
+ border-style: solid;
204
+ border-width: 0 10px 10px;
205
+ border-color: #fff transparent;
206
+ z-index: 1;
207
+
208
+ @include breakpoint($large) {
209
+ display: none;
210
+ }
211
+ }
212
+
213
+ li {
214
+ white-space: nowrap;
215
+ }
216
+
217
+ a {
218
+ display: block;
219
+ margin-bottom: 5px;
220
+ padding-right: 5px;
221
+ padding-top: 2px;
222
+ padding-bottom: 2px;
223
+ color: inherit;
224
+ font-size: $type-size-5;
225
+ text-decoration: none;
226
+
227
+ &:hover {
228
+ text-decoration: underline;
229
+ }
230
+ }
231
231
  }