[BACK]Return to mandoc.css CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Annotation of mandoc/mandoc.css, Revision 1.13

1.13    ! schwarze    1: /* $Id: mandoc.css,v 1.12 2017/01/21 02:09:51 schwarze Exp $ */
1.1       schwarze    2: /*
1.3       schwarze    3:  * Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
1.1       schwarze    4:  */
                      5:
1.3       schwarze    6: /* Global defaults. */
                      7:
                      8: html {         max-width: 100ex; }
                      9: body {         font-family: Helvetica,Arial,sans-serif; }
1.13    ! schwarze   10: table {                margin-top: 0em;
1.12      schwarze   11:                margin-bottom: 0em; }
1.4       schwarze   12: td {           vertical-align: top; }
1.12      schwarze   13: ul, ol, dl {   margin-top: 0em;
                     14:                margin-bottom: 0em; }
                     15: li, dt {       margin-top: 1em; }
1.3       schwarze   16:
                     17: /* Search form and search results. */
                     18:
                     19: fieldset {     border: thin solid silver;
                     20:                border-radius: 1em;
                     21:                text-align: center; }
                     22: input[name=expr] {
                     23:                width: 25%; }
                     24:
1.11      schwarze   25: table.results {        margin-top: 1em;
1.3       schwarze   26:                margin-left: 2em;
                     27:                font-size: smaller; }
                     28:
1.4       schwarze   29: /* Header and footer lines. */
                     30:
1.13    ! schwarze   31: table.head {   width: 100%;
        !            32:                border-bottom: 1px dotted #808080;
1.4       schwarze   33:                margin-bottom: 1em;
                     34:                font-size: smaller; }
                     35: td.head-vol {  text-align: center; }
                     36: td.head-rtitle {
                     37:                text-align: right; }
1.11      schwarze   38: span.Nd { }
1.4       schwarze   39:
1.13    ! schwarze   40: table.foot {   width: 100%;
        !            41:                border-top: 1px dotted #808080;
1.4       schwarze   42:                margin-top: 1em;
                     43:                font-size: smaller; }
1.13    ! schwarze   44: td.foot-os {   text-align: right; }
1.4       schwarze   45:
1.5       schwarze   46: /* Sections and paragraphs. */
                     47:
                     48: div.manual-text {
                     49:                margin-left: 5ex; }
                     50: h1.Sh {                margin-top: 2ex;
                     51:                margin-bottom: 1ex;
                     52:                margin-left: -4ex;
                     53:                font-size: 110%; }
                     54: h2.Ss {                margin-top: 2ex;
                     55:                margin-bottom: 1ex;
                     56:                margin-left: -2ex;
                     57:                font-size: 105%; }
                     58: div.Pp {       margin: 1ex 0ex; }
1.6       schwarze   59: a.Sx { }
                     60: a.Xr { }
1.3       schwarze   61:
1.7       schwarze   62: /* Displays and lists. */
                     63:
                     64: div.Bd { }
                     65: div.D1 {       margin-left: 5ex; }
                     66:
1.8       schwarze   67: ul.Bl-bullet { list-style-type: disc;
                     68:                padding-left: 1em; }
                     69: li.It-bullet { }
                     70: ul.Bl-dash {   list-style-type: none;
                     71:                padding-left: 0em; }
                     72: li.It-dash:before {
                     73:                content: "\2014  "; }
                     74: ul.Bl-item {   list-style-type: none;
                     75:                padding-left: 0em; }
                     76: li.It-item { }
                     77:
                     78: ol.Bl-enum {   padding-left: 2em; }
                     79: li.It-enum { }
                     80:
                     81: dl.Bl-diag { }
                     82: dt.It-diag { }
                     83: dd.It-diag { }
                     84: b.It-diag {    font-style: normal; }
                     85: dl.Bl-hang { }
                     86: dt.It-hang { }
                     87: dd.It-hang { }
                     88: dl.Bl-inset { }
                     89: dt.It-inset { }
                     90: dd.It-inset { }
                     91: dl.Bl-ohang { }
                     92: dt.It-ohang { }
                     93: dd.It-ohang {  margin-left: 0ex; }
                     94: dl.Bl-tag { }
                     95: dt.It-tag { }
                     96: dd.It-tag { }
                     97:
                     98: table.Bl-column { }
                     99: tr.It-column { }
1.12      schwarze  100: td.It-column { margin-top: 1em; }
1.8       schwarze  101:
1.9       schwarze  102: span.Rs        { }
                    103: span.RsA { }
                    104: i.RsB {                font-weight: normal; }
                    105: span.RsC { }
                    106: span.RsD { }
                    107: i.RsI {                font-weight: normal; }
                    108: i.RsJ {                font-weight: normal; }
                    109: span.RsN { }
                    110: span.RsO { }
                    111: span.RsP { }
                    112: span.RsQ { }
                    113: span.RsR { }
                    114: span.RsT {     text-decoration: underline; }
                    115: a.RsU { }
                    116: span.RsV { }
                    117:
1.11      schwarze  118: span.eqn { }
                    119: table.tbl { }
                    120:
1.10      schwarze  121: /* Semantic markup for command line utilities. */
                    122:
                    123: table.Nm { }
                    124: b.Nm {         font-style: normal; }
                    125: b.Fl {         font-style: normal; }
                    126: b.Cm {         font-style: normal; }
                    127: i.Ar {         font-weight: normal; }
                    128: span.Op { }
                    129: b.Ic {         font-style: normal; }
                    130: code.Ev {      font-style: normal;
                    131:                font-weight: normal;
                    132:                font-family: monospace; }
                    133: i.Pa {         font-weight: normal; }
                    134:
                    135: /* Semantic markup for function libraries. */
                    136:
                    137: span.Lb { }
                    138: b.In {         font-style: normal; }
                    139: a.In { }
                    140: b.Fd {         font-style: normal; }
                    141: i.Ft {         font-weight: normal; }
                    142: b.Fn {         font-style: normal; }
                    143: i.Fa {         font-weight: normal; }
                    144: i.Vt {         font-weight: normal; }
                    145: i.Va {         font-weight: normal; }
                    146: code.Dv {      font-style: normal;
                    147:                font-weight: normal;
                    148:                font-family: monospace; }
                    149: code.Er {      font-style: normal;
                    150:                font-weight: normal;
                    151:                font-family: monospace; }
                    152:
                    153: /* Various semantic markup. */
                    154:
                    155: span.An { }
                    156: a.Lk { }
                    157: a.Mt { }
                    158: b.Cd {         font-style: normal; }
                    159: i.Ad {         font-weight: normal; }
                    160: b.Ms {         font-style: normal; }
1.11      schwarze  161: a.Ux { }
1.10      schwarze  162:
1.11      schwarze  163: /* Physical markup. */
1.7       schwarze  164:
1.11      schwarze  165: .No {          font-style: normal;
                    166:                font-weight: normal; }
                    167: .Em {          font-style: italic;
                    168:                font-weight: normal; }
                    169: .Sy {          font-style: normal;
                    170:                font-weight: bold; }
1.7       schwarze  171: .Li {          font-style: normal;
                    172:                font-weight: normal;
                    173:                font-family: monospace; }

CVSweb