still working on the curriculum page. Added signature to every post. Added categories...
[theme-danix.xyz.git] / assets / sass / print.scss
1 @import 'libs/vars';
2 @import 'libs/functions';
3 @import 'libs/my-mixins';
4
5 body {
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 div#main {
18 background-color: initial;
19 }
20 }
21 figure.image {
22 &.shadow {
23 img {
24 box-shadow: none;
25 }
26 }
27 figcaption {
28 @include hide-visually;
29 }
30 }
31 #backtotop,
32 footer#shareme,
33 header#header,
34 footer#footer {
35 @include hide-visually;
36 }
37 div#main {
38 margin-left: 2cm;
39 margin-right: 1cm;
40 }
41 H3#danilo-macrì {
42 font-size: 24pt;
43 }
44 h2, h3, h4 {
45 font-size: 14pt;
46 }
47 /* Defining all page breaks */
48 a {
49 page-break-inside:avoid
50 }
51 blockquote {
52 page-break-inside: avoid;
53 }
54 h1, h2, h3, h4, h5, h6 {
55 page-break-after:avoid;
56 page-break-inside:avoid
57 }
58 img {
59 page-break-inside:avoid;
60 page-break-after:avoid;
61 }
62 table, pre {
63 page-break-inside:avoid
64 }
65 p, ul, ol, dl {
66 page-break-before:avoid;
67 page-break-inside: avoid;
68 }
69 div.col-8 {
70 h4 {
71 page-break-after: avoid;
72 }
73 strong {
74 page-break-before: avoid;
75 }
76 p {
77 page-break-inside: avoid !important;
78 }
79 }