File tree Expand file tree Collapse file tree 3 files changed +281
-224
lines changed
docs/_sass/basically-basic Expand file tree Collapse file tree 3 files changed +281
-224
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
7
7
8
+ ## Unreleased
9
+
10
+ ### Fixed
11
+ - ` /_sass/_print.scss ` to reduce blank pages when printing in Chrome. [ #29 ] ( https://github.com/mmistakes/jekyll-theme-basically-basic/issues/29 )
12
+
8
13
## [ 1.1.1] - 2017-09-06
9
14
### Changed
10
15
- Change ` gems ` key in ` _config.yml ` to ` plugins ` . [ #23 ] ( https://github.com/mmistakes/jekyll-theme-basically-basic/pull/23 )
Original file line number Diff line number Diff line change 17
17
html {
18
18
margin : 0 ;
19
19
padding : 0 ;
20
+ height : auto ;
21
+ min-height : auto !important ;
20
22
font-size : 16px ;
21
23
}
22
24
23
25
body {
24
- margin : 0 auto ;
26
+ margin : 0 ;
27
+ height : auto ;
25
28
background : #fff !important ;
26
29
color : #000 !important ;
27
30
font-size : 1rem ;
31
+ line-height : 1.5 ;
28
32
-moz-osx-font-smoothing : grayscale ;
29
33
-webkit-font-smoothing : antialiased ;
30
- line-height : 1.5 ;
31
34
text-rendering : optimizeLegibility ;
32
35
}
33
36
185
188
content : ' (' attr (title ) ' )' ;
186
189
}
187
190
191
+ .wrapper {
192
+ min-height : auto !important ;
193
+ }
194
+
195
+ #main {
196
+ max-width : 100% ;
197
+ }
198
+
199
+ .inner {
200
+ margin : 0 ;
201
+ padding : 0 ;
202
+ width : 100% ;
203
+ max-width : 100% ;
204
+ }
205
+
206
+ .intro-actions .btn {
207
+ color : #fff ;
208
+ background : #000 ;
209
+ }
210
+
188
211
.page-break ,
189
212
.page-break-before {
190
213
page-break-before : always ;
216
239
Hide the following elements on print
217
240
========================================================================== */
218
241
242
+ .skip-links ,
219
243
.sidebar-toggle-wrapper ,
244
+ .sidebar ,
220
245
.title-area ,
221
246
.pager ,
222
247
.site-footer ,
223
248
.adsbygoogle {
224
249
display : none !important ;
250
+ height : 1px ;
225
251
}
226
252
}
You can’t perform that action at this time.
0 commit comments