Skip to content

DTF: Фиксы редизайна by DonnerTechQ2

Screenshot of DTF: Фиксы редизайна

Details

AuthorDonnerTechQ2

LicenseNo License

Categorydtf.ru

Created

Updated

Size1.3 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Исправляет отображение дизайна DTF на широких экранах (16:9 и шире)

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         DTF: Фиксы редизайна
@version      20240419.15.27
@namespace    https://userstyles.world/user/DonnerTechQ2
@description  Исправляет отображение дизайна DTF на широких экранах (16:9 и шире)
@author       DonnerTechQ2
@license      No License
==/UserStyle== */

@-moz-document url-prefix("https://dtf.ru/") {
@media (min-width: 925px) {

.header__search {
    width: 380px;
    margin: 0;
}

.layout, .header__layout {
    max-width: 100%;
    /*grid-template-columns: var(--layout-left-aside-width) minmax(0,var(--layout-max-content-width)) var(--layout-left-aside-width);*/
    grid-template-columns: var(--layout-left-aside-width) minmax(0,var(--layout-max-content-width)) calc(var(--layout-left-aside-width) - 50px);
    gap: 50px;
}
    
.header__right {
    padding-right: var(--layout-left-aside-offset);
}
.header__right a {
  display: none;
}
.account-button a {
  display: flex;
}
.bell a {
  display: flex !important;
}
.user {
    padding-right: var(--layout-left-aside-offset);
}
.field__icon {
    display: none;
}
.field__wrapper {
    padding-left: 20px;
}
/*
.header {
    --theme-color-brand-header: #d9f5ff;
}
*/

.live {
    display: none;
}

}

:root {
    --layout-max-content-width: 940px;
}
}

Reviews

No reviews yet.