]> git.cameronkatri.com Git - mandoc.git/blob - style.css
Build xhtml files for www site exemplaria.
[mandoc.git] / style.css
1 /* $Id: style.css,v 1.18 2010/12/22 11:58:02 kristaps Exp $ */
2
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 margin-top: 1em;
14 border-top: 1px dotted #dddddd;
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;
20 margin-bottom: 1em;
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
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). */
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
62 i.addr { font-weight: normal; } /* Address (Ad). */
63 i.arg { font-weight: normal; } /* Command argument (Ar). */
64 span.author { } /* Author name (An). */
65 b.cmd { font-style: normal; } /* Command (Cm). */
66 b.config { font-style: normal; } /* Config statement (Cd). */
67 span.define { } /* Defines (Dv). */
68 span.desc { } /* Nd. After em-dash. */
69 b.diag { font-style: normal; } /* Diagnostic (Bl -diag). */
70 span.env { } /* Environment variables (Ev). */
71 span.errno { } /* Error string (Er). */
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). */
78 span.lib { } /* Library (Lb). */
79 b.macro { font-style: normal; } /* Macro-ish thing (Fd). */
80 b.name { color: blue; font-style: normal; } /* Name of utility (Nm). */
81 span.opt { } /* Options (Op, Oo/Oc). */
82 span.ref { } /* Citations (Rs). */
83 span.ref-auth { } /* Reference author (%A). */
84 i.ref-book { font-weight: normal; } /* Reference book (%B). */
85 span.ref-city { } /* Reference city (%C). */
86 span.ref-date { } /* Reference date (%D). */
87 i.ref-issue { font-weight: normal; } /* Reference issuer/publisher (%I). */
88 i.ref-jrnl { font-weight: normal; } /* Reference journal (%J). */
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). */
94 u.ref-title { } /* Reference title (%T). */
95 span.ref-vol { } /* Reference volume (%V). */
96 span.type { font-style: italic; font-weight: normal; } /* Variable types (Vt). */
97 span.unix { } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
98 b.utility { font-style: normal; } /* Name of utility (Ex). */
99 b.var { font-style: normal; } /* Variables (Rv). */
100
101 a.link-ext { background: transparent url(external.png) center right no-repeat; padding-right: 12px; }/* Off-site link (Lk). */
102 a.link-includes { } /* Include-file link (In). */
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). */
105 a.link-ref { } /* Reference section links (%Q). */
106 a.link-sec { text-decoration: none; border-bottom: 1px dotted #339999; } /* Section links (Sx). */
107
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 { }
145
146 ol.list-enum { padding-left: 2em; }
147 li.list-enum { }