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

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

1.48    ! kristaps    1: /* $Id: example.style.css,v 1.47 2011/10/05 21:35:17 kristaps Exp $ */
1.36      kristaps    2: /*
1.41      kristaps    3:  * This is an example style-sheet provided for mandoc(1) and the -Thtml
                      4:  * or -Txhtml output mode.
1.48    ! kristaps    5:  * It mimics the appearance of the legacy man.cgi output.
1.41      kristaps    6:  * See mdoc(7) and man(7) for macro explanations.
1.36      kristaps    7:  */
1.19      kristaps    8:
1.48    ! kristaps    9: div.mandoc                     { min-width: 100ex;
        !            10:                                  width: 100ex;
        !            11:                                  font-family: monospace; } /* This is the outer node of all mandoc -T[x]html documents. */
        !            12: div.mandoc h1                  { margin-bottom: 0ex; font-size: inherit; margin-left: -4ex; } /* Section header (Sh, SH). */
        !            13: div.mandoc h2                  { margin-bottom: 0ex; font-size: inherit; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
        !            14: div.mandoc table               { width: 100%; margin-top: 0ex; margin-bottom: 0ex; } /* All tables. */
        !            15: div.mandoc td                  { vertical-align: top; } /* All table cells. */
        !            16: div.mandoc p                   { } /* Paragraph: Pp, Lp. */
        !            17: div.mandoc blockquote          { margin-left: 5ex; margin-top: 0ex; margin-bottom: 0ex; } /* D1, Dl. */
        !            18: div.mandoc div.section         { margin-bottom: 2ex; margin-left: 5ex; } /* Sections (Sh, SH). */
        !            19: div.mandoc div.subsection      { } /* Sub-sections (Ss, SS). */
        !            20: div.mandoc table.synopsis      { } /* SYNOPSIS section table. */
        !            21: div.mandoc table.foot          { } /* Document footer. */
        !            22: div.mandoc td.foot-date                { width: 50%; } /* Document footer: date. */
        !            23: div.mandoc td.foot-os          { width: 50%; text-align: right; } /* Document footer: OS/source. */
        !            24: div.mandoc table.head          { } /* Document header. */
        !            25: div.mandoc td.head-ltitle      { width: 10%; } /* Document header: left-title. */
        !            26: div.mandoc td.head-vol         { width: 80%; text-align: center; } /* Document header: volume. */
        !            27: div.mandoc td.head-rtitle      { width: 10%; text-align: right; } /* Document header: right-title. */
        !            28: div.mandoc .display            { } /* All Bd, D1, Dl. */
        !            29: div.mandoc .list               { } /* All Bl. */
        !            30: div.mandoc i                   { } /* Italic: BI, IB, I, (implicit). */
        !            31: div.mandoc b                   { } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
        !            32: div.mandoc small               { } /* Small: SB, SM. */
        !            33: div.mandoc .emph               { font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */
        !            34: div.mandoc .symb               { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */
        !            35: div.mandoc .lit                        { font-style: normal; font-weight: normal; font-family: monospace; } /* Literal: Dl, Li, Ql, Bf -literal, Bl -literal, Bl -unfilled. */
        !            36: div.mandoc i.addr              { font-weight: normal; } /* Address (Ad). */
        !            37: div.mandoc i.arg               { font-weight: normal; } /* Command argument (Ar). */
        !            38: div.mandoc span.author         { } /* Author name (An). */
        !            39: div.mandoc b.cmd               { font-style: normal; } /* Command (Cm). */
        !            40: div.mandoc b.config            { font-style: normal; } /* Config statement (Cd). */
        !            41: div.mandoc span.define         { } /* Defines (Dv). */
        !            42: div.mandoc span.desc           { } /* Nd.  After em-dash. */
        !            43: div.mandoc b.diag              { font-style: normal; } /* Diagnostic (Bl -diag). */
        !            44: div.mandoc span.env            { } /* Environment variables (Ev). */
        !            45: div.mandoc span.errno          { } /* Error string (Er). */
        !            46: div.mandoc i.farg              { font-weight: normal; } /* Function argument (Fa, Fn). */
        !            47: div.mandoc i.file              { font-weight: normal; } /* File (Pa). */
        !            48: div.mandoc b.flag              { font-style: normal; } /* Flag (Fl, Cm). */
        !            49: div.mandoc b.fname             { font-style: normal; } /* Function name (Fa, Fn, Rv). */
        !            50: div.mandoc i.ftype             { font-weight: normal; } /* Function types (Ft, Fn). */
        !            51: div.mandoc b.includes          { font-style: normal; } /* Header includes (In). */
        !            52: div.mandoc span.lib            { } /* Library (Lb). */
        !            53: div.mandoc i.link-sec          { font-weight: normal; } /* Section links (Sx). */
        !            54: div.mandoc b.macro             { font-style: normal; } /* Macro-ish thing (Fd). */
        !            55: div.mandoc b.name              { font-style: normal; } /* Name of utility (Nm). */
        !            56: div.mandoc span.opt            { } /* Options (Op, Oo/Oc). */
        !            57: div.mandoc span.ref            { } /* Citations (Rs). */
        !            58: div.mandoc span.ref-auth       { } /* Reference author (%A). */
        !            59: div.mandoc i.ref-book          { font-weight: normal; } /* Reference book (%B). */
        !            60: div.mandoc span.ref-city       { } /* Reference city (%C). */
        !            61: div.mandoc span.ref-date       { } /* Reference date (%D). */
        !            62: div.mandoc i.ref-issue         { font-weight: normal; } /* Reference issuer/publisher (%I). */
        !            63: div.mandoc i.ref-jrnl          { font-weight: normal; } /* Reference journal (%J). */
        !            64: div.mandoc span.ref-num                { } /* Reference number (%N). */
        !            65: div.mandoc span.ref-opt                { } /* Reference optionals (%O). */
        !            66: div.mandoc span.ref-page       { } /* Reference page (%P). */
        !            67: div.mandoc span.ref-corp       { } /* Reference corporate/foreign author (%Q). */
        !            68: div.mandoc span.ref-rep                { } /* Reference report (%R). */
        !            69: div.mandoc span.ref-title      { text-decoration: underline; } /* Reference title (%T). */
        !            70: div.mandoc span.ref-vol                { } /* Reference volume (%V). */
        !            71: div.mandoc span.type           { font-style: italic; font-weight: normal; } /* Variable types (Vt). */
        !            72: div.mandoc span.unix           { } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
        !            73: div.mandoc b.utility           { font-style: normal; } /* Name of utility (Ex). */
        !            74: div.mandoc b.var               { font-style: normal; } /* Variables (Rv). */
        !            75: div.mandoc a.link-ext          { } /* Off-site link (Lk). */
        !            76: div.mandoc a.link-includes     { } /* Include-file link (In). */
        !            77: div.mandoc a.link-mail         { } /* Mailto links (Mt). */
        !            78: div.mandoc a.link-man          { } /* Manual links (Xr). */
        !            79: div.mandoc a.link-ref          { } /* Reference section links (%Q). */
        !            80: div.mandoc a.link-sec          { } /* Section links (Sx). */
        !            81: div.mandoc dl.list-diag                { } /* Formatting for lists.  See mdoc(7). */
        !            82: div.mandoc dt.list-diag                { }
        !            83: div.mandoc dd.list-diag                { }
        !            84: div.mandoc dl.list-hang                { }
        !            85: div.mandoc dt.list-hang                { }
        !            86: div.mandoc dd.list-hang                { }
        !            87: div.mandoc dl.list-inset       { }
        !            88: div.mandoc dt.list-inset       { }
        !            89: div.mandoc dd.list-inset       { }
        !            90: div.mandoc dl.list-ohang       { }
        !            91: div.mandoc dt.list-ohang       { }
        !            92: div.mandoc dd.list-ohang       { margin-left: 0ex; }
        !            93: div.mandoc dl.list-tag         { }
        !            94: div.mandoc dt.list-tag         { }
        !            95: div.mandoc dd.list-tag         { }
        !            96: div.mandoc table.list-col      { }
        !            97: div.mandoc tr.list-col         { }
        !            98: div.mandoc td.list-col         { }
        !            99: div.mandoc ul.list-bul         { list-style-type: disc; padding-left: 1em; }
        !           100: div.mandoc li.list-bul         { }
        !           101: div.mandoc ul.list-dash                { list-style-type: none; padding-left: 0em; }
        !           102: div.mandoc li.list-dash:before { content: "\2014  "; }
        !           103: div.mandoc ul.list-hyph                { list-style-type: none; padding-left: 0em; }
        !           104: div.mandoc li.list-hyph:before { content: "\2013  "; }
        !           105: div.mandoc ul.list-item                { list-style-type: none; padding-left: 0em; }
        !           106: div.mandoc li.list-item                { }
        !           107: div.mandoc ol.list-enum                { padding-left: 2em; }
        !           108: div.mandoc li.list-enum                { }
        !           109: div.mandoc span.eqn            { } /* Equation modes.  See eqn(7). */
        !           110: div.mandoc table.tbl           { } /* Table modes.  See tbl(7). */

CVSweb