Skip to content

Instantly share code, notes, and snippets.

@spacekat
Created December 5, 2012 21:38
Show Gist options
  • Save spacekat/4219742 to your computer and use it in GitHub Desktop.
Save spacekat/4219742 to your computer and use it in GitHub Desktop.
A CodePen by spacekat. Fairy Kei pastel typographic style - I was inspired by the typography I saw on a Yerba Buena poster (http://cl.ly/image/3I1a3P2W161n) on the way to work, and wanted to create the same effect in CSS. The starting point colors from t
<h1 class="fairy-kei-gradient">dark Stardust</h1>
<div>
<h2 class="fairy-kei-solid">3rd Street Gallery</h2>
</div>
<div>
<h2 class="fairy-kei-solid">January 11-13</h2>
</div>
@import "compass";
@import url(http://fonts.googleapis.com/css?family=Lato:700,700italic);
h1, h2 {
font-family: 'Lato', sans-serif;
text-transform: uppercase;
display: inline;
padding: 0 5px;
line-height: 1.4em;
color: #fff;
}
h1 {
font-size: 4em;
letter-spacing: 0.09em;
font-weight: 700;
font-style: italic;
}
h2 {
font-weight: 700;
font-size:2em;
letter-spacing: 0.04em;
}
.fairy-kei-solid {
background-color: #C1E5E4;
}
.fairy-kei-gradient {
$experimental-support-for-svg: true;
@include background-image(linear-gradient(left, #C1E5E4, #EDD8EF, #F0C0D8));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment