0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-17 03:42:43 +00:00

Merge pull request #2764 from naturalcrit/Tweak-CoverPage-Snippet

Change .coverPage to .frontCover, clean CSS
This commit is contained in:
Trevor Buckner
2023-03-30 17:22:54 -04:00
committed by GitHub
3 changed files with 6 additions and 14 deletions

View File

@@ -72,7 +72,7 @@ module.exports = {
front : function() { front : function() {
return dedent` return dedent`
{{coverPage }} {{frontCover}}
{{logo ![](/assets/naturalCritLogo.svg)}} {{logo ![](/assets/naturalCritLogo.svg)}}
@@ -86,7 +86,7 @@ module.exports = {
${_.sample(footnote)} ${_.sample(footnote)}
}} }}
![background image](https://i.imgur.com/Mqx8Vf7.png) ![background image](https://i.imgur.com/IwHRrbF.jpg){position:absolute,bottom:0,left:0,height:100%}
\page`; \page`;
}, },

View File

@@ -678,9 +678,9 @@ h5 + table{
} }
} }
//***************************** //*****************************
// * COVER PAGE // * FRONT COVER PAGE
// *****************************/ // *****************************/
.page:has(.coverPage) { .page:has(.frontCover) {
columns : 1; columns : 1;
text-align : center; text-align : center;
&:after { &:after {
@@ -772,14 +772,6 @@ h5 + table{
width : 100%; width : 100%;
} }
} }
.columnWrapper > p img {
position : absolute;
bottom : 0;
left : 0;
height : 100%;
min-width : 100%;
z-index : -1;
}
} }
//***************************** //*****************************
// * INSIDE COVER PAGE // * INSIDE COVER PAGE