1/**
2 * This file provides the main design styles for the page content.
3 *
4 * @author Anika Henke <anika@selfthinker.org>
5 * @author Andreas Gohr <andi@splitbrain.org>
6 * @author Clarence Lee <clarencedglee@gmail.com>
7 */
8
9/*____________ section indenting ____________
10
11.dokuwiki.page  h1 {margin-left: 0;}
12.dokuwiki.page  h2 {margin-left: .666em;}
13.dokuwiki.page  h3 {margin-left: 1.776em;}
14.dokuwiki.page  h4 {margin-left: 3em;}
15.dokuwiki.page  h5 {margin-left: 4.5712em;}
16.dokuwiki.page  div.level1 {margin-left: 0;}
17.dokuwiki.page  div.level2 {margin-left: 1em;}
18.dokuwiki.page  div.level3 {margin-left: 2em;}
19.dokuwiki.page  div.level4 {margin-left: 3em;}
20.dokuwiki.page  div.level5 {margin-left: 4em;}
21
22[dir=rtl] .dokuwiki .page h1 {margin-left: 0; margin-right: 0;}
23[dir=rtl] .dokuwiki .page h2 {margin-left: 0; margin-right: .666em;}
24[dir=rtl] .dokuwiki .page h3 {margin-left: 0; margin-right: 1.776em;}
25[dir=rtl] .dokuwiki .page h4 {margin-left: 0; margin-right: 3em;}
26[dir=rtl] .dokuwiki .page h5 {margin-left: 0; margin-right: 4.5712em;}
27[dir=rtl] .dokuwiki .page div.level1 {margin-left: 0; margin-right: 0;}
28[dir=rtl] .dokuwiki .page div.level2 {margin-left: 0; margin-right: 1em;}
29[dir=rtl] .dokuwiki .page div.level3 {margin-left: 0; margin-right: 2em;}
30[dir=rtl] .dokuwiki .page div.level4 {margin-left: 0; margin-right: 3em;}
31[dir=rtl] .dokuwiki .page div.level5 {margin-left: 0; margin-right: 4em;}
32*/
33/* hx margin-left = (1 / font-size) * .levelx-margin */
34
35
36/*____________ links to wiki pages (addition to _links) ____________*/
37
38/* existing wikipage */
39.dokuwiki a.wikilink1 {
40    color: __existing__;
41    background-color: inherit;
42}
43/* not existing wikipage */
44.dokuwiki a.wikilink2 {
45    color: __missing__;
46    background-color: inherit;
47}
48
49
50/*____________ images ____________*/
51
52/* embedded images (styles are already partly set in lib/styles/all.css) */
53.dokuwiki img.media {
54    margin: .2em 0;
55}
56.dokuwiki img.medialeft {
57    margin: .2em 1em .2em 0;
58}
59.dokuwiki img.mediaright {
60    margin: .2em 0 .2em 1em;
61}
62.dokuwiki img.mediacenter {
63    margin: .2em auto;
64}
65
66
67/*____________ lists ____________*/
68
69#dokuwiki__content ul li,
70#dokuwiki__aside ul li {
71    color: __text_alt__;
72}
73#dokuwiki__content ol li,
74#dokuwiki__aside ol li {
75    color: __text_neu__;
76}
77#dokuwiki__content li .li,
78#dokuwiki__aside li .li {
79    color: __text__;
80}
81
82
83/*____________ tables ____________*/
84
85/* div around each table */
86.dokuwiki div.table {
87    overflow-x: auto;
88    margin-bottom: 1.4em;
89}
90.dokuwiki div.table table {
91    margin-bottom: 0;
92}
93
94.dokuwiki table.inline {
95    min-width: 50%;
96}
97.dokuwiki table.inline tr:hover td {
98    background-color: __background_alt__;
99}
100.dokuwiki table.inline tr:hover th {
101    background-color: __border__;
102}
103
104
105/*____________ code ____________*/
106
107/* fix if background-color hides underlining */
108.dokuwiki em.u code {
109    text-decoration: underline;
110}
111
112/* for code in <file> */
113.dokuwiki pre.file {
114}
115
116/* filenames for downloadable file and code blocks */
117.dokuwiki dl.code,
118.dokuwiki dl.file {
119}
120
121.dokuwiki dl.code dt,
122.dokuwiki dl.file dt {
123    background-color: #eee;
124    /* background: -moz-linear-gradient(   top, __background_alt__ 0%, __background_site__ 100%); see FS#2447 */
125    background: -webkit-linear-gradient(top, __background_alt__ 0%, __background_site__ 100%);
126    background: -o-linear-gradient(     top, __background_alt__ 0%, __background_site__ 100%);
127    background: -ms-linear-gradient(    top, __background_alt__ 0%, __background_site__ 100%);
128    background: linear-gradient(        top, __background_alt__ 0%, __background_site__ 100%);
129    color: inherit;
130    border: 1px solid __border__;
131    border-bottom-color: __border__;
132    border-top-left-radius: .3em;
133    border-top-right-radius: .3em;
134    padding: .3em .6em .1em;
135    margin-bottom: -1px;
136    float: left;
137}
138[dir=rtl] .dokuwiki dl.code dt,
139[dir=rtl] .dokuwiki dl.file dt {
140    float: right;
141}
142.dokuwiki dl.code dt a,
143.dokuwiki dl.file dt a {
144    background-color: transparent;
145    font-size: 0.875em;
146    font-weight: normal;
147    display: block;
148    min-height: 16px;
149}
150
151.dokuwiki dl.code dd,
152.dokuwiki dl.file dd {
153    margin: 0;
154    clear: left;
155    min-height: 1px; /* for IE7 */
156}
157[dir=rtl] .dokuwiki dl.code dd,
158[dir=rtl] .dokuwiki dl.file dd {
159    clear: right;
160}
161
162.dokuwiki dl.code pre,
163.dokuwiki dl.file pre {
164    box-shadow: inset -4px -4px .5em -.3em __border__;
165}
166
167
168/*____________ JS popup ____________*/
169
170.JSpopup {
171    background-color: __background__;
172    color: __text__;
173    border: 1px solid __border__;
174    box-shadow: .1em .1em .1em __border__;
175    border-radius: 2px;
176    padding: .3em .5em;
177    font-size: .9em;
178}
179.dokuwiki form.search div.ajax_qsearch {
180    top: -.35em;
181    font-size: 1em;
182    text-overflow: ellipsis;
183}
184
185.JSpopup ul,
186.JSpopup ol {
187    padding-left: 0;
188}
189[dir=rtl] .JSpopup ul,
190[dir=rtl] .JSpopup ol {
191    padding-right: 0;
192}
193
194
195/* changes to underscored CSS files
196********************************************************************/
197
198#acl__tree li {
199    margin: 0;
200}
201
202#dokuwiki__content span.curid a {
203    font-weight: normal;
204}
205#dokuwiki__content strong span.curid a {
206    font-weight: bold;
207}
208
209
210/*____________ changes to _edit ____________*/
211
212.dokuwiki div.toolbar button.toolbutton {
213    border-radius: 0;
214    border-left-width: 0;
215    padding: .1em .35em;
216}
217.dokuwiki div.toolbar button.toolbutton:first-child {
218    border-top-left-radius: 4px;
219    border-bottom-left-radius: 4px;
220    border-left-width: 1px;
221}
222[dir=rtl] .dokuwiki div.toolbar button.toolbutton:first-child {
223    border-top-left-radius: 0;
224    border-bottom-left-radius: 0;
225    border-top-right-radius: 4px;
226    border-bottom-right-radius: 4px;
227    border-left-width: 0;
228    border-right-width: 1px;
229}
230.dokuwiki div.toolbar button.toolbutton:last-child {
231    border-top-right-radius: 4px;
232    border-bottom-right-radius: 4px;
233}
234[dir=rtl] .dokuwiki div.toolbar button.toolbutton:last-child {
235    border-top-left-radius: 4px;
236    border-bottom-left-radius: 4px;
237    border-top-right-radius: 0;
238    border-bottom-right-radius: 0;
239    border-left-width: 1px;
240}
241
242.dokuwiki div.section_highlight {
243    margin: 0 -2em;
244    padding: 0 1em;
245    border-width: 0 1em;
246}
247
248.dokuwiki textarea.edit {
249    font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
250}
251
252.dokuwiki div.preview {
253    margin: 0 -2em;
254    padding: 0 2em;
255}
256.dokuwiki.hasSidebar div.preview {
257    border-right: __sidebar_width__ solid __background_alt__;
258}
259[dir=rtl] .dokuwiki.hasSidebar div.preview {
260    border-right-width: 0;
261    border-left: __sidebar_width__ solid __background_alt__;
262}
263.dokuwiki div.preview div.pad {
264    padding: 1.556em 0 2em;
265}
266
267
268/*____________ changes to _toc ____________*/
269
270#dw__toc {
271    margin:  -1.556em -2em .5em 1.4em;
272    width: __sidebar_width__;
273    border-left: 1px solid __border__;
274    background: __background__;
275    color: inherit;
276}
277[dir=rtl] #dw__toc {
278    margin: -1.556em 1.4em .5em -2em;
279    border-left-width: 0;
280    border-right: 1px solid __border__;
281}
282
283.dokuwiki h3.toggle {
284    padding: .5em 1em;
285    margin-bottom: 0;
286    font-size: .875em;
287    letter-spacing: .1em;
288}
289#dokuwiki__aside h3.toggle {
290    display: none;
291}
292
293.dokuwiki .toggle strong {
294    background: transparent url(images/toc-arrows.png) 0 0;
295    width: 8px;
296    height: 5px;
297    margin: .4em 0 0;
298}
299.dokuwiki .toggle.closed strong {
300    background-position: 0 -5px;
301}
302
303.dokuwiki .toggle strong span {
304    display: none;
305}
306
307
308#dw__toc > div {
309    font-size: 0.875em;
310    padding: .5em 1em 1em;
311}
312#dw__toc ul {
313    padding: 0 0 0 1.2em;
314}
315[dir=rtl] #dw__toc ul {
316    padding: 0 1.5em 0 0;
317}
318#dw__toc ul li {
319    list-style-image: url(images/toc-bullet.png);
320}
321#dw__toc ul li.clear {
322    list-style: none;
323}
324#dw__toc ul li div.li {
325    padding: .2em 0;
326}
327
328
329/*____________ changes to _imgdetail ____________*/
330
331#dokuwiki__detail {
332    padding: 0;
333}
334#dokuwiki__detail img {
335    float: none;
336    margin-bottom: 1.4em;
337}
338#dokuwiki__detail div.img_detail {
339    float: none;
340}
341
342#dokuwiki__detail div.img_detail dl {
343    overflow: hidden;
344}
345#dokuwiki__detail div.img_detail dl dt {
346    float: left;
347    width: 9em;
348    text-align: right;
349    clear: left;
350}
351[dir=rtl] #dokuwiki__detail div.img_detail dl dt {
352    float: right;
353    text-align: left;
354    clear: right;
355}
356#dokuwiki__detail div.img_detail dl dd {
357    margin-left: 9.5em;
358}
359[dir=rtl] #dokuwiki__detail div.img_detail dl dd {
360    margin-left: 0;
361    margin-right: 9.5em;
362}
363