openmusictheory/openmusictheory.github.io

Make blockquote CSS not italic, to eliminate confusion in examples

Opened this issue · 1 comments

Make blockquote CSS not italic, to eliminate confusion in examples

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;
}