]> BookStack Code Mirror - bookstack/blob - resources/views/partials/export-styles.blade.php
Code cleanup, bug squashing
[bookstack] / resources / views / partials / export-styles.blade.php
1 <style>
2     @if (!app()->environment('testing'))
3         {!! file_get_contents(public_path('/dist/export-styles.css')) !!}
4     @endif
5 </style>
6
7 @if ($format === 'pdf')
8     <style>
9         /* Patches for CSS variable colors */
10         a {
11             color: {{ setting('app-color') }};
12         }
13
14         blockquote {
15             border-left-color: {{ setting('app-color') }};
16         }
17
18         /* Patches for content layout */
19         .page-content .float {
20             float: none !important;
21         }
22
23         .page-content img.align-left, .page-content img.align-right  {
24             float: none !important;
25             clear: both;
26             display: block;
27         }
28     </style>
29 @endif