Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

now using sass for main stylesheet

  • Loading branch information...
commit e090085c159ceb71d1b6942d76b666682ce286c8 1 parent 59a56d8
@stevenwilkin authored
Showing with 8 additions and 0 deletions.
  1. +5 −0 trends.rb
  2. +1 −0  views/layout.haml
  3. +2 −0  views/trends.sass
View
5 trends.rb
@@ -7,3 +7,8 @@
get '/' do
haml :index
end
+
+get '/css/trends.css' do
+ header 'Content-Type' => 'text/css; charset=utf-8'
+ sass :trends
+end
View
1  views/layout.haml
@@ -7,6 +7,7 @@
twitter trends seen through the eyes of google images
%meta{:name => 'description', :content => ''}
%link{:type => 'text/css', :rel => 'stylesheet', :href => '/css/reset.css'}
+ %link{:type => 'text/css', :rel => 'stylesheet', :href => '/css/trends.css'}
%body
View
2  views/trends.sass
@@ -0,0 +1,2 @@
+#wrapper
+ margin: 20px 50px
Please sign in to comment.
Something went wrong with that request. Please try again.