Created
December 30, 2013 17:10
-
-
Save joshuadavidnelson/8184904 to your computer and use it in GitHub Desktop.
Social Icon Widget with Settings Page in Genesis Theme Settings
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
/** | |
* | |
* Styles for Social Media Icons for Genesis | |
* | |
*/ | |
.sidebar ul.socials, | |
ul.socials { | |
list-style-type: none; | |
float: right; | |
width: auto; | |
display: inline-block; | |
} | |
ul.socials li { | |
float:left; | |
} | |
.sidebar ul.socials { | |
display: inline; | |
text-align: center; | |
width: 100%; | |
} | |
.sidebar ul.socials li { | |
float: none; | |
display: inline; | |
} | |
.sidebar ul.socials a, | |
ul.socials a { | |
padding: 10px 3px 0; | |
display: inline-block; | |
border: none; | |
} | |
.sidebar ul.socials a img { | |
width: 40px; | |
height: 40px; | |
border-radius: 4px; | |
} | |
ul.socials a img { | |
width: 30px; | |
height: 30px; | |
border-radius: 3px; | |
} | |
.sidebar ul.socials a img { | |
opacity: 0.7; | |
} | |
.sidebar ul.socials a:hover img { | |
opacity: 1.0; | |
} | |
.sidebar ul.socials .twitter img, | |
ul.socials .twitter:hover img { | |
background-color: #55ACEE; | |
/*https://about.twitter.com/press/brand-assets*/ | |
} | |
.sidebar ul.socials .facebook img, | |
ul.socials .facebook:hover img { | |
background-color: #6588b4; | |
} | |
.sidebar ul.socials .linkedin img, | |
ul.socials .linkedin:hover img { | |
background-color: #069; | |
} | |
.sidebar ul.socials .gplus img, | |
ul.socials .gplus:hover img { | |
background-color: #dd4b39; | |
/* https://developers.google.com/+/branding-guidelines */ | |
} | |
.sidebar ul.socials .pinterest img, | |
ul.socials .pinterest:hover img { | |
background-color: #cb2027; | |
} | |
.sidebar ul.socials .youtube img, | |
ul.socials .youtube:hover img { | |
background-color: #FF3333; | |
} | |
.sidebar ul.socials .rss img, | |
ul.socials .rss:hover img { | |
background-color: #FF6600; | |
} | |
.sidebar .widget.widget_socials { | |
margin-bottom: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment