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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 126 промежуточных версий этого же участника)
Строка 1: Строка 1:
.collapsible-container {
body:before {
  background-color: #1e1e1e;
    content: "";
  border: 1px solid #444;
    position: fixed;
  border-radius: 12px;
    top: 0;
  margin: 15px 0;
    left: 0;
  overflow: hidden;
    right: 0;
  transition: border-color 0.3s;
    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 {
.collapsible-header {
    from { background-position: 0 0; }
  cursor: pointer;
    to { background-position: 500px 1000px; }
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #2a2a2a;
  border-bottom: 1px solid #444;
  color: #ddd;
  font-weight: bold;
  transition: background-color 0.3s;
}
}


.collapsible-header:hover {
h1, h2, h3, h4, h5 {
  background-color: #333;
    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 {
.collapsible-arrow {
    text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.2s ease;
  font-size: 1.2em;
}
}


.collapsible-arrow.rotated {
a, a:visited {
  transform: rotate(90deg);
    transition: color 0.3s, text-shadow 0.3s;
}
}


/* Картинка и заголовок */
a:hover {
.JobsTableHeadImg img {
    color: #b3e5fc !important;
  border-radius: 6px;
    text-shadow: 0 0 6px #b3e5fc;
  margin-right: 10px;
}
}


.JobsTableHeadLink {
.wikitable {
  font-size: 1.1em;
    border-color: rgba(179, 229, 252, 0.6) !important;
  color: #fff;
    border-radius: 6px;
  margin-left: 10px;
}
}


/* Контент (изначально скрыт) */
.wikitable th {
.collapsible-content {
    background: rgba(179, 229, 252, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #1a1a1a;
}
}


.collapsible-content.open {
.mw-page-title-main:before {
  max-height: 500px; /* Увеличь, если нужно больше места */
    content: " ";
}
}


/* Внутренности */
.mw-page-title-main:after {
.JobsTableInner {
    content: " ";
  padding: 10px 20px;
  color: #ccc;
  border-radius: 0 0 12px 12px;
}
 
.JobsTableList {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
 
.JobsTableList li {
  padding: 4px 0;
  font-size: 0.95em;
}
}

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