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

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

1.32    ! kristaps    1: /* $Id: example.style.css,v 1.31 2010/12/17 08:26:42 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.28      kristaps   18: h1             { font-size: medium; margin-left: -4ex; } /* Section header (Sh, SH). */
                     19: h2             { font-size: medium; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
                     20: div.section    { margin-bottom: 3ex; margin-left: 4ex; } /* Sections (Sh, SH). */
                     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:
        !            43: .display       { }
1.24      kristaps   44:
                     45: /* Context-specific modes. */
                     46:
1.21      kristaps   47: span.addr      { font-style: italic; font-weight: normal; } /* Address (Ad). */
1.16      kristaps   48: span.arg       { font-style: italic; font-weight: normal; } /* Command argument (Ar). */
1.1       kristaps   49: span.author    { } /* Author name (An). */
1.25      kristaps   50: span.cmd       { font-style: normal; font-weight: bold; } /* Command (Cm). */
                     51: span.config    { font-style: normal; font-weight: bold; } /* Config statement (Cd). */
1.1       kristaps   52: span.define    { } /* Defines (Dv). */
                     53: span.desc      { } /* Nd.  After em-dash. */
1.25      kristaps   54: span.diag      { font-style: normal; font-weight: bold; } /* Diagnostic (Bl -diag). */
1.1       kristaps   55: span.env       { } /* Environment variables (Ev). */
                     56: span.errno     { } /* Error string (Er). */
1.16      kristaps   57: span.farg      { font-style: italic; font-weight: normal; } /* Function argument (Fa, Fn). */
                     58: span.file      { font-style: italic; font-weight: normal; } /* File (Pa). */
1.25      kristaps   59: span.flag      { font-style: normal; font-weight: bold; } /* Flag (Fl, Cm). */
                     60: span.fname     { font-style: normal; font-weight: bold; } /* Function name (Fa, Fn, Rv). */
1.16      kristaps   61: span.ftype     { font-style: italic; font-weight: normal; } /* Function types (Ft, Fn). */
1.25      kristaps   62: span.includes  { font-style: normal; font-weight: bold; } /* Header includes (In). */
1.7       kristaps   63: span.lib       { } /* Library (Lb). */
1.25      kristaps   64: span.macro     { font-style: normal; font-weight: bold; } /* Macro-ish thing (Fd). */
                     65: span.name      { font-style: normal; font-weight: bold; } /* Name of utility (Nm). */
1.1       kristaps   66: span.opt       { } /* Options (Op, Oo/Oc). */
1.9       kristaps   67: span.ref       { } /* Citations (Rs). */
1.10      kristaps   68: span.ref-auth  { } /* Reference author (%A). */
1.16      kristaps   69: span.ref-book  { font-style: italic; font-weight: normal; } /* Reference book (%B). */
1.10      kristaps   70: span.ref-city  { } /* Reference city (%C). */
                     71: span.ref-date  { } /* Reference date (%D). */
1.16      kristaps   72: span.ref-issue { font-style: italic; font-weight: normal; } /* Reference issuer/publisher (%I). */
                     73: span.ref-jrnl  { font-style: italic; font-weight: normal; } /* Reference journal (%J). */
1.10      kristaps   74: span.ref-num   { } /* Reference number (%N). */
                     75: span.ref-opt   { } /* Reference optionals (%O). */
                     76: span.ref-page  { } /* Reference page (%P). */
                     77: span.ref-corp  { } /* Reference corporate/foreign author (%Q). */
                     78: span.ref-rep   { } /* Reference report (%R). */
1.20      kristaps   79: span.ref-title { text-decoration: underline; } /* Reference title (%T). */
1.10      kristaps   80: span.ref-vol   { } /* Reference volume (%V). */
1.16      kristaps   81: span.type      { font-style: italic; font-weight: normal; } /* Variable types (Vt). */
1.1       kristaps   82: span.unix      { } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
1.25      kristaps   83: span.utility   { font-style: normal; font-weight: bold; } /* Name of utility (Ex). */
                     84: span.var       { font-style: normal; font-weight: bold; } /* Variables (Rv). */
1.1       kristaps   85:
1.8       kristaps   86: a.link-ext     { } /* Off-site link (Lk). */
1.11      kristaps   87: a.link-includes        { } /* Include-file link (In). */
1.8       kristaps   88: a.link-mail    { } /* Mailto links (Mt). */
1.1       kristaps   89: a.link-man     { } /* Manual links (Xr). */
1.14      kristaps   90: a.link-ref     { } /* Reference section links (%Q). */
1.1       kristaps   91: a.link-sec     { } /* Section links (Sx). */
1.22      kristaps   92:
                     93: /* Formatting for lists. */
                     94:
                     95: dl.list-diag   { }
                     96: dt.list-diag   { }
                     97: dd.list-diag   { }
                     98:
                     99: dl.list-hang   { }
                    100: dt.list-hang   { }
                    101: dd.list-hang   { }
                    102:
                    103: dl.list-inset  { }
                    104: dt.list-inset  { }
                    105: dd.list-inset  { }
                    106:
                    107: dl.list-ohang  { }
                    108: dt.list-ohang  { }
1.27      kristaps  109: dd.list-ohang  { margin-left: 0em; }
1.22      kristaps  110:
                    111: dl.list-tag    { }
                    112: dt.list-tag    { }
                    113: dd.list-tag    { }
                    114:
                    115: table.list-col { }
                    116: tr.list-col    { }
                    117: td.list-col    { }
                    118:
1.27      kristaps  119: ul.list-bul    { list-style-type: disc; padding-left: 1em; }
1.22      kristaps  120: li.list-bul    { }
                    121:
1.27      kristaps  122: ul.list-dash   { list-style-type: none; padding-left: 0em; }
                    123: li.list-dash:before { content: "\2014  "; }
1.22      kristaps  124:
1.27      kristaps  125: ul.list-hyph   { list-style-type: none; padding-left: 0em; }
                    126: li.list-hyph:before { content: "\2013  "; }
1.22      kristaps  127:
1.27      kristaps  128: ul.list-item   { list-style-type: none; padding-left: 0em; }
1.22      kristaps  129: li.list-item   { }
                    130:
1.27      kristaps  131: ol.list-enum   { padding-left: 2em; }
1.22      kristaps  132: li.list-enum   { }

CVSweb