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 */
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 DokuWiki's lib/styles/all.css) */
53.dokuwiki img.media {
54    margin: .2em 0;
55}
56.dokuwiki img.medialeft {
57    margin: .2em 1.5em .2em 0;
58}
59.dokuwiki img.mediaright {
60    margin: .2em 0 .2em 1.5em;
61}
62.dokuwiki img.mediacenter {
63    margin: .2em auto;
64}
65
66
67/*____________ tables ____________*/
68
69/* div before each table */
70.dokuwiki div.table {
71}
72
73.dokuwiki table.inline {
74    min-width: 50%;
75}
76.dokuwiki table.inline tr:hover td {
77    background-color: __background_alt__;
78}
79.dokuwiki table.inline tr:hover th {
80    background-color: __border__;
81}
82
83
84/*____________ code ____________*/
85
86/* fix if background-color hides underlining */
87.dokuwiki em.u code {
88    text-decoration: underline;
89}
90
91/* filenames for downloadable file and code blocks */
92.dokuwiki dl.code,
93.dokuwiki dl.file {
94}
95
96.dokuwiki dl.code dt,
97.dokuwiki dl.file dt {
98    background-color: __background_alt__;
99    border: solid __border__;
100    border-width: 1px 1px 0;
101    color: inherit;
102    display: inline;
103    padding: .1em .5em .2em;
104    margin-left: 1em;
105}
106[dir=rtl] .dokuwiki dl.code dt,
107[dir=rtl] .dokuwiki dl.file dt {
108    margin-left: 0;
109    margin-right: 1em;
110}
111.dokuwiki dl.code dt a,
112.dokuwiki dl.file dt a {
113}
114
115.dokuwiki dl.code dd,
116.dokuwiki dl.file dd {
117    margin: 0;
118}
119
120/* for code in <file> */
121.dokuwiki pre.file,
122.dokuwiki dl.file pre,
123.dokuwiki dl.file dt {
124    border-color: __text_neu__;
125}
126
127
128/*____________ media manager ____________*/
129
130/* some headings in the media manager should not look like headings */
131#mediamanager__page h2,
132#mediamanager__page h3 {
133    font-family: Frutiger, Calibri, Myriad, "Nimbus Sans L", Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
134    color: __text__;
135}
136
137/* to style button-like div in _fileuploader.css to look like other buttons,
138   please add '.qq-upload-button' to the according styles (which don't really exist in this template) */
139.qq-upload-button {
140    border: 1px solid __border__;
141    background-color: __background_alt__;
142    padding: 0.125em 0.4em;
143}
144
145/*____________ styling plugin ____________*/
146
147#plugin__styling.ispopup {
148    padding: 1em;
149}
150
151
152/*____________ JS popup ____________*/
153
154.JSpopup {
155    background-color: __background__;
156    color: __text__;
157    border: 1px solid __border__;
158    line-height: 1.2;
159    padding: 0 .2em;
160}
161
162.JSpopup ul,
163.JSpopup ol {
164    padding-left: 0;
165}
166[dir=rtl] .JSpopup ul,
167[dir=rtl] .JSpopup ol {
168    padding-right: 0;
169}
170