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

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

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

CVSweb