diff --git a/command-line/css/print.css b/command-line/css/print.css index a79befc..a7ed5cb 100644 --- a/command-line/css/print.css +++ b/command-line/css/print.css @@ -85,8 +85,8 @@ body{ letter-spacing: 0.01em; /*hyphens: auto;*/ /*-webkit-hyphenate-limit-chars: 8 2 4;*/ /* word length, minimum number of characters before and after the hyphen -- does not work in chrome */ - orphans: unset; /* Default is 2. These might trigger disappearing sentences at pagebreak? https://mattermost.pagedmedia.org/pagedmedia/pl/xsetebgcbbddzggwbbn93e5k1a */ - widows: unset; /* Default is 2. These might trigger disappearing sentences at pagebreak? https://mattermost.pagedmedia.org/pagedmedia/pl/xsetebgcbbddzggwbbn93e5k1a */ + orphans: 0; /* Default is 2. These might trigger disappearing sentences at pagebreak? https://mattermost.pagedmedia.org/pagedmedia/pl/xsetebgcbbddzggwbbn93e5k1a */ + widows: 0; /* Default is 2. These might trigger disappearing sentences at pagebreak? https://mattermost.pagedmedia.org/pagedmedia/pl/xsetebgcbbddzggwbbn93e5k1a */ } @page{ @@ -433,10 +433,9 @@ div.item_index{ text-indent: -7mm; margin-left: 7mm; } - div.item_index li a::after{ - content: ", " target-counter(attr(href), page); + div.item_index li span.item-refs a::after{ + content: target-counter(attr(href), page); font-weight: bold; - margin-left: -0.15em; /* To remove the weird gaps between inline-blocks. This seems to be a general problem in HTML5/CSS3 */ } div.item_index li span.item_nr{ width: 10mm; @@ -614,6 +613,10 @@ p{ div.contribution.ultrasonic-dreams div.title-wrapper + p + p > b{ margin-left: -7mm; } + div.force-text-indent { + display: block; + text-indent: var(--first-indent) !important; + } ul{ margin: 18px 0 !important; @@ -652,11 +655,24 @@ ul > li { div.list-without-markers ul > li{ text-indent: -1em !important; } - div.list-without-markers ul > li:before{ + div.list-without-markers ul > li::before{ + content: none !important; + margin-left: unset; + margin-right: unset; + } + div.contribution div.list-with-custom-markers ul > li{ + text-indent: 0 !important; + } + div.contribution div.list-with-custom-markers ul > li::before{ content: none !important; margin-left: unset; margin-right: unset; } + div.contribution div.list-with-custom-markers ul > li > span.custom-marker{ + display: inline-block; + text-indent: -0.85em !important; + margin-left: -0.25em; + } /* notes (ol.references) and references (ul.references) */ ol.references, diff --git a/command-line/templates/template.html b/command-line/templates/template.html index acfc50d..2fd2726 100644 --- a/command-line/templates/template.html +++ b/command-line/templates/template.html @@ -6,6 +6,7 @@
-