SPR-742: Konfigurierbarkeit content-width

This commit is contained in:
Silke Pisulla 2017-03-23 12:56:55 +01:00
commit 5f18c8954f
3 changed files with 9 additions and 4 deletions

View file

@ -57,7 +57,7 @@
.showSidebar { .showSidebar {
#dokuwiki__footer { #dokuwiki__footer {
.col-xs-12 { .col-xs-12 {
width: 73%; width: @ini_site_width;
} }
} }
} }

View file

@ -46,6 +46,11 @@
/* global vars */ /* global vars */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
@nav_direct_background : @ini_background_content;
@nav_direct_color : @ini_existing;
@ini_sidebar_width : (100 - @ini_site_width) - 4;
@height-context-bar: 50px; @height-context-bar: 50px;
@margin-small: 1rem; @margin-small: 1rem;

View file

@ -99,7 +99,7 @@
position: relative; position: relative;
> .col-xs-12 { > .col-xs-12 {
width: 23%; width: @ini_sidebar_width;
box-sizing: border-box; box-sizing: border-box;
} }
} }
@ -114,7 +114,7 @@
+ .col-xs-12 { + .col-xs-12 {
float: right; float: right;
width: 73%; width: @ini_site_width;
box-sizing: border-box; box-sizing: border-box;
} }
} }
@ -137,7 +137,7 @@
.showSidebar { .showSidebar {
.content { .content {
.row > .col-xs-12 { .row > .col-xs-12 {
width: 73%; width: @ini_site_width;
float: right; float: right;
} }
} }