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

Annotation of mandoc/mandoc.css, Revision 1.9

1.9     ! schwarze    1: /* $Id: mandoc.css,v 1.8 2017/01/20 19:58:07 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%;
                     11:                margin-top: 0ex;
                     12:                margin-bottom: 0ex; }
                     13: td {           vertical-align: top; }
1.3       schwarze   14:
                     15: /* Search form and search results. */
                     16:
                     17: fieldset {     border: thin solid silver;
                     18:                border-radius: 1em;
                     19:                text-align: center; }
                     20: input[name=expr] {
                     21:                width: 25%; }
                     22:
                     23: div.results {  margin-top: 1em;
                     24:                margin-left: 2em;
                     25:                font-size: smaller; }
                     26:
1.4       schwarze   27: /* Header and footer lines. */
                     28:
                     29: table.head {   border-bottom: 1px dotted #808080;
                     30:                margin-bottom: 1em;
                     31:                font-size: smaller; }
                     32: td.head-vol {  text-align: center; }
                     33: td.head-rtitle {
                     34:                text-align: right; }
                     35:
                     36: table.foot {   border-top: 1px dotted #808080;
                     37:                margin-top: 1em;
                     38:                font-size: smaller; }
                     39: td.foot-date { width: 50%; }
                     40: td.foot-os {   width: 50%;
                     41:                text-align: right; }
                     42:
1.5       schwarze   43: /* Sections and paragraphs. */
                     44:
                     45: div.manual-text {
                     46:                margin-left: 5ex; }
                     47: h1.Sh {                margin-top: 2ex;
                     48:                margin-bottom: 1ex;
                     49:                margin-left: -4ex;
                     50:                font-size: 110%; }
                     51: h2.Ss {                margin-top: 2ex;
                     52:                margin-bottom: 1ex;
                     53:                margin-left: -2ex;
                     54:                font-size: 105%; }
                     55: div.Pp {       margin: 1ex 0ex; }
1.6       schwarze   56: a.Sx { }
                     57: a.Xr { }
1.3       schwarze   58:
1.7       schwarze   59: /* Displays and lists. */
                     60:
                     61: div.Bd { }
                     62: div.D1 {       margin-left: 5ex; }
                     63:
1.8       schwarze   64: ul.Bl-bullet { list-style-type: disc;
                     65:                padding-left: 1em; }
                     66: li.It-bullet { }
                     67: ul.Bl-dash {   list-style-type: none;
                     68:                padding-left: 0em; }
                     69: li.It-dash:before {
                     70:                content: "\2014  "; }
                     71: ul.Bl-item {   list-style-type: none;
                     72:                padding-left: 0em; }
                     73: li.It-item { }
                     74:
                     75: ol.Bl-enum {   padding-left: 2em; }
                     76: li.It-enum { }
                     77:
                     78: dl.Bl-diag { }
                     79: dt.It-diag { }
                     80: dd.It-diag { }
                     81: b.It-diag {    font-style: normal; }
                     82: dl.Bl-hang { }
                     83: dt.It-hang { }
                     84: dd.It-hang { }
                     85: dl.Bl-inset { }
                     86: dt.It-inset { }
                     87: dd.It-inset { }
                     88: dl.Bl-ohang { }
                     89: dt.It-ohang { }
                     90: dd.It-ohang {  margin-left: 0ex; }
                     91: dl.Bl-tag { }
                     92: dt.It-tag { }
                     93: dd.It-tag { }
                     94:
                     95: table.Bl-column { }
                     96: tr.It-column { }
                     97: td.It-column { }
                     98:
1.9     ! schwarze   99: span.Rs        { }
        !           100: span.RsA { }
        !           101: i.RsB {                font-weight: normal; }
        !           102: span.RsC { }
        !           103: span.RsD { }
        !           104: i.RsI {                font-weight: normal; }
        !           105: i.RsJ {                font-weight: normal; }
        !           106: span.RsN { }
        !           107: span.RsO { }
        !           108: span.RsP { }
        !           109: span.RsQ { }
        !           110: span.RsR { }
        !           111: span.RsT {     text-decoration: underline; }
        !           112: a.RsU { }
        !           113: span.RsV { }
        !           114:
1.7       schwarze  115: /* Fonts. */
                    116:
                    117: .Li {          font-style: normal;
                    118:                font-weight: normal;
                    119:                font-family: monospace; }
                    120:
1.4       schwarze  121:
1.1       schwarze  122: table.synopsis { } /* SYNOPSIS section table. */
                    123:
                    124: /* General font modes. */
                    125:
                    126: i              { } /* Italic: BI, IB, I, (implicit). */
                    127: .emph          { font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */
                    128: b              { } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
                    129: .symb          { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */
                    130: small          { } /* Small: SB, SM. */
                    131:
                    132: /* Context-specific modes. */
                    133:
                    134: i.addr         { font-weight: normal; } /* Address (Ad). */
                    135: i.arg          { font-weight: normal; } /* Command argument (Ar). */
                    136: span.author    { } /* Author name (An). */
                    137: b.cmd          { font-style: normal; } /* Command (Cm). */
                    138: b.config       { font-style: normal; } /* Config statement (Cd). */
                    139: span.define    { } /* Defines (Dv). */
                    140: span.desc      { } /* Nd.  After em-dash. */
                    141: span.env       { } /* Environment variables (Ev). */
                    142: span.errno     { } /* Error string (Er). */
                    143: i.farg         { font-weight: normal; } /* Function argument (Fa, Fn). */
                    144: i.file         { font-weight: normal; } /* File (Pa). */
                    145: b.flag         { font-style: normal; } /* Flag (Fl, Cm). */
                    146: b.fname                { font-style: normal; } /* Function name (Fa, Fn, Rv). */
                    147: i.ftype                { font-weight: normal; } /* Function types (Ft, Fn). */
                    148: b.includes     { font-style: normal; } /* Header includes (In). */
                    149: span.lib       { } /* Library (Lb). */
                    150: b.macro                { font-style: normal; } /* Macro-ish thing (Fd). */
                    151: b.name         { font-style: normal; } /* Name of utility (Nm). */
                    152: span.opt       { } /* Options (Op, Oo/Oc). */
                    153: span.type      { font-style: italic; font-weight: normal; } /* Variable types (Vt). */
                    154: span.unix      { } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
                    155: b.utility      { font-style: normal; } /* Name of utility (Ex). */
                    156: b.var          { font-style: normal; } /* Variables (Rv). */
                    157:
                    158: a.link-ext     { } /* Off-site link (Lk). */
                    159: a.link-includes        { } /* Include-file link (In). */
                    160: a.link-mail    { } /* Mailto links (Mt). */
                    161:
                    162: /* Equation modes.  See eqn(7). */
                    163:
                    164: span.eqn       { }
                    165:
                    166: /* Table modes.  See tbl(7). */
                    167:
                    168: table.tbl      { }

CVSweb