2021-05-29 08:08:28 -04:00
|
|
|
@use "sass:math";
|
2016-01-20 17:13:13 -05:00
|
|
|
@import "variables";
|
|
|
|
@import "mixins";
|
|
|
|
@import "html";
|
|
|
|
@import "text";
|
|
|
|
@import "tables";
|
2023-06-14 08:18:14 -04:00
|
|
|
@import "content";
|
2016-02-08 15:41:40 -05:00
|
|
|
|
2019-09-01 05:55:00 -04:00
|
|
|
html, body {
|
|
|
|
background-color: #FFF;
|
|
|
|
}
|
|
|
|
|
2018-03-17 13:12:01 -04:00
|
|
|
body {
|
|
|
|
font-family: 'DejaVu Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Roboto", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
2019-04-07 04:57:48 -04:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2021-02-12 15:58:01 -05:00
|
|
|
display: block;
|
2018-03-17 13:12:01 -04:00
|
|
|
}
|
|
|
|
|
2016-02-08 15:41:40 -05:00
|
|
|
table {
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
2018-02-04 12:35:01 -05:00
|
|
|
}
|
|
|
|
|
2019-04-07 04:57:48 -04:00
|
|
|
.page-content {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2018-02-04 12:35:01 -05:00
|
|
|
// Prevent code block overflow on export
|
|
|
|
pre {
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
2023-05-08 09:45:45 -04:00
|
|
|
pre:before {
|
2018-02-04 12:35:01 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
pre code {
|
|
|
|
white-space: pre-wrap;
|
2021-05-04 18:15:05 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-break {
|
|
|
|
page-break-after: always;
|
|
|
|
}
|
|
|
|
@media screen {
|
|
|
|
.page-break {
|
|
|
|
border-top: 1px solid #DDD;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.contents ul li {
|
|
|
|
list-style: circle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chapter-hint {
|
|
|
|
color: #888;
|
|
|
|
margin-top: 32px;
|
|
|
|
}
|
|
|
|
.chapter-hint + h1 {
|
|
|
|
margin-top: 0;
|
2022-06-08 12:56:59 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// PDF specific overrides
|
|
|
|
body.export-format-pdf {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 1.2;
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
max-width: 800px !important;
|
|
|
|
font-size: 0.8em;
|
|
|
|
width: 100% !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
table td {
|
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-content .float {
|
|
|
|
float: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-content img.align-left, .page-content img.align-right {
|
|
|
|
float: none !important;
|
|
|
|
clear: both;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// DOMPDF pdf export specific overrides
|
|
|
|
body.export-format-pdf.export-engine-dompdf {
|
|
|
|
// Fix for full width linked image sizes on DOMPDF
|
|
|
|
.page-content a > img {
|
|
|
|
max-width: 700px;
|
|
|
|
}
|
|
|
|
// Undoes the above for table images to prevent visually worse scenario, Awaiting next DOMPDF release for patch
|
|
|
|
.page-content td a > img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2016-02-08 15:41:40 -05:00
|
|
|
}
|