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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показана 151 промежуточная версия этого же участника)
Строка 1: Строка 1:
.recipe-card {
body:before {
  width: 22%;
    content: "";
  min-width: 220px;
    position: fixed;
  box-sizing: border-box;
    top: 0;
  padding: 1.5em;
    left: 0;
  margin: 1em;
    right: 0;
  display: inline-block;
    bottom: 0;
  vertical-align: top;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/36/Snowflakes_falling_transparent.gif");
  background-color: #212121;
    background-repeat: repeat;
  border: 2px solid #444;
    pointer-events: none;
  border-radius: 10px;
    opacity: 0.35;
  color: #f5f5f5;
    z-index: 2;
  font-size: 14px;
    animation: snowmove 60s linear infinite;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease;
}
}


.recipe-card:hover {
@keyframes snowmove {
  transform: translateY(-5px);
    from { background-position: 0 0; }
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    to { background-position: 500px 1000px; }
}
}


.collapsible-block {
h1, h2, h3, h4, h5 {
  margin-top: 1em;
    text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
  border-bottom: 1px solid #555;
    transition: text-shadow 0.3s;
  padding-bottom: 0.5em;
}
}


.collapsible-header {
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
  background-color: #333;
    text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
  border: 1px solid #666;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: bold;
  color: #81d4fa;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 100%;
}
}


.collapsible-header:hover {
a, a:visited {
  background-color: #444;
    transition: color 0.3s, text-shadow 0.3s;
  color: #ffffff;
}
}


.collapsible-content {
a:hover {
  display: none;
    color: #b3e5fc !important;
  margin-top: 1em;
    text-shadow: 0 0 6px #b3e5fc;
  padding-left: 1em;
  border-left: 2px solid #444;
}
}


.recipe-description {
.wikitable {
  margin-top: 1em;
    border-color: rgba(179, 229, 252, 0.6) !important;
  font-size: 14px;
    border-radius: 6px;
  color: #ccc;
}
}


.recipe-description strong {
.wikitable th {
  color: #81d4fa;
    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: " ";
}