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

47 lines
599 B
SCSS

$image-spacing: 30px;
body.cover {
margin: 0 auto;
text-align: center;
& h1 {
padding-top: 400px;
font-size: 48px;
}
& h3 {
font-size: 36px;
}
& h4 {
font-size: 18px;
}
}
body.content {
line-height: 1.5;
font-size: 12px;
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-after: avoid;
}
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
}
}