-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(blockquote): regression introduced in last version
Bootstrap style override our style. This patch fixes it.
- Loading branch information
Showing
3 changed files
with
36 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,38 @@ | ||
blockquote { | ||
--quotes-margin: 13px; | ||
background: Cornsilk; | ||
border-left: 5px solid goldenrod; | ||
border-radius: var(--border-radius); | ||
box-sizing: border-box; | ||
margin: 1rem auto 2rem; | ||
padding: 0.1rem 1.2rem; | ||
position: relative; | ||
width: 80%; | ||
&:before, | ||
&:after { | ||
color: dimgray; | ||
font-size: 4rem; | ||
line-height: 0; | ||
margin: 0; | ||
padding: 0; | ||
position: absolute; | ||
} | ||
&:before { | ||
content: open-quote; | ||
margin-right: var(--quotes-margin); | ||
right: 100%; | ||
top: 30px; | ||
} | ||
&:after { | ||
bottom: 0px; | ||
content: close-quote; | ||
left: 100%; | ||
margin-left: var(--quotes-margin); | ||
top: auto; | ||
.article-content { | ||
& blockquote { | ||
--quotes-margin: 13px; | ||
background: Cornsilk; | ||
border-left: 5px solid goldenrod; | ||
border-radius: var(--border-radius); | ||
box-sizing: border-box; | ||
margin: 1rem auto 2rem; | ||
padding: 0.1rem 1.2rem; | ||
position: relative; | ||
width: 80%; | ||
&:before, | ||
&:after { | ||
color: dimgray; | ||
font-size: 4rem; | ||
line-height: 0; | ||
margin: 0; | ||
padding: 0; | ||
position: absolute; | ||
} | ||
&:before { | ||
content: open-quote; | ||
margin-right: var(--quotes-margin); | ||
right: 100%; | ||
top: 30px; | ||
} | ||
&:after { | ||
bottom: 0px; | ||
content: close-quote; | ||
left: 100%; | ||
margin-left: var(--quotes-margin); | ||
top: auto; | ||
} | ||
& p { | ||
margin: 20px 0; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters