Skip to content

Instantly share code, notes, and snippets.

@aron
Created February 7, 2013 16:38
Show Gist options
  • Save aron/4732225 to your computer and use it in GitHub Desktop.
Save aron/4732225 to your computer and use it in GitHub Desktop.
// --------------------------------------------------------------------------------
// Author & Title
// --------------------------------------------------------------------------------
a.author-title:hover {
text-decoration: none;
}
.author-title {
font-size: 20px;
-webkit-font-smoothing: antialiased;
overflow: auto;
a { @include transition(color 0.3s linear);}
&.hover a { color: $link-hover !important; }
// note, could not use font-size: inherit due to non support in ie
& > h3, & > .author-name {
@include ScalaItalic;
opacity: 0.5;
color: black;
font-size: 20px;
}
& > h2, & > .author-book {
@include Scala;
color: black;
font-size: 20px;
}
& > h2, & > h3, & > .author-name, & > .author-book {
a {
color: black;
display: inline;
}
}
&.small {
font-size: 14px;
h2, h3 { font-size: 14px; }
}
&.medium {
font-size: 16px;
h2, h3 { font-size: 16px; }
}
&.large{
font-size: 20px;
h2, h3 { font-size: 20px; }
}
&.huge {
font-size: 30px;
h2, h3 { font-size: 30px; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment