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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 1: Строка 1:
.chem-cards-container {
body, .mw-body {
  display: flex;
    background-color: #121212 !important;
  flex-wrap: wrap;
    color: #e0e0e0 !important;
  gap: 12px;
    transition: background 0.5s ease, color 0.5s ease;
  justify-content: flex-start;
}
}


.chem-card {
.mw-first-heading, .mw-headline {
  flex: 1 1 calc(25% - 12px);
    color: #ffb74d !important;
  background-color: var(--card-bg, #111);
    text-shadow: 2px 2px 6px #000;
  border: 2px solid var(--card-border, #555);
    animation: glow 3s ease-in-out infinite;
  border-radius: 8px;
  padding: 8px;
  color: #eee;
  box-sizing: border-box;
  min-width: 180px;
}
}


.chem-card h3 {
a {
  margin: 0 0 4px 0;
    color: #81d4fa !important;
  color: var(--card-accent, #8cf);
    text-decoration: none;
  font-size: 16px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover {
    color: #ffa500 !important;
    text-shadow: 0 0 8px #ffa500;
}
}


.chem-recipe {
.skin-vector #p-personal li a,
  display: flex;
.skin-vector #p-views li a,
  gap: 12px;
.vector-menu-tabs li a,
  align-items: center;
.vector-menu-dropdown h3 span,
.vector-menu-tabs li.selected a {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    transition: background 0.3s ease, color 0.3s ease;
}
}
.vector-menu-tabs li.selected a { background-color: #ff9800 !important; color: #121212 !important; }


.recipe-inputs, .recipe-outputs {
table, th, td,
  display: flex;
blockquote, .infobox, .navbox,
  flex-direction: column;
div.thumb, .mw-parser-output > div {
  gap: 2px;
    background-color: #1c1c1c !important;
    color: #e0e0e0 !important;
    border: 1px solid #424242 !important;
    transition: background 0.3s ease, color 0.3s ease;
}
}


.recipe-action {
button, .oo-ui-buttonElement-button {
  display: flex;
    background-color: #333 !important;
  align-items: center;
    color: #e0e0e0 !important;
  font-weight: bold;
    border: 1px solid #555 !important;
  justify-content: center;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  min-width: 80px;
}
button:hover, .oo-ui-buttonElement-button:hover {
    background-color: #555 !important;
    color: #ffb74d !important;
    box-shadow: 0 0 10px #ffb74d;
}
}


.chem-effects {
.mw-footer {
  margin-top: 6px;
    background-color: #1a1a1a !important;
  padding-left: 16px;
    color: #e0e0e0 !important;
  color: #ccc;
    border-top: 2px solid #ff9800 !important;
  font-size: 14px;
}
}


.chem-effects b {
.halloween-leaves {
  display: block;
    position: fixed;
  margin-bottom: 2px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}
}


.chem-desc {
.halloween-leaf {
  margin-top: 4px;
    position: absolute;
  font-size: 14px;
    top: -2em;
  color: #aaa;
    animation: fall 7s linear infinite;
}
}
.halloween-pumpkin {
    display: inline-block;
    animation: float 2s ease-in-out infinite, glow 3s ease-in-out infinite;
}
@keyframes fall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@keyframes glow {
    0%,100% { text-shadow: 0 0 2px #ff980

Версия от 03:19, 23 октября 2025

body, .mw-body {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
    transition: background 0.5s ease, color 0.5s ease;
}

.mw-first-heading, .mw-headline {
    color: #ffb74d !important;
    text-shadow: 2px 2px 6px #000;
    animation: glow 3s ease-in-out infinite;
}

a {
    color: #81d4fa !important;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover {
    color: #ffa500 !important;
    text-shadow: 0 0 8px #ffa500;
}

.skin-vector #p-personal li a,
.skin-vector #p-views li a,
.vector-menu-tabs li a,
.vector-menu-dropdown h3 span,
.vector-menu-tabs li.selected a {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    transition: background 0.3s ease, color 0.3s ease;
}
.vector-menu-tabs li.selected a { background-color: #ff9800 !important; color: #121212 !important; }

table, th, td,
blockquote, .infobox, .navbox,
div.thumb, .mw-parser-output > div {
    background-color: #1c1c1c !important;
    color: #e0e0e0 !important;
    border: 1px solid #424242 !important;
    transition: background 0.3s ease, color 0.3s ease;
}

button, .oo-ui-buttonElement-button {
    background-color: #333 !important;
    color: #e0e0e0 !important;
    border: 1px solid #555 !important;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
button:hover, .oo-ui-buttonElement-button:hover {
    background-color: #555 !important;
    color: #ffb74d !important;
    box-shadow: 0 0 10px #ffb74d;
}

.mw-footer {
    background-color: #1a1a1a !important;
    color: #e0e0e0 !important;
    border-top: 2px solid #ff9800 !important;
}

.halloween-leaves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

.halloween-leaf {
    position: absolute;
    top: -2em;
    animation: fall 7s linear infinite;
}

.halloween-pumpkin {
    display: inline-block;
    animation: float 2s ease-in-out infinite, glow 3s ease-in-out infinite;
}

@keyframes fall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes glow {
    0%,100% { text-shadow: 0 0 2px #ff980