0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Update css for classTables v3

- add "- spell slots per spell level -" header to full class tables
- add rules for `.classTables.full` which is similar to `wide` but adds the previously mentioned header as well.
- add css variable `--row-color` so the odd row colors can be set in the inline moustache syntax easily.
This commit is contained in:
Gazook89
2021-07-29 20:52:23 -05:00
committed by Trevor Buckner
parent fdb294bad9
commit 3c2feeb2aa

View File

@@ -526,7 +526,25 @@ body {
h5{
margin-bottom : 10px;
}
&.full{
column-span : all;
--row-color : ;
&:after{
content : '— Spell Slots per Spell Level —';
font-weight : bold;
font-family : ScalySans;
position : absolute;
top : 20px;
right : 43px;
}
}
tbody tr:nth-child(odd) {
background : var(--row-color);
}
}
//*****************************
// * TABLE OF CONTENTS
// *****************************/