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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 85 промежуточных версий этого же участника)
Строка 1: Строка 1:
/* Основная карточка */
body:before {
.alchemy-card {
    content: "";
     border: 1px solid #ccc;
    position: fixed;
     border-radius: 8px;
     top: 0;
     padding: 15px;
     left: 0;
     margin: 15px 0;
     right: 0;
     background-color: #f9f9f9;
     bottom: 0;
     box-shadow: 0 2px 5px rgba(0,0,0,0.1);
     background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/36/Snowflakes_falling_transparent.gif");
     font-family: sans-serif;
    background-repeat: repeat;
     pointer-events: none;
    opacity: 0.35;
     z-index: 2;
    animation: snowmove 60s linear infinite;
}
}


/* Заголовок рецепта */
@keyframes snowmove {
.alchemy-title {
     from { background-position: 0 0; }
     font-size: 24px;
     to { background-position: 500px 1000px; }
     margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ddd;
    color: #333;
}
}


/* Секции */
h1, h2, h3, h4, h5 {
.alchemy-section {
    text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
     margin-bottom: 15px;
     transition: text-shadow 0.3s;
}
}


/* Заголовок секции */
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
.section-header {
     text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
    cursor: pointer;
    font-weight: bold;
    padding: 8px;
    background-color: #eaeaea;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
     align-items: center;
}
}


.section-header:hover {
a, a:visited {
     background-color: #e0e0e0;
     transition: color 0.3s, text-shadow 0.3s;
}
}


/* Текст сворачивания */
a:hover {
.collapse-toggle {
     color: #b3e5fc !important;
    font-weight: normal;
     text-shadow: 0 0 6px #b3e5fc;
     color: #06c;
     font-size: 14px;
}
}


/* Содержимое секции */
.wikitable {
.section-content {
    border-color: rgba(179, 229, 252, 0.6) !important;
     padding: 10px 5px;
     border-radius: 6px;
}
}


/* Шаги рецепта */
.wikitable th {
.recipe-step {
     background: rgba(179, 229, 252, 0.1);
     margin: 8px 0;
    display: flex;
    align-items: center;
    padding-left: 5px;
}
}


.recipe-step input {
.mw-page-title-main:before {
     margin-right: 8px;
     content: " ";
}
}


.recipe-step label {
.mw-page-title-main:after {
    cursor: default;
     content: " ";
}
 
/* Разделитель */
.alchemy-divider {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 15px 0;
}
 
/* Эффекты */
.alchemy-effects {
     line-height: 1.5;
}
}

Текущая версия от 08:23, 13 ноября 2025

body:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/36/Snowflakes_falling_transparent.gif");
    background-repeat: repeat;
    pointer-events: none;
    opacity: 0.35;
    z-index: 2;
    animation: snowmove 60s linear infinite;
}

@keyframes snowmove {
    from { background-position: 0 0; }
    to { background-position: 500px 1000px; }
}

h1, h2, h3, h4, h5 {
    text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
    transition: text-shadow 0.3s;
}

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
    text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
}

a, a:visited {
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: #b3e5fc !important;
    text-shadow: 0 0 6px #b3e5fc;
}

.wikitable {
    border-color: rgba(179, 229, 252, 0.6) !important;
    border-radius: 6px;
}

.wikitable th {
    background: rgba(179, 229, 252, 0.1);
}

.mw-page-title-main:before {
    content: " ";
}

.mw-page-title-main:after {
    content: " ";
}