Created
April 29, 2013 15:30
-
-
Save woogist/5482370 to your computer and use it in GitHub Desktop.
Add CSS for social icons in Canvas v5.2 header
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
| #header .social {float:right;} | |
| #header .social a { | |
| filter: alpha(opacity=@opacity * 100); | |
| -moz-opacity: 0.8; | |
| -khtml-opacity: 0.8; | |
| opacity: 0.8; | |
| -webkit-transition: all ease-in-out 0.2s; | |
| -moz-transition: all ease-in-out 0.2s; | |
| -o-transition: all ease-in-out 0.2s; | |
| transition: all ease-in-out 0.2s; | |
| } | |
| #header .social a:hover { | |
| filter: alpha(opacity=@opacity * 100); | |
| -moz-opacity: 1; | |
| -khtml-opacity: 1; | |
| opacity: 1; | |
| } | |
| #header .social a:hover { | |
| text-decoration: none; | |
| } | |
| #header .social a:before { | |
| font-family: Social; | |
| font-size: 1.1em; | |
| line-height: 1; | |
| margin: 0 0.2em 0.6em 0; | |
| padding: .53em; | |
| display: inline-block; | |
| -webkit-border-radius: 300px; | |
| -moz-border-radius: 300px; | |
| border-radius: 300px; | |
| color: #fff; | |
| text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.1); | |
| } | |
| #header .social a.subscribe:before { | |
| content: '\e001'; | |
| background-color: #FF6600; | |
| } | |
| #header .social a.twitter:before { | |
| content: '\e002'; | |
| background-color: #00aced; | |
| } | |
| #header .social a.facebook:before { | |
| content: '\e003'; | |
| background-color: #3b5998; | |
| } | |
| #header .social a.youtube:before { | |
| content: '\e004'; | |
| background-color: #af2b26; | |
| } | |
| #header .social a.flickr:before { | |
| content: '\e005'; | |
| background-color: #ff0084; | |
| } | |
| #header .social a.linkedin:before { | |
| content: '\e006'; | |
| background-color: #71c5ef; | |
| } | |
| #header .social a.delicious:before { | |
| content: '\e007'; | |
| background-color: #285da7; | |
| } | |
| #header .social a.googleplus:before { | |
| content: '\e008'; | |
| background-color: #2d2d2d; | |
| font-weight: bold; | |
| } | |
| #header .social a.dribbble:before { | |
| content: '\e009'; | |
| background-color: #ea4c89; | |
| } | |
| #header .social a.instagram:before { | |
| content: '\e010'; | |
| background-color: #517fa4; | |
| } | |
| #header .social a.vimeo:before { | |
| content: '\e011'; | |
| background-color: #33454E; | |
| } | |
| #header .social a.pinterest:before { | |
| content: '\e012'; | |
| background-color: #cb2027; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment