Skip to content

стиль от muzeek0 by fablysyyy

Details

Authorfablysyyy

Licensehttps://remanga.org/

Categoryhttps://remanga.org/

Created

Updated

Size1.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Notes

я сам сделаль)

Source code

/* ==UserStyle==
@name           Custom Background
@namespace      stylish
@version        1.0
@description    Заменяет фон сайта на ваш GIF или видео
@author         Вы
==/UserStyle== */

@-moz-document domain("example.com") { 
    /* === УСТАНОВКА ФОНА === */
    /* Замените ссылку ниже на свою GIF/WebM/WebP */
    :root {
        --custom-bg: url('https://i.gifer.com/33HI.gif');
    }

    html, body {
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: auto;
        background: var(--custom-bg) no-repeat center center fixed;
        background-size: cover;
    }

    /* Убираем фон у ключевых элементов */
    .z-\[2\] > .flex {
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Создаём дополнительный слой для GIF/видео */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        background: var(--custom-bg) no-repeat center center fixed;
        background-size: cover;
    }

    /* Сохраняем фон у важных элементов интерфейса */
    button, .menu, .header, .footer, .card, .modal, .popup, p-md {
        background: inherit !important;
        opacity: 0.9;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Исправление стилей для nth-child */
    [class*="nth-child"] {
        all: unset !important;
        display: revert !important;
    }
}

Reviews

No reviews yet.