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

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