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

Annotation of mandoc/example.style.css, Revision 1.35

1.35    ! kristaps    1: /* $Id: example.style.css,v 1.34 2010/12/17 13:03:32 kristaps Exp $ */
1.19      kristaps    2:
1.23      kristaps    3: html           { min-width: 580px; width: 580px; }
                      4: body           { font-family: monospace; }
1.1       kristaps    5:
1.29      kristaps    6: /* Preamble structure. */
                      7:
1.30      kristaps    8: table.foot     { width: 100%; } /* Document footer. */
                      9: td.foot-date   { width: 50%; } /* Document footer: date. */
1.31      kristaps   10: td.foot-os     { width: 50%; text-align: right; } /* Document footer: OS/source. */
1.30      kristaps   11: table.head     { width: 100%; } /* Document header. */
                     12: td.head-ltitle { width: 10%; } /* Document header: left-title. */
                     13: td.head-vol    { width: 80%; text-align: center; } /* Document header: volume. */
                     14: td.head-rtitle { width: 10%; text-align: right; } /* Document header: right-title. */
1.29      kristaps   15:
1.25      kristaps   16: /* Sections. */
                     17:
1.34      kristaps   18: h1             { margin-bottom: 0px; font-size: medium; margin-left: -4ex; } /* Section header (Sh, SH). */
                     19: h2             { margin-bottom: 0px; font-size: medium; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
                     20: div.section    { margin-bottom: 2ex; margin-left: 4ex; } /* Sections (Sh, SH). */
1.28      kristaps   21: div.subsection { } /* Sub-sections (Ss, SS). */
1.29      kristaps   22: table.synopsis { } /* SYNOPSIS section table. */
                     23: table.synopsis td { vertical-align: top; } /* SYNOPSIS section table. */
1.1       kristaps   24:
1.26      kristaps   25: /* Vertical spacing. */
                     26:
                     27: p              { } /* Paragraph: Pp, Lp. */
1.30      kristaps   28: blockquote     { margin-top: 0px; margin-bottom: 0px; }
                     29: table          { margin-top: 0px; margin-bottom: 0px; }
1.26      kristaps   30:
1.24      kristaps   31: /* General font modes. */
                     32:
1.25      kristaps   33: .lit           { font-style: normal; font-weight: normal; } /* Literal: Dl, Li, Bf -literal, Bl -literal, Bl -unfilled. */
                     34: .italic                { font-style: italic; font-weight: normal; } /* Italic: BI, IB, I, (implicit). */
                     35: .emph          { font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */
                     36: .bold          { font-style: normal; font-weight: bold; } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
                     37: .symb          { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */
                     38: .roman         { font-style: normal; font-weight: normal; } /* Roman: (implicit). */
1.26      kristaps   39: .small         { font-style: normal; font-weight: normal; font-size: smaller; } /* Small: SB, SM. */
1.32      kristaps   40:
                     41: /* Block modes. */
                     42:
1.33      kristaps   43: .display       { } /* Top of all Bd, D1, Dl. */
                     44: .list          { } /* Top of all Bl. */
1.24      kristaps   45:
                     46: /* Context-specific modes. */
                     47:
1.21      kristaps   48: span.addr      { font-style: italic; font-weight: normal; } /* Address (Ad). */
1.16      kristaps   49: span.arg       { font-style: italic; font-weight: normal; } /* Command argument (Ar). */
1.1       kristaps   50: span.author    { } /* Author name (An). */
1.35    ! kristaps   51: b.cmd          { font-style: normal; } /* Command (Cm). */
        !            52: b.config       { font-style: normal; } /* Config statement (Cd). */
1.1       kristaps   53: span.define    { } /* Defines (Dv). */
                     54: span.desc      { } /* Nd.  After em-dash. */
1.25      kristaps   55: span.diag      { font-style: normal; font-weight: bold; } /* Diagnostic (Bl -diag). */
1.1       kristaps   56: span.env       { } /* Environment variables (Ev). */
                     57: span.errno     { } /* Error string (Er). */
1.16      kristaps   58: span.farg      { font-style: italic; font-weight: normal; } /* Function argument (Fa, Fn). */
                     59: span.file      { font-style: italic; font-weight: normal; } /* File (Pa). */
1.35    ! kristaps   60: b.flag         { font-style: normal; } /* Flag (Fl, Cm). */
        !            61: b.fname                { font-style: normal; } /* Function name (Fa, Fn, Rv). */
1.16      kristaps   62: span.ftype     { font-style: italic; font-weight: normal; } /* Function types (Ft, Fn). */
1.35    ! kristaps   63: b.includes     { font-style: normal; } /* Header includes (In). */
1.7       kristaps   64: span.lib       { } /* Library (Lb). */
1.35    ! kristaps   65: b.macro                { font-style: normal; } /* Macro-ish thing (Fd). */
        !            66: b.name         { font-style: normal; } /* Name of utility (Nm). */
1.1       kristaps   67: span.opt       { } /* Options (Op, Oo/Oc). */
1.9       kristaps   68: span.ref       { } /* Citations (Rs). */
1.10      kristaps   69: span.ref-auth  { } /* Reference author (%A). */
1.16      kristaps   70: span.ref-book  { font-style: italic; font-weight: normal; } /* Reference book (%B). */
1.10      kristaps   71: span.ref-city  { } /* Reference city (%C). */
                     72: span.ref-date  { } /* Reference date (%D). */
1.16      kristaps   73: span.ref-issue { font-style: italic; font-weight: normal; } /* Reference issuer/publisher (%I). */
                     74: span.ref-jrnl  { font-style: italic; font-weight: normal; } /* Reference journal (%J). */
1.10      kristaps   75: span.ref-num   { } /* Reference number (%N). */
                     76: span.ref-opt   { } /* Reference optionals (%O). */
                     77: span.ref-page  { } /* Reference page (%P). */
                     78: span.ref-corp  { } /* Reference corporate/foreign author (%Q). */
                     79: span.ref-rep   { } /* Reference report (%R). */
1.20      kristaps   80: span.ref-title { text-decoration: underline; } /* Reference title (%T). */
1.10      kristaps   81: span.ref-vol   { } /* Reference volume (%V). */
1.16      kristaps   82: span.type      { font-style: italic; font-weight: normal; } /* Variable types (Vt). */
1.1       kristaps   83: span.unix      { } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
1.35    ! kristaps   84: b.utility      { font-style: normal; } /* Name of utility (Ex). */
        !            85: b.var          { font-style: normal; } /* Variables (Rv). */
1.1       kristaps   86:
1.8       kristaps   87: a.link-ext     { } /* Off-site link (Lk). */
1.11      kristaps   88: a.link-includes        { } /* Include-file link (In). */
1.8       kristaps   89: a.link-mail    { } /* Mailto links (Mt). */
1.1       kristaps   90: a.link-man     { } /* Manual links (Xr). */
1.14      kristaps   91: a.link-ref     { } /* Reference section links (%Q). */
1.1       kristaps   92: a.link-sec     { } /* Section links (Sx). */
1.22      kristaps   93:
                     94: /* Formatting for lists. */
                     95:
                     96: dl.list-diag   { }
                     97: dt.list-diag   { }
                     98: dd.list-diag   { }
                     99:
                    100: dl.list-hang   { }
                    101: dt.list-hang   { }
                    102: dd.list-hang   { }
                    103:
                    104: dl.list-inset  { }
                    105: dt.list-inset  { }
                    106: dd.list-inset  { }
                    107:
                    108: dl.list-ohang  { }
                    109: dt.list-ohang  { }
1.27      kristaps  110: dd.list-ohang  { margin-left: 0em; }
1.22      kristaps  111:
                    112: dl.list-tag    { }
                    113: dt.list-tag    { }
                    114: dd.list-tag    { }
                    115:
                    116: table.list-col { }
                    117: tr.list-col    { }
                    118: td.list-col    { }
                    119:
1.27      kristaps  120: ul.list-bul    { list-style-type: disc; padding-left: 1em; }
1.22      kristaps  121: li.list-bul    { }
                    122:
1.27      kristaps  123: ul.list-dash   { list-style-type: none; padding-left: 0em; }
                    124: li.list-dash:before { content: "\2014  "; }
1.22      kristaps  125:
1.27      kristaps  126: ul.list-hyph   { list-style-type: none; padding-left: 0em; }
                    127: li.list-hyph:before { content: "\2013  "; }
1.22      kristaps  128:
1.27      kristaps  129: ul.list-item   { list-style-type: none; padding-left: 0em; }
1.22      kristaps  130: li.list-item   { }
                    131:
1.27      kristaps  132: ol.list-enum   { padding-left: 2em; }
1.22      kristaps  133: li.list-enum   { }

CVSweb