Apache Lucene open-source search software
SOLR-12746: Fix formatting for callout list numbers and preamble sections
Cassandra Targett4efaecac3415
diff --git a/solr/solr-ref-guide/src/_templates/colist.html.slim b/solr/solr-ref-guide/src/_templates/colist.html.slimindex 41276d257f2..0e5c7b7a681 100644--- a/solr/solr-ref-guide/src/_templates/colist.html.slim+++ b/solr/solr-ref-guide/src/_templates/colist.html.slim@@ -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.textdiff --git a/solr/solr-ref-guide/src/css/ref-guide.css b/solr/solr-ref-guide/src/css/ref-guide.cssindex 1005ab900a9..6ea3085b508 100644--- a/solr/solr-ref-guide/src/css/ref-guide.css+++ b/solr/solr-ref-guide/src/css/ref-guide.css@@ -433,9 +433,11 @@ selectwidth: 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.titlewhite-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);}