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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 76 промежуточных версий этого же участника)
Строка 1: Строка 1:
.infoblocksTESTTTT {
body:before {
  display: flex;
    content: "";
  flex-wrap: wrap;
    position: fixed;
  gap: 1em;
    top: 0;
  justify-content: center;
    left: 0;
  margin: 1em 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;
}
}


.infoblocksTESTTTT .infoblock {
@keyframes snowmove {
  background: #1a1a1a;
    from { background-position: 0 0; }
  color: #f0f0f0;
    to { background-position: 500px 1000px; }
  padding: 1em;
  border: 2px solid #333;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0 0 10px #000;
  font-family: monospace;
  min-width: 280px;
  max-width: 100%;
  flex: 1 1 30%;
  white-space: pre-line;
  word-wrap: break-word;
}
}


.infoblocksTESTTTT .infoblock .title {
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);
  align-items: center;
    transition: text-shadow 0.3s;
  font-weight: bold;
  margin-bottom: 0.5em;
}
}


.title1 { color: #ff4d4d; }
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
.title2 { color: #4dff4d; }
    text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
.title3 { color: #4d4dff; }
}
.title4 { color: #ffff4d; }
 
.title5 { color: #4dffff; }
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: " ";
}


.infoblocksTESTTTT .infoblock .title img {
.mw-page-title-main:after {
  width: 20px;
    content: " ";
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}
}

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