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

Страница интерфейса MediaWiki
Нет описания правки
Метка: ручная отмена
Нет описания правки
 
(не показана 101 промежуточная версия этого же участника)
Строка 1: Строка 1:
.alchemy-grid {
.ss14-rules {
  display: flex;
    width: 100%;
  flex-wrap: wrap;
    border-collapse: separate;
  justify-content: flex-start;
    border-spacing: 0 8px; /* Расстояние между строками */
  gap: 1em;
    background-color: transparent;
  overflow-x: auto;
    color: #cecece;
  padding-bottom: 1em;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
}


.alchemy-card {
.ss14-rules th {
  border-style: solid;
    background: #1a1a1e;
  border-width: 2px;
    color: #7daeff;
  border-radius: 8px;
    padding: 12px;
  box-sizing: border-box;
    text-transform: uppercase;
  padding: 0.5em 1em;
    font-size: 0.9em;
  min-width: 250px;
    letter-spacing: 1px;
  flex: 1 1 22%; /* минимум 22% ширины, адаптивно */
    border-bottom: 2px solid #3a3a42;
  color: #ccffcc;
  background-clip: padding-box;
}
}


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


.alchemy-main-row {
.ss14-rules td:first-child {
  display: flex;
    white-space: nowrap;
  align-items: stretch;
    color: #ffca28; /* Золотистый цвет для номера */
  font-size: 0.9em;
    width: 10%;
  text-align: center;
}
}


.alchemy-ingredients,
/* Описание правила (третья колонка) */
.alchemy-result {
.ss14-rules td:last-child {
  flex: 1;
    background: #1e1e22;
  display: flex;
    padding: 15px;
  flex-direction: column;
    line-height: 1.6;
  justify-content: center;
    border-right: 1px solid #3a3a42;
  padding: 0 0.5em;
  border-top: none;
  border-bottom: none;
}
}


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


.alchemy-result {
.ss14-rules ul {
  border-left: 1px solid #555;
    margin-top: 10px;
    list-style-type: square;
}
}


.alchemy-label {
.ss14-rules li {
  font-weight: bold;
    margin-bottom: 8px;
  margin-bottom: 0.3em;
  color: #ccffcc;
}
}


.alchemy-plus {
.ss14-rules tr:hover td {
  flex: 0 0 80px;
    background-color: #2d2d35 !important;
  font-weight: bold;
    transition: background 0.2s ease;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
}


.alchemy-effects {
@media screen and (max-width: 720px) {
  margin: 0.3em 0 0.5em 1.2em;
    .ss14-rules, .ss14-rules tbody, .ss14-rules tr, .ss14-rules td {
  padding: 0;
        display: block;
  color: #ccffcc;
        width: 100%;
  list-style: disc inside;
    }
}
    .ss14-rules td {
 
        box-sizing: border-box;
.alchemy-effects-desc {
    }
  margin-top: 0.3em;
    .ss14-rules td:first-child {
  font-style: italic;
        border-bottom: none;
  color: #88cc88;
        padding-bottom: 5px;
  font-size: 0.85em;
     }
}
 
/* Адаптив для мобильных: 1-2 карточки в ряд */
@media (max-width: 900px) {
  .alchemy-card {
    flex: 1 1 45%;
  }
}
@media (max-width: 500px) {
  .alchemy-card {
     flex: 1 1 100%;
  }
}
}

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