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

Annotation of mandoc/mandoc.css, Revision 1.12

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

CVSweb