summaryrefslogtreecommitdiff
path: root/platform/www/lib/tpl/acervus/css/structure.less
blob: 9b8dab4ad9c1206cdf09e939cb79587f24d37557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* header */
#dokuwiki__header {
    position: fixed;
    z-index: 102;
    top: 0;
    width: 100%;
    max-height: 40px;

    h1 {
        display: inline-block;
        width: 50%;
        text-align: center;
    }
    div.left {
        width: 25%;
        float: left;
        /* trick for keep width when aside is deactivated */
        min-height: 1px;
    }
    div.right {
        width: 25%;
        float: right;
        text-align: right;
    }
    div.search {
        float: right;
    }
}

/* nav */
.sidebar {
    position: fixed;
    z-index: 104;
    width: @ini_sidebar_width;
    max-width: 66%;
    height: 100%;
}

#dokuwiki__aside {
    left: 0;
}
#dokuwiki__tools {
    right: 0;
}
#sidebar_bg {
    position: fixed;
    z-index: 103;
    width: 100%;
    height: 100%;
}
#to_top {
    position: fixed;
    z-index: 101;
    right: 10px;
    bottom: 10px;
}

/* content */
.wrapper {
    margin: 0 auto;
    max-width: @ini_body_width;
}

/* footer */