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

Annotation of mandoc/mandoc.css, Revision 1.14

1.14    ! schwarze    1: /* $Id: mandoc.css,v 1.13 2017/01/21 02:29:57 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; }
1.14    ! schwarze   94: dl.Bl-tag {    margin-left: 8ex; }
        !            95: dt.It-tag {    float: left;
        !            96:                clear: both;
        !            97:                margin-top: 0ex;
        !            98:                margin-left: -8ex;
        !            99:                padding-right: 2ex;
        !           100:                vertical-align: top; }
        !           101: dd.It-tag {    width: 100%;
        !           102:                margin-top: 0ex;
        !           103:                margin-left: 0ex;
        !           104:                vertical-align: top;
        !           105:                overflow: auto; }
1.8       schwarze  106:
                    107: table.Bl-column { }
                    108: tr.It-column { }
1.12      schwarze  109: td.It-column { margin-top: 1em; }
1.8       schwarze  110:
1.9       schwarze  111: span.Rs        { }
                    112: span.RsA { }
                    113: i.RsB {                font-weight: normal; }
                    114: span.RsC { }
                    115: span.RsD { }
                    116: i.RsI {                font-weight: normal; }
                    117: i.RsJ {                font-weight: normal; }
                    118: span.RsN { }
                    119: span.RsO { }
                    120: span.RsP { }
                    121: span.RsQ { }
                    122: span.RsR { }
                    123: span.RsT {     text-decoration: underline; }
                    124: a.RsU { }
                    125: span.RsV { }
                    126:
1.11      schwarze  127: span.eqn { }
                    128: table.tbl { }
                    129:
1.10      schwarze  130: /* Semantic markup for command line utilities. */
                    131:
                    132: table.Nm { }
                    133: b.Nm {         font-style: normal; }
                    134: b.Fl {         font-style: normal; }
                    135: b.Cm {         font-style: normal; }
                    136: i.Ar {         font-weight: normal; }
                    137: span.Op { }
                    138: b.Ic {         font-style: normal; }
                    139: code.Ev {      font-style: normal;
                    140:                font-weight: normal;
                    141:                font-family: monospace; }
                    142: i.Pa {         font-weight: normal; }
                    143:
                    144: /* Semantic markup for function libraries. */
                    145:
                    146: span.Lb { }
                    147: b.In {         font-style: normal; }
                    148: a.In { }
                    149: b.Fd {         font-style: normal; }
                    150: i.Ft {         font-weight: normal; }
                    151: b.Fn {         font-style: normal; }
                    152: i.Fa {         font-weight: normal; }
                    153: i.Vt {         font-weight: normal; }
                    154: i.Va {         font-weight: normal; }
                    155: code.Dv {      font-style: normal;
                    156:                font-weight: normal;
                    157:                font-family: monospace; }
                    158: code.Er {      font-style: normal;
                    159:                font-weight: normal;
                    160:                font-family: monospace; }
                    161:
                    162: /* Various semantic markup. */
                    163:
                    164: span.An { }
                    165: a.Lk { }
                    166: a.Mt { }
                    167: b.Cd {         font-style: normal; }
                    168: i.Ad {         font-weight: normal; }
                    169: b.Ms {         font-style: normal; }
1.11      schwarze  170: a.Ux { }
1.10      schwarze  171:
1.11      schwarze  172: /* Physical markup. */
1.7       schwarze  173:
1.11      schwarze  174: .No {          font-style: normal;
                    175:                font-weight: normal; }
                    176: .Em {          font-style: italic;
                    177:                font-weight: normal; }
                    178: .Sy {          font-style: normal;
                    179:                font-weight: bold; }
1.7       schwarze  180: .Li {          font-style: normal;
                    181:                font-weight: normal;
                    182:                font-family: monospace; }

CVSweb