revises print styles
This commit is contained in:
parent
225512ea3b
commit
4ab82cb4d7
5 changed files with 72 additions and 9 deletions
41
static-src/scss/hyde-hyde/_print.scss
Normal file
41
static-src/scss/hyde-hyde/_print.scss
Normal file
|
@ -0,0 +1,41 @@
|
|||
@page {
|
||||
margin: 1cm !important;
|
||||
}
|
||||
body {
|
||||
font-size: $small-device-font-size;
|
||||
line-height: 1.3;
|
||||
background: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.sidebar,
|
||||
.navigation {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
float: none;
|
||||
display: initial;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
float: none;
|
||||
display: initial;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
margin: 0 auto;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
blockquote,
|
||||
ul {
|
||||
margin: 0;
|
||||
}
|
||||
#disqus_thread {
|
||||
display: none !important;
|
||||
}
|
||||
|
2
static-src/scss/print.scss
Normal file
2
static-src/scss/print.scss
Normal file
|
@ -0,0 +1,2 @@
|
|||
@import "hyde-hyde/variables";
|
||||
@import 'hyde-hyde/print';
|
Loading…
Add table
Add a link
Reference in a new issue