2
KDE-wide default CSS for HTML documentation (all media types).
3
Copyright (C) 2000 Frederik Fouvry
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
Send comments, suggestions, etc. to Frederik Fouvry
20
<fouvry@sfs.nphil.uni-tuebingen.de>. */
23
Important note: these setting may be overridden by localised CSS. Do not
24
add here any localization-sensitive style declarations.
26
Any updates should be validated, e.g. http://jigsaw.w3.org/css-validator/ */
28
/* Note: "should be inherit" means that in a proper browser inherit should work.
29
Somehow Netscape manages to interpret "inherit" as bright green.
33
background: white none;
35
font-family: sans-serif;
40
.legalnotice, .copyright {
50
.toc, .list-of-tables {
54
.sect1, .chapter, .synopsis, .appendix, .preface, .article, .refsect1, .index, .glossary, .section {
69
.chapter .sect1, .chapter .titlepage, .sect1 .titlepage, .article .titlepage {
78
/* Links in Navigation */
80
.navLeft a:link, .navCenter :link, .navRight :link, .header a:link, .header a:visited, .bottom-nav a:link, .bottom-nav a:visited {
82
background: white none;
87
/* Nice link colors for the main text */
91
background: white none; /* should be inherit */
96
background: white none; /* should be inherit */
115
position: absolute; left: 0px;
119
position: absolute; right: 0px;
123
background: #3E91EB none;
124
border-bottom: 1px solid #206dcd;
125
border-top: 1px solid white;
135
vertical-align: middle;
139
background-color: #3E91EB;
140
border-bottom: 1px solid #206dcd;
141
border-top: 1px solid white;
151
vertical-align: middle;
155
background: url('help:/common/kde_logo_bg.png') transparent repeat;
158
/* A little bit of padding makes the tables for keybindings etc much easier to read */
166
margin-bottom: 0.5em;
180
div.informalexample {
181
border-style: dotted;
185
/* But no padding for navigation elements */
187
.toplogo, .navbackground {
194
background-color: rgb(224,224,224);
195
table-layout: auto; /* 100%? */
196
color: rgb(0,0,0); /* should be inherit */
199
/* Same as previous block, but more general (previous is HTML only)
200
Not all browsers understand this yet.
201
TABLE[class~=programlisting]
202
TABLE[class~=screen] { border-style: none;
203
background-color: rgb(224,224,224);
213
/* More specific settings */
214
/* Temporary patch: browsers break on bad HTML */
215
/* P, H1, H2, H3, H4, H5, TD, TH { font-family: Helvetica, Arial, sans-serif;
218
p, h1, h2, h3, h4, h5, h6, td, th {
219
font-family: sans-serif;
222
/* Visual cues for GUI elements etc in the text */
224
.guimenu, .guimenuitem, .guisubmenu {
225
background-color: rgb(250,250,250);
226
color: rgb(0,0,0); /* should be inherit */
229
.guilabel, .interface, .guibutton {
230
background-color: rgb(250,250,250);
231
color: rgb(0,0,0); /* should be inherit */
235
background-color: rgb(250,250,250);
236
color: rgb(0,0,0); /* should be inherit */
240
background-color: rgb(250,250,250);
241
color: rgb(0,0,0); /* should be inherit */
249
background-color: rgb(250,250,250);
251
text-decoration: underline;
255
background-color: rgb(255,255,255);
256
color: rgb(0,96,160);
260
h1, h2, h3, h4, h5, h6 {
261
color: rgb(82,80,82);
262
background-color: transparent;
265
.arg, .parameter, .replaceable {
266
background-color: rgb(255,255,255);
267
color: rgb(0,128,64);
271
.screen, .programlisting {
272
background-color: rgb(250,250,250);
273
color: rgb(0,0,0); /* should be inherit */
274
border-style: dotted;
275
border-color: rgb(0,0,0);
281
/* This one is set in inches because the admonitions are set in inches
282
and they're more difficult to change. We can live with it in here,
283
for the meantime, it gives consistent margins */
292
/* might make it much nicer. although someone has to
293
understand the rules ;-) You also don't want it to be
294
surrounded by text it doesn't refer to ... But that
295
may be among others a question of writing style. */
296
text-align: center; /* a bit of a hack: it should
301
margin: 0em 2em 3em 2em;
306
vertical-align: baseline;
311
/* An idea that could be nice: a search engine looking for specific
312
classes could display them in some conspicuous color. All that is
313
needed is an on the fly generated style element/style sheet. */
315
/* Only used in the hand-made HTML license texts */
317
background-color: rgb(255,255,255);
322
background-color: rgb(255,255,255);
323
font-family: monospace;