Skip to content

Instantly share code, notes, and snippets.

@norcross
Created April 14, 2014 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save norcross/10643584 to your computer and use it in GitHub Desktop.
Save norcross/10643584 to your computer and use it in GitHub Desktop.
CSS fixes for Sharedady to account for RWD
/** ShareDaddy
* ----------------------------------------------------------------------------
*/
body.custom .entry-content div.sharedaddy {
margin: 20px 0 0;
}
body.custom .entry-content div.sharedaddy .sd-block {
border-top: 1px dotted #ccc;
border-bottom: 1px dotted #ccc;
}
body.custom .entry-content div.sharedaddy .sd-block div.sd-content {
width: 100%;
}
body.custom .entry-content div.sharedaddy .sd-block div.sd-content ul {
text-align: center;
}
body.custom .entry-content div.sharedaddy .sd-block div.sd-content ul li {
display: inline-block;
float: none;
margin: 0 0 5px 5px !important;
}
body.custom .entry-content div.sharedaddy .sd-block div.sd-content ul li:first-child {
margin: 0 0 5px 0 !important;
}
body.custom div.sharedaddy h3,
body.custom #content div.sharedaddy h3,
body.custom #main div.sharedaddy h3,
body.custom #primary div.sharedaddy h3 {
font-family: "YOUR-BASE-FONT",'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment