0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-31 17:22:45 +00:00

Merge pull request #2127 from lucastucious/v3-fix-note-render

[V3] Fix note render to pdf
This commit is contained in:
Trevor Buckner
2023-03-06 14:12:06 -05:00
committed by GitHub

View File

@@ -253,7 +253,7 @@ body {
border-image-outset : 9px 0px; border-image-outset : 9px 0px;
border-image-width : 11px; border-image-width : 11px;
padding : 0.13cm 0.16cm; padding : 0.13cm 0.16cm;
filter : drop-shadow(1px 4px 6px #888); box-shadow : 1px 4px 14px #888;
.page :where(&) { .page :where(&) {
margin-top : 9px; //Prevent top border getting cut off on colbreak margin-top : 9px; //Prevent top border getting cut off on colbreak
} }
@@ -282,7 +282,7 @@ body {
border-image : @descriptiveBoxImage 12 stretch; border-image : @descriptiveBoxImage 12 stretch;
border-image-outset : 4px; border-image-outset : 4px;
padding : 0.1em; padding : 0.1em;
filter : drop-shadow(0 0 3px #faf7ea); box-shadow : 0 0 6px #faf7ea;
.page :where(&) { .page :where(&) {
margin-top : 4px; //Prevent top border getting cut off on colbreak margin-top : 4px; //Prevent top border getting cut off on colbreak
} }
@@ -397,7 +397,7 @@ body {
border-image-outset : 0px 2px; border-image-outset : 0px 2px;
background-blend-mode : overlay; background-blend-mode : overlay;
background-attachment : fixed; background-attachment : fixed;
filter : drop-shadow(1px 4px 6px #888); box-shadow : 1px 4px 14px #888;
padding : 4px 2px; padding : 4px 2px;
margin-left : -0.16cm; margin-left : -0.16cm;
margin-right : -0.16cm; margin-right : -0.16cm;
@@ -687,11 +687,11 @@ h5 + table{
all: unset; all: unset;
} }
.logo { .logo {
position : absolute; position : absolute;
top : 0.5cm; top : 0.5cm;
left : 0; left : 0;
right : 0; right : 0;
filter : drop-shadow(0 0 0.075cm black); filter :drop-shadow(0 0 0.075cm black);
img { img {
height : 2cm; height : 2cm;
width : 100%; width : 100%;
@@ -746,7 +746,7 @@ h5 + table{
filter : drop-shadow(0 0 3px black); filter : drop-shadow(0 0 3px black);
} }
.banner { .banner {
filter : drop-shadow(2px 2px 2px #000); filter : drop-shadow(2px 2px 2px black);
position : absolute; position : absolute;
left : 0; left : 0;
bottom : 4.2cm; bottom : 4.2cm;