Created
January 14, 2014 23:01
-
-
Save flynnduism/8427645 to your computer and use it in GitHub Desktop.
Styleguide Hacks
This file contains 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
// Global link styles | |
a { | |
&:link, | |
&:visited, | |
&:hover, | |
&:active { | |
cursor: pointer; | |
} | |
} | |
a:focus { | |
outline: 0; | |
} | |
a:hover, | |
a:active { | |
outline: 0; | |
} | |
.external { | |
position: relative; | |
span { | |
opacity: 0; | |
position: absolute; | |
top: 0.25em; | |
right: -1.5em; | |
font-size: 0.825em; | |
} | |
&:hover > span { | |
opacity: 1; | |
color: $lightGray3; | |
} | |
} | |
// Useful styles | |
.center { | |
text-align: center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment