Skip to content

Instantly share code, notes, and snippets.

@bridgestew
Created July 7, 2013 17:17
Show Gist options
  • Save bridgestew/5944185 to your computer and use it in GitHub Desktop.
Save bridgestew/5944185 to your computer and use it in GitHub Desktop.
Even if we try to reduce some repetition when a style is repeated, we now have a more complicated picture of what is going where. Modules and extending those modules gives a clearer representation of what is going on. It also makes it easier to trace through the styles for editing. This gist represents an attempt at cutting down style repetition.
.accordion-super h1,
.faq h2.question {
color: blue;
}
.accordion-super h1,
.archive h4 {
font-family: serif;
}
.accordion-super h1 {
font-size: 20px;
}
.faq h2.question {
font-size: 18px;
}
.archive h4 {
color: green;
font-size: 14px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment