]> BookStack Code Mirror - bookstack/blob - resources/views/pages/export.blade.php
Updated styles to use logical properties/values
[bookstack] / resources / views / pages / export.blade.php
1 <!doctype html>
2 <html lang="{{ config('app.lang') }}">
3 <head>
4     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
5     <title>{{ $page->name }}</title>
6
7     @include('partials.export-styles', ['format' => $format])
8
9     @if($format === 'pdf')
10         <style>
11             body {
12                 font-size: 14px;
13                 line-height: 1.2;
14             }
15
16             h1, h2, h3, h4, h5, h6 {
17                 line-height: 1.2;
18             }
19
20             table {
21                 max-width: 800px !important;
22                 font-size: 0.8em;
23                 width: 100% !important;
24             }
25
26             table td {
27                 width: auto !important;
28             }
29         </style>
30     @endif
31
32     @include('partials.custom-head')
33 </head>
34 <body>
35
36 <div id="page-show">
37     <div class="page-content">
38
39         @include('pages.page-display')
40
41         <hr>
42
43         <div class="text-muted text-small">
44             @include('partials.entity-export-meta', ['entity' => $page])
45         </div>
46
47     </div>
48 </div>
49
50 </body>
51 </html>