Habrahabr Darkness

Based on "Habrahabr & Geektimes & TM Tango theme" and including the latest fixes.

当前为 2021-03-17 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name         Habrahabr Darkness
@description  Based on "Habrahabr & Geektimes & TM Tango theme" and including the latest fixes.
@author       Val Saven (https://valsaven.com)
@namespace    github.com/valsaven/userstyles
@supportURL   https://github.com/valsaven/userstyles/issues
@version      1.0.6
@license      MIT
==/UserStyle== */

@-moz-document url-prefix("http://habr.com"),
  url-prefix("https://habr.com"),
  url-prefix("http://tmfeed.ru"),
  url-prefix("https://tmfeed.ru") {
  .footer-block__title,
.company-app__title,
div.profile-section__about-text,
div.embed__caption-title,
.post__text_v2 .embed__caption-link,
span.defination-list__value,
.user-message__body {
    color: #c5c5c5;
  }

  .favorite-wjt__button.remove::before {
    color: #f8a70f !important;
  }

  .layout__row,
.layout__row_navbar,
.t-rec_pt_15 {
    background-color: #2e3436 !important;
    border: 0 solid #2e3436 !important;
  }

  .main_menu a,
a.user_link {
    color: #729fcf !important;
  }

  .tab_user {
    border-top: 1px solid #ebeaea;
  }

  .logo:hover:after,
.n-dropdown-menu__item-link:hover,
.n-dropdown-menu__item-link:hover:visited,
.btn_navbar_write-topic:hover {
    background: #eae8e8 !important;
    color: #636363 !important;
  }

  .add_post a img,
#header_bg,
#layout .top_banner img,
.supported_by_bookmate img {
    display: none !important;
  }

  svg.icon-svg_logo-geektimes,
svg.icon-svg_logo-habrahabr {
    color: #babdb6 !important;
  }

  .user-info__nickname_comment {
    color: #ccc;
  }

  .comment__head_topic-author {
    background-color: #4e4e4e;
  }

  .comment__head_new-comment {
    background-color: #323f4c;
  }

  .top-flows__item-title:visited {
    color: #508cb1 !important;
  }

  #TMpanel a,
.sidebar_right .block.for_authors_help .row a,
.sidebar_right .block.about_exchange .row a,
.post-type-selector {
    color: #6da3bd !important;
  }

  .content_left .submenu .item.tab_settings {
    margin: 0 !important;
  }

  .add_post a {
    display: inline !important;
  }

  body,
.inner,
#layout,
.help_holder,
.help_holder dl dd,
.help_holder dl dt,
.user_profile dt,
.user_profile .fullname,
.user_profile .rating-place,
.comments_list .comment_item .message.bad5,
.comments_list .comment_item .message.bad4,
.comments_list .comment_item .message.bad3,
.comments_list .comment_item .message.bad2,
.comments_list .comment_item .message.bad1,
form .item label,
#layout .wrapper .inner,
.notification_table tr td,
.notification_table tr th,
.company_header .name a,
.App > .container,
.Header .submenu,
.Posts ul li .meta .item.highlighted,
body.nl .layout,
body.nl .main-navbar,
body.nl .layout__navbar,
details.spoiler,
.post__text_v2 code,
.dfp-slot,
.default-block,
.megapost-teasers,
.default-block__header,
.teaser__body-title,
.t-text_md,
.company-info__author,
.author-panel__user-info,
.page-header__info-title,
.page-header__info-desc,
.tm-editor__textarea_comment,
.h-message__controls,
#allrecords {
    background: #2e3436 !important;
    color: #babdb6 !important;
  }

  .author-panel,
.user-info__contacts,
.post-share,
.user-info__buttons a {
    border-color: #808080 !important;
  }

  .post-share span,
.user-info__buttons a {
    color: #808080 !important;
  }

  .user-info__buttons a {
    background: transparent !important;
  }

  .poll-result__item .poll-result__data .poll-result__data-label {
    color: #80868a;
  }

  .poll-result__item .poll-result__data .poll-result__data-label.poll-result__my-vote {
    color: #5e8eac;
  }

  .user-info__about .user-info__links .user-info__fullname,
.user-info__about .user-info__specialization {
    color: #babdb6;
  }

  .sidebar_right .block,
.editor .panel,
.editor .text-holder,
.html_format pre code,
.html_format code,
#global_notify .inner,
.recovery_mode,
.blue_buttons_panel,
.spoiler_text,
.company_widgets *,
.description,
.corporation_head .menu,
.corporate_blog,
.company_info,
.block > .line-r,
.for_users_only_msg,
.inner_notice,
.can_select .title_list ul,
.companies .company,
.block_after_post .block,
#TMpanel,
#TMpanel a.current,
.bottom_promo_blocks .block,
.block a,
.conversation_page .messages .message .info,
.conversation_page .messages .message .info *,
.sidebar_right .block.for_authors_help .row,
.sidebar_right .block.about_exchange .row,
.Sidebar .block,
.similar_posts,
.live_broadcast,
.author-info,
.post-type,
.author-info__name,
.author-info__nickname,
.postinfo-panel,
.dont-add-our-site-pls,
.live-broadcast,
.similar-posts,
.tabs__menu,
.columns-group .columns-group__column,
.n-dropdown-menu,
.menu_sub,
.lain_13_what_are_you_doing,
.user-popover,
.sidebar-block,
.xyz_wrapper_inner,
.no_please_one_one_one,
.html_banner_wrap .html_banner_spacer,
.editor,
.editor .editor__footer,
.informer__cell,
.informer__text,
.column-wrapper .sidebar_right .block,
.informer,
.promo-block,
.post__text-html code,
.post-type-selector,
.dropdown__user-stast,
.dropdown-container,
.html_banner,
body.nl .layout__elevator,
.t265__wrapper,
.tm-editor_comments,
a.partner-info {
    background: #272c2d !important;
    color: #babdb6 !important;
    border: none !important;
  }

  .tabs-menu {
    border-bottom: 1px solid #272c2d !important;
  }

  .promo-block__footer {
    background: #272c2d !important;
    color: #babdb6 !important;
  }

  .content-list_promo .content-list__item {
    border-color: #babdb6 !important;
  }

  .promo-block,
.promo-block__service {
    border: solid 1px #babdb6 !important;
  }

  .tab-item,
.content-list_posts .content-list__item,
.editor .editor__footer,
body.nl .layout__navbar {
    border: none !important;
  }

  .company_info .info {
    overflow: visible !important;
  }

  #navbar .nav_panel,
.btn_navbar_user-dropdown > img {
    background-color: #272c2d !important;
  }

  .dropdown_user {
    border-color: #babdb6 !important;
    border: 1px solid !important;
    border-radius: 3px !important;
  }

  .t-text_md,
.t-descr {
    font-weight: normal !important;
  }

  #navbar .nav_panel .tab:hover {
    background-color: #eae8e8 !important;
  }

  #navbar .nav_panel .tab.open,
a.tab-item:hover,
.menu__item-tab:hover {
    background-color: #d4d5d3 !important;
  }

  #navbar .nav_panel .tab .g-icon,
.sidebar_right .block.for_authors_help .row .g-icon,
.sidebar_right .block.about_exchange .row .g-icon,
.post_shortwrite h2.title a.post_title,
.wysiwyg_wrapper .help_holder h4,
.Posts ul li h2 a,
.views-count_post,
.favorite-wjt,
.favorite-wjt__counter,
.live-broadcast__title,
.menu__item-tab a,
.tabs-menu a,
.checkbox__label,
.promo-block__title-link,
.attrs,
.attrs__item,
.menu_sub .menu__item-link_current,
a.comment-item__username,
.article__body-text,
.post-comments__link,
.digest *,
.sidebar-block__title,
.similar-posts__title,
.post__title_link,
.post__title-arrow,
.post__title-text,
.post__title,
.nav-links__item-link,
.nav-links__item-link:visited,
.btn_flow-toggle,
.similar-posts__flow-link,
.similar-posts__flow-link:visited,
.partner-info__description,
.partner-info__title {
    color: #b8b8b6 !important;
  }

  .nav-links__item-link:hover {
    color: #5096b1 !important;
    text-decoration: none;
  }

  #navbar .nav_panel .tab:hover .g-icon,
#navbar .nav_panel .tab.open .g-icon,
a.tab-item:hover,
.menu__item-tab:hover,
.tracker_page table.tracker_comments tr.new a.username {
    color: #636363 !important;
  }

  .html_format pre code,
.n-dropdown-menu {
    border: 1px #babdb6 dashed !important;
  }

  input[type=text],
.chzn-choices,
body.nl .layout__elevator:hover {
    background: #babdb6 !important;
    color: #000 !important;
  }

  .content_left table.menu tr td a,
.content_left .submenu .item,
.Header ul.topmenu li a {
    background: #555753 !important;
    color: #eeeeec !important;
    border: 1px solid #d4d4d4 !important;
  }

  .content_left table.menu tr td.active a,
.content_left .submenu .item.active,
.Header ul.topmenu li:first-child a.active,
.Header ul.submenu li,
.active .menu__item-tab,
.tab-item_current,
.open .icon_cog,
.btn_outline_grey:hover,
.icon_cog.btn_outline_grey:hover::before,
.open .icon_cog::before,
.tracker_page table.tracker_folowers tr.new *,
.promo-block__service {
    background-color: #babdb6 !important;
    color: #19242e !important;
  }

  .Header ul.submenu li {
    border-bottom: 1px solid #d4d4d4 !important;
    border-top: 1px solid #d4d4d4 !important;
  }

  .Header ul.submenu li:first-child {
    border-left: 1px solid #d4d4d4 !important;
  }

  .Header ul.submenu li:last-child {
    border-right: 1px solid #d4d4d4 !important;
  }

  .content_left table.menu tr td,
.postinfo-panel * {
    border: 0 !important;
  }

  .content_left .submenu,
.footer_logos,
#layout .wrapper,
.corporation_head .menu a {
    background: none !important;
  }

  .content_left .submenu .item a,
.sidebar_right .block a,
.block > .title,
.post_type_selector h1.title,
.user_header h2.username a,
.live-broadcast a,
.views-count_post::before,
.favorite-wjt__button::before,
.favorites-count::before,
.icon_fav::before,
.voting-wjt__button_plus:disabled,
.voting-wjt__button_minus:disabled,
.post-comments__link_all::before,
.postinfo-panel__item_comments .post-comments__link::before,
.post-preview__link,
.post-preview__link:visited,
.top-hubs__item-title,
.top-hubs__item-title:hover,
.top-hubs__item-title:visited,
.content-list_promo .content-list__item-link,
.content-list_promo .content-list__item-link:visited,
.editor .editor__footer .markdown_checkbox,
.page-header__title,
a.informer__button:not(#\0 ):not(#\0 ),
.fonts-loaded .post__flow span,
.fonts-loaded .post__title span,
.fonts-loaded .post__title_link span,
.about_exchange .row .g-icon,
.for_authors_help .row .g-icon,
.hljs-keyword,
.hljs-selector-tag,
.hljs-subst,
.n-dropdown-menu__item-link_flow,
.n-dropdown-menu__item-link,
.n-dropdown-menu__item-link:visited,
.t-title,
.t-descr,
.t-text,
.t-name,
.t-descr_xs div,
.post__tags-label,
.comments-section__head-title {
    color: #babdb6 !important;
  }

  .content_left .submenu .item.active a,
.Header ul.submenu li a {
    color: #19242e !important;
  }

  .Header ul.submenu li a.active,
.Header ul.submenu li a:active,
.Posts ul li .meta .item.highlighted {
    font-weight: bold !important;
  }

  .content_left .submenu {
    padding: 0 !important;
  }

  .post-author__pic_default::before,
.comment-item__avatar-img_default::before,
.userinfo a,
.profile-header *,
.hljs-addition,
.hljs-deletion {
    background-color: inherit !important;
  }

  .main_menu a.active,
a.username,
time,
.corporation_head .menu a {
    color: #babdb6 !important;
  }

  .hljs-attribute,
.hljs-name,
.hljs-tag {
    color: #729fcf !important;
  }

  .hljs-addition {
    color: #4e9a06 !important;
  }

  .hljs-deletion {
    color: #c00 !important;
  }

  .userpanel a,
.userpanel a:visited,
#header_mouse_activity a,
.title_list li.active a {
    color: #e9b96e !important;
  }

  .post h1.title,
h1.title .post_title,
.page_head h2.title,
.habralenta_settings p {
    color: inherit !important;
    background: none !important;
    padding: 0 !important;
  }

  .post .infopanel {
    border: 1px solid #babdb6 !important;
    background: #272c2d !important;
    color: #eeeeec !important;
  }

  .comment_item .info,
.comment_item .info.is_new,
.comment_item .info.is_topic_starter,
.comment_item .info.is_author {
    background: #272c2d !important;
    color: #babdb6 !important;
  }

  .voting a.plus,
.voting a.minus,
.voting span.plus,
.voting span.minus,
.vote_plus,
.vote_minus,
.new_vacanies .title {
    background: none !important;
  }

  .hubs,
.infopanel .author,
.infopanel .comments,
.infopanel .pageviews,
.infopanel .favorite a.remove,
.tags,
.comments_list h2.title,
.social_accounts .tw,
.social_accounts .fb,
.social_accounts .vk,
.user_header .send_mail {
    background: none !important;
    padding: 0 !important;
  }

  .Sidebar .block_brainstorage .title:after {
    content: "Brainstorage" !important;
  }

  .category-list .category .title a {
    text-decoration: none !important;
    border-bottom: 1px dashed #babdb6 !important;
  }

  .category-list .category .title a:hover {
    color: #eeeeec !important;
  }

  .supported_by_bookmate a:after {
    content: "BOOKMATE" !important;
  }

  .vote_minus.voted:after,
.sidebar_right .block .posts_list .post_item .count {
    color: #c50615 !important;
  }

  .vote_plus.voted:after {
    color: #66cc66 !important;
  }

  .vote_plus:after,
.vote_minus:after {
    font-size: 25px !important;
  }

  .social_accounts a.vk:after {
    content: "VK" !important;
  }

  .social_accounts a.tw:after {
    content: "Tw" !important;
  }

  .social_accounts a.fb:after {
    content: "Fb" !important;
  }

  .user_header .send_mail:after {
    content: "Отправить письмо" !important;
    display: inline-block !important;
    border-radius: 2px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

  .content-list__item_geektimes::before,
.content-list__item_megamozg::before,
.content-list__item_habrahabr::before {
    border-radius: 10px !important;
  }

  .Posts ul li .meta .favicon {
    border-radius: 9px !important;
  }

  .social_accounts a.vk:after,
.social_accounts a.tw:after,
.social_accounts a.fb:after,
.social_accounts a {
    padding: 5px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
  }

  .flag,
a.edit:after,
a.flag.flag_sandbox {
    background: none !important;
    font-size: 15px !important;
    vertical-align: top !important;
    background: #555753 !important;
    color: #eeeeec !important;
    border: 1px solid #d4d4d4 !important;
    border-radius: 2px !important;
    margin-top: 7px !important;
  }

  .flag:after {
    border: none !important;
  }

  a.grey,
.grey a,
a.post_name {
    color: #babdb6 !important;
  }

  a:visited {
    color: #888 !important;
  }

  a.add,
.similar_posts h2.title,
.live_broadcast h2.title {
    background: none !important;
  }

  .infopanel .favorite a.remove:before {
    color: #e9b96e !important;
  }

  .infopanel .comments:before {
    content: "Комментариев:" !important;
    color: #babdb6 !important;
  }

  .infopanel .comments a {
    padding-left: 7px !important;
    font-size: 10px !important;
  }

  .similar_posts,
.live_broadcast,
.no_please_one_one_one {
    padding: 10px !important;
    padding-bottom: 20px !important;
  }

  .infopanel .pageviews:before {
    content: "" !important;
    margin-right: 5px !important;
    margin-left: 3px !important;
    font-size: 16px !important;
  }

  .buttons button,
.buttons button:disabled:active,
.buttons a.button,
.buttons input:disabled:active,
.buttons input:disabled,
.buttons input,
.buttons input:hover,
.buttons input:active,
.buttons a.button:hover,
.buttons a.button:active,
.social_accounts .vk:after,
.social_accounts .tw:after,
.social_accounts .fb:after,
.buttons button.blue:hover,
.buttons a.button.blue:hover,
.buttons input.blue:hover,
.buttons button.blue,
.buttons a.button.blue,
.buttons input.blue,
.buttons button.blue:active,
.buttons a.button.blue:active,
.buttons input.blue:active,
.user_header .send_mail:after,
.buttons button.green:hover,
.buttons a.button.green:hover,
.buttons input.green:hover,
.buttons input.big,
.buttons input.big:hover,
.buttons input.big:active,
.buttons input.green,
.buttons a.button.green,
.dont-add-our-site-pls .adb-btn,
#people-tags li a,
.btn_blue,
.lain_13_what_are_you_doing .adb-btn,
.article__button-more_habr:hover,
.article__button-more_habr,
.user-popover .btn,
.informer__button,
.search-form__button {
    background: #555753 !important;
    background-color: #555753 !important;
    background-image: none !important;
    color: #eeeeec !important;
    border: 1px solid #d4d4d4 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .comments_form h2.title {
    background: none !important;
    padding-left: 0 !important;
  }

  .post .hubs::before {
    position: relative !important;
  }

  .comments_list .comment_item .message,
#people-tags li {
    opacity: 1 !important;
  }

  a.edit img {
    display: none !important;
  }

  a.edit:after {
    content: "Правка" !important;
    text-decoration: none !important;
    display: inline-block !important;
    height: 27px !important;
    margin: 0 !important;
    padding-right: 5px !important;
    padding-left: 3px !important;
    vertical-align: top !important;
  }

  .tags,
.tags li a,
.Posts ul li .meta {
    font-size: 12px !important;
    color: #999999 !important;
  }

  .post .content .poll table.result tr td strong,
.attrs__item {
    color: #999999 !important;
  }

  .author_banned,
.html_format h1,
.html_format h2,
.html_format h3,
.html_format h4,
.html_format h5,
.html_format h6 {
    color: #999999 !important;
  }

  .folding-dot {
    background-image: none !important;
    background: #babdb6 !important;
  }

  .poll_title {
    color: #babdb6 !important;
  }

  #header_mouse_activity #header,
#header_mouse_activity {
    top: 0 !important;
    position: relative !important;
  }

  .t-col {
    width: 80% !important;
  }

  #layout .wrapper .inner {
    padding: 0 !important;
  }

  .corporation_head .submenu {
    border: none !important;
  }

  .corporate_blog,
.company_info,
.companies .company {
    border-radius: 5px 5px 5px 5px !important;
    padding: 20px 15px !important;
  }

  body {
    min-width: inherit !important;
  }

  .sidebar-block_top-hubs {
    padding-bottom: 20px !important;
  }

  .corporation_head .menu {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 10px !important;
    width: auto !important;
  }

  .corporation_head .menu a {
    padding-bottom: 10px !important;
  }

  .folding-dot {
    display: none !important;
  }

  .count_new,
.new,
.new_hubs {
    color: #439519 !important;
  }

  code .subst,
code .title {
    color: #e1c908 !important;
  }

  code .pi code .id,
code .attr_selector,
code .pseudo,
code .literal,
code .keyword,
code .hexcolor,
code .css .function,
code .ini .title,
code .css .class,
code .list .title,
code .tex .command {
    color: #89b3c8 !important;
  }

  code .tag {
    color: #69a0bb !important;
  }

  .username .bar,
.result tr td .bar {
    background-color: #555753 !important;
    border: #d4d4d4 solid 1px !important;
  }

  tr td .bar.winner {
    background-color: #d4d4d4 !important;
    border: #555753 solid 1px !important;
  }

  .sidebar_right .block.top_hub_authors table.users tr td.h_rating,
.sidebar_right .block.top_hub_invest table.users tr td.h_rating {
    color: #b8b8b6 !important;
  }

  .sidebar_right .block.top_hub_authors table.users tr.top_1 td.h_rating,
.sidebar_right .block.top_hub_authors table.users tr.top_2 td.h_rating,
.sidebar_right .block.top_hub_authors table.users tr.top_3 td.h_rating,
.sidebar_right .block.top_hub_invest table.users tr.top_1 td.h_rating,
.sidebar_right .block.top_hub_invest table.users tr.top_2 td.h_rating,
.sidebar_right .block.top_hub_invest table.users tr.top_3 td.h_rating {
    color: #439519 !important;
  }

  #xpanel .new {
    color: white !important;
  }

  .mail_subscription_settings,
.mail_subscription_settings .fields label {
    background: #272c2d !important;
    border: none !important;
    color: #babdb6 !important;
  }

  .chosen-container-single .chosen-single,
.chosen-container-multi .chosen-choices,
.post-type-selector:hover {
    background-color: #babdb6 !important;
  }

  .Header ul.submenu {
    padding: 0 !important;
  }

  .dont-add-our-site-pls .adb-btn {
    padding: 0 8px !important;
  }

  .dont-add-our-site-pls .adb-text {
    padding: 20px 0 0 30px;
  }

  .sidebar_right .block.about_exchange .line,
.sidebar_right .block.for_authors_help .line {
    height: 0 !important;
  }

  .main .logo img {
    display: none !important;
  }

  .post__flow,
.post__title,
.post__title_link,
.informer__text,
.informer__button,
.top-flows__item-title,
.top-hubs__item-title,
.top-hubs__item-title:visited,
.page-header__title {
    font-weight: normal !important;
  }

  .h-message__content,
.checkbox__label_poll,
.radio__label_poll,
.default-block__polling-title,
.post__text-html,
.news-block__title-link,
.comment__message,
.comment-form__preview,
.companies-rating__name,
.layout > .box > p,
.comment-form > .comment-form__title > .comment-form__title-text,
.company-app__description,
.list-snippet__username .list-snippet__fullname,
.timeline__item {
    color: #b3b3b3;
  }

  span.defination-list__label,
.post-info__title,
.layout > .box > h1,
.footer__copyright,
.list-snippet .list-snippet__lifetime,
.post__time,
.profile-section__title,
.profile-section__invited,
.h-page__title,
.h-form-field__label,
.h-form__group-title {
    color: #808080 !important;
  }

  div[data-customstyle=yes] {
    color: #b3b3b3 !important;
  }

  .default-block__header-title {
    color: #7d8f9e !important;
  }

  .comment__folding-dotholder::before {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAFCAIAAADKYVtkAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAEVJREFUGNNj1DMxYyAXsDAwMPQtXHP16WttadGi+BCSNDMxMDBcffJakJvj6pPXpNrMxMDAoC0r+v7LD21ZUVI1M1LiZwCzJhA8e7Vj8QAAAABJRU5ErkJggg==") !important;
  }

  pre code {
    background: #272c2d !important;
    color: #b3b3b3 !important;
    border: none !important;
  }

  blockquote {
    background: #272c2d !important;
    border-left: 2px solid #b3b3b3;
    font-style: italic;
  }

  .tracker_page table.tracker_comments {
    background-color: #272c2d;
  }

  .tracker_page table.tracker_comments tr.new {
    background-color: #2e3436;
  }

  .toggle-menu {
    background-color: #2e3436 !important;
  }

  .post__wrapper .post__translatation {
    background-color: #272c2d;
  }
  .post__wrapper .post__translatation a.post__translatation-link {
    color: #918aff;
  }

  .news-block__title {
    color: #7d8f9e !important;
  }

  .news-topic__title {
    color: #6667a3 !important;
  }

  ::-webkit-input-placeholder,
:-ms-input-placeholder,
::placeholder {
    color: #000 !important;
    opacity: 1;
  }

  /* https://habr.com/en/users/.../comments/ */
  .user_comments .content-list__item .comment__post-title .comment__post-link {
    color: #2f93d0;
  }
  .user_comments .content-list__item .comment__post-title .comment__post-link :hover {
    text-decoration: underline;
  }
  .user_comments .content-list__item .comment__post-title .comment__post-link:visited {
    color: #548eaa;
  }

  .promo-block .promo-block__content .content-list_promo .content-list__item_promo .promo-item .promo-item__title {
    color: #babdb6;
  }
  .promo-block .promo-block__content .content-list_promo .content-list__item_promo .promo-item .promo-item__title:hover {
    color: #548eaa;
  }
  .promo-block .promo-block__content .content-list_promo .content-list__item_promo .promo-item:hover {
    background-color: transparent;
  }

  .post-info .post-info__title:hover {
    text-decoration: underline;
  }
}
@-moz-document url-prefix("http://habr.com/en/company/"),
  url-prefix("https://habr.com/en/company/"),
  url-prefix("http://habr.com/ru/company/"),
  url-prefix("https://habr.com/ru/company/") {
  #header_mouse_activity #header {
    background: #272c2d !important;
    box-shadow: none !important;
  }

  .profile-section__about-text,
.empty-placeholder__message {
    color: #babdb6 !important;
  }

  .defination-list__label {
    color: #808080 !important;
  }

  .empty-placeholder {
    background: #2b2b2b;
    border-radius: 12px;
  }

  .company_widgets .block,
.corporate_blog,
.company_info,
.announce {
    border-radius: 5px 5px 5px 5px !important;
    padding: 20px 15px !important;
  }

  #header .main_menu {
    padding-left: 10px !important;
  }

  #layout .wrapper {
    margin-left: 15px !important;
  }
}
@-moz-document domain("m.habr.com") {
  .logo {
    width: 54px !important;
    height: 54px !important;
    background: none !important;
    display: inline !important;
  }

  a {
    color: #6da3bd !important;
  }

  .banner_footer,
.banner_header {
    background: #272c2d !important;
    color: #babdb6 !important;
  }

  .logo:after {
    width: 54px !important;
    height: 54px !important;
    font-size: 40px !important;
    padding-left: 13px !important;
    padding-bottom: 10px !important;
    color: #d4d5d3 !important;
    display: inline-block !important;
  }

  body,
.comments_list .comment_item,
.comments_list .comment_item.bad .text {
    background: #2e3436 !important;
    color: #babdb6 !important;
  }

  .comments_list .comment_item + .comment_item {
    border-top: 1px solid #babdb6 !important;
  }

  .comments .text,
.comments_list .comment_item.bad .text {
    opacity: 1 !important;
  }

  #header,
.share_to_social_networks,
#footer,
#footer .links a,
.copyright,
a.post_inner:active,
.list_item:active,
.post_show .bottom_buttons_panel,
.text_html pre code {
    background: #272c2d !important;
    color: #babdb6 !important;
  }

  .title,
.text,
h1,
h2,
h3,
h4,
h5,
h6,
.username {
    color: #babdb6 !important;
  }

  #sidebar .username {
    color: #636363 !important;
  }

  .btn,
a.btn,
.comments_count {
    background: #555753 !important;
    background-color: #555753 !important;
    background-image: none !important;
    color: #eeeeec !important;
    border: 1px solid #d4d4d4 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .post_show .bottom_buttons_panel .save_buttons a.favorite {
    margin-right: 101px !important;
  }

  .comments_count {
    background-color: #555753 !important;
    color: #eeeeec !important;
    border: none !important;
  }

  .comments_count.has_new {
    background-color: #b8b8b6 !important;
    color: #555753 !important;
    border-color: #272c2d !important;
  }

  .comments_count {
    border-radius: 30px !important;
    width: 40px !important;
    height: 40px !important;
    vertical-align: bottom !important;
    padding-top: 13px !important;
    display: inline-block !important;
  }

  .copyright,
.similar_posts .title {
    border: none !important;
  }

  .flag,
a.edit:after {
    background: none !important;
    font-size: 12px !important;
    vertical-align: top !important;
    background: #555753 !important;
    color: #eeeeec !important;
    border-radius: 2px !important;
    margin-top: 3px !important;
  }

  .posts .post,
.list_items .list_item,
.comments .comment + .comment {
    border-color: #babdb6 !important;
  }

  .layout__row,
.layout__row_navbar {
    background-color: #2e3436 !important;
    border: 0 solid #2e3436 !important;
  }
}
@-moz-document domain("m.habr.com") {
  .logo:after {
    content: "H" !important;
  }
}
@-moz-document url-prefix("http://tmfeed.ru"), url-prefix("https://tmfeed.ru") {
  .Sidebar .block_brainstorage .title,
.Sidebar .block_freelansim .title {
    font-size: 24px !important;
  }

  .Sidebar .block_freelansim .title {
    margin-bottom: 20px !important;
  }
}