Skip to content

Instantly share code, notes, and snippets.

@ginsterbusch
Created March 18, 2015 01:56
Show Gist options
  • Save ginsterbusch/add5e0c7b37bc806b3ea to your computer and use it in GitHub Desktop.
Save ginsterbusch/add5e0c7b37bc806b3ea to your computer and use it in GitHub Desktop.
Examples for changing the link styling in CC 2.0.x
/**
* Change link styling of the body (more or less globally)
*/
a:link,
a:visited {
color: #333;
background-color: #fc0;
text-decoration: none;
font-weight: bold;
}
a:hover, a:active, a:focus {
background-color: #000;
color: #fff;
}
/**
* Specifically change the styling of the links inside the content container
*/
#content a {
color: #000;
text-decoration: underline;
font-weight: bold;
}
#content a:hover,
#content a:focus,
#content a:active {
text-decoration: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment