Commit bccf7812 authored by Laura Kalbag's avatar Laura Kalbag

Improve quote display on News list page

By putting the quotes into the CSS instead.
parent c731ce47
......@@ -14,9 +14,7 @@
{{ .Date.Format "2" | humanize }} {{ .Date.Format "January, 2006" }}
</time> {{ with .Params.author }}by {{ . }} {{end}}on <a href='{{ .Params.SourceURL }}'>{{ .Params.SourceName }}</a></p></div>
<blockquote class='summary'>
<p>
“{{ .Summary }}”
</p>
<p>{{ .Summary }}</p>
</blockquote>
<div class='entry-notes'>
<p><a href='{{ .Params.postURL }}'>Read ‘{{ .Title }}’ on {{ .Params.SourceName }}</a>.</p>
......
......@@ -702,10 +702,6 @@ ol.emphasised-numbers li {
position: relative; /* enables us to position pseudo selectors on this element */
}
ol.emphasised-numbers li h3, ol.emphasised-numbers li p {
}
ol.emphasised-numbers li:before {
background: #E3F9A8;
background-color: var(--colour-bg);
......@@ -856,6 +852,21 @@ aside.fund-us .link-highlighted:focus {
hyphens: auto;
}
blockquote.summary p:first-of-type,
blockquote.summary p:last-of-type {
position: relative;
}
blockquote.summary p:first-of-type:before {
content: "“";
display: inline;
}
blockquote.summary p:last-of-type:after {
content: "”";
display: inline;
}
.events-list {
margin-bottom: 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment