aboutsummaryrefslogtreecommitdiff
path: root/mod/dokuwiki/vendors/dokuwiki/lib/tpl/default/sidebar.css
blob: 5af3c95cb889d6619c98564dac54d61a9050d472 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
/**
 * Extra styles for sidebar template
 *
 * @author Christopher Smith <chris@jalakai.co.uk>
 */

/* dokuwiki containers & styles */

/* sidebar orientation and position */
#sidebar {
  width:20%; 
  margin:0; 
  padding:0;
  position: relative;
}

#sidebartop {
  position: absolute;
  top: -1.2em;
  width: 100%;
  height: 1.2em;
  background: __background_neu__;
}

.sidebar_inside_left #sidebar {
    float:left; 
}

.sidebar_inside_right #sidebar {
    float:right; 
}

.sidebar_inside_left .dokuwiki div.breadcrumbs {
    float: right;
    width: 78%;
    padding: 0 1% 0 0.9%;
}

.sidebar_inside_left .dokuwiki .page, .sidebar_inside_left .dokuwiki .meta {
    float:right; 
    width:77%;             /* also see IE Win fix below */
    margin-right: 1%;
    margin-left:0;
}

.sidebar_inside_right .dokuwiki .page, .sidebar_inside_right .dokuwiki .meta, .sidebar_inside_right .dokuwiki div.breadcrumbs {
    float:left; 
    width:77%; 
    margin-left: 1%;
    margin-right: 0;
}

.sidebar_outside_left #sidebar {
    position:absolute; 
    top:0; 
    left:0;
}

.sidebar_outside_right #sidebar {
    position:absolute; 
    top:0; 
    right:0;
}

.sidebar_outside_left .dokuwiki {
    padding-left:21%;
}

.sidebar_outside_right .dokuwiki {
    padding-right:21%;
}

.sidebar_outside_left .footerinc {
    padding-left: 21%;
}

.sidebar_outside_right .footerinc {
    padding-right: 21%;
}

/* sidebar presentation */
/* the following three styles use a faux-column image to place a separating line 
   between the sidebar and dokuwiku */
.sidebar_outside_left .dokuwiki, .sidebar_inside_left .dokuwiki {
    background: url(images/sidebar-border.gif) repeat-y 20%;
}

.sidebar_outside_right .dokuwiki, .sidebar_inside_right .dokuwiki {
    background: url(images/sidebar-border.gif) repeat-y 80%;
}

/* hide the line where it passes through .stylehead */
.stylehead {
}

/* sidebar contents */
#sidebar {
    font-size:10px;
}

#sidebar a {
    color: __existing__;
}

#sidebar a.wikilink2 {
    color: __text_neu__;
}

#sidebar a.wikilink2:hover {
    text-decoration:none; 
    cursor:default;
}

#sidebar h1 {
    font-size:140%; 
    margin-left: 0px; 
    padding-left: 2px; 
    font-weight:bold; 
    padding-bottom:0; 
    background-color: __background_alt__;
}
#sidebar h2 {
    font-size:120%; 
    margin-left: 4px; 
    font-weight:bold; 
    padding-bottom:0;
}
#sidebar h3 {
    font-size:120%; 
    margin-left: 8px; 
    font-weight:normal; 
    padding-bottom:0;
}
#sidebar h4 {
    font-size:100%; 
    margin-left: 12px; 
    font-weight:bold; 
    padding-bottom:0;
}
#sidebar h5 {
    font-size:100%; 
    margin-left: 16px; 
    font-weight:normal; 
    padding-bottom:0;
}
#sidebar .toc {
    display:none;
}

#sidebar_content .toc {
    display:none;
}
#sidebar .secedit {
}

/* reduced section indentation */
#sidebar div.level1 {margin-left: 2px;}
#sidebar div.level2 {margin-left: 6px;}
#sidebar div.level3 {margin-left: 10px;}
#sidebar div.level4 {margin-left: 14px;}
#sidebar div.level5 {margin-left: 18px;}

/* IE fixes (hide from IE Mac) \*/

* html .page .toc {height:1px}    /* General Dokuwiki fix. IE needs this to always display TOC contents \*/
* html pre {width:95%;}           /* General Dokuwiki fix - very important for Sidebar. IE needs this to get the overflow:auto style to kick in \*/
* html .stylehead {height:1px;}   /* Get IE in hasLayout mode to ensure the background covers the whole element \*/

* html .sidebar_inside_left .page, * html .sidebar_inside_right .page, 
* html .sidebar_inside_left .meta, * html .sidebar_inside_right .meta {
    width: 77%;                   /* IE needs extra gap to ensure #sidebar & .page float next to each other \*/
    overflow-x: auto;             /* IE proprietary property to prevent wide images in wiki page forcing sidebar down below wiki page \*/
                                  /* 'overflow-x:auto;' maybe replaced by 'overflow:auto;' to ensure template passes w3c validation \*/
}

/* (end IE Mac hiding) */

/* duplicate standard DW styles with increased specificity to counter some sidebar styles */
.sidebar_outside_left .insitu-footnote, .sidebar_inside_left .insitu-footnote {
  background-color: __background_other__;
}
/* counteract some inappropriate DW styling */
.sidebar div.dokuwiki #bar__bottom {
  margin-bottom: 0;
}
.sidebar div.dokuwiki p.license {
  background-color: __background_other__;
  padding-top: 3px;
}