Browse Source

added '__sidebar_width__' placeholder to style.ini

master
Anika Henke 14 years ago
parent
commit
5ddc68e597
  1. 4
      css/rtl.css
  2. 6
      css/structure.css
  3. 3
      style.ini

4
css/rtl.css

@ -53,11 +53,11 @@ caption, legend {
.mode_show #dokuwiki__content {
float: left;
margin-left: 0;
margin-right: -16em;
margin-right: -__sidebar_width__;
}
.mode_show #dokuwiki__content .pad {
margin-left: 0;
margin-right: 16em;
margin-right: __sidebar_width__;
}
/*____________ design ____________*/

6
css/structure.css

@ -46,7 +46,7 @@ body {
display: none;
}
.mode_show #dokuwiki__aside {
width: 16em;
width: __sidebar_width__;
float: left;
position: relative;
display: block;
@ -58,11 +58,11 @@ body {
/* make content wider when there's no sidebar */
.mode_show #dokuwiki__content {
float: right;
margin-left: -16em; /* left negative margin: width of sidebar (#dokuwiki__aside) */
margin-left: -__sidebar_width__;
width: 100%;
}
.mode_show #dokuwiki__content .pad {
margin-left: 16em; /* left positive margin: width of sidebar (#dokuwiki__aside) */
margin-left: __sidebar_width__;
}
#dokuwiki__footer {

3
style.ini

@ -59,3 +59,6 @@ __missing__ = "#f30"
; highlighting search snippets
__highlight__ = "#ff9"
; sidebar width
__sidebar_width__ = "16em"
Loading…
Cancel
Save