From b828981a278af086e07769c10e9654b91d283d53 Mon Sep 17 00:00:00 2001 From: CharlotteGilhooly Date: Fri, 17 Aug 2012 15:58:51 +0100 Subject: [PATCH] Use SASS variable for $blue --- app/assets/stylesheets/scaffolds.css.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/scaffolds.css.scss b/app/assets/stylesheets/scaffolds.css.scss index d5ad533..6359e9e 100644 --- a/app/assets/stylesheets/scaffolds.css.scss +++ b/app/assets/stylesheets/scaffolds.css.scss @@ -1,3 +1,5 @@ +$blue: #00458f; + body { background-color: #fff; color: #333; @@ -18,10 +20,10 @@ pre { font-size: 1.1rem; } a { - color: #00458f; + color: $blue; text-decoration: none; &:visited { - color: #00458f; } + color: $blue; } &:hover { color: #fff; background-color: #ccc; @@ -215,7 +217,7 @@ h2 { .pagination { font-size: 1.2rem; .current { - background-color: #00458F; + background-color: $blue; color: white; font-style: normal; padding: 3px;