From 806d27db135233ed96f67973a956fb44b107c234 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Mon, 22 Aug 2011 16:28:50 -0400 Subject: using @extend for responsive blocks, added shadow-box mixin to utlities for configurable border shadow box styling, moved .left, .right, .center classes to .basic-alignment class for @extending as needed in layouts. Fixes #109 --- .themes/classic/sass/base/_layout.scss | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.themes/classic/sass/base/_layout.scss') diff --git a/.themes/classic/sass/base/_layout.scss b/.themes/classic/sass/base/_layout.scss index ef47279a..f6fa5a5f 100644 --- a/.themes/classic/sass/base/_layout.scss +++ b/.themes/classic/sass/base/_layout.scss @@ -75,6 +75,15 @@ aside[role=sidebar] { @extend .group; } +.flex-content { max-width: 100%; height: auto; } + +.basic-alignment { + &.left { float: left; margin-right: 1.5em; } + &.right { float: right; margin-left: 1.5em; } + &.center { display:block; margin: 0 auto 1.5em; } + &.left, &.right { margin-bottom: .8em; } +} + .toggle-sidebar { &, .no-sidebar & { display: none; }} body.sidebar-footer { -- cgit v1.2.1