{{$book->name}}
{{ $book->description }}
@@ -73,8 +43,4 @@ @endif @endforeach - -diff --git a/resources/sass/export-styles.scss b/resources/sass/export-styles.scss index 278e5b6c5..b8682ed05 100644 --- a/resources/sass/export-styles.scss +++ b/resources/sass/export-styles.scss @@ -1,16 +1,13 @@ @import "variables"; @import "mixins"; -@import "spacing"; @import "html"; @import "text"; @import "layout"; @import "blocks"; @import "tables"; -@import "header"; @import "lists"; @import "pages"; - html, body { background-color: #FFF; } @@ -40,4 +37,25 @@ pre:after { } 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; } \ No newline at end of file diff --git a/resources/views/books/export.blade.php b/resources/views/books/export.blade.php index 1faa3880e..9cd5618a5 100644 --- a/resources/views/books/export.blade.php +++ b/resources/views/books/export.blade.php @@ -1,38 +1,8 @@ - - -
- -{{ $book->description }}
@@ -73,8 +43,4 @@ @endif @endforeach - -{{ $chapter->description }}
@@ -42,8 +20,4 @@