mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-02 17:12:45 +00:00
Use z-index instead of translateZ
This commit is contained in:
@@ -619,27 +619,28 @@ body {
|
|||||||
border-image-width : 47px;
|
border-image-width : 47px;
|
||||||
}
|
}
|
||||||
&.decoration {
|
&.decoration {
|
||||||
transform-style : preserve-3d;
|
|
||||||
z-index: -1;
|
|
||||||
position:relative;
|
position:relative;
|
||||||
}
|
}
|
||||||
&.decoration::before {
|
&.decoration::before {
|
||||||
content :'';
|
content :'';
|
||||||
position : absolute;
|
position : absolute;
|
||||||
background-image : @classTableDecoration;
|
background-image : @classTableDecoration,
|
||||||
background-size : contain;
|
@classTableDecoration;
|
||||||
background-repeat : space;
|
background-size : contain, contain;
|
||||||
width : 7.75cm;
|
background-repeat : no-repeat, no-repeat;
|
||||||
height : calc(100% + 3.3cm);
|
background-position : top, bottom;
|
||||||
top : 50%;
|
width : 7.75cm;
|
||||||
left : 50%;
|
height : calc(100% + 3.3cm);
|
||||||
transform : translateY(-50%) translateX(-50%) translateZ(-1px);
|
top : 50%;
|
||||||
filter : drop-shadow(0px 0px 1px #C8C5C080)
|
left : 50%;
|
||||||
|
transform : translateY(-50%) translateX(-50%);
|
||||||
|
filter : drop-shadow(0px 0px 1px #C8C5C080);
|
||||||
|
z-index : -1;
|
||||||
}
|
}
|
||||||
&.decoration.wide::before {
|
&.decoration.wide::before {
|
||||||
width : calc(100% + 3.3cm);
|
width : calc(100% + 3.3cm);
|
||||||
height : 7.75cm;
|
height : 7.75cm;
|
||||||
top : calc(50% + 0.4cm);
|
background-position : left, right;
|
||||||
}
|
}
|
||||||
h5 + table{
|
h5 + table{
|
||||||
margin-top : 0.2cm;
|
margin-top : 0.2cm;
|
||||||
|
|||||||
Reference in New Issue
Block a user