0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-21 15:52:48 +00:00

Merge pull request #2709 from naturalcrit/Re-remove-layers-from-Blank-Theme

Remove last bits of @Layers. Sigh...
This commit is contained in:
Trevor Buckner
2023-03-01 07:42:23 -05:00
committed by GitHub
2 changed files with 385 additions and 387 deletions

View File

@@ -219,7 +219,7 @@ const ListPage = createClass({
render : function(){
return <div className='listPage sitePage'>
<style>@layer V3_5ePHB, bundle;</style>
//<style>@layer V3_5ePHB, bundle;</style>
<link href='/themes/V3/5ePHB/style.css' rel='stylesheet'/>
{this.props.navItems}
{this.renderSortOptions()}

View File

@@ -1,25 +1,24 @@
@layer V3_Blank {
@import (less) './themes/fonts/5e/fonts.less';
@import (less) './themes/assets/assets.less';
@import (less) './themes/fonts/5e/fonts.less';
@import (less) './themes/assets/assets.less';
:root {
:root {
//Colors
--HB_Color_Background : #FFFFFF; // White
--HB_Color_WatercolorStain : #000000; // Black
}
}
@page { margin: 0; }
body {
@page { margin: 0; }
body {
counter-reset : phb-page-numbers;
}
*{
}
*{
-webkit-print-color-adjust : exact;
}
}
//*****************************
// * MUSTACHE DIVS/SPANS
// *****************************/
.page {
//*****************************
// * MUSTACHE DIVS/SPANS
// *****************************/
.page {
.block {
break-inside : avoid;
display : inline-block;
@@ -29,19 +28,19 @@
display : inline-block;
text-indent : initial;
}
}
}
.useColumns(@multiplier : 1, @fillMode: balance){
.useColumns(@multiplier : 1, @fillMode: balance){
column-fill : @fillMode;
column-count : 2;
}
.columnWrapper{
}
.columnWrapper{
max-height : 100%;
column-span : all;
columns : inherit;
column-gap : inherit;
}
.page{
}
.page{
.useColumns();
height : 279.4mm;
width : 215.9mm;
@@ -56,11 +55,11 @@
page-break-before : always;
page-break-after : always;
contain : size;
}
}
//*****************************
// * BASE
// *****************************/
.page{
.page{
p{
overflow-wrap : break-word;
display : block;
@@ -361,12 +360,12 @@
.imageMaskCorner35 { --wc : url(/assets/waterColorMasks/corner/0035.webp); }
.imageMaskCorner36 { --wc : url(/assets/waterColorMasks/corner/0036.webp); }
.imageMaskCorner37 { --wc : url(/assets/waterColorMasks/corner/0037.webp); }
}
}
//*****************************
// * DEFINITION LISTS
// *****************************/
.page {
//*****************************
// * DEFINITION LISTS
// *****************************/
.page {
dl {
padding-left : 1em;
white-space : pre-line;
@@ -381,12 +380,12 @@
margin-left : 0;
text-indent : 0;
}
}
}
//*****************************
// * BLANK LINE
// *****************************/
.page {
//*****************************
// * BLANK LINE
// *****************************/
.page {
.blank {
height : 1em;
margin-top : 0;
@@ -394,12 +393,12 @@
margin-top : 0;
}
}
}
}
//*****************************
// * WIDE
// *****************************/
.page {
//*****************************
// * WIDE
// *****************************/
.page {
.wide{
column-span : all;
display : block;
@@ -408,5 +407,4 @@
margin-top : 0;
}
}
}
}