0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Return :where(.page) to .page

This commit is contained in:
Trevor Buckner
2022-10-27 23:27:56 -04:00
parent 7d6a3da2e2
commit 079d59695f
3 changed files with 14 additions and 14 deletions

View File

@@ -82,7 +82,7 @@ body {
// * BASE
// *****************************/
:where(.page){
.page{
p{
overflow-wrap : break-word; //TODO: MAKE ALL MARGINS TOP-ONLY. USE * + * STYLE SELECTORS
display : block;
@@ -598,7 +598,7 @@ body {
//*****************************
// * SPELL LIST
// *****************************/
:where(.page) .spellList{
.page .spellList{
.useSansSerif();
column-count : 2;
ul+h5{
@@ -625,7 +625,7 @@ body {
//*****************************
// * CLASS TABLE
// *****************************/
:where(.page) .classTable{
.page .classTable{
th[colspan]:not([rowspan]) {
white-space : nowrap;
}
@@ -682,7 +682,7 @@ body {
//*****************************
// * TABLE OF CONTENTS
// *****************************/
:where(.page) {
.page {
&:has(.toc):after {
display: none;
}
@@ -759,7 +759,7 @@ body {
//*****************************
// * DEFINITION LISTS
// *****************************/
:where(.page) {
.page {
dl {
line-height : 1.25em;
padding-left : 1em;
@@ -789,10 +789,10 @@ body {
//*****************************
// * WIDE
// *****************************/
:where(.page) .wide{
.page .wide{
margin-bottom : 0.325cm;
}
:where(.page) h1 + *{
.page h1 + *{
margin-top : 0;
}

View File

@@ -43,7 +43,7 @@ body {
//*****************************
// * BASE
// *****************************/
:where(.page){
.page{
p{
overflow-wrap : break-word;
display : block;
@@ -218,7 +218,7 @@ body {
//*****************************
// * MUSTACHE DIVS/SPANS
// *****************************/
:where(.page) {
.page {
.block {
break-inside : avoid;
display : inline-block;
@@ -233,7 +233,7 @@ body {
//*****************************
// * DEFINITION LISTS
// *****************************/
:where(.page) {
.page {
dl {
padding-left : 1em;
white-space : pre-line;
@@ -253,7 +253,7 @@ body {
//*****************************
// * BLANK LINE
// *****************************/
:where(.page) {
.page {
.blank {
height : 1em;
margin-top : 0;
@@ -263,7 +263,7 @@ body {
//*****************************
// * WIDE
// *****************************/
:where(.page) {
.page {
.wide{
column-span : all;
display : block;

View File

@@ -62,7 +62,7 @@
//*****************************
// * BASE
// *****************************/
:where(.page){
.page{
color : var(--HB_Color_Text);
font-family : ReenieBeanie;
font-size : 0.53cm;
@@ -554,6 +554,6 @@
//*****************************
// * WIDE
// *****************************/
:where(.page) .wide {
.page .wide {
margin-bottom : 0.45cm;
}