From 55599e2e4a9a4e33b8723cc355afd99633c5cc46 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 8 Nov 2013 16:02:31 +0100 Subject: Add styling for blog posts on blog summary page. --- app/assets/stylesheets/hmno_blogg.scss | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 app/assets/stylesheets/hmno_blogg.scss (limited to 'app') diff --git a/app/assets/stylesheets/hmno_blogg.scss b/app/assets/stylesheets/hmno_blogg.scss new file mode 100644 index 0000000..2bf0301 --- /dev/null +++ b/app/assets/stylesheets/hmno_blogg.scss @@ -0,0 +1,33 @@ +#blog_posts { + article { + background-color: #010101; + border: 1px solid darkslategray; + padding: 3px; + margin-bottom: 1em; + + header { + h1 { + font-size: 115%; + margin: 0; + a { + text-decoration: none; + color: inherit; + } + } + + .details { + font-size: 75%; + } + } + + footer { + position: relative; + + .comment_count { + position: absolute; + top: 0; + right: 0; + } + } + } +} -- cgit v1.2.3