mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-27 09:22:44 +00:00
Move Page styles ( cover Page, etc ) to Blank from 5ePHB
This commit is contained in:
@@ -538,259 +538,6 @@
|
||||
}
|
||||
h5 + table { margin-top : 0.2cm; }
|
||||
}
|
||||
// *****************************
|
||||
// * FRONT COVER PAGE
|
||||
// *****************************/
|
||||
.page:has(.frontCover) {
|
||||
columns : 1;
|
||||
text-align : center;
|
||||
&::after { display : none; }
|
||||
h1 {
|
||||
margin-top : 1.2cm;
|
||||
margin-bottom : 0;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 2.245cm;
|
||||
font-weight : normal;
|
||||
line-height : 1.9cm;
|
||||
color : white;
|
||||
text-shadow : unset;
|
||||
text-transform : uppercase;
|
||||
-webkit-text-stroke: 0.2cm black;
|
||||
paint-order:stroke;
|
||||
}
|
||||
h2 {
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 0.85cm;
|
||||
font-weight : normal;
|
||||
color : white;
|
||||
letter-spacing : 0.1cm;
|
||||
-webkit-text-stroke: 0.14cm black;
|
||||
paint-order:stroke;
|
||||
}
|
||||
hr {
|
||||
position : relative;
|
||||
display : block;
|
||||
width : 12cm;
|
||||
height : 0.5cm;
|
||||
margin : auto;
|
||||
visibility : visible;
|
||||
background-image : @horizontalRule;
|
||||
filter : drop-shadow(0 0 3px black);
|
||||
background-size : 100% 100%;
|
||||
border : none;
|
||||
}
|
||||
.banner {
|
||||
position : absolute;
|
||||
bottom : 4.2cm;
|
||||
left : 0;
|
||||
display : flex;
|
||||
flex-direction : column;
|
||||
justify-content : center;
|
||||
width : 10.5cm;
|
||||
height : 1.7cm;
|
||||
padding-top : 0.1cm;
|
||||
padding-left : 1cm;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 1cm;
|
||||
font-weight : normal;
|
||||
color : white;
|
||||
text-align : left;
|
||||
letter-spacing : 0.014cm;
|
||||
background-image : url('/assets/coverPageBanner.svg');
|
||||
filter : drop-shadow(2px 2px 2px black);
|
||||
}
|
||||
.footnote {
|
||||
position : absolute;
|
||||
right : 0;
|
||||
bottom : 1.3cm;
|
||||
left : 0;
|
||||
width : 70%;
|
||||
margin-right : auto;
|
||||
margin-left : auto;
|
||||
font-family : 'Overpass';
|
||||
font-size : 0.496cm;
|
||||
color : white;
|
||||
text-align : center;
|
||||
-webkit-text-stroke: 0.1cm black;
|
||||
paint-order:stroke;
|
||||
}
|
||||
.logo {
|
||||
position : absolute;
|
||||
top : 0.5cm;
|
||||
right : 0;
|
||||
left : 0;
|
||||
filter : drop-shadow(0 0 0.075cm black);
|
||||
img {
|
||||
width : 100%;
|
||||
height : 2cm;
|
||||
}
|
||||
}
|
||||
}
|
||||
// *****************************
|
||||
// * INSIDE COVER PAGE
|
||||
// *****************************/
|
||||
.page:has(.insideCover) {
|
||||
columns : 1;
|
||||
text-align : center;
|
||||
&::after { display : none; }
|
||||
h1 {
|
||||
margin-top : 1.2cm;
|
||||
margin-bottom : 0;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 2.1cm;
|
||||
font-weight : normal;
|
||||
line-height : 1.785cm;
|
||||
text-transform : uppercase;
|
||||
}
|
||||
h2 {
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 0.85cm;
|
||||
font-weight : normal;
|
||||
letter-spacing : 0.5cm;
|
||||
}
|
||||
hr {
|
||||
position : relative;
|
||||
display : block;
|
||||
width : 12cm;
|
||||
height : 0.5cm;
|
||||
margin : auto;
|
||||
visibility : visible;
|
||||
background-image : @horizontalRule;
|
||||
background-size : 100% 100%;
|
||||
border : none;
|
||||
}
|
||||
.logo {
|
||||
position : absolute;
|
||||
right : 0;
|
||||
bottom : 1cm;
|
||||
left : 0;
|
||||
height : 2cm;
|
||||
img {
|
||||
width : 100%;
|
||||
height : 2cm;
|
||||
}
|
||||
}
|
||||
}
|
||||
// *****************************
|
||||
// * BACK COVER
|
||||
// *****************************/
|
||||
.page:has(.backCover) {
|
||||
padding : 2.25cm 1.3cm 2cm 1.3cm;
|
||||
color : #FFFFFF;
|
||||
columns : 1;
|
||||
&::after { display : none; }
|
||||
.columnWrapper { width : 7.6cm; }
|
||||
.backCover {
|
||||
position : absolute;
|
||||
inset : 0;
|
||||
z-index : -1;
|
||||
width : 11cm;
|
||||
background-image : @backCover;
|
||||
background-repeat : no-repeat;
|
||||
background-size : contain;
|
||||
}
|
||||
.blank { height : 1.4em; }
|
||||
h1 {
|
||||
margin-bottom : 0.3cm;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 1.35cm;
|
||||
line-height : 1.28cm;
|
||||
color : #ED1C24;
|
||||
text-align : center;
|
||||
}
|
||||
h1 + p::first-line,
|
||||
h1 + p::first-letter { all : unset; }
|
||||
img {
|
||||
position : absolute;
|
||||
top : 0px;
|
||||
z-index : -2;
|
||||
height : 100%;
|
||||
}
|
||||
hr {
|
||||
width : 4.5cm;
|
||||
height : 0.53cm;
|
||||
margin-top : 1.1cm;
|
||||
margin-right : auto;
|
||||
margin-left : auto;
|
||||
visibility : visible;
|
||||
background-image : @horizontalRule;
|
||||
background-size : 100% 100%;
|
||||
border : none;
|
||||
}
|
||||
p {
|
||||
font-family : 'Overpass';
|
||||
font-size : 0.332cm;
|
||||
line-height : 0.35cm;
|
||||
}
|
||||
hr + p {
|
||||
margin-top : 0.6cm;
|
||||
text-align : center;
|
||||
}
|
||||
.logo {
|
||||
position : absolute;
|
||||
bottom : 2cm;
|
||||
left : 1.2cm;
|
||||
z-index : 0;
|
||||
width : 7.6cm;
|
||||
height : 1.5cm;
|
||||
img {
|
||||
position : relative;
|
||||
z-index : 0;
|
||||
width : 100%;
|
||||
height : 1.5cm;
|
||||
}
|
||||
p {
|
||||
position : relative;
|
||||
width : 100%;
|
||||
font-family : 'NodestoCapsWide';
|
||||
font-size : 0.4cm;
|
||||
line-height : 1em;
|
||||
line-height : 1.28cm;
|
||||
color : #FFFFFF;
|
||||
text-align : center;
|
||||
text-indent : 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// *****************************
|
||||
// * PART COVER
|
||||
// *****************************/
|
||||
.page:has(.partCover) {
|
||||
padding-top : 0;
|
||||
text-align : center;
|
||||
columns : 1;
|
||||
|
||||
.partCover {
|
||||
position : absolute;
|
||||
top : 0;
|
||||
left : 0;
|
||||
width : 100%;
|
||||
height : 6cm;
|
||||
background-image : @partCoverHeaderPHB;
|
||||
background-repeat : no-repeat;
|
||||
background-size : 100%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
position : relative;
|
||||
margin-top : 0.4cm;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 2.3cm;
|
||||
text-align : center;
|
||||
text-transform : uppercase;
|
||||
}
|
||||
|
||||
h2 {
|
||||
position : relative;
|
||||
margin-top : -0.7em;
|
||||
margin-right : auto;
|
||||
margin-left : auto;
|
||||
font-family : 'Overpass';
|
||||
font-size : 0.45cm;
|
||||
line-height : 0.495cm;
|
||||
}
|
||||
}
|
||||
|
||||
// *****************************
|
||||
// * DEFINITION LISTS
|
||||
@@ -807,17 +554,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
// *****************************
|
||||
// * WIDE
|
||||
// *****************************/
|
||||
.page .wide { margin-bottom : 0.325cm; }
|
||||
|
||||
.page h1 + * { margin-top : 0; }
|
||||
|
||||
.page .descriptive.wide + * {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
//*****************************
|
||||
// * RUNE TABLE
|
||||
// *****************************/
|
||||
|
||||
@@ -609,3 +609,268 @@ h6,
|
||||
break-inside: auto;
|
||||
}
|
||||
}
|
||||
|
||||
// *****************************
|
||||
// * WIDE
|
||||
// *****************************/
|
||||
.page .wide { margin-bottom : 0.325cm; }
|
||||
|
||||
.page h1 + * { margin-top : 0; }
|
||||
|
||||
.page .descriptive.wide + * {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
// *****************************
|
||||
// * FRONT COVER PAGE
|
||||
// *****************************/
|
||||
.page:has(.frontCover) {
|
||||
columns : 1;
|
||||
text-align : center;
|
||||
&::after { display : none; }
|
||||
h1 {
|
||||
margin-top : 1.2cm;
|
||||
margin-bottom : 0;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 2.245cm;
|
||||
font-weight : normal;
|
||||
line-height : 1.9cm;
|
||||
color : white;
|
||||
text-shadow : unset;
|
||||
text-transform : uppercase;
|
||||
-webkit-text-stroke: 0.2cm black;
|
||||
paint-order:stroke;
|
||||
}
|
||||
h2 {
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 0.85cm;
|
||||
font-weight : normal;
|
||||
color : white;
|
||||
letter-spacing : 0.1cm;
|
||||
-webkit-text-stroke: 0.14cm black;
|
||||
paint-order:stroke;
|
||||
}
|
||||
hr {
|
||||
position : relative;
|
||||
display : block;
|
||||
width : 12cm;
|
||||
height : 0.5cm;
|
||||
margin : auto;
|
||||
visibility : visible;
|
||||
background-image : @horizontalRule;
|
||||
filter : drop-shadow(0 0 3px black);
|
||||
background-size : 100% 100%;
|
||||
border : none;
|
||||
}
|
||||
.banner {
|
||||
position : absolute;
|
||||
bottom : 4.2cm;
|
||||
left : 0;
|
||||
display : flex;
|
||||
flex-direction : column;
|
||||
justify-content : center;
|
||||
width : 10.5cm;
|
||||
height : 1.7cm;
|
||||
padding-top : 0.1cm;
|
||||
padding-left : 1cm;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 1cm;
|
||||
font-weight : normal;
|
||||
color : white;
|
||||
text-align : left;
|
||||
letter-spacing : 0.014cm;
|
||||
background-image : url('/assets/coverPageBanner.svg');
|
||||
filter : drop-shadow(2px 2px 2px black);
|
||||
}
|
||||
.footnote {
|
||||
position : absolute;
|
||||
right : 0;
|
||||
bottom : 1.3cm;
|
||||
left : 0;
|
||||
width : 70%;
|
||||
margin-right : auto;
|
||||
margin-left : auto;
|
||||
font-family : 'Overpass';
|
||||
font-size : 0.496cm;
|
||||
color : white;
|
||||
text-align : center;
|
||||
-webkit-text-stroke: 0.1cm black;
|
||||
paint-order:stroke;
|
||||
}
|
||||
.logo {
|
||||
position : absolute;
|
||||
top : 0.5cm;
|
||||
right : 0;
|
||||
left : 0;
|
||||
filter : drop-shadow(0 0 0.075cm black);
|
||||
img {
|
||||
width : 100%;
|
||||
height : 2cm;
|
||||
}
|
||||
}
|
||||
}
|
||||
// *****************************
|
||||
// * INSIDE COVER PAGE
|
||||
// *****************************/
|
||||
.page:has(.insideCover) {
|
||||
columns : 1;
|
||||
text-align : center;
|
||||
&::after { display : none; }
|
||||
h1 {
|
||||
margin-top : 1.2cm;
|
||||
margin-bottom : 0;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 2.1cm;
|
||||
font-weight : normal;
|
||||
line-height : 1.785cm;
|
||||
text-transform : uppercase;
|
||||
}
|
||||
h2 {
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 0.85cm;
|
||||
font-weight : normal;
|
||||
letter-spacing : 0.5cm;
|
||||
}
|
||||
hr {
|
||||
position : relative;
|
||||
display : block;
|
||||
width : 12cm;
|
||||
height : 0.5cm;
|
||||
margin : auto;
|
||||
visibility : visible;
|
||||
background-image : @horizontalRule;
|
||||
background-size : 100% 100%;
|
||||
border : none;
|
||||
}
|
||||
.logo {
|
||||
position : absolute;
|
||||
right : 0;
|
||||
bottom : 1cm;
|
||||
left : 0;
|
||||
height : 2cm;
|
||||
img {
|
||||
width : 100%;
|
||||
height : 2cm;
|
||||
}
|
||||
}
|
||||
}
|
||||
// *****************************
|
||||
// * BACK COVER
|
||||
// *****************************/
|
||||
.page:has(.backCover) {
|
||||
padding : 2.25cm 1.3cm 2cm 1.3cm;
|
||||
color : #FFFFFF;
|
||||
columns : 1;
|
||||
&::after { display : none; }
|
||||
.columnWrapper { width : 7.6cm; }
|
||||
.backCover {
|
||||
position : absolute;
|
||||
inset : 0;
|
||||
z-index : -1;
|
||||
width : 11cm;
|
||||
background-image : @backCover;
|
||||
background-repeat : no-repeat;
|
||||
background-size : contain;
|
||||
}
|
||||
.blank { height : 1.4em; }
|
||||
h1 {
|
||||
margin-bottom : 0.3cm;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 1.35cm;
|
||||
line-height : 1.28cm;
|
||||
color : #ED1C24;
|
||||
text-align : center;
|
||||
}
|
||||
h1 + p::first-line,
|
||||
h1 + p::first-letter { all : unset; }
|
||||
img {
|
||||
position : absolute;
|
||||
top : 0px;
|
||||
z-index : -2;
|
||||
height : 100%;
|
||||
}
|
||||
hr {
|
||||
width : 4.5cm;
|
||||
height : 0.53cm;
|
||||
margin-top : 1.1cm;
|
||||
margin-right : auto;
|
||||
margin-left : auto;
|
||||
visibility : visible;
|
||||
background-image : @horizontalRule;
|
||||
background-size : 100% 100%;
|
||||
border : none;
|
||||
}
|
||||
p {
|
||||
font-family : 'Overpass';
|
||||
font-size : 0.332cm;
|
||||
line-height : 0.35cm;
|
||||
}
|
||||
hr + p {
|
||||
margin-top : 0.6cm;
|
||||
text-align : center;
|
||||
}
|
||||
.logo {
|
||||
position : absolute;
|
||||
bottom : 2cm;
|
||||
left : 1.2cm;
|
||||
z-index : 0;
|
||||
width : 7.6cm;
|
||||
height : 1.5cm;
|
||||
img {
|
||||
position : relative;
|
||||
z-index : 0;
|
||||
width : 100%;
|
||||
height : 1.5cm;
|
||||
}
|
||||
p {
|
||||
position : relative;
|
||||
width : 100%;
|
||||
font-family : 'NodestoCapsWide';
|
||||
font-size : 0.4cm;
|
||||
line-height : 1em;
|
||||
line-height : 1.28cm;
|
||||
color : #FFFFFF;
|
||||
text-align : center;
|
||||
text-indent : 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// *****************************
|
||||
// * PART COVER
|
||||
// *****************************/
|
||||
.page:has(.partCover) {
|
||||
padding-top : 0;
|
||||
text-align : center;
|
||||
columns : 1;
|
||||
|
||||
.partCover {
|
||||
position : absolute;
|
||||
top : 0;
|
||||
left : 0;
|
||||
width : 100%;
|
||||
height : 6cm;
|
||||
background-image : @partCoverHeaderPHB;
|
||||
background-repeat : no-repeat;
|
||||
background-size : 100%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
position : relative;
|
||||
margin-top : 0.4cm;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 2.3cm;
|
||||
text-align : center;
|
||||
text-transform : uppercase;
|
||||
}
|
||||
|
||||
h2 {
|
||||
position : relative;
|
||||
margin-top : -0.7em;
|
||||
margin-right : auto;
|
||||
margin-left : auto;
|
||||
font-family : 'Overpass';
|
||||
font-size : 0.45cm;
|
||||
line-height : 0.495cm;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user