1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
|
/*
** MediaWiki 'cavendish' style sheet for CSS2/3-capable browsers.
** Copyright Mozilla Foundation - http://www.mozilla.org/
** License: GPL (http://www.gnu.org/copyleft/gpl.html)
**
** Loosely based on the monobook style by Gabriel Wicke
*
* Last modified on 2010/12/31 for Cavendish mod.
*/
/* Inherit styles from monobook */
@import url("monobook.css");
/* Load Cavendish specific styles */
@import url("content.css");
@import url("template.css");
@import url("basetemplate.css");
@import url("cavendish.css");
/* Try to use custom fonts trough CSS3 (opera 10+, safari 3.1+ and ff 3.5+) */
@font-face {
font-family: 'Droid Sans Mono';
font-style: normal;
font-weight: normal;
src: local('Droid Sans Mono'), local('DroidSansMono'), url('DroidSansMono.ttf') format('truetype');
}
#header ul
{
margin: 0;
padding-right: 1em;
}
#header li
{
padding: 0 6px 0 0;
margin-right: 1px;
}
#header ul li.selected a
{
background-position: 0% -200px;
color: #455372;
}
#header ul li.selected
{
background-position: 100% -200px;
border-bottom: 1px solid #fff;
}
/* header tabs mouseover effects */
#header ul li.selected:hover a
{
background-position: 0% 0%;
color: #333;
}
#header ul li.selected:hover
{
background-position: 100% 0%;
border-bottom: 1px solid #fff;
}
/* if you want the mozilla.org button back, look for "mozilla-org"
in cavendish.php and uncomment that line. Also uncomment this body
part below. -figure002 */
/*
body {
background: url("subsite_back.gif") repeat-x;
background-color: #FFF;
margin-top: 0;
padding-top: 0;
}
*/
div#header { clear: both; }
#header h1 a {
/*background: transparent url("wiki_header_logo.gif") no-repeat scroll 5px -5px; */
font-family: "Century Gothic","Trebuchet MS",Arial,sans-serif;;
color: #FFFFFF;
font-size: 1.7em;
text-shadow: 1px 1px 2px #000;
margin: 9px 0 0 180px;
text-indent: 1.1em;
text-transform: lowercase;
}
#header h1 a:hover {
text-decoration: none;
}
#mozilla-org a {
float: right;
display: block;
text-indent: -5000em;
width: 110px;
height: 25px;
text-decoration: none;
background: url("subsite_mozilla-org.gif") no-repeat;
margin-bottom: 1.5em;
}
/*
** classes for special content elements like town boxes
** intended to be referenced directly from the wiki src
*/
/*
** Diff rendering
*/
table.diff { background:white; }
td.diff-otitle { background:#ffffff; }
td.diff-ntitle { background:#ffffff; }
td.diff-addedline {
background:#ccffcc;
font-size: smaller;
}
td.diff-deletedline {
background:#ffffaa;
font-size: smaller;
}
td.diff-context {
background:#eeeeee;
font-size: smaller;
}
span.diffchange { color: red; font-weight: bold; }
/*
** Structural Elements
*/
/*
** the navigation portlet
*/
#p-nav {
position:relative;
z-index:3;
}
/*
** WORKAROUNDS
*/
/* navbox container style */
.navbox p
{
text-align: left !important;
}
/* make font in tables smaller */
td, th
{
font-size: 100%;
line-height: 1.5;
}
/* make the list of references look smaller */
ol.references
{
font-size: 95% !important; /* default: 100% */
text-align: justify;
}
/* make highlighted sources (<source>) bigger */
.de1, .de2
{
font: 1.2em/1.2em monospace !important;
}
/*
** This is an edited part from monobook. Removed the #bodyContent
** parts, because this class is not present in cavendish.
*/
a.external,
a[href ^="gopher://"] {
background: url(external.png) center right no-repeat;
padding-right: 13px;
}
a[href ^="https://"],
.link-https {
background: url(lock_icon.gif) center right no-repeat;
padding-right: 16px;
}
a[href ^="mailto:"],
.link-mailto {
background: url(mail_icon.gif) center right no-repeat;
padding-right: 18px;
}
a[href ^="news://"] {
background: url(news_icon.png) center right no-repeat;
padding-right: 18px;
}
a[href ^="ftp://"],
.link-ftp {
background: url(file_icon.gif) center right no-repeat;
padding-right: 18px;
}
a[href ^="irc://"],
a.extiw[href ^="irc://"],
.link-irc {
background: url(discussionitem_icon.gif) center right no-repeat;
padding-right: 18px;
}
a.external[href $=".ogg"], a.external[href $=".OGG"],
a.external[href $=".mid"], a.external[href $=".MID"],
a.external[href $=".midi"], a.external[href $=".MIDI"],
a.external[href $=".mp3"], a.external[href $=".MP3"],
a.external[href $=".wav"], a.external[href $=".WAV"],
a.external[href $=".wma"], a.external[href $=".WMA"],
.link-audio {
background: url("audio.png") center right no-repeat;
padding-right: 13px;
}
a.external[href $=".ogm"], a.external[href $=".OGM"],
a.external[href $=".avi"], a.external[href $=".AVI"],
a.external[href $=".mpeg"], a.external[href $=".MPEG"],
a.external[href $=".mpg"], a.external[href $=".MPG"],
.link-video {
background: url("video.png") center right no-repeat;
padding-right: 13px;
}
a.external[href $=".pdf"], a.external[href $=".PDF"],
a.external[href *=".pdf#"], a.external[href *=".PDF#"],
a.external[href *=".pdf?"], a.external[href *=".PDF?"],
.link-document {
background: url("document.png") center right no-repeat;
padding-right: 12px;
}
# Mageia wiki specific layout
table.contenttable
{
text-align: left;
padding: 5px;
width: 98%;
}
.contenttable td
{
/*font-size: 1.2em;*/
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
border: outset 1px #cbd9d9;
padding: 20px;
vertical-align: top;
}
|