initial styling of the print stylesheet. Needs working.
[theme-danix.xyz.git] / assets / sass / print.scss
CommitLineData
494780c7 1@import 'libs/vars';
2@import 'libs/functions';
3@import 'libs/my-mixins';
4
5body {
6 margin: 0;
7 padding: 0;
8 font: 12pt Georgia, "Times New Roman", Times, serif;
9 line-height: 1.3;
10 background: #fff !important;
11 color: #000;
12}
13#wrapper {
14 width: 100%;
15 margin: 0;
16 float: none;
17}
18figure.image {
19 &.shadow {
20 img {
21 box-shadow: none;
22 }
23 }
24 figcaption {
25 @include hide-visually;
26 }
27}
28header#header,
29#backtotop,
30footer#footer {
31 @include hide-visually;
32}
33div#main {
34 margin-left: 2cm;
35 margin-right: 1cm;
36}
37H3#danilo-macrì {
38 font-size: 24pt;
39}
40h2, h3, h4 {
41 font-size: 14pt;
42}
43/* Defining all page breaks */
44a {
45 page-break-inside:avoid
46}
47blockquote {
48 page-break-inside: avoid;
49}
50h1, h2, h3, h4, h5, h6 {
51 page-break-after:avoid;
52 page-break-inside:avoid
53 }
54img {
55 page-break-inside:avoid;
56 page-break-after:avoid;
57}
58table, pre {
59 page-break-inside:avoid
60}
61p, ul, ol, dl {
62 page-break-before:avoid;
63 page-break-inside: avoid;
64}
65div.col-8 {
66 h4 {
67 page-break-after: avoid;
68 }
69 strong {
70 page-break-before: avoid;
71 }
72}