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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 97 промежуточных версий этого же участника)
Строка 1: Строка 1:
.alchemy-card {
body:before {
     background-color: #1a2a1a;
    content: "";
     border: 2px solid #338833;
    position: fixed;
     padding: 12px;
    top: 0;
     border-radius: 6px;
    left: 0;
     margin: 8px;
    right: 0;
     max-width: 600px;
    bottom: 0;
     color: #e6ffe6;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/36/Snowflakes_falling_transparent.gif");
     font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
     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;
}
}


.alchemy-ingredients div {
a:hover {
     padding: 4px 8px;
     color: #b3e5fc !important;
    background-color: #2277cc;
     text-shadow: 0 0 6px #b3e5fc;
     border-radius: 4px;
}
}


.alchemy-mix {
.wikitable {
     font-size: 1.2em;
     border-color: rgba(179, 229, 252, 0.6) !important;
     user-select: none;
     border-radius: 6px;
}
}


.alchemy-result-name {
.wikitable th {
     font-weight: bold;
     background: rgba(179, 229, 252, 0.1);
    font-size: 1.1em;
    padding: 4px 8px;
    background-color: #cc7744;
    border-radius: 4px;
    color: #fff0e6;
}
}


.alchemy-effect-block {
.mw-page-title-main:before {
    background-color: #2a1a12;
     content: " ";
    border: 1.5px solid #cc7744;
    padding: 8px;
     margin-top: 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #fff0e6;
    white-space: pre-wrap;
}
}


.alchemy-recipe-block {
.mw-page-title-main:after {
    background-color: #2a1a12;
     content: " ";
    border: 1.5px solid #cc7744;
    padding: 8px;
     margin-top: 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #fff0e6;
    white-space: pre-wrap;
}
}

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