mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 05:16:27 +08:00
a61c9c5e98
- Primarily moved and re-organised view files. - Included readme within views to document the convention. - Fixed some issues with page field select list in previous commit. - Tweaked some route names while going through. - Split some views out further. Closes #2805
50 lines
1.1 KiB
PHP
50 lines
1.1 KiB
PHP
<style>
|
|
@if (!app()->environment('testing'))
|
|
{!! file_get_contents(public_path('/dist/export-styles.css')) !!}
|
|
@endif
|
|
</style>
|
|
|
|
@if ($format === 'pdf')
|
|
<style>
|
|
|
|
/* PDF size adjustments */
|
|
body {
|
|
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;
|
|
}
|
|
|
|
/* Patches for CSS variable colors */
|
|
a {
|
|
color: {{ setting('app-color') }};
|
|
}
|
|
|
|
blockquote {
|
|
border-left-color: {{ setting('app-color') }};
|
|
}
|
|
|
|
/* Patches for content layout */
|
|
.page-content .float {
|
|
float: none !important;
|
|
}
|
|
|
|
.page-content img.align-left, .page-content img.align-right {
|
|
float: none !important;
|
|
clear: both;
|
|
display: block;
|
|
}
|
|
</style>
|
|
@endif |