Skip to content

Instantly share code, notes, and snippets.

@JosephLenton
Last active August 29, 2015 14:15
Show Gist options
  • Select an option

  • Save JosephLenton/edc90ba373cd2da03d74 to your computer and use it in GitHub Desktop.

Select an option

Save JosephLenton/edc90ba373cd2da03d74 to your computer and use it in GitHub Desktop.
Reddit CSS changes
@-moz-document domain(www.reddit.com) {
html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
-webkit-backface-visibility: hidden;
-webkit-perspective: 1000;
-webkit-transform: translate3d(0, 0, 0);
text-rendering: optimizeSpeed;
-webkit-font-smoothing: never;
-moz-font-smoothing: never;
font-smoothing: never;
}
.viewSource,
.comment-save-button,
.saveComments,
.give-gold,
.toggleChildren,
.score,
.hide-button,
.share,
.redditSingleClick,
#viewImagesButton,
.markdownEditor-wrapper,
.help-toggle,
.reddiquette,
.RESBigEditorPop,
.footer-parent,
#NREFloat,
.thing.link > .rank,
.midcol.unvoted,
#siteTable_organic,
#mail,
#header-bottom-right,
#RESShortcutsViewport,
#RESShortcutsEditContainer,
.trending-subreddits,
.thing > .thumbnail,
.panestack-title,
.single-page > .content > #siteTable > .thing > .entry > .flat-list,
.tabmenu > li:nth-last-of-type(2),
.tabmenu > li:last-of-type,
.midcol.likes,
.side > .spacer > *:not(#search)
{
display: none !important;
}
.side {
position: absolute;
left: 50%;
top: 44px;
margin-left: 200px;
}
.side > .spacer > #search {
width: 200px;
position: absolute;
left: 0;
z-index: 10000;
}
.side > .spacer > #search > input {
opacity: 0.4;
width: 200px;
}
.side > .spacer > #search > input:focus,
.side > .spacer > #search > input:focus + * {
opacity: 1.0;
}
body {
counter-reset: section;
counter-increment: section;
padding-bottom: 128px;
}
.tabmenu > .selected > a {
border: none !important;
text-decoration: underline;
}
#header-img {
opacity: 0.3;
}
.single-page > .content > #siteTable > .thing > .entry {
text-align: center;
padding-top: 18px;
padding-bottom: 24px;
}
.single-page > .content > #siteTable > .thing > .entry > .title > a {
font-size: 21px;
}
.child,
.showreplies {
border: none !important;
}
#siteTable,
#srDropdownContainer > a,
#RESStaticShortcuts > a,
#RESStaticShortcuts > a.RESShortcutsCurrentSub,
.tabmenu > li > a,
#sr-header-area,
.NERPageMarker,
#header,
.buttons > li > a {
background: transparent;
border: none;
color: #ccc !important;
font-weight: 400 !important;
}
.RES-keyNav-activeElement {
background: transparent !important;
}
#RESStaticShortcuts > a.RESShortcutsCurrentSub {
text-decoration: underline;
}
#header {
width: 800px;
margin: 12px auto 32px auto;
}
.NERPageMarker {
margin-top: 32px;
margin-bottom: 32px;
visibility: hidden;
}
.NERPageMarker:after {
visibility: visible;
counter-increment: section;
content: counter(section);
}
.menuarea,
.usertext,
.commentarea,
.thing {
border: none;
width: 900px;
padding: 0;
margin: 0 auto;
}
.thing.link {
margin-top: 12px;
margin-bottom: 12px;
}
.commentarea > form.usertext {
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 12px auto;
padding: 12px 0 0 128px;
}
.comment {
border: none !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment