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

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


.alchemy-card.dark-theme .alchemy-title {
@keyframes snowmove {
     color: #f0f0f0;
     from { background-position: 0 0; }
    border-bottom: 1px solid #555;
     to { background-position: 500px 1000px; }
     font-size: 1.8em;
    margin-bottom: 15px;
    padding-bottom: 8px;
}
}


.alchemy-card.dark-theme .section-header {
h1, h2, h3, h4, h5 {
     background-color: #2a2a2a;
     text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
     color: #d0d0ff;
     transition: text-shadow 0.3s;
    cursor: pointer;
    font-weight: bold;
    padding: 8px;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
}


.alchemy-card.dark-theme .section-header:hover {
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
     background-color: #333;
     text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
}
}


.alchemy-card.dark-theme .collapse-toggle {
a, a:visited {
     color: #4da6ff;
     transition: color 0.3s, text-shadow 0.3s;
    font-weight: normal;
    font-size: 14px;
}
}


.alchemy-card.dark-theme .alchemy-divider {
a:hover {
     background: #444;
     color: #b3e5fc !important;
     border: 0;
     text-shadow: 0 0 6px #b3e5fc;
    height: 1px;
    margin: 15px 0;
}
}


.alchemy-card.dark-theme .recipe-step label {
.wikitable {
     color: #e0e0e0;
    border-color: rgba(179, 229, 252, 0.6) !important;
     border-radius: 6px;
}
}


.alchemy-card.dark-theme .recipe-step input[type="checkbox"] {
.wikitable th {
     filter: invert(80%);
     background: rgba(179, 229, 252, 0.1);
    margin-right: 8px;
}
}


.alchemy-card.dark-theme .section-content {
.mw-page-title-main:before {
     padding: 10px 5px;
     content: " ";
}
}


.alchemy-card.dark-theme .recipe-step {
.mw-page-title-main:after {
    margin: 8px 0;
     content: " ";
    display: flex;
    align-items: center;
    padding-left: 5px;
}
 
/* Общие стили */
.alchemy-section {
     margin-bottom: 15px;
}
}

Текущая версия от 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: " ";
}