1/**
2 * This file provides the main design styles for the
3 * bits that surround the content.
4 *
5 * @author Anika Henke <anika@selfthinker.org>
6 * @author Andreas Gohr <andi@splitbrain.org>
7 */
8
9
10/* header
11********************************************************************/
12
13#dokuwiki__header {
14    margin: 1em 0 0;
15}
16#IE7 #dokuwiki__header {
17    margin-top: 2em;
18}
19
20#dokuwiki__header .headings {
21    margin-bottom: 2.1em;
22}
23#dokuwiki__header h1 {
24    margin-bottom: 0;
25    font-size: 1.5em;
26}
27#dokuwiki__header h1 a {
28    text-decoration: none;
29    color: #00c;
30    background-color: inherit;
31}
32#dokuwiki__header p.claim {
33    margin-bottom: 0;
34}
35#dokuwiki__header h2 {
36    margin-bottom: 0;
37    font-size: 1.125em;
38}
39
40#dokuwiki__header .tools {
41    margin-bottom: 2.1em;
42}
43#dokuwiki__header .tools ul {
44    margin-bottom: 0;
45}
46#dokuwiki__header .tools ul li {
47    display: inline;
48}
49
50#dokuwiki__header form.search {
51    margin: .5em 0 0;
52    display: block;
53}
54#dokuwiki__header form.search #qsearch__in {
55    width: 12em;
56    margin-right: .5em;
57}
58[dir=rtl] #dokuwiki__header form.search #qsearch__in {
59    margin-right: 0;
60    margin-left: .5em;
61}
62
63#dokuwiki__header div.breadcrumbs {
64    margin-bottom: .3em;
65}
66#dokuwiki__header div.breadcrumbs a {
67    color: __existing__;
68    background-color: inherit;
69}
70
71
72/* tools
73********************************************************************/
74
75/* make wiki links look the same as tool links in tool bars */
76#dokuwiki__usertools a.wikilink1,
77#dokuwiki__pagetools a.wikilink1,
78#dokuwiki__usertools a.wikilink2,
79#dokuwiki__pagetools a.wikilink2 {
80    color: #00c;
81    border-bottom-width: 0;
82}
83#dokuwiki__usertools a.wikilink2:hover,
84#dokuwiki__pagetools a.wikilink2:hover,
85#dokuwiki__usertools a.wikilink2:active,
86#dokuwiki__pagetools a.wikilink2:active,
87#dokuwiki__usertools a.wikilink2:focus,
88#dokuwiki__pagetools a.wikilink2:focus {
89    text-decoration: underline;
90}
91
92/* highlight selected tool */
93.mode_admin a.action.admin,
94.mode_login a.action.login,
95.mode_register a.action.register,
96.mode_profile a.action.profile,
97.mode_recent a.action.recent,
98.mode_index a.action.index,
99.mode_media a.action.media,
100.mode_revisions a.action.revs,
101.mode_backlink a.action.backlink,
102.mode_subscribe a.action.subscribe {
103    font-weight: bold;
104}
105
106/*____________ user tools ____________*/
107
108#dokuwiki__usertools {
109    position: absolute;
110    top: 0;
111    right: 0;
112    border-bottom: 1px solid __border__;
113    background-color: __background_alt__;
114    width: 100%;
115}
116#dokuwiki__usertools ul,
117#dokuwiki__pagetools ul {
118    /* imitate #dokuwiki__site */
119    margin: 0 auto;
120    max-width: __site_width__;
121    padding: 0 1em;
122}
123#dokuwiki__usertools ul li.user {
124    float: left;
125    margin-left: 0;
126}
127[dir=rtl] #dokuwiki__usertools ul li.user {
128    float: right;
129    margin-right: 0;
130}
131
132/*____________ page tools ____________*/
133
134#dokuwiki__pagetools {
135    position: fixed;
136    bottom: 0;
137    left: 0;
138    border-top: 1px solid __border__;
139    background-color: __background_alt__;
140    width: 100%;
141    z-index: 10;
142}
143#dokuwiki__pagetools ul li {
144    display: inline;
145    margin: 0 1.5em 0 0;
146}
147#dokuwiki__pagetools ul li a.action.top {
148    float: right;
149}
150[dir=rtl] #dokuwiki__pagetools ul li a.action.top {
151    float: left;
152}
153#IE7 #dokuwiki__pagetools ul {
154    position: relative;
155}
156#IE7 #dokuwiki__pagetools ul li a.action.top {
157    position: absolute;
158    top: 0;
159    right: 0;
160}
161[dir=rtl] #IE7 #dokuwiki__pagetools ul li a.action.top {
162    right: auto;
163    left: 0;
164}
165
166
167/* sidebar
168********************************************************************/
169
170#dokuwiki__aside {
171    padding-top: .4em;
172    line-height: 1.2;
173}
174
175#dokuwiki__aside > .pad {
176    overflow: hidden;
177    word-wrap: break-word;
178}
179
180/* make sidebar more condensed */
181
182#dokuwiki__aside h1 {
183    margin-bottom: .222em;
184}
185#dokuwiki__aside h2 {
186    margin-bottom: .333em;
187}
188#dokuwiki__aside h3 {
189    margin-bottom: .444em;
190}
191#dokuwiki__aside h4 {
192    margin-bottom: .5em;
193}
194#dokuwiki__aside h5 {
195    margin-bottom: .5714em;
196}
197
198#dokuwiki__aside p,
199#dokuwiki__aside ul,
200#dokuwiki__aside ol,
201#dokuwiki__aside dl,
202#dokuwiki__aside pre,
203#dokuwiki__aside table,
204#dokuwiki__aside fieldset,
205#dokuwiki__aside hr,
206#dokuwiki__aside blockquote,
207#dokuwiki__aside address {
208    margin-bottom: .7em;
209}
210
211#dokuwiki__aside ul,
212#dokuwiki__aside ol {
213    padding-left: .5em;
214}
215[dir=rtl] #dokuwiki__aside ul,
216[dir=rtl] #dokuwiki__aside ol {
217    padding-right: .5em;
218}
219#dokuwiki__aside li ul,
220#dokuwiki__aside li ol {
221    margin-bottom: 0;
222    padding: 0;
223}
224
225
226/* content
227********************************************************************/
228
229.dokuwiki .page {
230    word-wrap: break-word;
231}
232
233/* license note in footer and under edit window */
234.dokuwiki div.license {
235    font-size: 93.75%;
236}
237
238
239/* footer
240********************************************************************/
241
242.dokuwiki .wrapper {
243    margin-bottom: 2.8em;
244}
245
246#dokuwiki__footer {
247    margin-bottom: 1em;
248}
249#IE7 #dokuwiki__footer {
250    height: 1%;
251}
252
253#dokuwiki__footer .doc {
254    float: left;
255}
256#dokuwiki__footer .top {
257    float: right;
258}
259
260#dokuwiki__footer .license {
261    clear: both;
262}
263#dokuwiki__footer .license img {
264    margin: 0 .5em 0 0;
265    float: none;
266}
267