mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-09 22:22:41 +00:00
Moved classTableDecoration to local file and use decoration class.
This commit is contained in:
@@ -183,7 +183,9 @@ body {
|
|||||||
table{
|
table{
|
||||||
.useSansSerif();
|
.useSansSerif();
|
||||||
width : 100%;
|
width : 100%;
|
||||||
margin-bottom : 1em;
|
& + * {
|
||||||
|
margin-top : 1em;
|
||||||
|
}
|
||||||
thead{
|
thead{
|
||||||
display: table-row-group;
|
display: table-row-group;
|
||||||
font-weight : 800;
|
font-weight : 800;
|
||||||
@@ -631,14 +633,29 @@ body {
|
|||||||
background-color : white;
|
background-color : white;
|
||||||
border : initial;
|
border : initial;
|
||||||
border-style : solid;
|
border-style : solid;
|
||||||
border-image-outset : 25px 17px;
|
border-image-outset : 0.66cm 0.3cm;
|
||||||
border-image-repeat : stretch;
|
border-image-repeat : stretch;
|
||||||
border-image-slice : 150 200 150 200;
|
border-image-slice : 150 200 150 200;
|
||||||
border-image-source : @frameBorderImage;
|
border-image-source : @frameBorderImage;
|
||||||
border-image-width : 47px;
|
border-image-width : 47px;
|
||||||
}
|
}
|
||||||
h5{
|
&.decoration {
|
||||||
margin-bottom : 10px;
|
transform-style : preserve-3d;
|
||||||
|
}
|
||||||
|
&.decoration::before {
|
||||||
|
content :'';
|
||||||
|
position : absolute;
|
||||||
|
background-image : @classTableDecoration;
|
||||||
|
background-size : contain;
|
||||||
|
background-repeat : space;
|
||||||
|
width : calc(100% + 3.4cm);
|
||||||
|
height : 7.75cm;
|
||||||
|
top : calc(50% + 0.35cm);
|
||||||
|
left : 50%;
|
||||||
|
transform : translateY(-50%) translateX(-50%) translateZ(-1px);
|
||||||
|
}
|
||||||
|
h5 + table{
|
||||||
|
margin-top : 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//*****************************
|
//*****************************
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// PHB
|
||||||
@footerAccentImage : data-uri('./themes/assets/footerAccent.png');
|
@footerAccentImage : data-uri('./themes/assets/footerAccent.png');
|
||||||
@frameBorderImage : data-uri('./themes/assets/frameBorder.png');
|
@frameBorderImage : data-uri('./themes/assets/frameBorder.png');
|
||||||
@backgroundImage : data-uri('./themes/assets/parchmentBackground.jpg');
|
@backgroundImage : data-uri('./themes/assets/parchmentBackground.jpg');
|
||||||
@@ -8,9 +9,9 @@
|
|||||||
@monsterBlockBackground : data-uri('./themes/assets/parchmentBackgroundGrayscale.jpg');
|
@monsterBlockBackground : data-uri('./themes/assets/parchmentBackgroundGrayscale.jpg');
|
||||||
@monsterBorderImage : data-uri('./themes/assets/monsterBorderFancy.png');
|
@monsterBorderImage : data-uri('./themes/assets/monsterBorderFancy.png');
|
||||||
@codeBorderImage : data-uri('./themes/assets/codeBorder.png');
|
@codeBorderImage : data-uri('./themes/assets/codeBorder.png');
|
||||||
|
@classTableDecoration : data-uri('./themes/assets/classTableDecoration.png');
|
||||||
|
|
||||||
// Watercolor Images
|
// Watercolor Images
|
||||||
|
|
||||||
@watercolor1 : data-uri('./themes/assets/watercolor/watercolor1.png');
|
@watercolor1 : data-uri('./themes/assets/watercolor/watercolor1.png');
|
||||||
@watercolor2 : data-uri('./themes/assets/watercolor/watercolor2.png');
|
@watercolor2 : data-uri('./themes/assets/watercolor/watercolor2.png');
|
||||||
@watercolor3 : data-uri('./themes/assets/watercolor/watercolor3.png');
|
@watercolor3 : data-uri('./themes/assets/watercolor/watercolor3.png');
|
||||||
|
|||||||
BIN
themes/assets/classTableDecoration.png
Normal file
BIN
themes/assets/classTableDecoration.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 67 KiB |
Reference in New Issue
Block a user