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

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
 
(не показаны 24 промежуточные версии этого же участника)
Строка 1: Строка 1:
.chem-card {
body:before {
  border: 2px solid black;
    content: "";
  border-radius: 0 0 18px 18px;
    position: fixed;
  overflow: hidden;
    top: 0;
  margin-bottom: 1em;
    left: 0;
  font-family: sans-serif;
    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;
}
}


.chem-card .chem-header {
@keyframes snowmove {
  font-weight: 500;
    from { background-position: 0 0; }
  background-color: #75B1F0;
    to { background-position: 500px 1000px; }
  color: #000;
  padding: 0.2em 0.5em;
}
}


.chem-card .chem-description {
h1, h2, h3, h4, h5 {
  padding: 0.5em;
    text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
  font-size: 14px;
    transition: text-shadow 0.3s;
  line-height: 1.5;
}
}


.chem-recipes {
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);
  flex-direction: column;
  gap: 0.5em;
}
}


.chem-recipe-row {
a, a:visited {
  display: flex;
    transition: color 0.3s, text-shadow 0.3s;
  align-items: center;
  gap: 0.5em;
}
}


.chem-recipe {
a:hover {
  display: flex;
    color: #b3e5fc !important;
  align-items: center;
    text-shadow: 0 0 6px #b3e5fc;
  justify-content: space-between;
  background: #27272e;
  padding: 0 0.5em;
  font-size: 12px;
  width: 12em;
}
}


.chem-toggle {
.wikitable {
  cursor: pointer;
    border-color: rgba(179, 229, 252, 0.6) !important;
  font-weight: bold;
    border-radius: 6px;
  margin: 0.2em 0;
}
 
.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: " ";
}