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

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
 
(не показано 35 промежуточных версий этого же участника)
Строка 1: Строка 1:
#ss-art-gallery.ss-wrap{
.ss14-rules {
  --ss-bg:#0e0f14;
    width: 100%;
  --ss-fg:#e9e9e9;
    border-collapse: separate;
  --ss-muted:#a9b0bd;
    border-spacing: 0 8px; /* Расстояние между строками */
  --ss-accent:#dca01b;
    background-color: transparent;
  --ss-card:#171a21;
    color: #cecece;
  --ss-ring:#2b3241;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ss-chip:#1e2330;
  --ss-shadow:0 10px 28px rgba(0,0,0,.4);
  background:var(--ss-bg);
  color:var(--ss-fg);
  padding:20px;
  border-radius:18px;
  font-family:"Segoe UI",sans-serif
}
}
#ss-art-gallery .ss-header{
 
  display:flex;
.ss14-rules th {
  flex-direction:column;
    background: #1a1a1e;
  gap:10px;
    color: #7daeff;
  margin-bottom:20px;
    padding: 12px;
  text-align:center
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    border-bottom: 2px solid #3a3a42;
}
}
#ss-art-gallery .ss-title{
 
  font-size:30px;
.ss14-rules td:first-child,
  line-height:1.2;
.ss14-rules td:nth-child(2) {
  font-weight:700;
    background: #25252b;
  color:var(--ss-accent)
    font-weight: bold;
    color: #ffffff;
    vertical-align: top;
    border-left: 4px solid #5a5a66; /* Акцентная полоса слева */
}
}
#ss-art-gallery .ss-sub{
 
  font-size:15px;
.ss14-rules td:first-child {
  color:var(--ss-muted)
    white-space: nowrap;
    color: #ffca28; /* Золотистый цвет для номера */
    width: 10%;
}
}
#ss-art-gallery .ss-filters{
 
  display:flex;
/* Описание правила (третья колонка) */
  gap:10px;
.ss14-rules td:last-child {
  flex-wrap:wrap;
    background: #1e1e22;
  justify-content:center;
    padding: 15px;
  margin-top:10px
    line-height: 1.6;
    border-right: 1px solid #3a3a42;
}
}
#ss-art-gallery .ss-chip{
 
  user-select:none;
.ss14-rules td big {
  cursor:pointer;
    display: block;
  background:var(--ss-chip);
    color: #7daeff; /* Голубой акцент */
  padding:8px 14px;
    font-size: 1.1em;
  border-radius:999px;
    margin-bottom: 10px;
  border:1px solid var(--ss-ring);
    border-bottom: 1px solid #333;
  box-shadow:var(--ss-shadow);
    padding-bottom: 5px;
  font-size:13px;
  transition:all .2s ease
}
}
#ss-art-gallery .ss-chip:hover{
 
  background:var(--ss-accent);
.ss14-rules ul {
  color:#000
    margin-top: 10px;
    list-style-type: square;
}
}
#ss-art-gallery .ss-chip-active{
 
  border-color:var(--ss-accent);
.ss14-rules li {
  background:var(--ss-accent);
    margin-bottom: 8px;
  color:#000
}
}
#ss-art-gallery .ss-section{
 
  margin:28px 0
.ss14-rules tr:hover td {
    background-color: #2d2d35 !important;
    transition: background 0.2s ease;
}
}
#ss-art-gallery .ss-section-title{
 
  font-size:22px;
@media screen and (max-width: 720px) {
  font-weight:700;
    .ss14-rules, .ss14-rules tbody, .ss14-rules tr, .ss14-rules td {
  margin:10px 0 18px;
        display: block;
  text-align:left;
        width: 100%;
  color:var(--ss-accent)
    }
    .ss14-rules td {
        box-sizing: border-box;
    }
    .ss14-rules td:first-child {
        border-bottom: none;
        padding-bottom: 5px;
    }
}
}
#ss-art-gallery .ss-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(360px,1fr));
  gap:24px;
  margin-top:12px
}
#ss-art-gallery .ss-card{
  background:var(--ss-card);
  border:1px solid var(--ss-ring);
  border-radius:16px;
  box-shadow:var(--ss-shadow);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  transform:translateZ(0);
  transition:transform .2s ease,border-color .2s ease
}
#ss-art-gallery .ss-card:hover{
  transform:translateY(-4px);
  border-color:var(--ss-accent)
}
#ss-art-gallery .ss-card-title{
  font-size:16px;
  font-weight:600;
  color:var(--ss-muted);
  text-align:center
}
#ss-art-gallery .ss-card img{
  width:auto!important;
  height:auto!important;
  max-width:100%;
  border-radius:12px;
  display:block;
  margin:0 auto;
}
#ss-art-gallery .ss-hidden{
  display:none!important
}
#ss-art-gallery .ss-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.88);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999
}
#ss-art-gallery .ss-modal.open{display:flex}
#ss-art-gallery .ss-modal-inner{
  max-width:92vw;
  max-height:92vh;
  animation:ss-fade .25s ease
}
#ss-art-gallery .ss-modal-img{
  max-width:90vw;
  max-height:90vh;
  border-radius:14px;
  box-shadow:0 0 24px rgba(0,0,0,.7)
}
#ss-art-gallery .ss-modal-close{
  position:fixed;
  top:16px;
  right:18px;
  background:var(--ss-chip);
  border:1px solid var(--ss-ring);
  padding:8px 14px;
  border-radius:10px;
  cursor:pointer;
  transition:all .2s ease
}
#ss-art-gallery .ss-modal-close:hover{
  background:var(--ss-accent);
  color:#000
}
@keyframes ss-fade{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}

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