Annotation of mandoc/style.css, Revision 1.15
1.15 ! kristaps 1: /* $Id: example.style.css,v 1.33 2010/12/17 11:01: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;
! 13: border-bottom: 1px dotted #dddddd;
! 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:
! 27: h1 { color: #000000; font-size: 0.93em; margin-left: -4ex; } /* Section header (Sh, SH). */
! 28: h2 { color: #000000; font-size: 0.93em; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
! 29: div.section { margin-bottom: 3ex; margin-left: 4ex; } /* Sections (Sh, SH). */
! 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:
! 60: span.addr { font-style: italic; font-weight: normal; } /* Address (Ad). */
! 61: span.arg { font-style: italic; font-weight: normal; } /* Command argument (Ar). */
1.11 kristaps 62: span.author { } /* Author name (An). */
1.15 ! kristaps 63: span.cmd { font-style: normal; font-weight: bold; } /* Command (Cm). */
! 64: span.config { font-style: normal; font-weight: bold; } /* Config statement (Cd). */
1.11 kristaps 65: span.define { } /* Defines (Dv). */
66: span.desc { } /* Nd. After em-dash. */
1.15 ! kristaps 67: span.diag { font-style: normal; font-weight: bold; } /* Diagnostic (Bl -diag). */
1.11 kristaps 68: span.env { } /* Environment variables (Ev). */
69: span.errno { } /* Error string (Er). */
1.15 ! kristaps 70: span.farg { font-style: italic; font-weight: normal; } /* Function argument (Fa, Fn). */
! 71: span.file { font-style: italic; font-weight: normal; } /* File (Pa). */
! 72: span.flag { font-style: normal; font-weight: bold; } /* Flag (Fl, Cm). */
! 73: span.fname { font-style: normal; font-weight: bold; } /* Function name (Fa, Fn, Rv). */
! 74: span.ftype { font-style: italic; font-weight: normal; } /* Function types (Ft, Fn). */
! 75: span.includes { font-style: normal; font-weight: bold; } /* Header includes (In). */
1.11 kristaps 76: span.lib { } /* Library (Lb). */
1.15 ! kristaps 77: span.macro { font-style: normal; font-weight: bold; } /* Macro-ish thing (Fd). */
! 78: span.name { color: blue; font-style: normal; font-weight: bold; } /* 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.15 ! kristaps 82: span.ref-book { font-style: italic; font-weight: normal; } /* Reference book (%B). */
1.11 kristaps 83: span.ref-city { } /* Reference city (%C). */
84: span.ref-date { } /* Reference date (%D). */
1.15 ! kristaps 85: span.ref-issue { font-style: italic; font-weight: normal; } /* Reference issuer/publisher (%I). */
! 86: span.ref-jrnl { font-style: italic; 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.15 ! kristaps 92: span.ref-title { text-decoration: underline; } /* 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.15 ! kristaps 96: span.utility { font-style: normal; font-weight: bold; } /* Name of utility (Ex). */
! 97: span.var { font-style: normal; font-weight: bold; } /* 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