mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 20:42:43 +00:00
Added print rules and fixing the newer border images
This commit is contained in:
@@ -339,8 +339,30 @@ table {
|
||||
.phb hr + blockquote {
|
||||
position: relative;
|
||||
background-color: #FDF1DC;
|
||||
border: none;
|
||||
padding-top: 15px;
|
||||
border-image: url('/assets/homebrew/phbStyle/border.png') 10;
|
||||
border-style: solid;
|
||||
border-width: 10px;
|
||||
/*
|
||||
//Top and Bottom Borders
|
||||
&:after, &:before{
|
||||
content : "";
|
||||
position : absolute;
|
||||
height : 4px;
|
||||
width : 100%;
|
||||
padding : 0px 3px;
|
||||
background-color : #E69A28;
|
||||
border : 1px solid black;
|
||||
}
|
||||
&:before{
|
||||
top : 0px;
|
||||
left : -3px;
|
||||
}
|
||||
&:after{
|
||||
bottom : 0px;
|
||||
left : -3px;
|
||||
}
|
||||
*/
|
||||
}
|
||||
.phb hr + blockquote h2 {
|
||||
margin-top: -8px;
|
||||
@@ -391,44 +413,12 @@ table {
|
||||
text-indent: 0em;
|
||||
}
|
||||
.phb hr + blockquote hr {
|
||||
position: relative;
|
||||
visibility: visible;
|
||||
margin: 8px 0px;
|
||||
border-color: transparent;
|
||||
}
|
||||
.phb hr + blockquote hr:after,
|
||||
.phb hr + blockquote hr:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
height: 3px;
|
||||
width: 100%;
|
||||
}
|
||||
.phb hr + blockquote hr:before {
|
||||
top: -3px;
|
||||
background: linear-gradient(to right top, #9c2b1b 40%, transparent 50%);
|
||||
}
|
||||
.phb hr + blockquote hr:after {
|
||||
top: 0px;
|
||||
background: linear-gradient(to right bottom, #9c2b1b 40%, transparent 50%);
|
||||
}
|
||||
.phb hr + blockquote:after,
|
||||
.phb hr + blockquote:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
height: 4px;
|
||||
width: 100%;
|
||||
padding: 0px 3px;
|
||||
background-color: #E69A28;
|
||||
border: 1px solid black;
|
||||
}
|
||||
.phb hr + blockquote:before {
|
||||
top: 0px;
|
||||
left: -3px;
|
||||
}
|
||||
.phb hr + blockquote:after {
|
||||
bottom: 0px;
|
||||
left: -3px;
|
||||
border: none;
|
||||
height: 6px;
|
||||
margin: 4px 0px;
|
||||
background-image: url('/assets/homebrew/phbStyle/red.png');
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.phb hr + hr + blockquote {
|
||||
column-count: 2;
|
||||
@@ -535,3 +525,13 @@ table {
|
||||
.phb table + p {
|
||||
text-indent: 1em;
|
||||
}
|
||||
.phb ul ul,
|
||||
.phb ol ol,
|
||||
.phb ul ol,
|
||||
.phb ol ul {
|
||||
margin-left: 1.5em;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
.phb.print blockquote {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user