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

Annotation of mandoc/style.css, Revision 1.18

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

CVSweb