Created
December 6, 2011 11:51
-
-
Save scottjacksonx/1437929 to your computer and use it in GitHub Desktop.
My desktop version of Brent Simmons's “Ballard” style.
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
/* My desktop version of Brent Simmons's “Ballard” style. */ | |
::selection { | |
background-color: #f55; | |
text-shadow: 0px 1px 0px #000; | |
color: #f9f8f6; | |
} | |
body { | |
color: #333; | |
font-size: 16px; | |
line-height: 1.5em; | |
font-family: Palatino, Georgia, serif; | |
background-color: #f9f8f6; | |
margin: 0px; | |
} | |
img { | |
max-width: 100%; | |
} | |
a { | |
text-decoration: none; | |
} | |
a, a:link, a:visited { | |
color: #054794; | |
} | |
a:hover { | |
text-decoration: underline; | |
} | |
#bsArticleBox { | |
padding-left: 4em; | |
padding-right: 4em; | |
} | |
#bsArticleTitle { | |
padding-top: 1em; | |
} | |
#bsArticleTitle h1 { | |
line-height: 1.25em; | |
font-size: 1.9em; | |
font-weight: bold; | |
text-shadow: 0px 2px 0px #fff; | |
color: #494949; | |
font-family: "Myriad Web Pro", "Myriad Pro", Helvetica, sans-serif; | |
} | |
#bsArticleTitle a:link, #bsArticleTitle a:visited { | |
color: #494949; | |
} | |
#bsArticleDateline { | |
color: rgba(0, 0, 0, 0.4); | |
border-bottom: 1px solid rgba(0, 0, 0, 0.05); | |
border-top: 1px solid rgba(0, 0, 0, 0.05); | |
margin-bottom: 40px; | |
padding-top: 2px; | |
font-family: "Myriad Web Pro", "Myriad Pro", Helvetica, sans-serif; | |
} | |
#bsArticleDateline * { | |
margin-right: 5px; | |
text-shadow: 0px 1px 0px #fff; | |
} | |
#bsArticleDateline a:link, #bsArticleDateline a:visited { | |
color: rgba(0, 0, 0, 0.4); | |
} | |
#bsArticleDateline img { | |
-webkit-transform: translateY(3px); | |
margin-right: 2px; | |
} | |
#bsArticleExtraLinks { | |
clear: both; | |
} | |
blockquote { | |
text-align: justify; | |
color: #555; | |
margin-left: 60px; | |
margin-right: 100px; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
font-family: "Myriad Web Pro", "Myriad Pro", Helvetica, sans-serif; | |
} | |
code, pre { | |
font-family: Menlo, "Courier New", Courier, monospace; | |
font-size: 14px; | |
color: #666; | |
} | |
/*Block ads and junk*/ | |
iframe[src*="feedads"], | |
iframe[src*="doubleclick"], | |
iframe[src*="plusone.google"] { | |
display: none !important; | |
} | |
a[href*=".ads."], | |
a[href*="feedads"], | |
a[href*="feedburner"], | |
a[href*="doubleclick"], | |
a[href*="//ads."], | |
a[href*="api.tweetmeme"], | |
a[href*="delicious.com/post?"], | |
a[href*="digg.com/submit?"], | |
a[href*="google.com/bookmarks/mark?"], | |
a[href*="posterous.com/share?"], | |
a[href*="tumblr.com/share?"], | |
a[href*="linkedin.com/shareArticle?"], | |
a[href*="facebook.com/share.php?"], | |
a[href*="http://twitter.com/home?"], | |
a[href*="addtoany.com/share_save"] { | |
display: none !important; | |
} | |
img[src*=".ads."], | |
img[src*="//ads."], | |
img[src*="doubleclick"], | |
img[src*="feedads"], | |
img[src*="feedburner"], | |
img[src*="share-buttons"] { | |
display: none !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment