0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-06 03:32:40 +00:00

Simplify CSS

This commit is contained in:
Trevor Buckner
2023-04-28 16:51:29 -04:00
parent 55941f0318
commit f771e24788

View File

@@ -822,18 +822,13 @@ h5 + table{
} }
//***************************** //*****************************
// * PART COVER // * PART COVER
// *****************************/ // *****************************/
.page:has(.partCover) { .page:has(.partCover) {
columns : 1;
text-align : center;
padding-top: 0; padding-top: 0;
h1,
h2 {
margin-inline: auto;
text-align: center;
column-span: all;
}
.partCover { .partCover {
background-image: @partCoverHeaderPHB; background-image: @partCoverHeaderPHB;
background-repeat: no-repeat; background-repeat: no-repeat;
@@ -845,37 +840,23 @@ h5 + table{
width: 100%; width: 100%;
} }
img {
position: absolute;
left: 0;
top: 0;
height: 100%;
z-index: -1;
}
h1 { h1 {
position: relative; position: relative;
text-align: center; text-align: center;
text-transform: uppercase; text-transform: uppercase;
font-size: 2.3cm; font-size: 2.3cm;
font-family: NodestoCapsCondensed; font-family: NodestoCapsCondensed;
max-width: 6cm;
text-overflow: clip;
white-space: nowrap;
overflow: hidden;
margin-inline: auto;
margin-top: .4cm; margin-top: .4cm;
} }
h2 { h2 {
text-align: center;
font-family: Overpass; font-family: Overpass;
font-size: 0.45cm; font-size: 0.45cm;
position: relative; position: relative;
max-width: 5cm;
margin-inline: auto;
margin-top: -0.7em; margin-top: -0.7em;
line-height: 1.1em; line-height: 1.1em;
margin-left : auto;
margin-right : auto;
} }
} }