MediaWiki:Extra.css: различия между версиями
Страница интерфейса MediaWiki
Дополнительные действия
 Обновление стиля таблицы  | 
				 Добавление стилей шаблона  | 
				||
| Строка 56: | Строка 56: | ||
.circumstances :is(td:nth-child(2), th:nth-child(2)) {  | .circumstances :is(td:nth-child(2), th:nth-child(2)) {  | ||
     background-color: #31ff7f2e;  |      background-color: #31ff7f2e;  | ||
}  | |||
/*** Шаблон:JobBanWarn ***/  | |||
table .jobbanwarn {  | |||
    background: #ff000020;  | |||
    border-radius: 15px;  | |||
    text-align: center;  | |||
    margin: auto;  | |||
}  | |||
.jobbanwarn td .first {  | |||
    font-size: 36px;  | |||
    color: red;  | |||
    padding: 7px;  | |||
    text-shadow: 0 0 black;  | |||
}  | |||
.jobbanwarn td .second p {  | |||
	margin-bottom:0 ;  | |||
}  | }  | ||
Версия от 13:37, 19 февраля 2024
/*** Таблица КЗ ***/
.spacelaw table {
	text-align: center;
}
.spacelaw tr {
    height: 50px;
}
.spacelaw tr:nth-child(1) {
    background-color: #0000008f;
}
.spacelaw td {
    text-align: center;
}
/** 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;
}
.circumstances :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;
}
/*** Шаблон:JobBanWarn ***/
table .jobbanwarn {
    background: #ff000020;
    border-radius: 15px;
    text-align: center;
    margin: auto;
}
.jobbanwarn td .first {
    font-size: 36px;
    color: red;
    padding: 7px;
    text-shadow: 0 0 black;
}
.jobbanwarn td .second p {
	margin-bottom:0 ;
}