(Добавление стилей) |
(Внесение стилей для таблицы модификаторов наказаний) |
||
Строка 6: | Строка 6: | ||
.spacelaw tr { | .spacelaw tr { | ||
height: 50px; | height: 50px; | ||
} | |||
.circumstances tr:nth-child(1) { | |||
background-color: #0000008f; | |||
} | } | ||
Строка 35: | Строка 39: | ||
.spacelaw :is(td:nth-child(6), th:nth-child(6)) { | .spacelaw :is(td:nth-child(6), th:nth-child(6)) { | ||
background-color: #0000002e; | background-color: #0000002e; | ||
} | |||
/* Таблица модификаторов */ | |||
.circumstances td { | |||
text-align: center; | |||
} | |||
.circumstances tr:nth-child(1) { | |||
background-color: #0000008f; | |||
} | |||
.сircumstances :is(td:nth-child(1), th:nth-child(1)) { | |||
background-color: #ff00002e; | |||
} | |||
.circumstances :is(td:nth-child(2), th:nth-child(2)) { | |||
background-color: #31ff7f2e; | |||
} | } |
Версия от 15:08, 27 января 2024
/*** Таблица КЗ ***/
.spacelaw table {
text-align: center;
}
.spacelaw tr {
height: 50px;
}
.circumstances tr:nth-child(1) {
background-color: #0000008f;
}
.spacelaw td {
padding: 3px 4px;
}
/** 1XX **/
.spacelaw :is(td:nth-child(2), th:nth-child(2)) {
background-color: #31ff7f2e;
}
/** 2XX **/
.spacelaw :is(td:nth-child(3), th:nth-child(3)) {
background-color: #e9ff002e;
}
/** 3XX **/
.spacelaw :is(td:nth-child(4), th:nth-child(4)) {
background-color: #ff61002e;
}
/** 4XX **/
.spacelaw :is(td:nth-child(5), th:nth-child(5)) {
background-color: #ff00002e;
}
/** 5XX **/
.spacelaw :is(td:nth-child(6), th:nth-child(6)) {
background-color: #0000002e;
}
/* Таблица модификаторов */
.circumstances td {
text-align: center;
}
.circumstances tr:nth-child(1) {
background-color: #0000008f;
}
.сircumstances :is(td:nth-child(1), th:nth-child(1)) {
background-color: #ff00002e;
}
.circumstances :is(td:nth-child(2), th:nth-child(2)) {
background-color: #31ff7f2e;
}