Merge pull request #260096 from teto/vimPluginsUpdater-fix
[NixPkgs.git] / doc / style.css
blob474dd32e3fb148c0aa7000dce2967a4e4dff8533
1 /* Copied from http://bakefile.sourceforge.net/, which appears
2 licensed under the GNU GPL. */
5 /***************************************************************************
6 Basic headers and text:
7 ***************************************************************************/
9 body
11 font-family: "Nimbus Sans L", sans-serif;
12 font-size: 1em;
13 background: white;
14 margin: 2em 1em 2em 1em;
17 h1, h2, h3, h4
19 color: #005aa0;
22 h1 /* title */
24 font-size: 200%;
27 h2 /* chapters, appendices, subtitle */
29 font-size: 180%;
32 div.book
34 text-align: center;
37 div.book > div
40 * based on https://medium.com/@zkareemz/golden-ratio-62b3b6d4282a
41 * we do 70 characters per line to fit code listings better
42 * 70 * (font-size / 1.618)
43 * expression for emacs:
44 * (* 70 (/ 1 1.618))
46 max-width: 43.2em;
47 text-align: left;
48 margin: auto;
51 /* Extra space between chapters, appendices. */
52 div.chapter > div.titlepage h2, div.appendix > div.titlepage h2
54 margin-top: 1.5em;
57 div.section > div.titlepage h2 /* sections */
59 font-size: 150%;
60 margin-top: 1.5em;
63 h3 /* subsections */
65 font-size: 125%;
68 div.simplesect h2
70 font-size: 110%;
73 div.appendix h3
75 font-size: 150%;
76 margin-top: 1.5em;
79 div.refnamediv h2, div.refsynopsisdiv h2, div.refsection h2 /* refentry parts */
81 margin-top: 1.4em;
82 font-size: 125%;
85 div.refsection h3
87 font-size: 110%;
91 /***************************************************************************
92 Examples:
93 ***************************************************************************/
95 div.example
97 border: 1px solid #b0b0b0;
98 padding: 6px 6px;
99 margin-left: 1.5em;
100 margin-right: 1.5em;
101 background: #f4f4f8;
102 border-radius: 0.4em;
103 box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
106 div.example p.title
108 margin-top: 0em;
111 div.example pre
113 box-shadow: none;
117 /***************************************************************************
118 Screen dumps:
119 ***************************************************************************/
121 pre.screen, pre.programlisting
123 border: 1px solid #b0b0b0;
124 padding: 3px 3px;
125 margin-left: 0.5em;
126 margin-right: 0.5em;
128 background: #f4f4f8;
129 font-family: monospace;
130 border-radius: 0.4em;
131 box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
134 div.example pre.programlisting
136 border: 0px;
137 padding: 0 0;
138 margin: 0 0 0 0;
141 /***************************************************************************
142 Notes, warnings etc:
143 ***************************************************************************/
145 .note, .warning
147 border: 1px solid #b0b0b0;
148 padding: 3px 3px;
149 margin-left: 1.5em;
150 margin-right: 1.5em;
151 margin-bottom: 1em;
152 padding: 0.3em 0.3em 0.3em 0.3em;
153 background: #fffff5;
154 border-radius: 0.4em;
155 box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
158 div.note, div.warning
160 font-style: italic;
163 div.note h3, div.warning h3
165 color: red;
166 font-size: 100%;
167 padding-right: 0.5em;
168 display: inline;
171 div.note p, div.warning p
173 margin-bottom: 0em;
176 div.note h3 + p, div.warning h3 + p
178 display: inline;
181 div.note h3
183 color: blue;
184 font-size: 100%;
187 div.navfooter *
189 font-size: 90%;
193 /***************************************************************************
194 Links colors and highlighting:
195 ***************************************************************************/
197 a { text-decoration: none; }
198 a:hover { text-decoration: underline; }
199 a:link { color: #0048b3; }
200 a:visited { color: #002a6a; }
203 /***************************************************************************
204 Table of contents:
205 ***************************************************************************/
207 div.toc
209 font-size: 90%;
212 div.toc dl
214 margin-top: 0em;
215 margin-bottom: 0em;
219 /***************************************************************************
220 Special elements:
221 ***************************************************************************/
223 tt, code
225 color: #400000;
228 .term
230 font-weight: bold;
234 div.variablelist dd p, div.glosslist dd p
236 margin-top: 0em;
239 div.variablelist dd, div.glosslist dd
241 margin-left: 1.5em;
244 div.glosslist dt
246 font-style: italic;
249 .varname
251 color: #400000;
254 span.command strong
256 font-weight: normal;
257 color: #400000;
260 div.calloutlist table
262 box-shadow: none;
265 table
267 border-collapse: collapse;
268 box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
271 table.simplelist
273 text-align: left;
274 color: #005aa0;
275 border: 0;
276 padding: 5px;
277 background: #fffff5;
278 font-weight: normal;
279 font-style: italic;
280 box-shadow: none;
281 margin-bottom: 1em;
284 div.navheader table, div.navfooter table {
285 box-shadow: none;
288 div.affiliation
290 font-style: italic;