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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показаны 94 промежуточные версии этого же участника)
Строка 1: Строка 1:
.alchemy-card {
.ss14-rules {
  border-style: solid;
    width: 100%;
  border-width: 2px;
    border-collapse: separate;
  border-radius: 10px;
    border-spacing: 0 8px; /* Расстояние между строками */
  box-sizing: border-box;
    background-color: transparent;
  padding: 0.8em 1em;
    color: #cecece;
  min-width: 250px;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  flex: 1 1 22%;
  color: #eefcee;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}
}


.alchemy-card:hover {
.ss14-rules th {
  box-shadow: 0 0 10px rgba(170, 255, 170, 0.5);
    background: #1a1a1e;
  transform: translateY(-2px);
    color: #7daeff;
    padding: 12px;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    border-bottom: 2px solid #3a3a42;
}
}


.alchemy-main-row {
.ss14-rules td:first-child,
  display: flex;
.ss14-rules td:nth-child(2) {
  flex-direction: row;
    background: #25252b;
  align-items: stretch;
    font-weight: bold;
  font-size: 0.9em;
    color: #ffffff;
  text-align: center;
    vertical-align: top;
  overflow: auto;
    border-left: 4px solid #5a5a66; /* Акцентная полоса слева */
  max-height: 200px;
}
}


.alchemy-effects-wrapper {
.ss14-rules td:first-child {
  margin-top: 0.5em;
    white-space: nowrap;
  border-top: 1px solid rgba(200, 255, 200, 0.3);
    color: #ffca28; /* Золотистый цвет для номера */
  padding-top: 0.5em;
    width: 10%;
}
}


.alchemy-effects-toggle {
/* Описание правила (третья колонка) */
  cursor: pointer;
.ss14-rules td:last-child {
  color: #88ff88;
    background: #1e1e22;
  font-weight: bold;
    padding: 15px;
  margin-top: 0.5em;
    line-height: 1.6;
  display: inline-block;
    border-right: 1px solid #3a3a42;
}
}


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


.alchemy-effects-content.open {
.ss14-rules ul {
  display: block;
    margin-top: 10px;
    list-style-type: square;
}
}


@media (max-width: 900px) {
.ss14-rules li {
  .alchemy-card {
     margin-bottom: 8px;
     flex: 1 1 45%;
  }
}
}


@media (max-width: 500px) {
.ss14-rules tr:hover td {
  .alchemy-card {
    background-color: #2d2d35 !important;
    flex: 1 1 100%;
    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;
    }
}
}

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