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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показаны 103 промежуточные версии этого же участника)
Строка 1: Строка 1:
.alchemy-grid {
body:before {
  display: flex;
    content: "";
  flex-wrap: wrap;
    position: fixed;
  justify-content: flex-start;
    top: 0;
  gap: 1em;
    left: 0;
  overflow-x: auto;
    right: 0;
  padding-bottom: 1em;
    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 {
  border-style: solid;
    from { background-position: 0 0; }
  border-width: 2px;
    to { background-position: 500px 1000px; }
  border-radius: 8px;
  box-sizing: border-box;
  padding: 0.5em 1em;
  min-width: 250px;
  flex: 1 1 22%;
  color: #ccffcc;
  background-clip: padding-box;
}
}


.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);
  text-align: center;
    transition: text-shadow 0.3s;
  font-size: 1.1em;
  color: #ccffcc;
}
}


.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);
  align-items: stretch;
  font-size: 0.9em;
  text-align: center;
}
}


.alchemy-ingredients,
a, a:visited {
.alchemy-result {
    transition: color 0.3s, text-shadow 0.3s;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0.5em;
  border-top: none;
  border-bottom: none;
}
}


.alchemy-ingredients {
a:hover {
  border-right: 1px solid #555;
    color: #b3e5fc !important;
    text-shadow: 0 0 6px #b3e5fc;
}
}


.alchemy-result {
.wikitable {
  border-left: 1px solid #555;
    border-color: rgba(179, 229, 252, 0.6) !important;
    border-radius: 6px;
}
}


.alchemy-section-label {
.wikitable th {
  font-weight: bold;
    background: rgba(179, 229, 252, 0.1);
  margin-bottom: 0.3em;
  color: #ccffcc;
  display: block;
}
}


.alchemy-plus {
.mw-page-title-main:before {
  flex: 0 0 80px;
    content: " ";
  font-weight: bold;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
}


.alchemy-effects {
.mw-page-title-main:after {
  margin: 0.3em 0 0.5em 1.2em;
     content: " ";
  padding: 0;
  color: #ccffcc;
  list-style: disc inside;
}
 
.alchemy-effects-desc {
  margin-top: 0.3em;
  font-style: italic;
  color: #88cc88;
  font-size: 0.85em;
}
 
/* Адаптив для мобильных */
@media (max-width: 900px) {
  .alchemy-card {
     flex: 1 1 45%;
  }
}
@media (max-width: 500px) {
  .alchemy-card {
    flex: 1 1 100%;
  }
}
}

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