added '__sidebar_width__' placeholder to style.ini
This commit is contained in:
parent
4a4cf7c5a6
commit
5ddc68e597
4 changed files with 10 additions and 7 deletions
|
|
@ -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 ____________*/
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -59,3 +59,6 @@ __missing__ = "#f30"
|
|||
|
||||
; highlighting search snippets
|
||||
__highlight__ = "#ff9"
|
||||
|
||||
; sidebar width
|
||||
__sidebar_width__ = "16em"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue