summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-05-06 14:32:25 +0200
committerJonas Smedegaard <dr@jones.dk>2011-05-06 14:32:25 +0200
commit7c2f4ee8f93106550ad038d5c37e0f362215ec48 (patch)
tree0157afd31c557ee927fc207339cbe232a48a22c0
parent39d1da7eaeb08e20eb9299a77335d30bdf71538b (diff)
Set $link_color via Bueprint typography.
-rw-r--r--local.scss14
-rw-r--r--partials/_base.scss6
2 files changed, 11 insertions, 9 deletions
diff --git a/local.scss b/local.scss
index 90cbdc2..df4962a 100644
--- a/local.scss
+++ b/local.scss
@@ -24,7 +24,7 @@ h3,
h4,
h5,
h6 {
- color: #06c;
+ color: $link_color;
}
h2 {
@@ -32,13 +32,11 @@ h2 {
}
a {
- color: #06c;
font-weight: normal;
text-decoration: none;
}
a:hover {
- color: #06c;
text-decoration: underline;
}
@@ -115,7 +113,6 @@ div.topbar {
div.topbar a {
text-decoration: none;
- color: #06c;
font-weight: bold;
}
@@ -131,7 +128,7 @@ div.topbar ul {
div.topbar ul li {
display: inline;
- color: #06c;
+ color: $link_color;
font-weight: bold;
margin: 0 4em 0 0;
}
@@ -186,7 +183,7 @@ div.sidebar ul li {
}
div.sidebar ul li span.selflink {
- color: #06c;
+ color: $link_color;
}
div.sidebar ul ul li {
@@ -201,7 +198,6 @@ div.sidebar a {
div.sidebar A:hover {
text-decoration: underline;
- color: #06c;
}
div.sidebar div.notebox {
@@ -238,7 +234,7 @@ div.farbar h2 {
div.notebox {
float: none;
width: 100%;
- color: #06c !important;
+ color: $link_color !important;
background: none;
margin-left: 0;
border: medium dashed #9cf;
@@ -247,7 +243,7 @@ div.notebox {
/* TODO: drop when nn4.css is dropped */
div.notebox p {
- color: #06c;
+ color: $link_color;
text-align: center;
}
diff --git a/partials/_base.scss b/partials/_base.scss
index df8d24d..b25a077 100644
--- a/partials/_base.scss
+++ b/partials/_base.scss
@@ -1,3 +1,9 @@
+$link_color: #0066cc;
+$link_hover_color: $link_color;
+$link_focus_color: $link_hover_color;
+$link_active_color: $link_color;
+$link_visited_color: $link_color;
+
$blueprint-font-family: Arial, Helvetica, sans-serif;
// Follow W3C recommendation: http://www.w3.org/QA/Tips/font-size