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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 1: Строка 1:
/* В медиавики: Common.css */
.alchemy-card {
.alchemy-card {
  background: #1c1f24;
    border: 1px solid #a2a9b1;
  border: 1px solid #444;
    padding: 10px;
  border-radius: 8px;
    margin-bottom: 15px;
  padding: 0.5em;
    border-radius: 5px;
  width: max-content;
    background-color: #f8f9fa;
  max-width: 400px;
  color: #ddd;
  font-family: sans-serif;
}
}
.alchemy-title {
.alchemy-title {
  background: #c2a85d;
    font-size: 1.2em;
  color: black;
    font-weight: bold;
  font-weight: bold;
    margin-bottom: 10px;
  padding: 4px 8px;
    border-bottom: 1px solid #aaa;
  border-radius: 4px;
    padding-bottom: 5px;
}
}
.alchemy-section {
 
  margin-top: 0.5em;
details.alchemy-collapsible {
    margin-bottom: 8px;
}
}
.collapsible-container {
 
  margin-top: 4px;
details.alchemy-collapsible > summary {
    cursor: pointer;
    font-weight: bold;
    padding: 5px;
    background-color: #eaecf0;
    border-radius: 3px;
}
}
.collapsible-header {
 
  background: #2a2d33;
details.alchemy-collapsible[open] > summary {
  padding: 4px;
    background-color: #d8eafc;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  border-radius: 4px;
}
.collapsible-body {
  padding: 4px;
  background: #2f3239;
  margin-top: 2px;
  border-radius: 4px;
}
.collapsed {
  display: none;
}
}
.reagent-item {
.reagent-item {
  margin-left: 8px;
    margin: 3px 0;
}
    padding-left: 5px;
.reagent {
  color: #6cf;
}
.qty {
  color: #ccc;
}
}
.method {
.method {
  margin-top: 4px;
    margin-top: 8px;
  font-style: italic;
    font-style: italic;
  color: #aaa;
}
}

Версия от 10:56, 22 июня 2025

/* В медиавики: Common.css */
.alchemy-card {
    border: 1px solid #a2a9b1;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    background-color: #f8f9fa;
}

.alchemy-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #aaa;
    padding-bottom: 5px;
}

details.alchemy-collapsible {
    margin-bottom: 8px;
}

details.alchemy-collapsible > summary {
    cursor: pointer;
    font-weight: bold;
    padding: 5px;
    background-color: #eaecf0;
    border-radius: 3px;
}

details.alchemy-collapsible[open] > summary {
    background-color: #d8eafc;
}

.reagent-item {
    margin: 3px 0;
    padding-left: 5px;
}

.method {
    margin-top: 8px;
    font-style: italic;
}