mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-17 18:52:40 +00:00
Allow wide classTables to bleed into top margin
This commit is contained in:
@@ -600,12 +600,19 @@ body {
|
|||||||
//*****************************
|
//*****************************
|
||||||
// * CLASS TABLE
|
// * CLASS TABLE
|
||||||
// *****************************/
|
// *****************************/
|
||||||
.page .classTable{
|
.page {
|
||||||
|
* + .classTable.frame {
|
||||||
|
margin-top : 0.66cm;
|
||||||
|
}
|
||||||
|
.classTable{
|
||||||
th[colspan]:not([rowspan]) {
|
th[colspan]:not([rowspan]) {
|
||||||
white-space : nowrap;
|
white-space : nowrap;
|
||||||
}
|
}
|
||||||
&.frame {
|
&.frame {
|
||||||
margin-top : 0.66cm;
|
margin-top : 0.66cm;
|
||||||
|
&.wide { // Allow top border to move into margin if
|
||||||
|
margin-top : 0;
|
||||||
|
}
|
||||||
margin-bottom : 1.05cm;
|
margin-bottom : 1.05cm;
|
||||||
margin-left : -0.1cm;
|
margin-left : -0.1cm;
|
||||||
margin-right : -0.1cm;
|
margin-right : -0.1cm;
|
||||||
@@ -614,7 +621,7 @@ body {
|
|||||||
background-color : white;
|
background-color : white;
|
||||||
border : initial;
|
border : initial;
|
||||||
border-style : solid;
|
border-style : solid;
|
||||||
border-image-outset : 0.55cm 0.3cm;
|
border-image-outset : 0.4cm 0.3cm;
|
||||||
border-image-repeat : stretch;
|
border-image-repeat : stretch;
|
||||||
border-image-slice : 200;
|
border-image-slice : 200;
|
||||||
border-image-source : @frameBorderImage;
|
border-image-source : @frameBorderImage;
|
||||||
@@ -644,6 +651,7 @@ body {
|
|||||||
h5 + table{
|
h5 + table{
|
||||||
margin-top : 0.2cm;
|
margin-top : 0.2cm;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//*****************************
|
//*****************************
|
||||||
// * TABLE OF CONTENTS
|
// * TABLE OF CONTENTS
|
||||||
|
|||||||
Reference in New Issue
Block a user