Skip to content

Instantly share code, notes, and snippets.

@davchana
Forked from remy/Custom.css
Created June 16, 2018 20:02
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 davchana/0fb3066a75451d8871958a19aea943a4 to your computer and use it in GitHub Desktop.
Save davchana/0fb3066a75451d8871958a19aea943a4 to your computer and use it in GitHub Desktop.
My user style sheet that override the crap sites push on me.
/* 'eff you, I will select what I want. */
* {
user-select: initial !important;
}
.sg-tabs-panel {
min-height: 20em !important;
}
.refined-github #new_comment_field {
font-size: 15px;
font-family: 'ubuntu mono' !important;
}
/* twitter: hide the crap */
.notifications .count.new-count,
.SearchNavigation-canopy.u-bgUserColor,
#doc .dashboard.dashboard-right,
.LiveVideoHomePageModuleContainer,
.WtfLargeCarouselStreamItem,
.js-stream-item.stream-item.stream-item.js-activity.js-activity-follow,
#sky-banner,
#sky-right,
div[data-component-term='user_recommendations'],
div[data-component-term='trends'],
.promoted-tweet,
.promoted-account,
.wtf-module,
.module.trends,
.promoted-trend,
#UnauthCallout,
#ad,
.drip-tab-container,
.siderail-container.siderail-related-tweets-container,
#at-share-dock,
#at4-share,
#at-cv-lightbox,
#paPontonCore,
.wrapper .popup,
.has-takeover,
.future-cookie-bar,
.above-header,
#top .node-type-article iframe,
#taboola-belowarticlethumbnails-mix,
.trc_rbox_container,
.future-inline-cta,
#sihp-lrec.sihp-sidebar-module,
li.js-moments-tab,
div[data-test-giftwrap='true'],
.js-stickyFooter,
#data_scroll,
/* subscribe buttons on medium */ null {
display: none !important;
}
/* JIRA OMG YOU ARE SO PAINFUL */
#jira #stalker {
position: relative !important;
top: auto !important;
}
#jira .ghx-backlog-container .ghx-done {
display: none;
}
#jira .stalker-placeholder.issue-header.js-stalker {
display: none !important;
}
#top .disqus_thread iframe {
display: block !important;
}
#doc.route-permalink .permalink-container {
float: none;
margin: 0 auto;
}
.baner-column,
.ad-col-02 {
display: none;
}
/* gmail ads…not entirely sure if these work still! */
.nH > .u5,
.aKA.zE,
.nH.PS,
[data-network='google'],
.google_ads_with_related_links {
display: none;
}
#jbar-push,
#jbar {
display: none !important;
}
.container-fluid table.table.table-striped.responsive td:nth-child(2) a {
color: blue;
}
/* toggl */
.bar.invert span.value.hidden {
opacity: 1 !important;
}
.bar.invert.zero-col span.value.hidden {
opacity: 0 !important;
}
.billable-container,
.for-reportbillable,
.badge-content.footer-upsell-notice,
#badge-notifications {
display: none;
}
#vbulletin_html #right-sidebar,
#vbulletin_html .postdetails .userinfo {
display: none !important;
}
#vbulletin_html .postbody {
margin-left: 0;
}
#vbulletin_html .postbody p,
#vbulletin_html .postbody blockquote {
line-height: 28px !important;
font-size: 16px !important;
}
/* make pintrest useful */
.GrowthUnauthPinImage__contentLink {
opacity: 1 !important;
padding-top: 100vh !important;
}
#doc #page-container.AppContent {
padding-top: 55px !important;
}
/* gmail customisation - make the font bigger, and make the body of the email
660px for shorter lines */
body.aAU [role="listitem"] [tabindex]+div {
max-width: 660px;
margin: 0 auto;
}
body.aAU [role="listitem"] [tabindex]+div * {
font-size: 1.2rem !important;
line-height: 1.8rem !important;
}
.aAU div#:gl {
max-width: 660px;
margin: 0 auto;
font-size: 1.2rem !important;
line-height: 1.8rem !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment