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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 88 промежуточных версий этого же участника)
Строка 1: Строка 1:
.alchemy-card {
.ss14-rules {
  background: #1c1f24;
    width: 100%;
  border: 1px solid #444;
    border-collapse: separate;
  border-radius: 8px;
    border-spacing: 0 8px; /* Расстояние между строками */
  padding: 0.5em;
    background-color: transparent;
  width: max-content;
    color: #cecece;
  max-width: 400px;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #ddd;
  font-family: sans-serif;
}
}
.alchemy-title {
 
  background: #c2a85d;
.ss14-rules th {
  color: black;
    background: #1a1a1e;
  font-weight: bold;
    color: #7daeff;
  padding: 4px 8px;
    padding: 12px;
  border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    border-bottom: 2px solid #3a3a42;
}
}
.alchemy-section {
 
  margin-top: 0.5em;
.ss14-rules td:first-child,
.ss14-rules td:nth-child(2) {
    background: #25252b;
    font-weight: bold;
    color: #ffffff;
    vertical-align: top;
    border-left: 4px solid #5a5a66; /* Акцентная полоса слева */
}
}
.collapsible-container {
 
  margin-top: 4px;
.ss14-rules td:first-child {
    white-space: nowrap;
    color: #ffca28; /* Золотистый цвет для номера */
    width: 10%;
}
}
.collapsible-header {
 
  background: #2a2d33;
/* Описание правила (третья колонка) */
  padding: 4px;
.ss14-rules td:last-child {
  font-weight: bold;
    background: #1e1e22;
  cursor: pointer;
    padding: 15px;
  user-select: none;
    line-height: 1.6;
  border-radius: 4px;
    border-right: 1px solid #3a3a42;
}
}
.collapsible-body {
 
  padding: 4px;
.ss14-rules td big {
  background: #2f3239;
    display: block;
  margin-top: 2px;
    color: #7daeff; /* Голубой акцент */
  border-radius: 4px;
    font-size: 1.1em;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}
}
.collapsed {
 
  display: none;
.ss14-rules ul {
    margin-top: 10px;
    list-style-type: square;
}
}
.reagent-item {
 
  margin-left: 8px;
.ss14-rules li {
    margin-bottom: 8px;
}
}
.reagent {
 
  color: #6cf;
.ss14-rules tr:hover td {
    background-color: #2d2d35 !important;
    transition: background 0.2s ease;
}
}
.qty {
 
  color: #ccc;
@media screen and (max-width: 720px) {
}
    .ss14-rules, .ss14-rules tbody, .ss14-rules tr, .ss14-rules td {
.method {
        display: block;
  margin-top: 4px;
        width: 100%;
  font-style: italic;
    }
  color: #aaa;
    .ss14-rules td {
        box-sizing: border-box;
    }
    .ss14-rules td:first-child {
        border-bottom: none;
        padding-bottom: 5px;
    }
}
}

Текущая версия от 14:16, 25 февраля 2026

.ss14-rules {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px; /* Расстояние между строками */
    background-color: transparent;
    color: #cecece;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ss14-rules th {
    background: #1a1a1e;
    color: #7daeff;
    padding: 12px;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    border-bottom: 2px solid #3a3a42;
}

.ss14-rules td:first-child, 
.ss14-rules td:nth-child(2) {
    background: #25252b;
    font-weight: bold;
    color: #ffffff;
    vertical-align: top;
    border-left: 4px solid #5a5a66; /* Акцентная полоса слева */
}

.ss14-rules td:first-child {
    white-space: nowrap;
    color: #ffca28; /* Золотистый цвет для номера */
    width: 10%;
}

/* Описание правила (третья колонка) */
.ss14-rules td:last-child {
    background: #1e1e22;
    padding: 15px;
    line-height: 1.6;
    border-right: 1px solid #3a3a42;
}

.ss14-rules td big {
    display: block;
    color: #7daeff; /* Голубой акцент */
    font-size: 1.1em;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.ss14-rules ul {
    margin-top: 10px;
    list-style-type: square;
}

.ss14-rules li {
    margin-bottom: 8px;
}

.ss14-rules tr:hover td {
    background-color: #2d2d35 !important;
    transition: background 0.2s ease;
}

@media screen and (max-width: 720px) {
    .ss14-rules, .ss14-rules tbody, .ss14-rules tr, .ss14-rules td {
        display: block;
        width: 100%;
    }
    .ss14-rules td {
        box-sizing: border-box;
    }
    .ss14-rules td:first-child {
        border-bottom: none;
        padding-bottom: 5px;
    }
}