Created
April 11, 2014 21:59
-
-
Save frankinedinburgh/10505019 to your computer and use it in GitHub Desktop.
A Pen by frank.
This file contains 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
<h3>I like this font.This is my font. There are many like it but this one is mine.</h3> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec pulvinar quam vel tortor laoreet dignissim. Sed orci aliquam.</p> |
This file contains 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
@import "compass"; | |
@import url(http://fonts.googleapis.com/css?family=Rammetto+One); | |
@import url(http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:200,300); | |
$black:#212121; | |
$darker:#333333; | |
$white:#fefefe; | |
$hfont: 'Rammetto One', cursive; | |
$pfont:'Yanone Kaffeesatz', sans-serif; | |
$width:480px; | |
$center:0 auto; | |
$weight:400; | |
$line:1.1em; | |
$em:2em; | |
@mixin outline{ | |
text-shadow:1px 1px 0px $white, | |
-1px 1px 0px $white, | |
-1px -1px 0px $white, | |
1px -1px 0px $white; | |
} | |
@mixin long-shadow{ | |
text-shadow: 1px 1px rgb(229, 229, 229), 2px 2px rgb(229, 229, 229), 3px 3px rgb(229, 229, 229), 4px 4px rgb(229, 229, 229), 5px 5px rgb(229, 229, 229), 6px 6px rgb(229, 229, 229), 7px 7px rgb(229, 229, 229), 8px 8px rgb(229, 229, 229), 9px 9px rgb(241, 241, 241), 10px 10px rgb(254, 254, 254); | |
} | |
body{ | |
background-color:$black; | |
max-width:$width; | |
width:$width; | |
margin:$center; | |
h3{ | |
color:$darker; | |
font-family:$hfont; | |
font-weight:$weight; | |
font-size:$em*2; | |
line-height:$line; | |
@include long-shadow; | |
} | |
p{ | |
@include outline; | |
font-family:$pfont; | |
font-weight:$weight/2; | |
color:$white; | |
font-size:$em; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment