mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-24 19:10:10 +01:00
198 lines
3.7 KiB
CSS
198 lines
3.7 KiB
CSS
/*
|
|
#############################
|
|
CSS rules for a more sane web
|
|
#############################
|
|
|
|
Usage:
|
|
# Safari
|
|
select as user style sheet in browser
|
|
or use defaults write... rules from dotfiles/osx
|
|
|
|
# Chrome
|
|
symlink to
|
|
Application Support/Google/Chrome/Default/User StyleSheets/Custom.css
|
|
*/
|
|
|
|
|
|
/* GOOGLE SEARCH
|
|
-----------------------------------------*/
|
|
|
|
/* Ads */
|
|
#tads,
|
|
#bottomads {
|
|
display: none !important;
|
|
}
|
|
|
|
|
|
/* GMAIL
|
|
-----------------------------------------*/
|
|
|
|
/* more space at top of mails */
|
|
div.AO div.aeF {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
/* hide google footer */
|
|
.aeJ div.aeG,
|
|
td.Bu div.aeV,
|
|
td.Bu div.aeU,
|
|
td.Bu div.ae3 {
|
|
display: none !important;
|
|
}
|
|
|
|
/* fuck you too, social sidebar and share thingy */
|
|
td.Bu.y3,
|
|
#gbgs3,
|
|
.gb_7a.gb_ya.gb_g {
|
|
display: none !important;
|
|
}
|
|
|
|
/* center more stuff */
|
|
div.gB.xu table.cf.FVrZGe,
|
|
div.ip.adB,
|
|
.hx .h7 .Bk .G2 .adn {
|
|
max-width: 768px;
|
|
margin-left: auto !important;
|
|
margin-right: auto !important;
|
|
}
|
|
|
|
/* Ads */
|
|
body.aAU .mq {
|
|
display: none !important;
|
|
}
|
|
|
|
|
|
/* CHROME
|
|
-----------------------------------------*/
|
|
|
|
/* fuck you google for putting your ads
|
|
in my browser start page */
|
|
#prm-pt {
|
|
display: none !important;
|
|
}
|
|
|
|
|
|
/* GITHUB
|
|
-----------------------------------------*/
|
|
|
|
.file-code code,
|
|
.file-code pre,
|
|
.commits code,
|
|
.commits pre,
|
|
.markdown-body pre,
|
|
.markdown-body code,
|
|
.diff-line-code,
|
|
#files .file .meta .info,
|
|
.file-box .meta .info,
|
|
.diff-line-num,
|
|
.blob-line-nums,
|
|
.commit .sha-block,
|
|
.commit .sha,
|
|
.news .alert .branch-link,
|
|
.repository-with-sidebar .repository-sidebar input.clone,
|
|
.comment-body code,
|
|
.comment-body pre,
|
|
.commit-message code,
|
|
.commit-sha,
|
|
.commit-id,
|
|
.branch-name,
|
|
input.url-field {
|
|
font-family: "Source Code Pro", Consolas, "Liberation Mono", Courier, monospace !important;
|
|
}
|
|
|
|
|
|
/* TWITTER
|
|
-----------------------------------------*/
|
|
|
|
/* Nice try, Twitter */
|
|
div.promoted-tweet {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Discover menu, Who to follow, Similiar, Trends */
|
|
li[data-global-action="discover"],
|
|
.dashboard > .module.wtf-module.js-wtf-module.has-content,
|
|
div[guidedhelpid="invitefriends"],
|
|
.module.trends,
|
|
.ProfileWTFAndTrends,
|
|
.ScrollBump--recentlyFollowed,
|
|
.WhoToFollow,
|
|
.Footer,
|
|
.SidebarCommonModules {
|
|
display: none !important;
|
|
}
|
|
|
|
/* "While you were away" is nothing I care about */
|
|
.stream-item.has-recap {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Search results */
|
|
.AdaptiveSearchPage div.Grid-cell.u-size1of3.u-lg-size1of4,
|
|
.enhanced-mini-profile div.dashboard.dashboard-left {
|
|
display: none !important;
|
|
}
|
|
|
|
.AdaptiveSearchPage div.Grid-cell.u-size2of3.u-lg-size3of4,
|
|
.AdaptiveSearchPage div.Grid-cell.u-size2of2.u-lg-size2of3,
|
|
.route-home .content-main {
|
|
margin: auto !important;
|
|
display: block !important;
|
|
float: none !important;
|
|
}
|
|
|
|
|
|
|
|
|
|
/* GOOGLE+
|
|
-----------------------------------------*/
|
|
|
|
/* I don't think that's Fun & Interesting */
|
|
div[guidedhelpid="celebritysuggestions"],
|
|
div.o6.jea,
|
|
a.gb_Db.gbp1.gb_N,
|
|
div.Qd.Gb.qd.pP.EX {
|
|
display: none !important;
|
|
}
|
|
|
|
|
|
/* FACEBOOK
|
|
-----------------------------------------*/
|
|
|
|
#facebook .ego_column,
|
|
#facebook #adsNav,
|
|
#facebook #appsNav,
|
|
#pagelet_friends_online,
|
|
#navItem_app_357937250942127,
|
|
#navItem_app_140472815972081,
|
|
#developerNav,
|
|
#groupsNav,
|
|
#navItem_app_2356318349 {
|
|
display: none !important;
|
|
}
|
|
|
|
|
|
/* STACK OVERFLOW ET AL.
|
|
-----------------------------------------*/
|
|
|
|
.ad-container,
|
|
#newsletter-ad,
|
|
#recent-badges,
|
|
.everyonelovesstackoverflow {
|
|
display: none !important;
|
|
}
|
|
|
|
|
|
/* MEDIUM
|
|
-----------------------------------------*/
|
|
|
|
.js-postShareWidget,
|
|
.u-zIndexMetabar.js-stickyFooter,
|
|
.metabar.metabar--spacer.js-metabarSpacer {
|
|
display: none !important;
|
|
}
|
|
|
|
.metabar.js-metabar {
|
|
position: relative !important;
|
|
}
|