mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 18:32:41 +00:00
Change .coverPage to .frontCover, clean CSS
This commit is contained in:
@@ -72,7 +72,7 @@ module.exports = {
|
||||
|
||||
front : function() {
|
||||
return dedent`
|
||||
{{coverPage }}
|
||||
{{frontCover}}
|
||||
|
||||
{{logo }}
|
||||
|
||||
@@ -86,7 +86,7 @@ module.exports = {
|
||||
${_.sample(footnote)}
|
||||
}}
|
||||
|
||||

|
||||
{position:absolute,bottom:0,left:0,height:100%}
|
||||
|
||||
\page`;
|
||||
},
|
||||
|
||||
@@ -678,9 +678,9 @@ h5 + table{
|
||||
}
|
||||
}
|
||||
//*****************************
|
||||
// * COVER PAGE
|
||||
// * FRONT COVER PAGE
|
||||
// *****************************/
|
||||
.page:has(.coverPage) {
|
||||
.page:has(.frontCover) {
|
||||
columns : 1;
|
||||
text-align : center;
|
||||
&:after {
|
||||
@@ -772,17 +772,9 @@ h5 + table{
|
||||
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
|
||||
// *****************************/
|
||||
.page:has(.insideCover) {
|
||||
columns : 1;
|
||||
|
||||
@@ -2,7 +2,7 @@ const _ = require('lodash');
|
||||
const dedent = require('dedent-tabs').default;
|
||||
|
||||
module.exports = {
|
||||
center :()=>{
|
||||
center : ()=>{
|
||||
return dedent`
|
||||
{{imageMaskCenter${_.random(1, 16)},--offsetX:0%,--offsetY:0%,--rotation:0
|
||||
{height:100%}
|
||||
|
||||
Reference in New Issue
Block a user