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

Новый стиль <tabs>
мНет описания правки
Строка 1335: Строка 1335:
.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
     color: lightgrey;
     color: lightgrey;
     background: rgb(255 255 255 / 4%);
     background: rgb(255 255 255 / 5%);
     border-top: 1px solid rgb(255 255 255 / 15%);
     border-top: 1px solid rgb(255 255 255 / 15%);
     /* border-bottom: 1px solid #3366cc; */
     border-bottom: 1px solid #3366cc;
     z-index: 2;
     z-index: 2;
}
}
Строка 1359: Строка 1359:
.tabs-tabbox > .tabs-container {
.tabs-tabbox > .tabs-container {
     padding: 8px 10px;
     padding: 8px 10px;
     background: rgb(255 255 255 / 3%);
     background: rgb(255 255 255 / 5%);
     border-radius: 0;
     border-radius: 0;
     border: 1px solid rgb(0 0 0 / 50%);
     border: 1px solid rgb(0 0 0 / 50%);
Строка 3079: Строка 3079:


/* Удаление верхних и нижних отступов для первого и последнего дочернего элемента */
/* Удаление верхних и нижних отступов для первого и последнего дочернего элемента */
.no-margin-edges, .tabs-container > :first-child {
.no-margin-edges, .tabs-content > :first-child {
     margin-top: 0 !important;
     margin-top: 0 !important;
}
}


.no-margin-edges, .tabs-container > :last-child {
.no-margin-edges, .tabs-content > :last-child {
     margin-bottom: 0 !important;
     margin-bottom: 0 !important;
}
}