mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-21 17:27:13 +01:00
53 lines
1.0 KiB
CSS
53 lines
1.0 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;
|
|
}
|
|
|
|
/* TWITTER
|
|
-----------------------------------------*/
|
|
|
|
/* Nice try, Twitter */
|
|
div.promoted-tweet {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Discover menu, Who to follow, Similiar, Trends */
|
|
[aria-label="Timeline: Trending now"],
|
|
[aria-label="Who to follow"],
|
|
[data-testid="DMDrawer"] {
|
|
visibility: hidden !important;
|
|
}
|
|
|
|
[data-testid="sidebarColumn"] form {
|
|
visibility: visible !important;
|
|
}
|
|
|
|
/* STACK OVERFLOW ET AL.
|
|
-----------------------------------------*/
|
|
|
|
.ad-container,
|
|
#newsletter-ad,
|
|
#recent-badges,
|
|
.everyonelovesstackoverflow {
|
|
display: none !important;
|
|
}
|