Created
October 14, 2013 08:39
-
-
Save Saminou24/6972766 to your computer and use it in GitHub Desktop.
A Pen by nouveau.
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
| <h3 class="inset">inset text</h3> | |
| <p>ian@nouveau.io needs a dribbble invite - sheriffderek</p> |
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
| @import "compass"; | |
| @import url(http://fonts.googleapis.com/css?family=Lato:100); | |
| body { | |
| background-color: #232323; | |
| font-family: arial; | |
| font-family: 'Lato', sans-serif; | |
| font-weight: 100; | |
| padding: 3em; | |
| text-align: center; | |
| } | |
| // inset "text", "type", "embosed" ? | |
| @mixin inset-type($light-shadow, $dark-shadow) { | |
| text-shadow: | |
| 0px 1px 3px rgba(255,255,255,$light-shadow), | |
| -1px -1px 1px rgba(0,0,0,$dark-shadow); | |
| } | |
| h3 { | |
| @include inset-type(.2,.2); | |
| margin: 0; | |
| font-size: 10em; | |
| } | |
| p { | |
| @include inset-type(.1,.1); | |
| font-size: 1.718em; | |
| color: #f06; | |
| margin: 0; | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment