From 90260d627fac062e307d65df87468776e0573d51 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 11 Dec 2015 15:57:08 +0100 Subject: Fix some cosmetic issues --- app/assets/stylesheets/hmno_blogg.scss | 11 +++-------- app/assets/stylesheets/hmno_main.scss | 12 ++++++++++-- app/assets/stylesheets/hmno_sidebars.scss | 1 + 3 files changed, 14 insertions(+), 10 deletions(-) (limited to 'app') diff --git a/app/assets/stylesheets/hmno_blogg.scss b/app/assets/stylesheets/hmno_blogg.scss index 63fa95e..d9b8e66 100644 --- a/app/assets/stylesheets/hmno_blogg.scss +++ b/app/assets/stylesheets/hmno_blogg.scss @@ -10,16 +10,11 @@ footer { position: relative; border: 0; - padding: { - top: 5px; - bottom: 3px; - } - p { - margin: 0; - } + clear: both; + height: 6mm; .comment_count { position: absolute; - top: 5px; + top: 1mm; right: 0; } } diff --git a/app/assets/stylesheets/hmno_main.scss b/app/assets/stylesheets/hmno_main.scss index 0a215ab..7e6d565 100644 --- a/app/assets/stylesheets/hmno_main.scss +++ b/app/assets/stylesheets/hmno_main.scss @@ -48,11 +48,19 @@ a { } } -#left_img { +img { + margin: 1.5mm; +} + +#left_img, +.image-align-left { float: left; + margin-left: 0; } -#right_img { +#right_img, +.image-align-right { float: right; + margin-righ: 0; } diff --git a/app/assets/stylesheets/hmno_sidebars.scss b/app/assets/stylesheets/hmno_sidebars.scss index f2232b7..664ec5e 100644 --- a/app/assets/stylesheets/hmno_sidebars.scss +++ b/app/assets/stylesheets/hmno_sidebars.scss @@ -1,6 +1,7 @@ @import "color_scheme"; @mixin sidebar-headers { + clear: both; padding: 2px; color: $link-fg; background: { -- cgit v1.2.3