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

Annotation of mandoc/style.css, Revision 1.17

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

CVSweb