summaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-14 00:31:43 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-14 00:31:43 +0000
commit6983e38050a063c02f6d8b440ebb479271d4c17e (patch)
tree7e600a73198ae8ba8f037192ce0daf478dc1c5fa /style.css
parenta21030a270ddf19e2a49d9b63fe6d5de4817ddf8 (diff)
downloadmandoc-6983e38050a063c02f6d8b440ebb479271d4c17e.tar.gz
Revert previous, as requested by kristaps@.
The .Bf block can contain subblocks, so it has to render as an element that can contain flow content. But <em> cannot contain flow content, only phrasing content. Rendering .Em and .Bf differently would by unfortunate, and closing out .Bf before subblocks and re-opening it afterwards would merely complicate both the C code of the program and the generated HTML code. Besides, converting .Em to semantic HTML markup would require some content to be put into <em> and some into <i>, but we cannot automatically distinguish which is which, so strictly speaking, we can't use semantic HTML here but have to fall back to physical markup. Wonders of HTML...
Diffstat (limited to 'style.css')
-rw-r--r--style.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/style.css b/style.css
index 79114ac9..dcc49a7c 100644
--- a/style.css
+++ b/style.css
@@ -34,7 +34,7 @@ td.head-rtitle { width: 10%; text-align: right; } /* Document header: right-titl
/* General font modes. */
i { } /* Italic: BI, IB, I, (implicit). */
-em { font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */
+.emph { font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */
b { } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
.symb { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */
small { } /* Small: SB, SM. */