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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 207 промежуточных версий этого же участника)
Строка 1: Строка 1:
.department-card {
.ss14-rules {
     margin: 20px auto;
     width: 100%;
     max-width: 800px;
     border-collapse: separate;
     background: #2b2b2b;
     border-spacing: 0 8px; /* Расстояние между строками */
     color: #f5f5f5;
     background-color: transparent;
     border-radius: 10px;
     color: #cecece;
    overflow: hidden;
     font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
     font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}


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


.department-header {
.ss14-rules td:first-child,
    display: flex;
.ss14-rules td:nth-child(2) {
     align-items: center;
     background: #25252b;
     justify-content: center;
     font-weight: bold;
     background: #3b3b3b;
     color: #ffffff;
     padding: 20px;
     vertical-align: top;
     text-shadow: 1px 1px #000;
     border-left: 4px solid #5a5a66; /* Акцентная полоса слева */
}
}


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


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


.section-header {
.ss14-rules td big {
     background: #3b3b3b;
     display: block;
     text-align: center;
     color: #7daeff; /* Голубой акцент */
    padding: 10px;
     font-size: 1.1em;
     font-size: 20px;
     margin-bottom: 10px;
     font-weight: bold;
     border-bottom: 1px solid #333;
     border-radius: 5px;
     padding-bottom: 5px;
     margin: 15px 10px;
    color: #f0a500;
}
}


.employee-list {
.ss14-rules ul {
     display: flex;
     margin-top: 10px;
     justify-content: space-around;
     list-style-type: square;
    flex-wrap: wrap;
    padding: 15px;
    gap: 15px;
}
}


.employee {
.ss14-rules li {
     text-align: center;
     margin-bottom: 8px;
    flex: 1;
    max-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #3b3b3b;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
}


.employee:hover {
.ss14-rules tr:hover td {
     transform: scale(1.1);
     background-color: #2d2d35 !important;
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
     transition: background 0.2s ease;
}
}


.employee img {
@media screen and (max-width: 720px) {
     width: 120px;
     .ss14-rules, .ss14-rules tbody, .ss14-rules tr, .ss14-rules td {
    height: 120px;
        display: block;
    border-radius: 50%;
        width: 100%;
     border: 3px solid #f5f5f5;
     }
     margin-bottom: 10px;
     .ss14-rules td {
}
        box-sizing: border-box;
 
    }
.guides {
    .ss14-rules td:first-child {
    text-align: center;
        border-bottom: none;
    padding: 15px;
        padding-bottom: 5px;
    font-size: 18px;
     }
     color: #f0a500;
}
}

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