Created
March 17, 2015 17:39
-
-
Save Guilh/9643c364dc0697357cb4 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
// Font URLs | |
$font-google-prim : 'http://fonts.googleapis.com/css?family=Lato:100,300,400,700'; | |
$font-google-sec : 'http://fonts.googleapis.com/css?family=PT+Serif:400,700'; | |
// Font Stacks | |
$stack-lato : 'Lato', sans-serif; | |
$stack-pt-serif : 'PT Serif', serif; | |
// Import if Google Font URLs are defined | |
@if variable-exists(font-google-prim) { | |
@import url($font-google-prim); | |
} | |
@if variable-exists(font-google-sec) { | |
@import url($font-google-sec); | |
} | |
// Styles | |
body { | |
font-family: $stack-lato; | |
} | |
h1 { | |
font-family: $stack-pt-serif; | |
} |
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 url("http://fonts.googleapis.com/css?family=Lato:100,300,400,700"); | |
@import url("http://fonts.googleapis.com/css?family=PT+Serif:400,700"); | |
body { | |
font-family: "Lato", sans-serif; | |
} | |
h1 { | |
font-family: "PT Serif", serif; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment