resume-a4/assets/css/_print.scss
Jaakko Kantojärvi 3e13c5ea2d Rewrite all layouts, data and configuration structures
* Add support for multiple pages
* Add support to reorder and move features to columns and pages
* Add support for new sections with generic widgets
2021-03-03 18:01:09 +02:00

59 lines
1,014 B
SCSS

/* Print */
@media print {
@page {
size: A4;
margin: 0;
}
html, body {
background: #fff;
margin: 0;
padding: 0;
}
.paper, main.paper {
margin: 0;
width: 210mm;
height: 297mm;
overflow: hidden;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
page-break-after: always;
}
a {
text-decoration: none;
&:not(.non-existing)::after {
content: " (" attr(href) ")";
margin: 0;
font-weight: 400;
font-size: 0.75rem;
color: scale-color($text-color, $lightness: 30%);
}
.item-title & {
&::after {
content: attr(href);
display: block;
margin: 0;
}
}
.section-publications & {
&::after {
content: attr(href);
display: block;
margin: 0 0.75rem;
}
}
}
.item-title {}
footer {
display: none;
}
}