BookStack/resources/sass/export-styles.scss

62 lines
945 B
SCSS
Raw Normal View History

@use "sass:math";
2016-01-21 06:13:13 +08:00
@import "variables";
@import "mixins";
@import "html";
@import "text";
@import "layout";
2016-01-21 06:13:13 +08:00
@import "blocks";
@import "tables";
@import "lists";
@import "pages";
html, body {
background-color: #FFF;
}
body {
font-family: 'DejaVu Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Roboto", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
margin: 0;
padding: 0;
display: block;
}
table {
border-spacing: 0;
border-collapse: collapse;
}
.page-content {
overflow: hidden;
}
// Prevent code block overflow on export
pre {
padding-left: 12px;
}
pre:after {
display: none;
}
pre code {
white-space: pre-wrap;
}
.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;
}