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

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


.chem-card {
@keyframes snowmove {
  flex: 1 1 calc(25% - 12px);
    from { background-position: 0 0; }
  background-color: var(--card-bg, #111);
    to { background-position: 500px 1000px; }
  border: 2px solid var(--card-border, #555);
  border-radius: 8px;
  padding: 8px;
  color: #eee;
  box-sizing: border-box;
  min-width: 180px;
}
}


.chem-card h3 {
h1, h2, h3, h4, h5 {
  margin: 0 0 4px 0;
    text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
  color: var(--card-accent, #8cf);
    transition: text-shadow 0.3s;
  font-size: 16px;
}
}


.chem-recipe {
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);
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
}


.recipe-items {
a, a:visited {
  display: flex;
    transition: color 0.3s, text-shadow 0.3s;
  gap: 4px;
  flex-wrap: wrap;
}
}


.recipe-item {
a:hover {
  background-color: #222;
    color: #b3e5fc !important;
  padding: 2px 6px;
    text-shadow: 0 0 6px #b3e5fc;
  border-radius: 4px;
  font-size: 14px;
}
}


.recipe-action {
.wikitable {
  font-weight: bold;
    border-color: rgba(179, 229, 252, 0.6) !important;
  padding: 0 4px;
    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: " ";
}