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

Annotation of mandoc/mandoc.css, Revision 1.7

1.7     ! schwarze    1: /* $Id: mandoc.css,v 1.6 2017/01/19 15:48:39 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:
        !            64: /* Fonts. */
        !            65:
        !            66: .Li {          font-style: normal;
        !            67:                font-weight: normal;
        !            68:                font-family: monospace; }
        !            69:
1.4       schwarze   70:
1.1       schwarze   71: table.synopsis { } /* SYNOPSIS section table. */
                     72:
                     73: /* General font modes. */
                     74:
                     75: i              { } /* Italic: BI, IB, I, (implicit). */
                     76: .emph          { font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */
                     77: b              { } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
                     78: .symb          { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */
                     79: small          { } /* Small: SB, SM. */
                     80:
                     81: /* Block modes. */
                     82:
                     83: .list          { } /* Top of all Bl. */
                     84:
                     85: /* Context-specific modes. */
                     86:
                     87: i.addr         { font-weight: normal; } /* Address (Ad). */
                     88: i.arg          { font-weight: normal; } /* Command argument (Ar). */
                     89: span.author    { } /* Author name (An). */
                     90: b.cmd          { font-style: normal; } /* Command (Cm). */
                     91: b.config       { font-style: normal; } /* Config statement (Cd). */
                     92: span.define    { } /* Defines (Dv). */
                     93: span.desc      { } /* Nd.  After em-dash. */
                     94: b.diag         { font-style: normal; } /* Diagnostic (Bl -diag). */
                     95: span.env       { } /* Environment variables (Ev). */
                     96: span.errno     { } /* Error string (Er). */
                     97: i.farg         { font-weight: normal; } /* Function argument (Fa, Fn). */
                     98: i.file         { font-weight: normal; } /* File (Pa). */
                     99: b.flag         { font-style: normal; } /* Flag (Fl, Cm). */
                    100: b.fname                { font-style: normal; } /* Function name (Fa, Fn, Rv). */
                    101: i.ftype                { font-weight: normal; } /* Function types (Ft, Fn). */
                    102: b.includes     { font-style: normal; } /* Header includes (In). */
                    103: span.lib       { } /* Library (Lb). */
                    104: b.macro                { font-style: normal; } /* Macro-ish thing (Fd). */
                    105: b.name         { font-style: normal; } /* Name of utility (Nm). */
                    106: span.opt       { } /* Options (Op, Oo/Oc). */
                    107: span.ref       { } /* Citations (Rs). */
                    108: span.ref-auth  { } /* Reference author (%A). */
                    109: i.ref-book     { font-weight: normal; } /* Reference book (%B). */
                    110: span.ref-city  { } /* Reference city (%C). */
                    111: span.ref-date  { } /* Reference date (%D). */
                    112: i.ref-issue    { font-weight: normal; } /* Reference issuer/publisher (%I). */
                    113: i.ref-jrnl     { font-weight: normal; } /* Reference journal (%J). */
                    114: span.ref-num   { } /* Reference number (%N). */
                    115: span.ref-opt   { } /* Reference optionals (%O). */
                    116: span.ref-page  { } /* Reference page (%P). */
                    117: span.ref-corp  { } /* Reference corporate/foreign author (%Q). */
                    118: span.ref-rep   { } /* Reference report (%R). */
                    119: span.ref-title { text-decoration: underline; } /* Reference title (%T). */
                    120: span.ref-vol   { } /* Reference volume (%V). */
                    121: span.type      { font-style: italic; font-weight: normal; } /* Variable types (Vt). */
                    122: span.unix      { } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
                    123: b.utility      { font-style: normal; } /* Name of utility (Ex). */
                    124: b.var          { font-style: normal; } /* Variables (Rv). */
                    125:
                    126: a.link-ext     { } /* Off-site link (Lk). */
                    127: a.link-includes        { } /* Include-file link (In). */
                    128: a.link-mail    { } /* Mailto links (Mt). */
                    129: a.link-ref     { } /* Reference section links (%Q). */
                    130:
                    131: /* Formatting for lists.  See mdoc(7). */
                    132:
                    133: dl.list-diag   { }
                    134: dt.list-diag   { }
                    135: dd.list-diag   { }
                    136:
                    137: dl.list-hang   { }
                    138: dt.list-hang   { }
                    139: dd.list-hang   { }
                    140:
                    141: dl.list-inset  { }
                    142: dt.list-inset  { }
                    143: dd.list-inset  { }
                    144:
                    145: dl.list-ohang  { }
                    146: dt.list-ohang  { }
                    147: dd.list-ohang  { margin-left: 0ex; }
                    148:
                    149: dl.list-tag    { }
                    150: dt.list-tag    { }
                    151: dd.list-tag    { }
                    152:
                    153: table.list-col { }
                    154: tr.list-col    { }
                    155: td.list-col    { }
                    156:
                    157: ul.list-bul    { list-style-type: disc; padding-left: 1em; }
                    158: li.list-bul    { }
                    159:
                    160: ul.list-dash   { list-style-type: none; padding-left: 0em; }
                    161: li.list-dash:before { content: "\2014  "; }
                    162:
                    163: ul.list-hyph   { list-style-type: none; padding-left: 0em; }
                    164: li.list-hyph:before { content: "\2013  "; }
                    165:
                    166: ul.list-item   { list-style-type: none; padding-left: 0em; }
                    167: li.list-item   { }
                    168:
                    169: ol.list-enum   { padding-left: 2em; }
                    170: li.list-enum   { }
                    171:
                    172: /* Equation modes.  See eqn(7). */
                    173:
                    174: span.eqn       { }
                    175:
                    176: /* Table modes.  See tbl(7). */
                    177:
                    178: table.tbl      { }

CVSweb