1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-11-24 19:10:10 +01:00
dotfiles/webstyle.css

198 lines
3.7 KiB
CSS
Raw Normal View History

/*
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
*/
2016-10-14 21:59:34 +02:00
/* GOOGLE SEARCH
-----------------------------------------*/
/* Ads */
#tads,
#bottomads {
2015-08-08 22:40:33 +02:00
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 {
2015-08-08 22:40:33 +02: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 {
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 {
2015-08-08 22:40:33 +02: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 {
2015-08-08 22:40:33 +02: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 {
display: none !important;
2013-06-03 16:29:45 +02:00
}
/* CHROME
-----------------------------------------*/
2014-06-10 13:20:14 +02:00
/* 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,
2014-07-01 12:06:18 +02:00
.markdown-body pre,
.markdown-body code,
.diff-line-code,
2014-06-10 13:20:14 +02:00
#files .file .meta .info,
.file-box .meta .info,
2014-06-10 13:20:14 +02:00
.diff-line-num,
.blob-line-nums,
2014-06-10 13:20:14 +02:00
.commit .sha-block,
.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 {
font-family: "Source Code Pro", Consolas, "Liberation Mono", Courier, monospace !important;
}
/* TWITTER
-----------------------------------------*/
/* Nice try, Twitter */
div.promoted-tweet {
2015-08-08 22:40:33 +02:00
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"],
2014-04-10 17:59:58 +02:00
.module.trends,
.ProfileWTFAndTrends,
2015-08-08 22:40:33 +02:00
.ScrollBump--recentlyFollowed,
2016-02-18 00:51:30 +01:00
.WhoToFollow,
.Footer,
.SidebarCommonModules {
2015-08-08 22:40:33 +02:00
display: none !important;
}
/* "While you were away" is nothing I care about */
.stream-item.has-recap {
display: none !important;
}
2016-02-18 00:51:30 +01:00
/* Search results */
2016-03-02 17:38:43 +01:00
.AdaptiveSearchPage div.Grid-cell.u-size1of3.u-lg-size1of4,
.enhanced-mini-profile div.dashboard.dashboard-left {
2016-02-18 00:51:30 +01:00
display: none !important;
}
2016-03-02 17:38:43 +01:00
.AdaptiveSearchPage div.Grid-cell.u-size2of3.u-lg-size3of4,
.AdaptiveSearchPage div.Grid-cell.u-size2of2.u-lg-size2of3,
.route-home .content-main {
2016-02-18 00:51:30 +01:00
margin: auto !important;
display: block !important;
2016-03-02 17:38:43 +01:00
float: none !important;
2016-02-18 00:51:30 +01:00
}
2016-03-02 17:38:43 +01: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 {
2015-08-08 22:40:33 +02:00
display: none !important;
2013-02-10 15:35:25 +01: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 {
2015-08-08 22:40:33 +02:00
display: none !important;
2013-02-10 15:35:25 +01:00
}
/* STACK OVERFLOW ET AL.
-----------------------------------------*/
.ad-container,
#newsletter-ad,
#recent-badges,
.everyonelovesstackoverflow {
2015-08-08 22:40:33 +02:00
display: none !important;
}
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 {
2015-09-14 00:57:30 +02:00
display: none !important;
}
2017-09-10 13:14:58 +02:00
.metabar.js-metabar {
position: relative !important;
2015-09-14 00:57:30 +02:00
}