Browse Source

Use SASS variable for $blue

master
CharlotteGilhooly 12 years ago
parent
commit
b828981a27
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      app/assets/stylesheets/scaffolds.css.scss

+ 5
- 3
app/assets/stylesheets/scaffolds.css.scss View File

@@ -1,3 +1,5 @@
$blue: #00458f;

body { body {
background-color: #fff; background-color: #fff;
color: #333; color: #333;
@@ -18,10 +20,10 @@ pre {
font-size: 1.1rem; } font-size: 1.1rem; }


a { a {
color: #00458f;
color: $blue;
text-decoration: none; text-decoration: none;
&:visited { &:visited {
color: #00458f; }
color: $blue; }
&:hover { &:hover {
color: #fff; color: #fff;
background-color: #ccc; background-color: #ccc;
@@ -215,7 +217,7 @@ h2 {
.pagination { .pagination {
font-size: 1.2rem; font-size: 1.2rem;
.current { .current {
background-color: #00458F;
background-color: $blue;
color: white; color: white;
font-style: normal; font-style: normal;
padding: 3px; padding: 3px;


Loading…
Cancel
Save