Created
March 18, 2015 01:56
-
-
Save ginsterbusch/add5e0c7b37bc806b3ea to your computer and use it in GitHub Desktop.
Examples for changing the link styling in CC 2.0.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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