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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показаны 93 промежуточные версии этого же участника)
Строка 1: Строка 1:
.alchemy-card {
body:before {
  border-style: solid;
    content: "";
  border-width: 2px;
    position: fixed;
  border-radius: 10px;
    top: 0;
  box-sizing: border-box;
    left: 0;
  padding: 0.8em 1em;
    right: 0;
  min-width: 250px;
    bottom: 0;
  flex: 1 1 22%;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/36/Snowflakes_falling_transparent.gif");
  color: #eefcee;
    background-repeat: repeat;
  background-clip: padding-box;
    pointer-events: none;
  position: relative;
    opacity: 0.35;
  overflow: hidden;
    z-index: 2;
  transition: box-shadow 0.3s, transform 0.3s;
    animation: snowmove 60s linear infinite;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}
}


.alchemy-card:hover {
@keyframes snowmove {
  box-shadow: 0 0 10px rgba(170, 255, 170, 0.5);
    from { background-position: 0 0; }
  transform: translateY(-2px);
    to { background-position: 500px 1000px; }
}
}


.alchemy-main-row {
h1, h2, h3, h4, h5 {
  display: flex;
    text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
  flex-direction: row;
    transition: text-shadow 0.3s;
  align-items: stretch;
  font-size: 0.9em;
  text-align: center;
  overflow: auto;
  max-height: 200px;
}
}


.alchemy-effects-wrapper {
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
  margin-top: 0.5em;
    text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
  border-top: 1px solid rgba(200, 255, 200, 0.3);
  padding-top: 0.5em;
}
}


.alchemy-effects-toggle {
a, a:visited {
  cursor: pointer;
    transition: color 0.3s, text-shadow 0.3s;
  color: #88ff88;
  font-weight: bold;
  margin-top: 0.5em;
  display: inline-block;
}
}


.alchemy-effects-content {
a:hover {
  display: none;
    color: #b3e5fc !important;
  margin-top: 0.5em;
    text-shadow: 0 0 6px #b3e5fc;
}
}


.alchemy-effects-content.open {
.wikitable {
  display: block;
    border-color: rgba(179, 229, 252, 0.6) !important;
    border-radius: 6px;
}
}


@media (max-width: 900px) {
.wikitable th {
  .alchemy-card {
     background: rgba(179, 229, 252, 0.1);
     flex: 1 1 45%;
  }
}
}


@media (max-width: 500px) {
.mw-page-title-main:before {
  .alchemy-card {
    content: " ";
     flex: 1 1 100%;
}
  }
 
.mw-page-title-main:after {
     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: " ";
}