Skip to content

Yandex Dzen Dark by tutah1

Screenshot of Yandex Dzen Dark

Details

Authortutah1

LicenseNo License

Categorydzen.ru

Created

Updated

Size4.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

● Тёмная тема
● [опция] Отключение рекламы
● [опция] Отключение телефонного режима чтения (как на скриншоте)

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Yandex Dzen Dark
@version      20230413.14.24
@namespace    ?
@preprocessor stylus

@var checkbox disableAdds "Отключение рекламы" 1
@var checkbox HorisontalMode "Отключение узкости" 1

==/UserStyle== */

@-moz-document domain("dzen.ru") {
._theme_white, .Theme_color_light, :root 
{
    --zenColorFill6: rgba(255,255,255,0.06);
    --zenColorFill12: rgba(255,255,255,0.12);
    --zenColorFill18: rgba(255,255,255,0.18);
    --zenColorFill24: rgba(255,255,255,0.24);
    --zenColorFill30: rgba(255,255,255,0.3);
    --zenColorAppliedImageFill: rgba(255,255,255,0.06);
    --zenColorAppliedOverlay: rgba(255,255,255,0.4);
    --zenColorAppliedHover: rgba(255,255,255,0.05);
    --zenColorAppliedStroke: rgba(255,255,255,0.12);
    --zenColorAppliedSeparator: rgba(255,255,255,0.08);
    --zenColorAppliedLink: #0060d0;
    --zenColorAppliedLinkHover: #62aafd;
    --zenColorAppliedButtonRegularBg: rgba(255,255,255,0.06);
    --zenColorAppliedHighlight: rgba(0,119,255,0.05);
    --zenColorAppliedTrimmerNegative: rgba(255,51,51,0.1);
    --zenColorAppliedTabbarActiveTab: #ff5317;
    --zenColorAppliedInputFocus: #000;
    --zenColorBackgroundOverflow: #282828;
    --zenColorBackgroundPrimary: #121212;
    --zenColorBackgroundSecondary: #3c3c3c;
    --zenColorBackgroundTertiary: #fff;
    --zenColorTextAndIconsPrimary: #fff;
    --zenColorTextAndIconsSecondary: rgba(255,255,255,0.66);
    --zenColorTextAndIconsTertiary: rgba(255,255,255,0.45);
    --zenColorTextAndIconsDisabled: rgba(255,255,255,0.25);
    --zenColorTextAndIconsAccent: #ff5317;
    --zenColorTextAndIconsPrimaryLow: rgba(255,255,255,0.78);
    --zenColorTextAndIconsTertiaryLow: rgba(255,255,255,0.38);
    --zenColorAccentsRed: #f33;
    --zenColorAccentsYellow: #fc0;
    --zenColorAccentsBlue: #38a8d9;
    --zenColorAccentsGreen: #c7f207;
    --zenColorAccentsViolet: #8533ff;
    --zenColorStateAccentHover: rgba(255,83,23,0.1);
    --zenColorBrandAlice: #6839cf;
    --zenColorZenBackgroundOverflow: #fff;
    
}

*{color:white} /*Hardcore mode*/



/*СТАТЬЯ*/
.article /*Фон*/
{
    background-color: var(--zenColorBackgroundPrimary)
}

.ui-lib-header-container2._is-publishers-header /*Шапка*/
{ 
    background-color: #ffffff14
}

.ui-lib-search__collapsed-button._is-collapsed.ui-lib-search__collapsed-button /*Поиск текст*/
,.ui-lib-search._is-redesign-icon .ui-lib-search__magnifier
{
    color:var(--zenColorTextAndIconsSecondary)
}

.ui-lib-search._is-redesign-icon .ui-lib-search__magnifier /*Поиск иконка*/
{
   filter:invert(100%);
}

.ui-lib-search__collapsed-button:hover /*Кнопка Поиск*/
,[class*="header-button"]:hover 
{
    background-color: var(--zenColorAppliedHover)
}

.article-recommender
{
    background:transparent
}



/*Цвет текста*/
.ui-lib-rich-text._theme_white .ui-lib-rich-text__expand-ellipsis._color_primary, .ui-lib-rich-text._theme_white .ui-lib-rich-text__text._color_primary, body.Theme_color_light .ui-lib-rich-text__expand-ellipsis._color_primary, body.Theme_color_light .ui-lib-rich-text__text._color_primary, html:not(.document_dark_yes) .ui-lib-rich-text._theme_portal .ui-lib-rich-text__expand-ellipsis._color_primary, html:not(.document_dark_yes) .ui-lib-rich-text._theme_portal .ui-lib-rich-text__text._color_primary 
{
    color: var(--zenColorTextAndIconsPrimary)
}

/*Рекоменды снизу*/
.feed._is-desktop-redesign._is-redesign-desktop-cards-has-shadows .card-wrapper._theme_white, .feed._is-desktop-redesign._is-redesign-desktop-cards-has-shadows .card-wrapper body.Theme_color_light, html:not(.document_dark_yes) .feed._is-desktop-redesign._is-redesign-desktop-cards-has-shadows .card-wrapper._theme_portal 
{
    background-color:#0076ff07;
}

/*Заголовок рекомендов снизу*/
.card-layer-content-header-view._theme_white, .card-layer-content-header-view body.Theme_color_light, html:not(.document_dark_yes) .card-layer-content-header-view._theme_portal
{
    color: var(--zenColorAccentsBlue)
}

/*ОТКЛЮЧЕНИЕ РЕКЛАМЫ*/
if disableAds {
    .article__right /*Реклама справа*/
    ,.publication-columns-layout__columns-container.article__content.article__content_theme_white.article__content_limited /*Реклама снизу*/
    {
        display:none!important;
    }

    .feed__row._items-count_1:not(:has( div[data-testid="Карточка статьи"])) {
       display:none!important;
    }
}

if HorisontalMode {
    .publication-columns-layout__middle {
        max-width:none
    }
}
}

Reviews

No reviews yet.