2012-06-25 18:52:41 +02:00
|
|
|
/*
|
2015-08-08 22:40:33 +02:00
|
|
|
#############################
|
|
|
|
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
|
2012-06-25 18:52:41 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* GOOGLE SEARCH
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
|
|
|
/* Ads */
|
|
|
|
#tads,
|
|
|
|
#bottomads {
|
2020-11-02 23:32:03 +01:00
|
|
|
display: none !important;
|
2012-06-25 18:52:41 +02:00
|
|
|
}
|
|
|
|
|
2013-06-03 16:29:45 +02:00
|
|
|
/* GMAIL
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
2013-10-13 14:54:36 +02:00
|
|
|
/* more space at top of mails */
|
|
|
|
div.AO div.aeF {
|
2020-11-02 23:32:03 +01:00
|
|
|
margin-top: 12px;
|
2013-10-13 14:54:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* hide google footer */
|
|
|
|
.aeJ div.aeG,
|
|
|
|
td.Bu div.aeV,
|
|
|
|
td.Bu div.aeU,
|
|
|
|
td.Bu div.ae3 {
|
2020-11-02 23:32:03 +01:00
|
|
|
display: none !important;
|
2013-10-13 14:54:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* fuck you too, social sidebar and share thingy */
|
|
|
|
td.Bu.y3,
|
2013-11-02 17:38:44 +01:00
|
|
|
#gbgs3,
|
2013-11-03 14:14:08 +01:00
|
|
|
.gb_7a.gb_ya.gb_g {
|
2020-11-02 23:32:03 +01:00
|
|
|
display: none !important;
|
2013-10-13 14:54:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* center more stuff */
|
|
|
|
div.gB.xu table.cf.FVrZGe,
|
|
|
|
div.ip.adB,
|
|
|
|
.hx .h7 .Bk .G2 .adn {
|
2020-11-02 23:32:03 +01:00
|
|
|
max-width: 768px;
|
|
|
|
margin-left: auto !important;
|
|
|
|
margin-right: auto !important;
|
2013-06-03 16:29:45 +02:00
|
|
|
}
|
|
|
|
|
2013-10-10 10:43:24 +02:00
|
|
|
/* Ads */
|
|
|
|
body.aAU .mq {
|
2020-11-02 23:32:03 +01:00
|
|
|
display: none !important;
|
2013-06-03 16:29:45 +02:00
|
|
|
}
|
|
|
|
|
2013-11-29 18:53:03 +01:00
|
|
|
/* CHROME
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
2014-06-10 13:20:14 +02:00
|
|
|
/* fuck you google for putting your ads
|
2013-11-29 18:53:03 +01:00
|
|
|
in my browser start page */
|
|
|
|
#prm-pt {
|
2020-11-02 23:32:03 +01:00
|
|
|
display: none !important;
|
2013-11-29 18:53:03 +01:00
|
|
|
}
|
|
|
|
|
2013-09-03 18:31:33 +02:00
|
|
|
/* GITHUB
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
|
|
|
.file-code code,
|
|
|
|
.file-code pre,
|
|
|
|
.commits code,
|
|
|
|
.commits pre,
|
2014-07-01 12:06:18 +02:00
|
|
|
.markdown-body pre,
|
|
|
|
.markdown-body code,
|
2013-09-03 18:31:33 +02:00
|
|
|
.diff-line-code,
|
2014-06-10 13:20:14 +02:00
|
|
|
#files .file .meta .info,
|
2013-09-03 18:31:33 +02:00
|
|
|
.file-box .meta .info,
|
2014-06-10 13:20:14 +02:00
|
|
|
.diff-line-num,
|
2013-09-03 18:31:33 +02:00
|
|
|
.blob-line-nums,
|
2014-06-10 13:20:14 +02:00
|
|
|
.commit .sha-block,
|
2013-09-03 18:31:33 +02:00
|
|
|
.commit .sha,
|
|
|
|
.news .alert .branch-link,
|
2014-06-10 13:20:14 +02:00
|
|
|
.repository-with-sidebar .repository-sidebar input.clone,
|
|
|
|
.comment-body code,
|
|
|
|
.comment-body pre,
|
|
|
|
.commit-message code,
|
|
|
|
.commit-sha,
|
|
|
|
.commit-id,
|
2014-07-01 12:06:18 +02:00
|
|
|
.branch-name,
|
|
|
|
input.url-field {
|
2020-11-02 23:32:03 +01:00
|
|
|
font-family: "Source Code Pro", Consolas, "Liberation Mono", Courier,
|
|
|
|
monospace !important;
|
2013-09-03 18:31:33 +02:00
|
|
|
}
|
|
|
|
|
2012-06-25 18:52:41 +02:00
|
|
|
/* TWITTER
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
|
|
|
/* Nice try, Twitter */
|
|
|
|
div.promoted-tweet {
|
2020-11-02 23:32:03 +01:00
|
|
|
display: none !important;
|
2012-06-25 18:52:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Discover menu, Who to follow, Similiar, Trends */
|
2020-11-02 23:32:03 +01:00
|
|
|
[data-testid="sidebarColumn"],
|
|
|
|
[aria-label="Timeline: Trending now"],
|
|
|
|
[aria-label="Who to follow"],
|
|
|
|
[data-testid="DMDrawer"] {
|
|
|
|
visibility: hidden !important;
|
2012-06-25 18:52:41 +02:00
|
|
|
}
|
|
|
|
|
2020-11-02 23:32:03 +01:00
|
|
|
[data-testid="sidebarColumn"] form {
|
|
|
|
visibility: visible !important;
|
2016-02-18 00:51:30 +01:00
|
|
|
}
|
|
|
|
|
2020-11-02 23:32:03 +01:00
|
|
|
main[role="main"] {
|
|
|
|
margin-left: 5% !important;
|
2016-02-18 00:51:30 +01:00
|
|
|
}
|
|
|
|
|
2012-06-25 18:52:41 +02:00
|
|
|
/* GOOGLE+
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
2013-02-10 15:35:25 +01:00
|
|
|
/* I don't think that's Fun & Interesting */
|
|
|
|
div[guidedhelpid="celebritysuggestions"],
|
2014-04-11 11:25:59 +02:00
|
|
|
div.o6.jea,
|
|
|
|
a.gb_Db.gbp1.gb_N,
|
|
|
|
div.Qd.Gb.qd.pP.EX {
|
2020-11-02 23:32:03 +01:00
|
|
|
display: none !important;
|
2013-02-10 15:35:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* FACEBOOK
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
|
|
|
#facebook .ego_column,
|
|
|
|
#facebook #adsNav,
|
|
|
|
#facebook #appsNav,
|
|
|
|
#pagelet_friends_online,
|
|
|
|
#navItem_app_357937250942127,
|
|
|
|
#navItem_app_140472815972081,
|
|
|
|
#developerNav,
|
|
|
|
#groupsNav,
|
|
|
|
#navItem_app_2356318349 {
|
2020-11-02 23:32:03 +01:00
|
|
|
display: none !important;
|
2013-02-10 15:35:25 +01:00
|
|
|
}
|
|
|
|
|
2012-06-25 18:52:41 +02:00
|
|
|
/* STACK OVERFLOW ET AL.
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
|
|
|
.ad-container,
|
|
|
|
#newsletter-ad,
|
|
|
|
#recent-badges,
|
|
|
|
.everyonelovesstackoverflow {
|
2020-11-02 23:32:03 +01:00
|
|
|
display: none !important;
|
2015-08-08 22:40:33 +02:00
|
|
|
}
|
2015-09-14 00:57:30 +02:00
|
|
|
|
2017-09-10 13:14:58 +02:00
|
|
|
/* MEDIUM
|
2015-09-14 00:57:30 +02:00
|
|
|
-----------------------------------------*/
|
|
|
|
|
2017-09-10 13:14:58 +02:00
|
|
|
.js-postShareWidget,
|
|
|
|
.u-zIndexMetabar.js-stickyFooter,
|
|
|
|
.metabar.metabar--spacer.js-metabarSpacer {
|
2020-11-02 23:32:03 +01:00
|
|
|
display: none !important;
|
2015-09-14 00:57:30 +02:00
|
|
|
}
|
|
|
|
|
2017-09-10 13:14:58 +02:00
|
|
|
.metabar.js-metabar {
|
2020-11-02 23:32:03 +01:00
|
|
|
position: relative !important;
|
2015-09-14 00:57:30 +02:00
|
|
|
}
|