This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
md-pdf/md_pdf/assets/static/style.scss
2017-05-11 09:02:01 +01:00

60 lines
769 B
SCSS

$image-spacing: 30px;
$font-size-base: 12px;
body.cover {
margin: 0 auto;
text-align: center;
& h1 {
padding-top: 300px;
font-size: 48px;
}
& h3 {
font-size: 36px;
}
& h4 {
font-size: 18px;
}
}
body.content {
line-height: 1.5;
font-size: $font-size-base;
img {
margin-top: $image-spacing;
width: 100%;
page-break-after: avoid;
}
p.caption {
margin: 1px 5px $image-spacing;
padding: 0;
font-style: italic;
page-break-before: avoid;
}
.references-title {
page-break-before: always;
}
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
}
}
body.footer, body.header {
font-size: $font-size-base;
table {
width: 100%;
td {
text-align: center;
}
}
}