xref: /template/retro/css/design.css (revision 57babfc8c6376716b4dea21db10cf5ab13d10889)
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_login a.action.login,
91.mode_register a.action.register,
92.mode_profile a.action.profile,
93.mode_recent a.action.recent,
94.mode_index a.action.index,
95.mode_revisions a.action.revs,
96.mode_backlink a.action.backlink,
97.mode_subscribe a.action.subscribe {
98    font-weight: bold;
99}
100
101/*____________ user tools ____________*/
102
103#dokuwiki__usertools {
104    position: absolute;
105    top: 0;
106    right: 0;
107    border-bottom: 1px solid __border__;
108    background-color: __background_alt__;
109    width: 100%;
110}
111#dokuwiki__usertools ul,
112#dokuwiki__pagetools ul {
113    /* imitate #dokuwiki__site */
114    margin: 0 auto;
115    max-width: __site_width__;
116    padding: 0 1em;
117}
118#IE6 #dokuwiki__usertools ul {
119    width: 100%;
120}
121#dokuwiki__usertools ul li.user {
122    float: left;
123    margin-left: 0;
124}
125
126/*____________ page tools ____________*/
127
128#dokuwiki__pagetools {
129    position: fixed;
130    bottom: 0;
131    left: 0;
132    border-top: 1px solid __border__;
133    background-color: __background_alt__;
134    width: 100%;
135    z-index: 10;
136}
137#IE6 #dokuwiki__content {
138    margin-bottom: 1.4em;
139}
140#dokuwiki__pagetools ul li {
141    display: inline;
142    margin: 0 1.5em 0 0;
143}
144#dokuwiki__pagetools ul li a.action.top {
145    float: right;
146}
147#IE6 #dokuwiki__pagetools ul,
148#IE7 #dokuwiki__pagetools ul {
149    position: relative;
150}
151#IE6 #dokuwiki__pagetools ul li a.action.top,
152#IE7 #dokuwiki__pagetools ul li a.action.top {
153    position: absolute;
154    top: 0;
155    right: 0;
156}
157
158
159/* sidebar
160********************************************************************/
161
162#dokuwiki__aside {
163    padding-top: .4em;
164    line-height: 1.2;
165}
166
167#dokuwiki__aside > .pad {
168    overflow: hidden;
169    word-wrap: break-word;
170}
171
172/* make sidebar more condensed */
173
174#dokuwiki__aside h1 {
175    margin-bottom: .222em;
176}
177#dokuwiki__aside h2 {
178    margin-bottom: .333em;
179}
180#dokuwiki__aside h3 {
181    margin-bottom: .444em;
182}
183#dokuwiki__aside h4 {
184    margin-bottom: .5em;
185}
186#dokuwiki__aside h5 {
187    margin-bottom: .5714em;
188}
189
190#dokuwiki__aside p,
191#dokuwiki__aside ul,
192#dokuwiki__aside ol,
193#dokuwiki__aside dl,
194#dokuwiki__aside pre,
195#dokuwiki__aside table,
196#dokuwiki__aside fieldset,
197#dokuwiki__aside hr,
198#dokuwiki__aside blockquote,
199#dokuwiki__aside address {
200    margin-bottom: .7em;
201}
202
203#dokuwiki__aside ul,
204#dokuwiki__aside ol {
205    padding-left: 0;
206}
207#dokuwiki__aside li ul,
208#dokuwiki__aside li ol {
209    margin-bottom: 0;
210}
211
212
213/* content
214********************************************************************/
215
216.dokuwiki .page {
217    word-wrap: break-word;
218}
219
220#mediamanager__page h2,
221#mediamanager__page h3 {
222    font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, Myriad, "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
223    color: __text__;
224}
225
226/*____________ misc ____________*/
227
228/* license note in footer and under edit window */
229.dokuwiki div.license {
230    font-size: 93.75%;
231}
232
233#IE6 .dokuwiki input.button,
234#IE6 .dokuwiki button,
235#IE7 .dokuwiki input.button,
236#IE7 .dokuwiki button {
237    line-height: 1.4;
238}
239
240/* to style button-like div in _fileuploader.css to look like other buttons,
241   please add '.qq-upload-button' to the according styles (which don't really exist in this template) */
242.qq-upload-button {
243    border: 1px solid __border__;
244    background-color: __background_alt__;
245    padding: 0.125em 0.4em;
246}
247
248
249/*____________ JS popup ____________*/
250
251.JSpopup {
252    background-color: __background__;
253    color: __text__;
254    border: 1px solid __border__;
255    line-height: 1.2;
256    padding: 0 .2em;
257}
258
259.JSpopup ul,
260.JSpopup ol {
261    padding-left: 0;
262}
263
264
265/* footer
266********************************************************************/
267
268.dokuwiki .wrapper {
269    margin-bottom: 2.8em;
270}
271#IE6 .dokuwiki .wrapper {
272    margin-bottom: 1.4em;
273}
274
275#dokuwiki__footer {
276    margin-bottom: 1em;
277}
278#IE6 #dokuwiki__footer,
279#IE7 #dokuwiki__footer {
280    height: 1%;
281}
282#dokuwiki__footer .doc {
283    float: left;
284}
285#dokuwiki__footer .top {
286    float: right;
287}
288#dokuwiki__footer .license {
289    clear: both;
290}
291#dokuwiki__footer .license img {
292    margin: 0 .5em 0 0;
293    float: none;
294}
295
296