Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make blockquote CSS not italic, to eliminate confusion in examples #42

Open
kshaffer opened this issue Aug 6, 2015 · 1 comment
Open
Assignees

Comments

@kshaffer
Copy link

kshaffer commented Aug 6, 2015

No description provided.

@kshaffer kshaffer self-assigned this Aug 6, 2015
@kshaffer kshaffer added this to the August Relaunch milestone Aug 6, 2015
@bcmoseley
Copy link

How about this, @kshaffer. It keeps the italics but adds CSS-generated quotes before and after the quote.

blockquote {
background: #f9f9f9;
border-left:1px solid #e5e5e5;
margin: 1.5em 10px;
padding: 0.5em 10px;
quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
color: #ccc;
content: open-quote;
font-size: 4em;
line-height: 0.1em;
margin-right: 0.25em;
vertical-align: -0.4em;
}
blockquote:after {
color: #ccc;
content: close-quote;
font-size: 4em;
line-height: 0.1em;
margin-left: 0.25em;
vertical-align: -0.4em;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants