From 6cf7cbed20ec599dc880a52e08ec2099953080a9 Mon Sep 17 00:00:00 2001 From: jomo Date: Sun, 12 Oct 2014 23:57:26 +0200 Subject: [PATCH] show time of last blogpost in menu --- app/assets/stylesheets/style.css.scss | 8 ++++++++ app/views/layouts/_head.html.erb | 29 +++++++++++++++++++++------ 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/style.css.scss b/app/assets/stylesheets/style.css.scss index 2dddf39..6745be1 100644 --- a/app/assets/stylesheets/style.css.scss +++ b/app/assets/stylesheets/style.css.scss @@ -114,6 +114,7 @@ a { li { display: inline-block; + vertical-align: top; a { margin: 15px 10px; @@ -126,6 +127,13 @@ a { color: #f66; } } + + .subtitle { + color: #aaa; + font-size: 11px; + height: 0; + margin-top: -5px; + } } } } diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index 8654399..34c0534 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -3,12 +3,29 @@ <%= link_to "", root_path, id: "logo" %>