Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

MediaWiki:Common.css: различия между версиями

Страница интерфейса MediaWiki
Новая страница: «Размещённый здесь CSS будет применяться ко всем темам оформления: .hero-background { position: relative; width: 100%; height: 500px; margin-bottom: 50px; overflow: hidden; } .hero-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .hero-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 0 70px 70px...»
 
(нет различий)

Текущая версия от 14:41, 4 ноября 2025

/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.hero-background {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 50px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 70px 70px;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
    pointer-events: none;
    border-radius: 0 0 50px 50px;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 40px;
}

.hero-title {
    font-size: 4em;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #a653c4, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(166, 83, 196, 0.5));
}

.hero-subtitle {
    font-size: 1.5em;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
    margin-bottom: 30px;
}

.hero-button {
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    color: white !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #a653c4, #ec4899);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
    display: inline-block;
}

.hero-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.8);
}

@media (max-width: 768px) {
    .hero-background {
        height: 300px;
    }

    .hero-title {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .hero-image img {
        border-radius: 0 0 30px 30px;
    }

    .hero-background::after {
        border-radius: 0 0 30px 30px;
    }
}