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

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
 
(не показано 29 промежуточных версий этого же участника)
Строка 1: Строка 1:
.race-container {
body:before {
  display:flex;
    content: "";
  width:100%;
    position: fixed;
  justify-content:space-around;
    top: 0;
  flex-wrap:wrap;
    left: 0;
  margin-bottom:10px;
    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;
}
}


.race-block {
@keyframes snowmove {
  display:flex;
    from { background-position: 0 0; }
  flex-direction:column;
    to { background-position: 500px 1000px; }
  align-items:center;
  padding:5px;
  margin:5px;
  border-radius:.3em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
}


.race-block:hover {
h1, h2, h3, h4, h5 {
  transform: translateY(-3px);
    text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: text-shadow 0.3s;
}
}


.race-block .sprite img {
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
  border: 3px solid #0C9456;
    text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
  border-radius: 50%;
  padding:2px;
  box-shadow: 0 0 10px rgba(12,148,86,0.5);
  width:180px;
  height:auto;
}
}


.race-block .race-name {
a, a:visited {
  margin-top:5px;
    transition: color 0.3s, text-shadow 0.3s;
  font-weight:bold;
  text-align:center;
  font-size:16px;
  color:#fff;
  text-shadow: 1px 1px black;
}
}


.race-header {
a:hover {
  margin:0px;
    color: #b3e5fc !important;
  text-align:center;
    text-shadow: 0 0 6px #b3e5fc;
  font-size:40px;
}
  line-height:50px;
 
  text-shadow: 2px 3px black, 3px 5px #0C9456;
.wikitable {
  margin-bottom:10px;
    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: " ";
}
}

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