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

94 lines
1.2 KiB
SCSS
Raw Normal View History

2017-05-10 19:02:19 +01:00
$image-spacing: 30px;
2017-05-10 20:56:57 +01:00
$font-size-base: 12px;
2017-05-10 18:42:36 +01:00
2017-04-05 15:27:14 +01:00
body.cover {
margin: 0 auto;
text-align: center;
& h1 {
2017-05-11 09:02:01 +01:00
padding-top: 300px;
2017-05-03 14:13:14 +01:00
font-size: 48px;
2017-04-05 15:27:14 +01:00
}
2017-05-03 16:46:53 +01:00
& h3 {
font-size: 36px;
}
2017-05-03 16:46:53 +01:00
& h4 {
font-size: 18px;
}
}
2017-05-03 16:46:53 +01:00
2017-05-10 18:14:30 +01:00
body.content {
line-height: 1.5;
2017-05-10 20:56:57 +01:00
font-size: $font-size-base;
2017-05-10 18:14:30 +01:00
img {
2017-05-10 19:02:19 +01:00
margin-top: $image-spacing;
2017-05-10 18:14:30 +01:00
width: 100%;
2017-05-10 20:52:00 +01:00
page-break-after: avoid;
2017-05-10 18:14:30 +01:00
}
p.caption {
2017-05-10 19:02:19 +01:00
margin: 1px 5px $image-spacing;
2017-05-10 18:14:30 +01:00
padding: 0;
font-style: italic;
2017-05-10 20:52:00 +01:00
page-break-before: avoid;
2017-05-10 18:14:30 +01:00
}
2017-05-10 20:52:00 +01:00
.references-title {
2017-05-11 08:52:02 +01:00
page-break-before: always;
2017-05-10 20:52:00 +01:00
}
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
}
2017-04-05 15:27:14 +01:00
}
2017-05-10 20:56:57 +01:00
2017-05-11 08:46:38 +01:00
body.footer, body.header {
2017-05-10 20:56:57 +01:00
font-size: $font-size-base;
2017-05-11 08:46:38 +01:00
table {
width: 100%;
td {
2017-05-25 20:07:38 +01:00
width: 33%;
2017-05-25 21:48:03 +01:00
text-align: center;
2017-05-11 08:46:38 +01:00
}
}
2017-05-10 20:56:57 +01:00
}
2017-05-17 19:58:29 +01:00
body.tocs {
h1 {
margin-bottom: 45px;
2017-05-17 21:14:12 +01:00
text-align: center;
2017-05-17 19:58:29 +01:00
}
.row {
margin-bottom: $font-size-base;
2017-05-17 21:14:12 +01:00
border-bottom: 1px dashed black;
2017-05-17 19:58:29 +01:00
font-size: $font-size-base * 1.5;
}
.page-number {
float: right;
padding-right: $font-size-base * 0.5;
}
ul {
padding-left: 0;
li {
list-style: none;
}
ul {
padding-left: $font-size-base;
}
}
}