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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 213 промежуточных версий этого же участника)
Строка 1: Строка 1:
.race-box {
body:before {
  border: 2px solid #411144;
    content: "";
  padding: 10px;
    position: fixed;
  display: inline-block;
    top: 0;
  background-color: #3133;
    left: 0;
  margin: 10px;
    right: 0;
  text-align: center;
    bottom: 0;
  width: 120px;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/36/Snowflakes_falling_transparent.gif");
  height: 160px;
    background-repeat: repeat;
  border-radius: 10px;
    pointer-events: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
    opacity: 0.35;
  transition: all 0.3s ease-out;
    z-index: 2;
  overflow: hidden;
    animation: snowmove 60s linear infinite;
  cursor: pointer;
}
}


.race-box img {
@keyframes snowmove {
  width: 100px;
    from { background-position: 0 0; }
  height: 100px;
    to { background-position: 500px 1000px; }
  border-radius: 8px;
  transition: transform 0.3s ease;
}
}


.race-box img:hover {
h1, h2, h3, h4, h5 {
  transform: scale(1.1);
    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;
}
}


.race-box .race-name {
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
  color: #f1f1f1;
    text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
  font-size: 14px;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  opacity: 0.85;
}
}


.race-box:hover {
a, a:visited {
  background-color: #444;
    transition: color 0.3s, text-shadow 0.3s;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
}


.race-box:hover .race-name {
a:hover {
  opacity: 1;
    color: #b3e5fc !important;
    text-shadow: 0 0 6px #b3e5fc;
}
}


.info-popup {
.wikitable {
  position: fixed;
    border-color: rgba(179, 229, 252, 0.6) !important;
  top: 50%;
    border-radius: 6px;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #222;
  color: #f1f1f1;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none;
}
}


.info-popup.active {
.wikitable th {
  display: block;
    background: rgba(179, 229, 252, 0.1);
}
}


.info-popup .close-btn {
.mw-page-title-main:before {
  cursor: pointer;
    content: " ";
  color: #ff6666;
}
  font-weight: bold;
 
  float: right;
.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: " ";
}