minimal-mistakes-jekyll 4.5.1 → 4.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,238 +1,252 @@
1
- /* ==========================================================================
2
- PRINT STYLES
3
- ========================================================================== */
4
-
5
- @media print {
6
-
7
- [hidden] {
8
- display: none;
9
- }
10
-
11
- * {
12
- -moz-box-sizing: border-box;
13
- -webkit-box-sizing: border-box;
14
- box-sizing: border-box;
15
- }
16
-
17
- html {
18
- font-size: 16px;
19
- margin: 0;
20
- padding: 0;
21
- }
22
-
23
- body {
24
- -moz-osx-font-smoothing: grayscale;
25
- -webkit-font-smoothing: antialiased;
26
- background: #fff !important;
27
- color: #000 !important;
28
- font-size: 1rem;
29
- line-height: 1.5;
30
- margin: 0 auto;
31
- text-rendering: optimizeLegibility;
32
- }
33
-
34
- h1,
35
- h2,
36
- h3,
37
- h4,
38
- h5,
39
- h6 {
40
- color: #000;
41
- line-height: 1.2;
42
- margin-bottom: 0.75rem;
43
- margin-top: 0;
44
- }
45
-
46
- h1 {
47
- font-size: 2.5rem;
48
- }
49
-
50
- h2 {
51
- font-size: 2rem;
52
- }
53
-
54
- h3 {
55
- font-size: 1.75rem;
56
- }
57
-
58
- h4 {
59
- font-size: 1.5rem;
60
- }
61
-
62
- h5 {
63
- font-size: 1.25rem;
64
- }
65
-
66
- h6 {
67
- font-size: 1rem;
68
- }
69
-
70
- a,
71
- a:visited {
72
- color: #000;
73
- text-decoration: underline;
74
- word-wrap: break-word;
75
- }
76
-
77
- table {
78
- border-collapse: collapse;
79
- }
80
-
81
- thead {
82
- display: table-header-group;
83
- }
84
-
85
- table,
86
- th,
87
- td {
88
- border-bottom: 1px solid #000;
89
- }
90
-
91
- td,
92
- th {
93
- padding: 8px 16px;
94
- }
95
-
96
- img {
97
- border: 0;
98
- display: block;
99
- max-width: 100% !important;
100
- vertical-align: middle;
101
- }
102
-
103
- hr {
104
- border: 0;
105
- border-bottom: 2px solid #bbb;
106
- height: 0;
107
- margin: 2.25rem 0;
108
- padding: 0;
109
- }
110
-
111
- dt {
112
- font-weight: bold;
113
- }
114
-
115
- dd {
116
- margin: 0;
117
- margin-bottom: 0.75rem;
118
- }
119
-
120
- abbr[title],
121
- acronym[title] {
122
- border: 0;
123
- text-decoration: none;
124
- }
125
-
126
- table,
127
- blockquote,
128
- pre,
129
- code,
130
- figure,
131
- li,
132
- hr,
133
- ul,
134
- ol,
135
- a,
136
- tr {
137
- page-break-inside: avoid;
138
- }
139
-
140
- h2,
141
- h3,
142
- h4,
143
- p,
144
- a {
145
- orphans: 3;
146
- widows: 3;
147
- }
148
-
149
- h1,
150
- h2,
151
- h3,
152
- h4,
153
- h5,
154
- h6 {
155
- page-break-after: avoid;
156
- page-break-inside: avoid;
157
- }
158
-
159
- h1 + p,
160
- h2 + p,
161
- h3 + p {
162
- page-break-before: avoid;
163
- }
164
-
165
- img {
166
- page-break-after: auto;
167
- page-break-before: auto;
168
- page-break-inside: avoid;
169
- }
170
-
171
- pre {
172
- white-space: pre-wrap !important;
173
- word-wrap: break-word;
174
- }
175
-
176
- a[href^='http://']:after,
177
- a[href^='https://']:after,
178
- a[href^='ftp://']:after {
179
- content: " (" attr(href) ")";
180
- font-size: 80%;
181
- }
182
-
183
- abbr[title]:after,
184
- acronym[title]:after {
185
- content: " (" attr(title) ")";
186
- }
187
-
188
- .page-break,
189
- .page-break-before {
190
- page-break-before: always;
191
- }
192
-
193
- .page-break-after {
194
- page-break-after: always;
195
- }
196
-
197
- .no-print {
198
- display: none;
199
- }
200
-
201
- a.no-reformat:after {
202
- content: '';
203
- }
204
-
205
- abbr[title].no-reformat:after,
206
- acronym[title].no-reformat:after {
207
- content: '';
208
- }
209
-
210
- .page__hero-caption {
211
- color: #000 !important;
212
- background: #fff !important;
213
- opacity: 1;
214
-
215
- a {
216
- color: #000 !important;
217
- }
218
- }
219
-
220
- /*
221
- Hide the following elements on print
222
- ========================================================================== */
223
-
224
- .masthead,
225
- .toc,
226
- .page__share,
227
- .page__related,
228
- .pagination,
229
- .ads,
230
- .page__footer,
231
- .author__avatar,
232
- .author__content,
233
- .author__urls-wrapper,
234
- .nav__list,
235
- .adsbygoogle {
236
- display: none !important;
237
- }
1
+ /* ==========================================================================
2
+ PRINT STYLES
3
+ ========================================================================== */
4
+
5
+ @media print {
6
+
7
+ [hidden] {
8
+ display: none;
9
+ }
10
+
11
+ * {
12
+ -moz-box-sizing: border-box;
13
+ -webkit-box-sizing: border-box;
14
+ box-sizing: border-box;
15
+ }
16
+
17
+ html {
18
+ margin: 0;
19
+ padding: 0;
20
+ min-height: auto !important;
21
+ font-size: 16px;
22
+ }
23
+
24
+ body {
25
+ margin: 0 auto;
26
+ background: #fff !important;
27
+ color: #000 !important;
28
+ font-size: 1rem;
29
+ line-height: 1.5;
30
+ -moz-osx-font-smoothing: grayscale;
31
+ -webkit-font-smoothing: antialiased;
32
+ text-rendering: optimizeLegibility;
33
+ }
34
+
35
+ h1,
36
+ h2,
37
+ h3,
38
+ h4,
39
+ h5,
40
+ h6 {
41
+ color: #000;
42
+ line-height: 1.2;
43
+ margin-bottom: 0.75rem;
44
+ margin-top: 0;
45
+ }
46
+
47
+ h1 {
48
+ font-size: 2.5rem;
49
+ }
50
+
51
+ h2 {
52
+ font-size: 2rem;
53
+ }
54
+
55
+ h3 {
56
+ font-size: 1.75rem;
57
+ }
58
+
59
+ h4 {
60
+ font-size: 1.5rem;
61
+ }
62
+
63
+ h5 {
64
+ font-size: 1.25rem;
65
+ }
66
+
67
+ h6 {
68
+ font-size: 1rem;
69
+ }
70
+
71
+ a,
72
+ a:visited {
73
+ color: #000;
74
+ text-decoration: underline;
75
+ word-wrap: break-word;
76
+ }
77
+
78
+ table {
79
+ border-collapse: collapse;
80
+ }
81
+
82
+ thead {
83
+ display: table-header-group;
84
+ }
85
+
86
+ table,
87
+ th,
88
+ td {
89
+ border-bottom: 1px solid #000;
90
+ }
91
+
92
+ td,
93
+ th {
94
+ padding: 8px 16px;
95
+ }
96
+
97
+ img {
98
+ border: 0;
99
+ display: block;
100
+ max-width: 100% !important;
101
+ vertical-align: middle;
102
+ }
103
+
104
+ hr {
105
+ border: 0;
106
+ border-bottom: 2px solid #bbb;
107
+ height: 0;
108
+ margin: 2.25rem 0;
109
+ padding: 0;
110
+ }
111
+
112
+ dt {
113
+ font-weight: bold;
114
+ }
115
+
116
+ dd {
117
+ margin: 0;
118
+ margin-bottom: 0.75rem;
119
+ }
120
+
121
+ abbr[title],
122
+ acronym[title] {
123
+ border: 0;
124
+ text-decoration: none;
125
+ }
126
+
127
+ table,
128
+ blockquote,
129
+ pre,
130
+ code,
131
+ figure,
132
+ li,
133
+ hr,
134
+ ul,
135
+ ol,
136
+ a,
137
+ tr {
138
+ page-break-inside: avoid;
139
+ }
140
+
141
+ h2,
142
+ h3,
143
+ h4,
144
+ p,
145
+ a {
146
+ orphans: 3;
147
+ widows: 3;
148
+ }
149
+
150
+ h1,
151
+ h2,
152
+ h3,
153
+ h4,
154
+ h5,
155
+ h6 {
156
+ page-break-after: avoid;
157
+ page-break-inside: avoid;
158
+ }
159
+
160
+ h1 + p,
161
+ h2 + p,
162
+ h3 + p {
163
+ page-break-before: avoid;
164
+ }
165
+
166
+ img {
167
+ page-break-after: auto;
168
+ page-break-before: auto;
169
+ page-break-inside: avoid;
170
+ }
171
+
172
+ pre {
173
+ white-space: pre-wrap !important;
174
+ word-wrap: break-word;
175
+ }
176
+
177
+ a[href^='http://']:after,
178
+ a[href^='https://']:after,
179
+ a[href^='ftp://']:after {
180
+ content: " (" attr(href) ")";
181
+ font-size: 80%;
182
+ }
183
+
184
+ abbr[title]:after,
185
+ acronym[title]:after {
186
+ content: " (" attr(title) ")";
187
+ }
188
+
189
+ #main {
190
+ max-width: 100%;
191
+ }
192
+
193
+ .page {
194
+ margin: 0;
195
+ padding: 0;
196
+ width: 100%;
197
+ }
198
+
199
+ .page-break,
200
+ .page-break-before {
201
+ page-break-before: always;
202
+ }
203
+
204
+ .page-break-after {
205
+ page-break-after: always;
206
+ }
207
+
208
+ .no-print {
209
+ display: none;
210
+ }
211
+
212
+ a.no-reformat:after {
213
+ content: '';
214
+ }
215
+
216
+ abbr[title].no-reformat:after,
217
+ acronym[title].no-reformat:after {
218
+ content: '';
219
+ }
220
+
221
+ .page__hero-caption {
222
+ color: #000 !important;
223
+ background: #fff !important;
224
+ opacity: 1;
225
+
226
+ a {
227
+ color: #000 !important;
228
+ }
229
+ }
230
+
231
+ /*
232
+ Hide the following elements on print
233
+ ========================================================================== */
234
+
235
+ .masthead,
236
+ .toc,
237
+ .page__share,
238
+ .page__related,
239
+ .pagination,
240
+ .ads,
241
+ .page__footer,
242
+ .page__comments-form,
243
+ .author__avatar,
244
+ .author__content,
245
+ .author__urls-wrapper,
246
+ .nav__list,
247
+ .sidebar,
248
+ .adsbygoogle {
249
+ display: none !important;
250
+ height: 1px !important;
251
+ }
238
252
  }