diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-06-10 13:08:17 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-06-10 13:08:17 +0200 |
commit | 50ac9378e3b1b55e8f12513f5b72152078477ab2 (patch) | |
tree | 10b13ef6ce6d43790a9711fab58e0b4301790463 /view/theme/redbasic/css | |
parent | 20a317b5b71547913d2eeff941dfc5276276213e (diff) | |
download | volse-hubzilla-50ac9378e3b1b55e8f12513f5b72152078477ab2.tar.gz volse-hubzilla-50ac9378e3b1b55e8f12513f5b72152078477ab2.tar.bz2 volse-hubzilla-50ac9378e3b1b55e8f12513f5b72152078477ab2.zip |
assign right aside the same width as we have in left aside but hide it on small and xs screens. make aside width a variablee for easier handling.
Diffstat (limited to 'view/theme/redbasic/css')
-rw-r--r-- | view/theme/redbasic/css/style.css | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index a671a6671..1c575a63e 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -24,8 +24,14 @@ body { height: 100%; } +aside { + width: $aside_widthpx; + min-width: $aside_widthpx; + max-width: $aside_widthpx; +} + main { - max-width: $main_width; + max-width: $main_widthpx; } h1, .h1, h2, .h2 { @@ -2097,8 +2103,8 @@ nav .badge.mail-update:hover { } main { - left: -231px; - width: calc( 100% + 231px ); + left: -$aside_widthpx; + width: calc( 100% + $aside_widthpx ); } main.region_1-on { |