From 0c8a0b3e9041c9e996624479944b3a3690fd11b4 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sun, 22 Feb 2015 18:48:05 +0100 Subject: [PATCH] Improved SASS. --- css/layout-bright.sass | 53 ++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 25 deletions(-) diff --git a/css/layout-bright.sass b/css/layout-bright.sass index 1350c55..cb82203 100644 --- a/css/layout-bright.sass +++ b/css/layout-bright.sass @@ -53,6 +53,7 @@ header h1, #pagetitle text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1) -webkit-font-smoothing: antialiased +// Site name header h1 letter-spacing: -1px margin: 0 0 0 -40px @@ -61,6 +62,7 @@ header h1 content: "./ " font-size: 24px +// Site description header h2 font: size: 18px @@ -79,18 +81,6 @@ header h2 width: 100% -webkit-font-smoothing: antialiased -section img - max-width: 100% - -h1, h2, h3, h4, h5, h6 - font: - weight: normal - family: $font - color: #678b22 - letter-spacing: -0.03em - text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1) - -#main_content h1 font-size: 28px @@ -114,6 +104,30 @@ h1, h2, h3, h4, h5, h6 color: #999 margin: 0 0 5px 0 + table + margin: 0 0 20px 0 +// width: 100%; + + th + text-align: left + border-bottom: 1px dashed #678b22 + padding: 5px 10px + + td + padding: 5px 10px + + +section img + max-width: 100% + +h1, h2, h3, h4, h5, h6 + font: + weight: normal + family: $font + color: #678b22 + letter-spacing: -0.03em + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1) + dt font: style: italic @@ -167,19 +181,6 @@ pre > code white-space: pre padding: 0 -#main_content - table - margin: 0 0 20px 0 -// width: 100%; - - th - text-align: left - border-bottom: 1px dashed #678b22 - padding: 5px 10px - - td - padding: 5px 10px - hr height: 0 border: 0 @@ -227,6 +228,8 @@ a color: #41a0d3 text-shadow: 0 0 5px rgba(104, 182, 255, 0.5) + &:visited + color: #949 // Clearfix