Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

prove that Compass works by using a mixin

  • Loading branch information...
commit a39f43d46f6fb81044966a164ad67c7e3d56535c 1 parent b76b1c4
@mislav authored
Showing with 12 additions and 2 deletions.
  1. +1 −0  views/index.haml
  2. +11 −2 views/style.sass
View
1  views/index.haml
@@ -4,3 +4,4 @@
%link{ rel: "stylesheet", type: "text/css", href: "/style.css" }
%h1 New application
+%p Hello from your new app.
View
13 views/style.sass
@@ -1,6 +1,15 @@
@import "compass"
+html
+ background: gray
+
body
- font: medium/1.5 Helvetica, sans-serif
- margin: 0
+ font: medium/1.2 Helvetica, sans-serif
+ margin: 10px
padding: .5em 1em
+ background: white
+ border: 1px solid #666
+ +border-radius(10px)
+
+h1:first-child
+ margin-top: 0
Please sign in to comment.
Something went wrong with that request. Please try again.