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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 89 промежуточных версий этого же участника)
Строка 1: Строка 1:
.recipe-block {
body:before {
  background-color: #2d2d2d;
    content: "";
  border-radius: 8px;
    position: fixed;
  padding: 15px;
    top: 0;
  margin-bottom: 20px;
    left: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
    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;
}
}


.recipe-name {
@keyframes snowmove {
  font-size: 20px;
    from { background-position: 0 0; }
  font-weight: bold;
    to { background-position: 500px 1000px; }
  margin-bottom: 10px;
  color: #f0f0f0;
}
}


.section-title {
h1, h2, h3, h4, h5 {
  background-color: #3a3a3a;
    text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
  padding: 8px 12px;
    transition: text-shadow 0.3s;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 0;
  position: relative;
  transition: background-color 0.3s;
}
}


.section-title:hover {
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
  background-color: #4a4a4a;
    text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
}
}


.section-title::after {
a, a:visited {
  content: '▶';
    transition: color 0.3s, text-shadow 0.3s;
  position: absolute;
  right: 12px;
  transition: transform 0.3s;
}
}


.section-title.expanded::after {
a:hover {
  transform: rotate(90deg);
    color: #b3e5fc !important;
    text-shadow: 0 0 6px #b3e5fc;
}
}


.section-content {
.wikitable {
  padding: 10px;
    border-color: rgba(179, 229, 252, 0.6) !important;
  border-radius: 5px;
    border-radius: 6px;
  background-color: #252525;
  display: none;
}
}


.section-content.expanded {
.wikitable th {
  display: block;
    background: rgba(179, 229, 252, 0.1);
}
}


.recipe-item {
.mw-page-title-main:before {
  margin-bottom: 15px;
    content: " ";
}
}


.output {
.mw-page-title-main:after {
  font-weight: bold;
    content: " ";
  color: #4fc3f7;
}
}
.ingredients {
  padding: 8px;
  background-color: #1e1e1e;
  border-radius: 4px;
  margin-top: 5px;
  font-family: monospace;
}
.effect {
  padding: 8px;
  background-color: #1e1e1e;
  border-radius: 4px;
  margin-bottom: 5px;
  color: #ff6b6b;
}
.description {
  font-style: italic;
  margin-top: 10px;
  color: #a0a0a0;
}
.gas { border-color: #adff2f; }
.liquid { border-color: #1e88e5; }
.solid { border-color: #ff9800; }

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