Skip to content

Instantly share code, notes, and snippets.

@zacharyblank
Created September 21, 2014 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zacharyblank/54732d363cf1a461cfc6 to your computer and use it in GitHub Desktop.
Save zacharyblank/54732d363cf1a461cfc6 to your computer and use it in GitHub Desktop.
Category Styles
.categories {
ul {
li {
width: 200px;
text-align: center;
.font-size(1.6);
display: inline-block;
margin: 0 36px;
font-family: 'Omnes Light';
position: relative;
left: 0;
&:first-child {
margin-left: 0;
}
&:last-child {
margin-right: 0;
}
&:nth-of-type(2) { .transition-delay(.1s); }
&:nth-of-type(3) { .transition-delay(.2s); }
&:nth-of-type(4) { .transition-delay(.3s); }
&:nth-of-type(5) { .transition-delay(.4s); }
a {
color: #fff;
}
img {
display: block;
margin: 0 auto 30px;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment