SOLR-12746: Fix formatting for callout list numbers and preamble sections

This commit is contained in:
Cassandra Targett 2018-11-19 14:53:05 -06:00
parent eb8010405d
commit 4efaecac34
2 changed files with 14 additions and 6 deletions

View File

@ -1,4 +1,8 @@
/ Note: We ignore title on callout list here.
ol.callout-list id=id class=[style, role]
- items.each do |item|
li =item.text
= block_with_title class: ['colist', style]
table
- items.to_enum.with_index 1 do |item, num|
tr
td
i.conum data-value=num
b =num
td =item.text

View File

@ -433,9 +433,11 @@ select
width: 100%;
}
/* Defines size and line height for "lead" type sections, the first sentence of a page. */
#preamble > .sectionbody > .paragraph:first-of-type p,
.paragraph.lead > p,
p.lead
p.lead,
#preamble > p:first-of-type
{
font-size: 1.21875em;
line-height: 1.6;
@ -1454,8 +1456,10 @@ table.tableblock > caption.title
white-space: nowrap;
}
/* Defines color for "lead" type sections, the first text on a page. */
#preamble > .sectionbody > .paragraph:first-of-type p,
.paragraph.lead > p
.paragraph.lead > p,
#preamble > p:first-of-type
{
color: rgba(0,0,0,.85);
}