-
-
Save nagisa/1177030 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{background:#ffffff;color:#111111;} | |
h1,h2,h3,h4,h5,h6{color:#222222;} | |
.content{box-shadow:0 0 5px #111111;-moz-box-shadow:0 0 5px #111111;-webkit-box-shadow:0 0 5px #111111;border:#000 solid;border-width:0 1px;} | |
#logo{background:url("http://kazlauskas.me/m/image/logo.svg") 100%;height:100px;} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Colors: | |
@background: #FFF; | |
@text:#111; | |
@header_text:#222; | |
@green:green; | |
@red:red; | |
@yellow:yellow; | |
//Mixins: | |
.rounded-corners (@tl: 5px, @tr: 5px, @br: 5px, @bl: 5px) { | |
border-radius: @arguments; | |
-webkit-border-radius: @arguments; | |
-moz-border-radius: @arguments; | |
} | |
.box-shadow (@x: 0, @y: 0, @blur: 1px, @color: @text) { | |
box-shadow: @arguments; | |
-moz-box-shadow: @arguments; | |
-webkit-box-shadow: @arguments; | |
} | |
//Images: | |
@logo: "http://kazlauskas.me/m/image/logo.svg"; | |
//Actual code: | |
body { | |
background:@background; | |
color:@text; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
color:@header_text; | |
} | |
.content { | |
.box-shadow(0, 0, 5px); | |
border: #000 solid; | |
border-width: 0 1px; | |
} | |
#logo { | |
background:url(@logo) 100%; | |
height:100px; | |
} | |
//Paspaudžiu F7 ir... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment