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

Allow wide classTables to bleed into top margin

This commit is contained in:
Trevor Buckner
2021-09-18 00:37:21 -04:00
parent a39a2898bb
commit 4bebdfda79

View File

@@ -600,12 +600,19 @@ body {
//*****************************
// * CLASS TABLE
// *****************************/
.page .classTable{
.page {
* + .classTable.frame {
margin-top : 0.66cm;
}
.classTable{
th[colspan]:not([rowspan]) {
white-space : nowrap;
}
&.frame {
margin-top : 0.66cm;
&.wide { // Allow top border to move into margin if
margin-top : 0;
}
margin-bottom : 1.05cm;
margin-left : -0.1cm;
margin-right : -0.1cm;
@@ -614,7 +621,7 @@ body {
background-color : white;
border : initial;
border-style : solid;
border-image-outset : 0.55cm 0.3cm;
border-image-outset : 0.4cm 0.3cm;
border-image-repeat : stretch;
border-image-slice : 200;
border-image-source : @frameBorderImage;
@@ -645,6 +652,7 @@ body {
margin-top : 0.2cm;
}
}
}
//*****************************
// * TABLE OF CONTENTS
// *****************************/