aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2014-01-28 08:41:59 +0100
committerHarald Eilertsen <haraldei@anduin.net>2014-01-28 08:41:59 +0100
commitd1c9b7ce9f54d00a965b1b98b31915b498ef842b (patch)
treea0de03744b3eae14aadaea14703c6261d49dec0b /app/assets
parent4b964a652faf024ff27cf3ff0fb4fade8594ec0b (diff)
downloadhmnoweb-d1c9b7ce9f54d00a965b1b98b31915b498ef842b.tar.gz
hmnoweb-d1c9b7ce9f54d00a965b1b98b31915b498ef842b.tar.bz2
hmnoweb-d1c9b7ce9f54d00a965b1b98b31915b498ef842b.zip
Style link-colors.
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/hmno_main.scss17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/assets/stylesheets/hmno_main.scss b/app/assets/stylesheets/hmno_main.scss
index 2b1d386..1bddc2e 100644
--- a/app/assets/stylesheets/hmno_main.scss
+++ b/app/assets/stylesheets/hmno_main.scss
@@ -10,6 +10,10 @@ $primary-5: #988D62;
$bg: $primary-2;
$fg: $primary-5;
+$link-fg: lighten($primary-4, 20%);
+$link-visited-fg: $primary-4;
+$link-hover-fg: lighten($link-fg, 20%);
+
$selected-menu-bg: $primary-4;
$selected-menu-fg: $primary-2;
$hover-menu-bg: $selected-menu-bg;
@@ -37,6 +41,19 @@ h1, h2, h3 {
color: $fg;
}
+a {
+ color: $link-fg;
+ &:hover {
+ color: $link-hover-fg;
+ }
+ &:visited {
+ color: $link-visited-fg;
+ &:hover {
+ color: $link-hover-fg;
+ }
+ }
+}
+
#header {
#logo {
background-color: $header-bg;