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