From c47f016cf7efd5098faeae3598d1582783ad5779 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Mon, 23 Feb 2015 14:01:17 +0100 Subject: [PATCH] Added mixin to Sass. --- css/layout-bright.sass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/css/layout-bright.sass b/css/layout-bright.sass index 9846c4b..f97de8b 100644 --- a/css/layout-bright.sass +++ b/css/layout-bright.sass @@ -3,6 +3,9 @@ $font: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace $maincolor: #678b22 +=text-shadow + text-shadow: 0 1px 1px rgba(black, 0.1), 0 0 5px rgba(lighten($maincolor, 33%), 0.1), 0 0 10px rgba(lighten($maincolor, 33%), 0.1) + body margin: 0 padding: 0 @@ -45,13 +48,13 @@ header margin: 0 0 40px 0 header h1, #pagetitle + +text-shadow font: size: 30px weight: bold family: $font line-height: 1.5 color: $maincolor - text-shadow: 0 1px 1px rgba(black, 0.1), 0 0 5px rgba(lighten($maincolor, 33%), 0.1), 0 0 10px rgba(lighten($maincolor, 33%), 0.1) -webkit-font-smoothing: antialiased // Site name @@ -126,12 +129,12 @@ section img max-width: 100% h1, h2, h3, h4, h5, h6 + +text-shadow font: weight: normal family: $font color: $maincolor letter-spacing: -0.03em - text-shadow: 0 1px 1px rgba(black, 0.1), 0 0 5px rgba(lighten($maincolor, 33%), 0.1), 0 0 10px rgba(lighten($maincolor, 33%), 0.1) dt font: @@ -247,3 +250,4 @@ a .cf zoom: 1 +