From 71f2d3d65c177f4ca8daa5d929cd3c335b67674c Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Thu, 5 May 2011 07:24:05 +1000 Subject: [PATCH] DRY up font-family in stylesheet --- content/screen.sass | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/content/screen.sass b/content/screen.sass index 808c28a..50f207d 100644 --- a/content/screen.sass +++ b/content/screen.sass @@ -1,3 +1,5 @@ +$ans-serif: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif + body font-family: Constantia, Georgia, "Bitstream Vera Serif", "Liberation Serif", serif font-size: 16px @@ -43,7 +45,7 @@ dl h1, h2, h3, h4, h5, h6 - font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif + font-family: $ans-serif margin: 0.6em 0 0.5em 0 color: #111 font-weight: 200 @@ -128,7 +130,7 @@ figcaption body > header - font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif + font-family: $ans-serif font-size: 18px color: white padding: 0.5em @@ -175,7 +177,7 @@ footer clear: both .copyright - font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif + font-family: $ans-serif font-size: 14px padding-top: 1em display: block @@ -224,7 +226,7 @@ ul.articles color: #999 strong - font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif + font-family: $ans-serif margin: 0 font-weight: 200 display: block @@ -338,7 +340,7 @@ body.articles #content nav #content .published - font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif + font-family: $ans-serif color: #999 padding-bottom: 10px font-size: 14px @@ -424,7 +426,7 @@ body.weather #current > .temperature .temperature - font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif + font-family: $ans-serif font-weight: 200 .current