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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 99 промежуточных версий этого же участника)
Строка 1: Строка 1:
.alchemy-grid {
body:before {
  display: flex;
    content: "";
  flex-wrap: wrap;
    position: fixed;
  gap: 1em;
    top: 0;
  overflow-x: auto; /* горизонтальная прокрутка, если не помещается */
    left: 0;
  padding: 0.5em;
    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;
}
}


.alchemy-card {
@keyframes snowmove {
  flex: 1 1 22%; /* приблизительно 4 карточки в ряд */
    from { background-position: 0 0; }
  min-width: 280px;
    to { background-position: 500px 1000px; }
  border: 2px solid;
  border-radius: 8px;
  background-color: #1a2a1a;
  color: #eee;
  padding: 1em;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
}


.alchemy-title {
h1, h2, h3, h4, h5 {
  margin-top: 0;
    text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
  margin-bottom: 0.5em;
    transition: text-shadow 0.3s;
  color: #66cc66;
  font-weight: bold;
  text-align: center;
}
}


.alchemy-main-row {
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
  display: flex;
    text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
  justify-content: center;
  align-items: center;
  gap: 1em;
  margin-bottom: 0.7em;
  flex-wrap: nowrap;
}
}


.alchemy-ingredients, .alchemy-result {
a, a:visited {
  display: flex;
    transition: color 0.3s, text-shadow 0.3s;
  flex-direction: column;
  gap: 0.3em;
  min-width: 80px;
}
}


.alchemy-item {
a:hover {
  background-color: #338833;
    color: #b3e5fc !important;
  padding: 0.2em 0.4em;
    text-shadow: 0 0 6px #b3e5fc;
  border-radius: 3px;
  font-size: 0.9em;
  text-align: center;
}
}


.alchemy-plus {
.wikitable {
  font-weight: bold;
    border-color: rgba(179, 229, 252, 0.6) !important;
  color: #cc7744;
    border-radius: 6px;
  user-select: none;
  font-size: 1.1em;
}
}


.alchemy-effects {
.wikitable th {
  padding-left: 1.2em;
    background: rgba(179, 229, 252, 0.1);
  margin-top: 0;
  margin-bottom: 0.5em;
  color: #eee;
  font-size: 0.9em;
}
}


.alchemy-effects-desc {
.mw-page-title-main:before {
  font-style: italic;
    content: " ";
  font-size: 0.85em;
}
  color: #ccc;
 
  margin-top: 0.3em;
.mw-page-title-main:after {
  white-space: normal;
    content: " ";
}
}

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