diff options
Diffstat (limited to 'notmyidea-cms/static/css/main.css')
-rw-r--r-- | notmyidea-cms/static/css/main.css | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/notmyidea-cms/static/css/main.css b/notmyidea-cms/static/css/main.css index fdc02ce..b3b631d 100644 --- a/notmyidea-cms/static/css/main.css +++ b/notmyidea-cms/static/css/main.css @@ -286,20 +286,22 @@ img.left, figure.left {float: right; margin: 0 0 2em 2em;} #sidebar .blogroll li {float: left; margin: 0 20px 0 0; width: 185px;} - #sidebar div[class='social'] a { + .social a { background-repeat: no-repeat; background-position: 3px 6px; - padding-left: 25px; } /* Icons */ - .social a[href*='delicious.com'] {background-image: url('../images/icons/delicious.png');} - .social a[href*='digg.com'] {background-image: url('../images/icons/digg.png');} - .social a[href*='facebook.com'] {background-image: url('../images/icons/facebook.png');} - .social a[href*='last.fm'], .social a[href*='lastfm.'] {background-image: url('../images/icons/lastfm.png');} - .social a[href*='atom.xml'] {background-image: url('../images/icons/rss.png');} - .social a[href*='twitter.com'] {background-image: url('../images/icons/twitter.png');} - .social a[href*='linkedin.com'] {background-image: url('../images/icons/linkedin.png');} + .social a[href*='delicious.com']:before {content: url('../images/icons/delicious.png'); margin-right: 2px; vertical-align: -3px;} + .social a[href*='digg.com']:before {content: url('../images/icons/digg.png'); margin-right: 2px; vertical-align: -3px;} + .social a[href*='facebook.com']:before {content: url('../images/icons/facebook.png'); margin-right: 2px; vertical-align: -3px;} + .social a[href*='atom.xml']:before {content: url('../images/icons/rss.png'); margin-right: 2px; vertical-align: -3px;} + .social a[href*='last.fm']:before, .social a[href*='lastfm.']:before {content: url('../images/icons/rss.png'); margin-right: 2px; vertical-align: -3px;} + .social a[href*='jamendo.com']:before {content: url('../images/icons/jamendo.png'); margin-right: 2px; vertical-align: -3px;} + .social a[href*='stackoverflow.com']:before {content: url('../images/icons/stackoverflow.png'); margin-right: 2px; vertical-align: -3px;} + .social a[href*='rss.xml']:before {content: url('../images/icons/rss.png'); margin-right: 2px; vertical-align: -3px;} + .social a[href*='twitter.com']:before {content: url('../images/icons/twitter.png'); margin-right: 2px; vertical-align: -3px;} + .social a[href*='linkedin.com']:before {content: url('../images/icons/linkedin.png'); margin-right: 2px; vertical-align: -3px;} /* About |