Skip to content

Instantly share code, notes, and snippets.

@scottjacksonx
Created November 29, 2011 05:03
Show Gist options
  • Save scottjacksonx/1403513 to your computer and use it in GitHub Desktop.
Save scottjacksonx/1403513 to your computer and use it in GitHub Desktop.
My modified of Brent Simmons's “Ballard” NetNewsWire style. I like smaller text when I'm on my 13" MacBook.
body {
color: #333;
font-size: 14px;
line-height: 1.4em;
font-family: Palatino, Georgia, serif;
background-color: #fff;
margin: 0px;
}
a {
text-decoration: none;
}
a, a:link, a:visited {
color: #084ab7;
}
a:hover {
text-decoration: underline;
}
#bsArticleBox {
padding-left: 4em;
padding-right: 4em;
}
#bsArticleTitle {
padding-top: 1em;
}
#bsArticleTitle h1 {
line-height: 1.25em;
font-size: 2.0em;
font-weight: bold;
text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
font-family: "Myriad Web Pro", "Myriad Pro", Helvetica, sans-serif;
}
#bsArticleTitle a:link, #bsArticleTitle a:visited {
color: rgba(0, 0, 0, 0.7);
}
#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: 24px;
padding-top: 2px;
font-family: "Myriad Web Pro", "Myriad Pro", Helvetica, sans-serif;
}
#bsArticleDateline a:link, #bsArticleDateline a:visited {
color: rgba(0, 0, 0, 0.4);
}
#bsArticleDateline img {
-webkit-transform: translateY(3px);
}
#bsArticleExtraLinks {
clear: both;
}
blockquote {
text-align: justify;
}
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