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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 168 промежуточных версий этого же участника)
Строка 1: Строка 1:
.chem-recipe {
body:before {
  border-radius: 10px;
    content: "";
  margin-bottom: 1em;
    position: fixed;
  background-color: var(--bg, #1e1e1e);
    top: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    left: 0;
  overflow: hidden;
    right: 0;
  transition: 0.3s;
    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;
}
}


.chem-header {
@keyframes snowmove {
  padding: 0.8em 1em;
    from { background-position: 0 0; }
  font-size: 1.2em;
    to { background-position: 500px 1000px; }
  font-weight: bold;
  cursor: pointer;
  background-color: var(--header-bg, #2c2c2c);
  color: var(--header-color, #fff);
  user-select: none;
}
}


.chem-content {
h1, h2, h3, h4, h5 {
  padding: 1em;
    text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
  background-color: var(--content-bg, #2a2a2a);
    transition: text-shadow 0.3s;
  color: #e0e0e0;
}
}


.chem-inputs {
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
  list-style: none;
    text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
  padding-left: 0;
  margin: 0 0 0.5em 0;
}
}


.chem-inputs li {
a, a:visited {
  padding: 0.2em 0;
    transition: color 0.3s, text-shadow 0.3s;
  margin-left: 1em;
  position: relative;
}
}


.chem-inputs li::before {
a:hover {
  content: "•";
    color: #b3e5fc !important;
  position: absolute;
    text-shadow: 0 0 6px #b3e5fc;
  left: -1em;
  color: #aaa;
}
}


.chem-arrow {
.wikitable {
  text-align: center;
    border-color: rgba(179, 229, 252, 0.6) !important;
  margin: 0.5em 0;
    border-radius: 6px;
  font-size: 1.4em;
}
}


.chem-arrow img {
.wikitable th {
  vertical-align: middle;
    background: rgba(179, 229, 252, 0.1);
  margin-left: 0.5em;
}
}


.chem-output {
.mw-page-title-main:before {
  font-weight: bold;
    content: " ";
  margin-top: 0.5em;
  color: #b2ffb2;
}
}


.chem-effects {
.mw-page-title-main:after {
  margin-left: 1.2em;
    content: " ";
  margin-top: 0.5em;
}
}
.chem-recipe hr {
  border: none;
  border-top: 1px solid #444;
  margin: 0.6em 0;
}
/* Индивидуальные цвета */
.chem-mannitol .chem-header { background-color: #6a5acd; }
.chem-chlorine .chem-header { background-color: #7ac943; }
.chem-fluorine .chem-header { background-color: #f9d423; color: #000; }
.chem-iron .chem-header { background-color: #b0b0b0; color: #000; }
.chem-zombieacid .chem-header { background-color: #228b22; }

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