Skip to content

Instantly share code, notes, and snippets.

@nmarley
Last active August 31, 2015 16:04
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 nmarley/495d9fdb49336639edd7 to your computer and use it in GitHub Desktop.
Save nmarley/495d9fdb49336639edd7 to your computer and use it in GitHub Desktop.
Sett print stylesheet suggestion

Print stylesheet for SETT blogs - hide print obstructions

Stylesheet for removing HTML elements from SETT blogs which obstruct printing and making it easy to print/render to PDF format.

Because blue light from computer screens is hard on my eyes, I like to print longer web pages/posts and read them on paper. But sometimes it's hard to print without using the developer tools and stripping away elements from the HTML manually.

/* only applies to printing */
@media print {
#side_panel {
display: none;
}
#readnext {
display: none !important;
}
#settbar {
display: none !important;
}
.subscribe_thread {
display: none;
}
#responses.navbar {
display: none;
}
ul.post-actions {
display: none !important;
}
div.responses#post-0-0 {
display: none;
}
button.sett-reply-button-mobile {
display: none;
}
li.byline-reply {
display: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment