=================================================================== RCS file: /cvs/mandoc/mandoc.css,v retrieving revision 1.48 retrieving revision 1.50 diff -u -p -r1.48 -r1.50 --- mandoc/mandoc.css 2021/03/30 19:26:20 1.48 +++ mandoc/mandoc.css 2022/07/03 14:29:45 1.50 @@ -1,4 +1,4 @@ -/* $Id: mandoc.css,v 1.48 2021/03/30 19:26:20 schwarze Exp $ */ +/* $Id: mandoc.css,v 1.50 2022/07/03 14:29:45 schwarze Exp $ */ /* * Standard style sheet for mandoc(1) -Thtml and man.cgi(8). * @@ -69,8 +69,7 @@ td.foot-os { text-align: right; } /* Sections and paragraphs. */ -.manual-text { - margin-left: 3.8em; } +main { margin-left: 3.8em; } .Nd { } section.Sh { } h1.Sh { margin-top: 1.2em; @@ -195,7 +194,7 @@ code.Nm { font-style: normal; font-family: inherit; } .Ar { font-style: italic; font-weight: normal; } -.Op { display: inline; } +.Op { display: inline flow; } .Ic { font-style: normal; font-weight: bold; font-family: inherit; } @@ -250,7 +249,7 @@ a.In { } /* Physical markup. */ -.Bf { display: inline; } +.Bf { display: inline flow; } .No { font-style: normal; font-weight: normal; } .Em { font-style: italic; @@ -267,7 +266,7 @@ h1.Sh, h2.Ss { position: relative; } .An, .Ar, .Cd, .Cm, .Dv, .Em, .Er, .Ev, .Fa, .Fd, .Fl, .Fn, .Ft, .Ic, code.In, .Lb, .Lk, .Ms, .Mt, .Nd, code.Nm, .Pa, .Rs, .St, .Sx, .Sy, .Va, .Vt, .Xr { - display: inline-block; + display: inline flow; position: relative; } .An::before { content: "An"; } @@ -338,8 +337,7 @@ h1.Sh::before, h2.Ss::before, .St::before, .Sx::before /* Overrides to avoid excessive margins on small devices. */ @media (max-width: 37.5em) { -.manual-text { - margin-left: 0.5em; } +main { margin-left: 0.5em; } h1.Sh, h2.Ss { margin-left: 0em; } .Bd-indent { margin-left: 2em; } .Bl-hang > dd {