summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--local.scss26
-rw-r--r--partials/_base.scss6
2 files changed, 18 insertions, 14 deletions
diff --git a/local.scss b/local.scss
index ea41092..083b0be 100644
--- a/local.scss
+++ b/local.scss
@@ -23,7 +23,7 @@ h3,
h4,
h5,
h6 {
- color: $link_color;
+ color: $accent;
}
h2 {
@@ -65,7 +65,7 @@ div.header span {
}
div.pageheader {
- background-color: white;
+ background-color: $base;
height: 110px;
margin: 10px 0;
}
@@ -102,7 +102,7 @@ div.actions {
div.topbar {
float: right;
- background-color: #9cf;
+ background-color: $accent-light;
margin: 0;
padding: 0;
text-align: center;
@@ -121,16 +121,16 @@ div.topbar ul {
div.topbar ul li {
display: inline;
- color: $link_color;
+ color: $accent;
margin: 0 4em 0 0;
}
div.topbar a:hover {
- color: white;
+ color: $base;
}
div.topbar span.selflink {
- color: white;
+ color: $base;
}
form#searchform {
@@ -190,7 +190,7 @@ div.sidebar A:hover {
}
div.sidebar div.notebox {
- color: white !important;
+ color: $base !important;
background: #ff30ff;
border: none;
text-align: left;
@@ -198,7 +198,7 @@ div.sidebar div.notebox {
/* TODO: drop when nn4.css is dropped */
div.sidebar div.notebox p {
- color: white;
+ color: $base;
}
div.sidebar div.notebox a {
@@ -224,16 +224,16 @@ div.farbar h2 {
div.notebox {
float: none;
width: 100%;
- color: $link_color !important;
+ color: $accent !important;
background: none;
margin-left: 0;
- border: medium dashed #9cf;
+ border: medium dashed $accent-light;
text-align: center;
}
/* TODO: drop when nn4.css is dropped */
div.notebox p {
- color: $link_color;
+ color: $accent;
text-align: center;
}
@@ -275,8 +275,8 @@ div#pageinfo {
border-top: 0;
padding: 1em 1em 1em 20px;
margin: 15px 0 0 0;
- color: white;
- background-color: #9cf;
+ color: $base;
+ background-color: $accent-light;
}
div.tags {
diff --git a/partials/_base.scss b/partials/_base.scss
index b25a077..11332ef 100644
--- a/partials/_base.scss
+++ b/partials/_base.scss
@@ -1,4 +1,8 @@
-$link_color: #0066cc;
+$base: white;
+$accent: #0066cc;
+$accent-light: #99ccff;
+
+$link_color: $accent;
$link_hover_color: $link_color;
$link_focus_color: $link_hover_color;
$link_active_color: $link_color;