0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-09 05:02:42 +00:00

Remove :before on .note

Move all properties from :before to the base .note....don't see a need to add a superfluous pseudo element.
This commit is contained in:
Gazook89
2021-08-15 19:52:12 -05:00
parent ec92a0307b
commit 76a6c9c2d3

View File

@@ -199,20 +199,12 @@ body {
// * NOTE // * NOTE
// *****************************/ // *****************************/
.note{ .note{
&::before{ box-sizing : border-box;
content : ""; border-style : solid;
box-sizing : border-box; border-width : 11px;
border-style : solid; border-image : @noteBorderImage 12;
border-width : 11px; border-image-outset : 9px 0px;
border-image : @noteBorderImage 12; box-shadow : 1px 4px 14px #888;
border-image-outset : 9px 0px;
box-shadow : 1px 4px 14px #888;
position : absolute;
width : 100%;
height : 100%;
top : 0;
left : 0;
}
.useSansSerif(); .useSansSerif();
position : relative; position : relative;
margin-top : 1.3em; margin-top : 1.3em;