2012-06-25 18:52:41 +02:00
|
|
|
/*
|
|
|
|
#############################
|
|
|
|
CSS rules for a more sane web
|
|
|
|
#############################
|
2013-02-10 15:35:25 +01:00
|
|
|
|
2012-06-29 11:19:18 +02:00
|
|
|
Usage:
|
|
|
|
# Safari
|
2012-06-25 18:52:41 +02:00
|
|
|
select as user style sheet in browser
|
2012-06-29 11:19:18 +02:00
|
|
|
or use defaults write... rules from dotfiles/osx
|
2013-02-10 15:35:25 +01:00
|
|
|
|
2012-06-29 11:19:18 +02:00
|
|
|
# Chrome
|
2013-02-10 15:35:25 +01:00
|
|
|
symlink to
|
2012-06-29 11:19:18 +02:00
|
|
|
Application Support/Google/Chrome/Default/User StyleSheets/Custom.css
|
2012-06-25 18:52:41 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* GOOGLE SEARCH
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
|
|
|
/* Ads */
|
|
|
|
#tads,
|
|
|
|
#bottomads {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
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,
|
2013-11-02 17:38:44 +01:00
|
|
|
#gbgs3,
|
2013-11-03 14:14:08 +01:00
|
|
|
.gb_7a.gb_ya.gb_g {
|
2013-10-13 14:54:36 +02:00
|
|
|
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;
|
2013-06-03 16:29:45 +02:00
|
|
|
}
|
|
|
|
|
2013-10-10 10:43:24 +02:00
|
|
|
/* Ads */
|
|
|
|
body.aAU .mq {
|
|
|
|
display: none !important;
|
2013-06-03 16:29:45 +02:00
|
|
|
}
|
|
|
|
|
2013-09-03 18:31:33 +02:00
|
|
|
|
2013-11-29 18:53:03 +01:00
|
|
|
/* CHROME
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
|
|
|
/* fuck you google for putting your ads
|
|
|
|
in my browser start page */
|
|
|
|
#prm-pt {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-09-03 18:31:33 +02:00
|
|
|
/* GITHUB
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
|
|
|
.file-code code,
|
|
|
|
.file-code pre,
|
|
|
|
.commits code,
|
|
|
|
.commits pre,
|
|
|
|
.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 {
|
|
|
|
font-family: "Source Code Pro", Consolas, "Liberation Mono", Courier, monospace !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-06-25 18:52:41 +02:00
|
|
|
/* TWITTER
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
|
|
|
/* Nice try, Twitter */
|
|
|
|
div.promoted-tweet {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Discover menu, Who to follow, Similiar, Trends */
|
|
|
|
li[data-global-action="discover"],
|
2012-10-26 18:59:55 +02:00
|
|
|
.dashboard > .module.wtf-module.js-wtf-module.has-content,
|
2012-06-27 06:16:41 +02:00
|
|
|
div[guidedhelpid="invitefriends"],
|
2012-10-26 18:59:55 +02:00
|
|
|
.module.trends {
|
2012-06-25 18:52:41 +02:00
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* GOOGLE+
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
2013-02-10 15:35:25 +01:00
|
|
|
/* I don't think that's Fun & Interesting */
|
|
|
|
div[guidedhelpid="celebritysuggestions"],
|
|
|
|
div.o6.jea {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2012-06-25 18:52:41 +02:00
|
|
|
|
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 {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-06-25 18:52:41 +02:00
|
|
|
/* STACK OVERFLOW ET AL.
|
|
|
|
-----------------------------------------*/
|
|
|
|
|
|
|
|
.ad-container,
|
|
|
|
#newsletter-ad,
|
|
|
|
#recent-badges,
|
|
|
|
.everyonelovesstackoverflow {
|
|
|
|
display: none !important;
|
|
|
|
}
|