summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-01-30 11:56:44 +0000
committerChristoph Helma <helma@in-silico.ch>2012-01-30 11:56:44 +0000
commitaedcab76a0a0ad31eb9cc3f94f0c2811f6640da8 (patch)
treec9cca6b811cfd167d93de00aa1d80e523c377601
parent6a760237ff9139ed75df265e7fc89b796a4506b7 (diff)
sass updated
-rw-r--r--application.rb2
-rw-r--r--views/style.sass22
2 files changed, 12 insertions, 12 deletions
diff --git a/application.rb b/application.rb
index da07fba..db9d365 100644
--- a/application.rb
+++ b/application.rb
@@ -35,6 +35,6 @@ get '/awards/?' do
end
get '/style.css' do
- headers 'Content-Type' => 'text/css; charset=utf-8'
+ #headers 'Content-Type' => 'text/css; charset=utf-8'
sass :style
end
diff --git a/views/style.sass b/views/style.sass
index a5385a5..2f0bf8a 100644
--- a/views/style.sass
+++ b/views/style.sass
@@ -1,12 +1,12 @@
-!fg = #333333
-!bg = #B9DCFF
-!hl = yellow
+$fg: #333333
+$bg: #B9DCFF
+$hl: yellow
body
margin: 3em
font-family: Verdana
background-color: white
- color = !fg
+ color: $fg
.logo
margin: 0.5em
@@ -41,22 +41,22 @@ body
padding-right: 0.5em
a
text-decoration: none
- color = !bg
+ color: $bg
&:hover
- color = !hl
+ color: $hl
li.selected
- background-color = !bg
+ background-color: $bg
border-bottom:
- color = !bg
+ color: $bg
a
text-decoration: none
- color = !fg
+ color: $fg
&:hover
- color = !hl
+ color: $hl
.content
- background-color = !bg
+ background-color: $bg
padding: 1.5em
padding-top: 2.5em
border: 1px solid white