0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-19 22:52:49 +00:00

unit change and has update

This commit is contained in:
Victor Losada Hernandez
2023-02-25 22:39:25 +01:00
parent f7783aba07
commit ac8c79ee63

View File

@@ -798,31 +798,44 @@
//***************************** //*****************************
// * PART COVER // * PART COVER
// *****************************/ // *****************************/
.page { .page:has(.partCover) {
padding-top: 0;
h1, h2 {
margin-inline: auto;
text-align: center;
column-span: all;
}
.partCover { .partCover {
background-image: @partCoverHeader; background-image: @partCoverHeader;
background-repeat: no-repeat; background-repeat: no-repeat;
position: absolute; position: absolute;
background-size: 100%; background-size: 100%;
inset: 0; top: 0;
left: 0;
height: 6cm;
width:100%;
z-index:-1;
}
img { img {
position: absolute; position: absolute;
inset: 0; left: 0;
bottom: 0;
height: 100%; height: 100%;
mask-image: @partCoverMaskOdd; mask-image: @partCoverMaskOdd;
mask-size: 816px; mask-size: 215.9mm;
-webkit-mask-image: @partCoverMaskOdd; -webkit-mask-image: @partCoverMaskOdd;
-webkit-mask-size: 816px; -webkit-mask-size: 215.9mm;
z-index:-2;
} }
h1 { h1 {
text-align: center; text-align: center;
text-transform: uppercase; text-transform: uppercase;
font-size: 80px; font-size: 2.1cm;
font-family: NodestoCapsCondensed; font-family: NodestoCapsCondensed;
font-variant: small-caps; max-width: 6cm;
max-width: 7ch;
text-overflow: clip; text-overflow: clip;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
@@ -832,14 +845,15 @@
h2 { h2 {
text-align: center; text-align: center;
font-family: MartelSansBlack; font-family: MartelSansBlack;
font-size: 18px; font-size: 0.48cm;
position: relative; position: relative;
max-width: 18ch; max-width: 5cm;
margin-inline: auto; margin-inline: auto;
margin-top: -5px; margin-top: -.4em;
line-height: 1.1em;
} }
}
&:nth-child(even) .partCover img { &:nth-child(even) img {
mask-image: @partCoverMaskEven; mask-image: @partCoverMaskEven;
-webkit-mask-image: @partCoverMaskEven; -webkit-mask-image: @partCoverMaskEven;
} }