Skip to content

Instantly share code, notes, and snippets.

@LordJZ
Created May 17, 2016 12:15
Show Gist options
  • Save LordJZ/c7b83da5160750f7ed151e7bfedcf3c5 to your computer and use it in GitHub Desktop.
Save LordJZ/c7b83da5160750f7ed151e7bfedcf3c5 to your computer and use it in GitHub Desktop.
No-bullshit Habrahabr/Geektimes
! TM
tmfeed.ru##.menu.special
habrahabr.ru##.scroll_to_up
habrahabr.ru##.company_widgets
habrahabr.ru##.column-wrapper_bottom
habrahabr.ru##.popular_posts
habrahabr.ru##.similar-posts
habrahabr.ru##.bottom_buttons_panel
habrahabr.ru##.geektimes_posts
habrahabr.ru##.block_after_post
habrahabr.ru###print_tab
habrahabr.ru##.firskill__label
habrahabr.ru##.webui-popover
habrahabr.ru##.html_banner_wrap
habrahabr.ru##.shortcuts_item:not(.post)
geektimes.ru##.scroll_to_up
geektimes.ru##.company_widgets
geektimes.ru##.column-wrapper_bottom
geektimes.ru##.popular_posts
geektimes.ru##.similar-posts
geektimes.ru##.bottom_buttons_panel
geektimes.ru##.habrahabr_posts
geektimes.ru##.block_after_post
geektimes.ru###print_tab
geektimes.ru##.firskill__label
geektimes.ru##.webui-popover
geektimes.ru##.html_banner_wrap
geektimes.ru##.shortcuts_item:not(.post)
||geektimes.ru/viewcount
||habrahabr.ru/viewcount
||special.habrahabr.ru/api/navbarimage
||special.habrahabr.ru/api/toplink$domain=~tmfeed.ru
||special.habrahabr.ru/api/pornlink
||habrahabr.ru/hauusbx
@-moz-document regexp("https?:\\/\\/(?:habrahabr|geektimes)\\.ru\\/[^i]?.*") {
code {
font-family: "Consolas" !important;
font-size: 13px !important;
color: black !important;
}
code .keyword,
code .value,
code .tag,
code.css .value > span {
color: blue !important;
}
code .number,
code .string,
code .attribute {
color: red !important;
}
code .comment {
color: green !important;
}
code .preprocessor {
color: purple !important;
}
code .title,
code.css .class,
code.css .tag,
code.css .id,
code.css .pseudo,
code.css .at_rule,
code.css .at_rule > .keyword{
color: darkred !important;
}
code .hexcolor,
code .variable {
color: black !important;
}
code .annotation,
code .class .title {
color: #2B91AF !important;
}
/* clutter */
.sidebar_right, #TMpanel {
display: none;
}
.content_left {
padding-right: 0;
}
#layout .inner {
margin-top: 0;
}
#navbar {
bottom: 0 !important;
position: fixed !important;
}
/* centralize & fix width */
#layout {
max-width: 1000px;
min-width: 620px;
}
@media all and (max-width: 1000px) {
#layout {
margin-left: 0;
}
}
@media all and (min-width: 1000px) {
body {
padding-right: calc((100% - 1000px) / 3);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment