~ubuntu-branches/ubuntu/maverick/kubuntu-docs/maverick

« back to all changes in this revision

Viewing changes to kubuntu/libs/kde-default.css

  • Committer: Bazaar Package Importer
  • Author(s): Richard A. Johnson
  • Date: 2008-08-18 10:49:14 UTC
  • Revision ID: james.westby@ubuntu.com-20080818104914-83r2er2hsmdp2o0l
Tags: 8.10-2
* Restructured kubuntu documentation package
  - Refer to the NEWS text located in the root directory of the package
* Removed the Firefox start page files
* debian/rules: updated to remove firefox files
* debian/control: removed perl deps due to removal of firefox files, bumped
  version to 3.8.0, updated kdelibs-data dep to kdelibs5-data

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
    KDE-wide default CSS for HTML documentation (all media types).
3
 
    Copyright (C) 2000 Frederik Fouvry
4
 
 
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.
9
 
 
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.
14
 
 
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
18
 
 
19
 
    Send comments, suggestions, etc. to Frederik Fouvry 
20
 
    <fouvry@sfs.nphil.uni-tuebingen.de>. */
21
 
 
22
 
/*
23
 
   Important note: these setting may be overridden by localised CSS.  Do not 
24
 
   add here any localization-sensitive style declarations.
25
 
   
26
 
   Any updates should be validated, e.g. http://jigsaw.w3.org/css-validator/ */
27
 
 
28
 
/* Note: "should be inherit" means that in a proper browser inherit should work.
29
 
   Somehow Netscape manages to interpret "inherit" as bright green. 
30
 
   Yuck.  */
31
 
 
32
 
body {
33
 
  background: white none;
34
 
  color: black;
35
 
  font-family: sans-serif;
36
 
  padding: 0;
37
 
  margin: 0; 
38
 
}
39
 
 
40
 
.legalnotice, .copyright {
41
 
  padding: 0;
42
 
  margin: 0; 
43
 
}
44
 
 
45
 
.abstract {
46
 
  font-weight: bolder;
47
 
  padding-right: 1em; 
48
 
}
49
 
 
50
 
.toc, .list-of-tables {
51
 
  padding-left: 1em;
52
 
}
53
 
 
54
 
.sect1, .chapter, .synopsis, .appendix, .preface, .article, .refsect1, .index, .glossary, .section {
55
 
  padding: 1em;
56
 
}
57
 
 
58
 
.author {
59
 
  color: rgb(82,80,82);
60
 
  font-weight: bolder;
61
 
  padding: 0;
62
 
  margin: 0;
63
 
}
64
 
 
65
 
.othercredit {
66
 
  line-height: 1em;
67
 
}
68
 
 
69
 
.chapter .sect1, .chapter .titlepage, .sect1 .titlepage, .article .titlepage {
70
 
  padding: 0em;
71
 
}
72
 
 
73
 
.titlepage {
74
 
  padding-left: 1em;
75
 
  padding-right: 1em;
76
 
}
77
 
 
78
 
/* Links in Navigation */
79
 
 
80
 
.navLeft a:link, .navCenter :link, .navRight :link, .header a:link, .header a:visited, .bottom-nav a:link, .bottom-nav a:visited {
81
 
  color: #41597A;
82
 
  background: white none;
83
 
  font-weight: bold;
84
 
}
85
 
 
86
 
 
87
 
/* Nice link colors for the main text */
88
 
 
89
 
:link { 
90
 
  color: #41597A;
91
 
  background: white none; /* should be inherit */
92
 
}
93
 
 
94
 
:visited { 
95
 
  color: #597ba8;
96
 
  background: white none; /* should be inherit */ 
97
 
}
98
 
 
99
 
.navLeft {
100
 
  position: absolute; 
101
 
  left: 0px;
102
 
}
103
 
 
104
 
.navRight {
105
 
  position: absolute; 
106
 
  right: 20px;
107
 
}
108
 
 
109
 
.navCenter {
110
 
  text-align: center;
111
 
  align: center;
112
 
}
113
 
 
114
 
.bannerBottomLeft {
115
 
  position: absolute; left: 0px;
116
 
}
117
 
 
118
 
.bannerBottomRight {
119
 
  position: absolute; right: 0px;
120
 
}
121
 
 
122
 
.header {
123
 
  background: #3E91EB none;
124
 
  border-bottom: 1px solid #206dcd;
125
 
  border-top: 1px solid white;
126
 
  color: white;
127
 
  font-size: small;
128
 
  height: 1.7em;
129
 
  line-height: 1em;
130
 
  margin: 0px;
131
 
  padding-bottom: 0px;
132
 
  padding-left: 1em;
133
 
  padding-right: 0px;
134
 
  padding-top: 0px;
135
 
  vertical-align: middle;
136
 
}
137
 
 
138
 
.bottom-nav { 
139
 
  background-color: #3E91EB; 
140
 
  border-bottom: 1px solid #206dcd; 
141
 
  border-top: 1px solid white;
142
 
  color: white; 
143
 
  font-size: small; 
144
 
  height: 1.7em; 
145
 
  line-height: 1em; 
146
 
  margin: 0px; 
147
 
  padding-bottom: 0px; 
148
 
  padding-left: 1em;
149
 
  padding-right: 0px; 
150
 
  padding-top: 10px; 
151
 
  vertical-align: middle; 
152
 
}
153
 
 
154
 
#logo {
155
 
  background: url('help:/common/kde_logo_bg.png') transparent repeat;
156
 
}
157
 
 
158
 
/* A little bit of padding makes the tables for keybindings etc much easier to read */
159
 
 
160
 
table { 
161
 
  padding: 5px; 
162
 
163
 
 
164
 
dl { 
165
 
  margin-top: 0em; 
166
 
  margin-bottom: 0.5em; 
167
 
}
168
 
 
169
 
dt { 
170
 
  margin-top: 1em; 
171
 
}
172
 
div.toc dt { 
173
 
  margin-top: 0px; 
174
 
}
175
 
div.screenshot { 
176
 
  margin-bottom: 1em;
177
 
  margin-top: 1em; 
178
 
}
179
 
 
180
 
div.informalexample { 
181
 
  border-style: dotted;
182
 
  padding: 10px;
183
 
}
184
 
 
185
 
/* But no padding for navigation elements */
186
 
 
187
 
.toplogo, .navbackground { 
188
 
  padding: 0px; 
189
 
}
190
 
 
191
 
table.programlisting
192
 
table.screen { 
193
 
  border-style: none;
194
 
  background-color: rgb(224,224,224);
195
 
  table-layout: auto; /* 100%? */
196
 
  color: rgb(0,0,0); /* should be inherit */
197
 
}
198
 
 
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);
204
 
          table-layout: auto;
205
 
          color: inherit;
206
 
}
207
 
*/
208
 
 
209
 
p { 
210
 
  text-align: justify; 
211
 
}
212
 
 
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;
216
 
    } */
217
 
 
218
 
p, h1, h2, h3, h4, h5, h6, td, th { 
219
 
  font-family: sans-serif;
220
 
}
221
 
 
222
 
/* Visual cues for GUI elements etc in the text */
223
 
 
224
 
.guimenu, .guimenuitem, .guisubmenu { 
225
 
  background-color: rgb(250,250,250);
226
 
  color: rgb(0,0,0); /* should be inherit */
227
 
}
228
 
 
229
 
.guilabel, .interface, .guibutton { 
230
 
  background-color: rgb(250,250,250);
231
 
  color: rgb(0,0,0); /* should be inherit */
232
 
}
233
 
 
234
 
.shortcut { 
235
 
  background-color: rgb(250,250,250);
236
 
  color: rgb(0,0,0); /* should be inherit */
237
 
}
238
 
 
239
 
.shortcut .keycap { 
240
 
  background-color: rgb(250,250,250);
241
 
  color: rgb(0,0,0); /* should be inherit */
242
 
}
243
 
 
244
 
.question { 
245
 
  font-weight: bolder; 
246
 
}
247
 
 
248
 
.accel { 
249
 
  background-color: rgb(250,250,250);
250
 
  color: rgb(0,0,0); 
251
 
  text-decoration: underline;
252
 
}
253
 
 
254
 
.option, .command { 
255
 
  background-color: rgb(255,255,255);
256
 
  color: rgb(0,96,160);
257
 
  font-weight: bold;
258
 
}
259
 
 
260
 
h1, h2, h3, h4, h5, h6 { 
261
 
  color: rgb(82,80,82);
262
 
  background-color: transparent;
263
 
}
264
 
 
265
 
.arg, .parameter, .replaceable { 
266
 
  background-color: rgb(255,255,255);
267
 
  color: rgb(0,128,64);
268
 
  font-style: italic;
269
 
}
270
 
 
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);
276
 
  border-width: thin; 
277
 
  padding: 5px; 
278
 
279
 
 
280
 
 
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 */
284
 
 
285
 
.example { 
286
 
  margin-left: 0.5in; 
287
 
  margin-right: 0.5in;
288
 
}
289
 
 
290
 
div.mediaobject { 
291
 
  /* float: right; */ 
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
297
 
                         position _images_ */
298
 
}
299
 
 
300
 
.caption { 
301
 
  margin: 0em 2em 3em 2em; 
302
 
  text-align: center;
303
 
}
304
 
 
305
 
.inlinemediaobject { 
306
 
  vertical-align: baseline; 
307
 
  padding-right: 1em;
308
 
  padding-left: 1em;            
309
 
}
310
 
 
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. */
314
 
 
315
 
/* Only used in the hand-made HTML license texts */
316
 
body.license { 
317
 
  background-color: rgb(255,255,255);
318
 
  text-align: justify; 
319
 
  color: rgb(0,0,0);
320
 
}
321
 
pre.license { 
322
 
  background-color: rgb(255,255,255);
323
 
  font-family: monospace;
324
 
  color: rgb(0,0,0);
325
 
}
326