Last active
September 17, 2020 01:03
-
-
Save tuanchauict/b323e02fe08083cd85963b1959c13340 to your computer and use it in GitHub Desktop.
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
@import url('https://fonts.googleapis.com/css?family=Goudy+Bookletter+1911|Inconsolata|Lora|Slabo+27px|Song+Myung|Source+Serif+Pro|Roboto Mono'); | |
* { | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
body { | |
font-family: 'Source Serif Pro', Lora, 'Slabo 27px', 'Goudy Bookletter 1911', serif; | |
line-height: 1.4em; | |
font-size: 18px; | |
color: #F0F0F0; | |
background-color: #303030; | |
-webkit-font-smoothing: antialiased; | |
/*letter-spacing: 0.5px;*/ | |
} | |
h1, | |
h2 { | |
/*font-family: 'Inconsolata', monospace;*/ | |
} | |
h1 { | |
font-size: 1.875em; | |
line-height: 1.2em; | |
color: #ededed; | |
} | |
h2 { | |
font-size: 1.5em; | |
line-height: 1.2em; | |
color: #e3e3e3; | |
} | |
h3 { | |
/*font-family: 'Inconsolata', monospace;*/ | |
font-size: 1.2em; | |
line-height: 1.7em; | |
padding-top: 0.9375em; | |
padding-bottom: 0.9375em; | |
border-bottom: 1px solid #4f4f4f; | |
border-top: 1px solid #4f4f4f; | |
color: #d9d9d9; | |
} | |
hr { | |
height: 1px; | |
background-color: #4f4f4f; | |
border: none; | |
width: 100%; | |
margin: 0px; | |
} | |
a[href] { | |
color: #BBDEFB; | |
} | |
a[href]:hover { | |
color: #64B5F6; | |
} | |
img { | |
max-width: 100%; | |
} | |
li { | |
line-height: 1.5em; | |
} | |
pre { | |
border-left: 2px solid #888; | |
padding-left: 16px; | |
} | |
code { | |
font-size: 0.9em; | |
color: #F4FF81; | |
font-family: "Roboto Mono"; | |
} | |
aside, | |
[class *= "sidebar"], | |
[id *= "sidebar"] { | |
max-width: 90%; | |
margin: 0 auto; | |
border: 1px solid lightgrey; | |
padding: 5px 15px; | |
} | |
.simple-date { | |
display: inline-block; | |
font-family: 'Inconsolata', monospace; | |
font-size: 18px; | |
padding-right: 15px; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
border-right: 1px solid #4f4f4f; | |
} | |
.simple-author { | |
display: inline-block; | |
font-family: 'Inconsolata', monospace; | |
font-size: 18px; | |
color: #27AAE1; | |
line-height: 22px; | |
padding-left: 10px; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
} | |
.simple-container { | |
max-width: 750px; | |
margin: 0 auto; | |
padding-top: 70px; | |
padding-bottom: 20px; | |
} | |
@media (max-width: 750px) { | |
.simple-container { | |
padding-left: 50px; | |
padding-right: 50px; | |
} | |
} | |
@media (max-width: 450px) { | |
.simple-container { | |
padding-top: 30px; | |
padding-left: 20px; | |
padding-right: 20px; | |
} | |
} | |
@media print { | |
.simple-container { | |
max-width: 100%; | |
} | |
body { | |
font-family: Bookerly, 'Goudy Bookletter 1911', serif; | |
line-height: 1.3em; | |
font-size:12px; | |
color: #222; | |
background-color: #FFF; | |
-webkit-font-smoothing: antialiased; | |
margin: 0; | |
} | |
h1, h2, h3, a, a[href] { | |
color: #000; | |
} | |
li { | |
line-height: 1.3em; | |
} | |
pre { | |
border-left: 2px solid #888; | |
padding-left: 16px; | |
} | |
code { | |
color: #000; | |
} | |
} | |
/* Hide some things I dislike seeing when I read articles */ | |
/* Very simple ad hider */ | |
[class = "ad"], | |
[class *= "ads"], | |
[class ^= "ad-"], | |
[class ^= "ad_"], | |
[class *= "-ad-"], | |
[class $= "-ad"], | |
[class $= "_ad"], | |
[class ~= "ad"], | |
[id = "ad"], | |
[id *= "ads"], | |
[id ^= "ad-"], | |
[id ^= "ad_"], | |
[id *= "-ad-"], | |
[id $= "-ad"], | |
[id $= "_ad"], | |
[id ~= "ad"] { | |
display: none; | |
} | |
/* Very simple nav, menu, and search hider */ | |
[class *= "navigation"], | |
[class *= "nav"], | |
nav, | |
[class *= "search"], | |
[class *= "menu"] { | |
display: none; | |
} | |
/* Very simple 'nocontent' hider */ | |
[class *= "nocontent"] { | |
display: none; | |
} | |
/* Very simple popup hider */ | |
[class *= "popup"], | |
[id *= "popup"] { | |
display: none; | |
} | |
/* Very simple sharing hider */ | |
[class *= "share"], | |
[class *= "sharing"], | |
[class *= "social"], | |
[id *= "share"], | |
[id *= "sharing"], | |
[id *= "social"], | |
[class *= "follow"], | |
[id *= "follow"], | |
[class *= "newsletter"], | |
[id *= "newsletter"] { | |
display: none; | |
} | |
/* Very simple meta hider */ | |
[class *= "meta"]:not(.simple-meta), | |
[id *= "meta"] { | |
display: none; | |
} | |
/* Very simple related/recommended hider */ | |
[class *= "related"], | |
[id *= "related"], | |
[class *= "recommended"], | |
[id *= "recommended"], | |
[class *= "see-also"], | |
[id *= "see-also"], | |
[class *= "popular"], | |
[id *= "popular"] { | |
display: none; | |
} | |
/* Very simple comments hider */ | |
[class *= "comment"], | |
[id *= "comment"], | |
[class *= "disqus"], | |
[id *= "disqus"] { | |
display: none; | |
} | |
/* Very simple tags hider */ | |
[class ^= "tag"], | |
[class *= "-tag-"], | |
[class $= "-tag"], | |
[class $= "_tag"], | |
[class ~= "tag"], | |
[id ^= "tag"], | |
[id *= "-tag-"], | |
[id $= "-tag"], | |
[id $= "_tag"], | |
[id ~= "tag"], | |
[class *= "-tags-"], | |
[class $= "-tags"], | |
[class $= "_tags"], | |
[class ~= "tags"], | |
[id *= "-tags-"], | |
[id $= "-tags"], | |
[id $= "_tags"], | |
[id ~= "tags"] { | |
display: none; | |
} | |
/* Very simple subscribe/subscription hider */ | |
[class *= "subscribe"], | |
[id *= "subscribe"], | |
[class *= "subscription"], | |
[id *= "subscription"] { | |
display: none; | |
} | |
/* Very simple fav/favorites hider */ | |
[class ^= "fav"], | |
[class *= "-fav-"], | |
[class $= "-fav"], | |
[class $= "_fav"], | |
[class ~= "fav"], | |
[id ^= "fav"], | |
[id *= "-fav-"], | |
[id $= "-fav"], | |
[id $= "_fav"], | |
[id ~= "fav"], | |
[class *= "favorites"], | |
[id *= "favorites"] { | |
display: none; | |
} | |
/* Very simple signup/signin hider */ | |
[class *= "signup"], | |
[id *= "signup"], | |
[class *= "signin"], | |
[id *= "signin"], | |
[class *= "signIn"], | |
[id *= "signIn"] { | |
display: none; | |
} | |
/* Very simple footer hider */ | |
footer, | |
[class *= "footer"], | |
[id *= "footer"] { | |
display: none; | |
} | |
/* Hide SVGs that use particular site names (usually icons) */ | |
svg[class *= "pinterest"], | |
[class *= "pinterest"] svg, | |
svg[id *= "pinterest"], | |
[id *= "pinterest"] svg, | |
svg[class *= "pinit"], | |
[class *= "pinit"] svg, | |
svg[id *= "pinit"], | |
[id *= "pinit"] svg, | |
svg[class *= "facebook"], | |
[class *= "facebook"] svg, | |
svg[id *= "facebook"], | |
[id *= "facebook"] svg, | |
svg[class *= "github"], | |
[class *= "github"] svg, | |
svg[id *= "github"], | |
[id *= "github"] svg, | |
svg[class *= "twitter"], | |
[class *= "twitter"] svg, | |
svg[id *= "twitter"], | |
[id *= "twitter"] svg, | |
svg[class *= "instagram"], | |
[class *= "instagram"] svg, | |
svg[id *= "instagram"], | |
[id *= "instagram"] svg, | |
svg[class *= "tumblr"], | |
[class *= "tumblr"] svg, | |
svg[id *= "tumblr"], | |
[id *= "tumblr"] svg, | |
svg[class *= "youtube"], | |
[class *= "youtube"] svg, | |
svg[id *= "youtube"], | |
[id *= "youtube"] svg, | |
svg[class *= "codepen"], | |
[class *= "codepen"] svg, | |
svg[id *= "codepen"], | |
[id *= "codepen"] svg, | |
svg[class *= "dribble"], | |
[class *= "dribble"] svg, | |
svg[id *= "dribble"], | |
[id *= "dribble"] svg, | |
svg[class *= "soundcloud"], | |
[class *= "soundcloud"] svg, | |
svg[id *= "soundcloud"], | |
[id *= "soundcloud"] svg, | |
svg[class *= "rss"], | |
[class *= "rss"] svg, | |
svg[id *= "rss"], | |
[id *= "rss"] svg, | |
svg[class *= "linkedin"], | |
[class *= "linkedin"] svg, | |
svg[id *= "linkedin"], | |
[id *= "linkedin"] svg, | |
svg[class *= "vimeo"], | |
[class *= "vimeo"] svg, | |
svg[id *= "vimeo"], | |
[id *= "vimeo"] svg, | |
svg[class *= "email"], | |
[class *= "email"] svg, | |
svg[id *= "email"], | |
[id *= "email"] svg { | |
display: none; | |
} | |
/*Medium*/ | |
[class='content-container'] > [class *= "graf--title"], | |
.progressiveMedia-canvas.js-progressiveMedia-canvas, | |
.progressiveMedia-thumbnail.js-progressiveMedia-thumbnail{ | |
display: none!important; | |
} | |
/*NYT*/ | |
.css-lyagax, .css-14jsv4e, .css-1597c7c, .css-mqwa36, .Recirculation-recirculation--2BQm-{ | |
display: none!important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment