aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@andeuin.net>2014-02-06 23:53:45 +0100
committerHarald Eilertsen <haraldei@andeuin.net>2014-02-06 23:53:45 +0100
commitcd29f12cf546d3afa883ce8e67eb9d5347875714 (patch)
treeaf5a1b9c589e5d0efe1866fe93d1493adb16e2d1 /app/assets
parenteef973923042a20d90dd66fa653bd97e12126780 (diff)
downloadhmnoweb-cd29f12cf546d3afa883ce8e67eb9d5347875714.tar.gz
hmnoweb-cd29f12cf546d3afa883ce8e67eb9d5347875714.tar.bz2
hmnoweb-cd29f12cf546d3afa883ce8e67eb9d5347875714.zip
Make sidebars nicer.
- Module headings now go all the way out. - Side body content is included like a module only if not empty.
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/hmno_sidebars.scss16
1 files changed, 15 insertions, 1 deletions
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;
+ }
}