Created
October 14, 2012 21:54
-
-
Save maxbeatty/3889935 to your computer and use it in GitHub Desktop.
Site Links from Lea Verou
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
/* Start site links */ | |
a:before { | |
vertical-align:-2px; | |
margin-right:5px; | |
width: 16px; | |
height: 16px; | |
} | |
a[href^="http://twitter.com"]:before { | |
content: url(favicons/twitter.png); | |
} | |
.bbpBox a[href^="http://twitter.com"]:before { | |
content: ""; | |
content: none; | |
} | |
a[href^="http://lanyrd.com"]:before { | |
content: url(favicons/lanyrd.png); | |
} | |
a[href^="http://slideshare.net"]:before { | |
content: url(favicons/slideshare.png); | |
} | |
a[href^="https://github.com"]:before { | |
content: url(favicons/github.png); | |
} | |
a[href^="http://flickr.com"]:before { | |
content: url(favicons/flickr.png); | |
} | |
a[href*="linkedin.com"]:before { | |
content: url(favicons/linkedin.jpg); | |
} | |
a[href^="http://dopplr.com"]:before { | |
content: url(favicons/dopplr.png); | |
} | |
a[href^="http://last.fm"]:before { | |
content: url(http://cdn.last.fm/flatness/favicon.2.ico); | |
} | |
a[href*="smashingmagazine.com"]:before { | |
content: url(favicons/smashingmag.ico); | |
} | |
a[href^="http://functionsource.com"]:before { | |
content: url(favicons/functionsource.png); | |
} | |
a[href*="opera.com"]:before { | |
content: url(http://my.opera.com/community/favicon.ico); | |
} | |
a[href*="netmagazine.com"]:before { | |
content: url(favicons/netmag.ico); | |
} | |
a[href^="http://css-tricks.com"]:before { | |
content: url(http://css-tricks.com/favicon.ico); | |
} | |
a[href^="http://dribbble.com"]:before { | |
content: url(favicons/dribbble.ico); | |
} | |
a[href^="http://www.alistapart.com"]:before { | |
content: url(favicons/alistapart.png); | |
} | |
/* End site links */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Love this bit from Lea's site