author | zecke <zecke> | 2003-04-15 18:54:29 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-04-15 18:54:29 (UTC) |
commit | dfa2d294b3af09bf3757a3c2294a925093e72fc6 (patch) (unidiff) | |
tree | 4912b4d7c74bf78e6903ec0304625a69580b6ffe /doc/common/kde-default.css | |
parent | f145f985e6635dbee2df3c04a9f2220e36f5512f (diff) | |
download | opie-dfa2d294b3af09bf3757a3c2294a925093e72fc6.zip opie-dfa2d294b3af09bf3757a3c2294a925093e72fc6.tar.gz opie-dfa2d294b3af09bf3757a3c2294a925093e72fc6.tar.bz2 |
Add common web files for our API docu
Add the Doxyfiles for library, libopie, libopie/pim, qt
Add a script to generate our API docs
You need to set OPIEDIR and QTDIR
./generate_apidox and you'll find your APIDOCS inside $OPIEDIR/apidocs
have fun
-rw-r--r-- | doc/common/kde-default.css | 228 |
1 files changed, 228 insertions, 0 deletions
diff --git a/doc/common/kde-default.css b/doc/common/kde-default.css new file mode 100644 index 0000000..918840c --- a/dev/null +++ b/doc/common/kde-default.css | |||
@@ -0,0 +1,228 @@ | |||
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 localisation-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-color: white; | ||
34 | font-family: sans-serif; | ||
35 | padding: 0; | ||
36 | margin: 0; | ||
37 | } | ||
38 | |||
39 | .sect1, .chapter { | ||
40 | padding: 2em; | ||
41 | } | ||
42 | |||
43 | .chapter .sect1 { | ||
44 | padding: 0em; | ||
45 | } | ||
46 | |||
47 | /* Links in Navigation */ | ||
48 | |||
49 | .navLeft a:link, .navCenter :link, .navRight :link, .header a:link, .header a:visited, .bottom-nav a:link, .bottom-nav a:visited { | ||
50 | color: white; | ||
51 | background-color: #3E91EB; | ||
52 | font-weight: bold; | ||
53 | } | ||
54 | |||
55 | |||
56 | /* Nice link colors for the main text | ||
57 | Setting text-decoration seems to fix a nasty redraw problem in KHC */ | ||
58 | |||
59 | :link { color: rgb(170,0,0); | ||
60 | background-color: white; /* should be inherit */ } | ||
61 | :visited { color: rgb(170,0,85); | ||
62 | background-color: white; /* should be inherit */ } | ||
63 | :active { color: rgb(170,0,0); | ||
64 | background-color: white; /* should be inherit */ } | ||
65 | |||
66 | .navLeft { | ||
67 | text-align: left; | ||
68 | font-weight: bold; | ||
69 | padding-left: 0.5em; | ||
70 | background-color: #3E91EB; | ||
71 | } | ||
72 | |||
73 | .navRight { | ||
74 | text-align: right; | ||
75 | font-weight: bold; | ||
76 | padding-right: 0.5em; | ||
77 | } | ||
78 | |||
79 | .navCenter { | ||
80 | text-align: center; | ||
81 | font-weight: bold; | ||
82 | padding-left: 0.5em; | ||
83 | padding-right: 0.5em; | ||
84 | background-color: transparent; | ||
85 | } | ||
86 | |||
87 | .header { | ||
88 | font-size: small; | ||
89 | line-height: 1em; | ||
90 | padding-left: 1em; | ||
91 | vertical-align: middle; | ||
92 | background-color: #3E91EB; | ||
93 | color: white; | ||
94 | margin: 0; | ||
95 | padding: 0; | ||
96 | border-top: 1px solid white; | ||
97 | border-bottom: 1px solid #206dcd; | ||
98 | height: 1.7em; | ||
99 | } | ||
100 | |||
101 | .bottom-nav { | ||
102 | font-size: small; | ||
103 | line-height: 1em; | ||
104 | padding-left: 1em; | ||
105 | vertical-align: middle; | ||
106 | background-color: #3E91EB; | ||
107 | color: white; | ||
108 | margin: 0; | ||
109 | padding: 0; | ||
110 | border-top: 1px solid white; | ||
111 | padding-top: 10px; | ||
112 | border-bottom: 1px solid #206dcd; | ||
113 | height: 1.7em; | ||
114 | } | ||
115 | |||
116 | #logo { | ||
117 | background: url('help:/common/kde_logo_bg.png') transparent repeat; | ||
118 | } | ||
119 | |||
120 | |||
121 | /* A little bit of padding makes the tables for keybindings etc much easier to read */ | ||
122 | |||
123 | TABLE { padding: 5px; } | ||
124 | DT { margin-top: 1em; } | ||
125 | DIV.toc DT { margin-top: 0px; } | ||
126 | DIV.SCREENSHOT { margin-bottom: 1em; | ||
127 | margin-top: 1em; } | ||
128 | DIV.INFORMALEXAMPLE { border-style: dotted; | ||
129 | padding: 10px; } | ||
130 | |||
131 | /* But no padding for navigation elements */ | ||
132 | |||
133 | .toplogo, .navbackground, { padding: 0px; } | ||
134 | |||
135 | TABLE.programlisting | ||
136 | TABLE.screen { border-style: none; | ||
137 | background-color: rgb(224,224,224); | ||
138 | table-layout: auto; /* 100%? */ | ||
139 | color: rgb(0,0,0); /* should be inherit */ | ||
140 | } | ||
141 | |||
142 | /* Same as previous block, but more general (previous is HTML only) | ||
143 | Not all browsers understand this yet. | ||
144 | TABLE[class~=programlisting] | ||
145 | TABLE[class~=screen] { border-style: none; | ||
146 | background-color: rgb(224,224,224); | ||
147 | table-layout: auto; | ||
148 | color: inherit; | ||
149 | } | ||
150 | */ | ||
151 | |||
152 | P { text-align: justify; } | ||
153 | |||
154 | /* More specific settings */ | ||
155 | |||
156 | /* Temporary patch: browsers break on bad HTML */ | ||
157 | /* P, H1, H2, H3, H4, H5, TD, TH { font-family: Helvetica, Arial, sans-serif; | ||
158 | } */ | ||
159 | |||
160 | P, H1, H2, H3, H4, H5, TD, TH { font-family: sans-serif; | ||
161 | } | ||
162 | |||
163 | /* Visual cues for GUI elements etc in the text */ | ||
164 | |||
165 | .guimenu, .guimenuitem, .guisubmenu { background-color: rgb(240,240,240); | ||
166 | color: rgb(0,0,0); /* should be inherit */ | ||
167 | } | ||
168 | |||
169 | .guilabel, .interface, .guibutton { background-color: rgb(240,240,240); | ||
170 | color: rgb(0,0,0); /* should be inherit */ | ||
171 | } | ||
172 | |||
173 | .shortcut { background-color: rgb(240,240,240); | ||
174 | color: rgb(0,0,0); /* should be inherit */ | ||
175 | } | ||
176 | |||
177 | .shortcut .keycap { background-color: rgb(240,240,240); | ||
178 | color: rgb(0,0,0); /* should be inherit */ | ||
179 | } | ||
180 | |||
181 | .question { font-weight: bolder; } | ||
182 | |||
183 | .accel { background-color: rgb(240,240,240); | ||
184 | color: rgb(0,0,0); | ||
185 | text-decoration: underline; | ||
186 | } | ||
187 | |||
188 | .option, .command { background-color: rgb(255,255,255); | ||
189 | color: rgb(0,96,160); | ||
190 | font-weight: bold; | ||
191 | } | ||
192 | |||
193 | h1, h2, h3, h4, h5, h6 { color: rgb(82,80,82); | ||
194 | } | ||
195 | .arg, .parameter, .replaceable{ background-color: rgb(255,255,255); | ||
196 | color: rgb(0,128,64); | ||
197 | font-style: italic; | ||
198 | } | ||
199 | |||
200 | DIV.mediaobject { /* float: right; */ | ||
201 | /* might make it much nicer. although someone has to | ||
202 | understand the rules ;-) You also don't want it to be | ||
203 | surrounded by text it doesn't refer to ... But that | ||
204 | may be among others a question of writing style. */ | ||
205 | text-align: center; /* a bit of a hack: it should | ||
206 | position _images_ */ | ||
207 | } | ||
208 | |||
209 | .caption { margin: 0em 2em 3em 2em; } | ||
210 | |||
211 | .inlinemediaobject { vertical-align: baseline; | ||
212 | padding-right: 1em; | ||
213 | padding-left: 1em; } | ||
214 | |||
215 | /* An idea that could be nice: a search engine looking for specific | ||
216 | classes could display them in some conspicuous colour. All that is | ||
217 | needed is an on the fly generated style element/style sheet. */ | ||
218 | |||
219 | /* Only used in the hand-made HTML license texts */ | ||
220 | BODY.license { background-color: rgb(255,255,255); | ||
221 | text-align: justify; | ||
222 | color: rgb(0,0,0); | ||
223 | } | ||
224 | PRE.license { background-color: rgb(255,255,255); | ||
225 | font-family: monospace; | ||
226 | color: rgb(0,0,0); | ||
227 | } | ||
228 | |||