From cd29f12cf546d3afa883ce8e67eb9d5347875714 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 6 Feb 2014 23:53:45 +0100 Subject: Make sidebars nicer. - Module headings now go all the way out. - Side body content is included like a module only if not empty. --- app/assets/stylesheets/hmno_sidebars.scss | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'app/assets') diff --git a/app/assets/stylesheets/hmno_sidebars.scss b/app/assets/stylesheets/hmno_sidebars.scss index 223f1cf..20d9895 100644 --- a/app/assets/stylesheets/hmno_sidebars.scss +++ b/app/assets/stylesheets/hmno_sidebars.scss @@ -16,7 +16,6 @@ top: 0; bottom: $spacing; border: 1px groove $dark-border-fg; - padding: 5px; background-color: $bg2; h2 { @include sidebar-headers; @@ -37,4 +36,19 @@ font-size: 12pt; @include sidebar-headers; } + + p { + margin-top: 0; + } + + header { + font: { + weight: 600; + size: 110%; + } + } + + .inner { + padding: 5px; + } } -- cgit v1.2.3