From 8aa4d19b002db2dec05123b477b7a9e31d4fff02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 3 Jan 2013 18:40:17 +0100 Subject: [PATCH] fix sitelink hover --- source/_navbar.slim | 7 ++++--- source/stylesheets/solarized.css.scss | 15 ++++----------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/source/_navbar.slim b/source/_navbar.slim index 97e1f22..0ac5be0 100644 --- a/source/_navbar.slim +++ b/source/_navbar.slim @@ -1,7 +1,8 @@ nav - a href="/" id="sitelink" title="Homepage" - ' H - span B + #sitelink + a href="/" title="Homepage" + ' H + span B ul li ==link_to "Impressum", "/impressum.html", :class => "navlink", :title => "Impressum" diff --git a/source/stylesheets/solarized.css.scss b/source/stylesheets/solarized.css.scss index e9ef195..cd063d1 100644 --- a/source/stylesheets/solarized.css.scss +++ b/source/stylesheets/solarized.css.scss @@ -39,19 +39,12 @@ $green: #859900; } #sitelink { - color:$rebase03; - span { - color: $rebase03; - } + a { color: $rebase03; } + span { color: $rebase03; } &:hover { - color: $rebase1; + a { color: $rebase1; } + span { color: $rebase1; } } - span { - color: $rebase03 - } - } - #sitelink span:hover { - color: inherit; } } footer {