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. 4
      main.php
  4. 3
      style.ini

4
css/rtl.css

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

6
css/structure.css

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

4
main.php

@ -92,10 +92,10 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER
<!-- BREADCRUMBS --> <!-- BREADCRUMBS -->
<?php if($conf['breadcrumbs']){ ?> <?php if($conf['breadcrumbs']){ ?>
<div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div>
<div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div>
<?php } ?> <?php } ?>
<?php if($conf['youarehere']){ ?> <?php if($conf['youarehere']){ ?>
<div class="breadcrumbs"><?php tpl_youarehere() ?></div>
<div class="breadcrumbs"><?php tpl_youarehere() ?></div>
<?php } ?> <?php } ?>
<div class="clearer"></div> <div class="clearer"></div>

3
style.ini

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