xref: /template/retro/css/design.css (revision 2fc923cadb76d6400175c5a87f077a2730e9e1b4)
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
59#dokuwiki__header div.breadcrumbs {
60    margin-bottom: .3em;
61}
62#dokuwiki__header div.breadcrumbs a {
63    color: __existing__;
64    background-color: inherit;
65}
66
67
68/* tools
69********************************************************************/
70
71/* make wiki links look the same as tool links in tool bars */
72#dokuwiki__usertools a.wikilink1,
73#dokuwiki__pagetools a.wikilink1,
74#dokuwiki__usertools a.wikilink2,
75#dokuwiki__pagetools a.wikilink2 {
76    color: #00c;
77    border-bottom-width: 0;
78}
79#dokuwiki__usertools a.wikilink2:hover,
80#dokuwiki__pagetools a.wikilink2:hover,
81#dokuwiki__usertools a.wikilink2:active,
82#dokuwiki__pagetools a.wikilink2:active,
83#dokuwiki__usertools a.wikilink2:focus,
84#dokuwiki__pagetools a.wikilink2:focus {
85    text-decoration: underline;
86}
87
88/* highlight selected tool */
89.mode_admin a.action.admin,
90.mode_profile a.action.profile,
91.mode_recent a.action.recent,
92.mode_index a.action.index,
93.mode_revisions a.action.revs,
94.mode_backlink a.action.backlink {
95    font-weight: bold;
96}
97
98/*____________ user tools ____________*/
99
100#dokuwiki__usertools {
101    position: absolute;
102    top: 0;
103    right: 0;
104    border-bottom: 1px solid __border__;
105    background-color: __background_alt__;
106    width: 100%;
107}
108#dokuwiki__usertools ul,
109#dokuwiki__pagetools ul {
110    /* imitate #dokuwiki__site */
111    margin: 0 auto;
112    max-width: 64em;
113    padding: 0 1em;
114}
115#IE6 #dokuwiki__usertools ul {
116    width: 100%;
117}
118#dokuwiki__usertools ul li.user {
119    float: left;
120    margin-left: 0;
121}
122
123/*____________ page tools ____________*/
124
125#dokuwiki__pagetools {
126    position: fixed;
127    bottom: 0;
128    left: 0;
129    border-top: 1px solid __border__;
130    background-color: __background_alt__;
131    width: 100%;
132    z-index: 10;
133}
134#IE6 #dokuwiki__content {
135    margin-bottom: 1.4em;
136}
137#dokuwiki__pagetools ul li {
138    display: inline;
139    margin: 0 1.5em 0 0;
140}
141#dokuwiki__pagetools ul li a.action.top {
142    float: right;
143}
144#IE6 #dokuwiki__pagetools ul,
145#IE7 #dokuwiki__pagetools ul {
146    position: relative;
147}
148#IE6 #dokuwiki__pagetools ul li a.action.top,
149#IE7 #dokuwiki__pagetools ul li a.action.top {
150    position: absolute;
151    top: 0;
152    right: 0;
153}
154
155
156/* sidebar
157********************************************************************/
158
159#dokuwiki__aside {
160    padding-top: .4em;
161    line-height: 1.2;
162}
163
164/* make sidebar more condensed */
165
166#dokuwiki__aside h1 { margin-bottom: .222em; }
167#dokuwiki__aside h2 { margin-bottom: .333em; }
168#dokuwiki__aside h3 { margin-bottom: .444em; }
169#dokuwiki__aside h4 { margin-bottom: .5em; }
170#dokuwiki__aside h5 { margin-bottom: .5714em; }
171
172#dokuwiki__aside p, #dokuwiki__aside ul, #dokuwiki__aside ol, #dokuwiki__aside dl,
173#dokuwiki__aside pre, #dokuwiki__aside table, #dokuwiki__aside fieldset,
174#dokuwiki__aside hr, #dokuwiki__aside blockquote, #dokuwiki__aside address {
175    margin-bottom: .7em;
176}
177
178#dokuwiki__aside ul, #dokuwiki__aside ol {
179    padding-left: 0;
180}
181#dokuwiki__aside li ul, #dokuwiki__aside li ol {
182    margin-bottom: 0;
183}
184
185
186/* content
187********************************************************************/
188
189.dokuwiki .page {
190}
191
192/*____________ misc ____________*/
193
194/* license note in footer and under edit window */
195.dokuwiki div.license {
196    font-size: 90%;
197}
198
199#IE6 .dokuwiki input.button, #IE6 .dokuwiki button,
200#IE7 .dokuwiki input.button, #IE7 .dokuwiki button {
201    line-height: 1.4;
202}
203
204/*____________ JS popup ____________*/
205
206.JSpopup {
207    background-color: __background__;
208    color: __text__;
209    border: 1px solid __border__;
210    line-height: 1.2;
211    padding: 0 .2em;
212}
213
214.JSpopup ul,
215.JSpopup ol {
216    padding-left: 0;
217}
218
219
220/* footer
221********************************************************************/
222
223.dokuwiki .wrapper {
224    margin-bottom: 2.8em;
225}
226#IE6 .dokuwiki .wrapper {
227    margin-bottom: 1.4em;
228}
229
230#dokuwiki__footer {
231    margin-bottom: 1em;
232}
233#IE6 #dokuwiki__footer,
234#IE7 #dokuwiki__footer {
235    height: 1%;
236}
237#dokuwiki__footer .doc {
238    float: left;
239}
240#dokuwiki__footer .top {
241    float: right;
242}
243#dokuwiki__footer .license {
244    clear: both;
245}
246#dokuwiki__footer .license img {
247    margin: 0 .5em 0 0;
248    float: none;
249}
250
251