From e86f4652f56cfe3ed0239ca87d8a9830e7013331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 13 Aug 2012 01:44:24 +0200 Subject: [PATCH] navbar: round boxes on hover --- source/stylesheets/site.css.scss | 1 + source/stylesheets/solarized.css.scss | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/source/stylesheets/site.css.scss b/source/stylesheets/site.css.scss index 6bd8058..9388855 100644 --- a/source/stylesheets/site.css.scss +++ b/source/stylesheets/site.css.scss @@ -69,6 +69,7 @@ footer { } .navlink { + @include border-radius(3px); &:hover { text-decoration: none; } diff --git a/source/stylesheets/solarized.css.scss b/source/stylesheets/solarized.css.scss index 57d9959..e033115 100644 --- a/source/stylesheets/solarized.css.scss +++ b/source/stylesheets/solarized.css.scss @@ -32,8 +32,11 @@ $green: #859900; a.navlink, a:active.navlink, a:visited.navlink { color: $rebase1; text-shadow: 1px 1px 1px #ADBAC0; + &:hover{ + background-color: $rebase1; + color: $rebase02; + } } - a:hover.navlink { background: transparent; color: $rebase02; } #sitelink { color: $rebase02; background-color: $rebase1;