1/**
2 * This file provides styles for the general layout structure.
3 *
4 * @author Anika Henke <anika@selfthinker.org>
5 */
6body {
7    margin: 0 auto;
8}
9
10#dokuwiki__site {
11    margin: 0 auto;
12    max-width: @ini_site_width;
13}
14
15#dokuwiki__site > .site {
16    padding: 0 .5em;
17}
18
19#dokuwiki__header {
20    width: 100%;
21
22    .headings {
23        float: left;
24    }
25
26    .tools {
27        float: right;
28        text-align: right;
29    }
30}
31
32[dir=rtl] #dokuwiki__header {
33    .headings {
34        float: right;
35        text-align: right;
36    }
37
38    .tools {
39        float: left;
40        text-align: left;
41    }
42}
43
44#dokuwiki__site .wrapper {
45    position: relative;
46}
47
48#dokuwiki__aside {
49    width: @ini_sidebar_width;
50    float: left;
51    position: relative;
52    display: block;
53
54    > .pad {
55        margin: 0 1.5em 0 0;
56    }
57}
58
59[dir=rtl] #dokuwiki__aside {
60    float: right;
61    > .pad {
62        margin: 0 0 0 1.5em;
63    }
64}
65
66.showSidebar #dokuwiki__content {
67    float: right;
68    margin-left: (-1 * @ini_sidebar_width);
69    width: 100%;
70
71    > .pad {
72        margin-left: @ini_sidebar_width;
73    }
74}
75
76[dir=rtl] .showSidebar #dokuwiki__content {
77    float: left;
78    margin-left: 0;
79    margin-right: (-1 * @ini_sidebar_width);
80
81    > .pad {
82        margin-left: 0;
83        margin-right: @ini_sidebar_width;
84    }
85}
86
87#dokuwiki__footer {
88    clear: both;
89}
90