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

м swap test
мНет описания правки
Строка 2171: Строка 2171:
border-collapse: separate;
border-collapse: separate;
     border:none;
     border:none;
border-radius: 1.4em;
border-radius: 1.4rem;
}
}
.wikitable > * > tr > td,.wikitable > * > tr > th{
.wikitable > * > tr > td,.wikitable > * > tr > th{
Строка 2185: Строка 2185:
.wikitable:not(.sortable) tr:first-child th:first-child,.wikitable:not(.sortable)>tr:first-child td:first-child,
.wikitable:not(.sortable) tr:first-child th:first-child,.wikitable:not(.sortable)>tr:first-child td:first-child,
.sortable>thead>tr:first-child th:first-child,.sortable>thead>tr:first-child td:first-child{
.sortable>thead>tr:first-child th:first-child,.sortable>thead>tr:first-child td:first-child{
     border-top-left-radius:1.2em;
     border-top-left-radius:1.2rem;
}
}
.wikitable:not(.sortable) tr:first-child th:last-child,.wikitable:not(.sortable) tr:first-child td:last-child,
.wikitable:not(.sortable) tr:first-child th:last-child,.wikitable:not(.sortable) tr:first-child td:last-child,
.sortable>thead>tr:first-child th:last-child,.sortable>thead>tr:first-child td:last-child{
.sortable>thead>tr:first-child th:last-child,.sortable>thead>tr:first-child td:last-child{
     border-top-right-radius:1.2em;
     border-top-right-radius:1.2rem;
}
}
.wikitable:not(.sortable) tr:last-child th:first-child,.wikitable:not(.sortable) tr:last-child td:first-child,
.wikitable:not(.sortable) tr:last-child th:first-child,.wikitable:not(.sortable) tr:last-child td:first-child,
.sortable>tbody>tr:last-child th:first-child,.sortable>tbody>tr:last-child td:first-child{
.sortable>tbody>tr:last-child th:first-child,.sortable>tbody>tr:last-child td:first-child{
     border-bottom-left-radius:1.2em;
     border-bottom-left-radius:1.2rem;
}
}
.wikitable:not(.sortable) tr:last-child th:last-child,.wikitable:not(.sortable) tr:last-child td:last-child,
.wikitable:not(.sortable) tr:last-child th:last-child,.wikitable:not(.sortable) tr:last-child td:last-child,
.sortable>tbody>tr:last-child th:last-child,.sortable>tbody>tr:last-child td:last-child{
.sortable>tbody>tr:last-child th:last-child,.sortable>tbody>tr:last-child td:last-child{
     border-bottom-right-radius:1.2em;
     border-bottom-right-radius:1.2rem;
}
}
.mw-collapsed>tbody>tr th:first-child,.mw-collapsed>tbody>tr td:first-child{
.mw-collapsed>tbody>tr th:first-child,.mw-collapsed>tbody>tr td:first-child{
     border-top-left-radius:1.2em;
     border-top-left-radius:1.2rem;
     border-bottom-left-radius:1.2em;
     border-bottom-left-radius:1.2rem;
}
}
.mw-collapsed>tbody>tr th:last-child,.mw-collapsed>tbody>tr td:last-child{
.mw-collapsed>tbody>tr th:last-child,.mw-collapsed>tbody>tr td:last-child{
     border-top-right-radius:1.2em;
     border-top-right-radius:1.2rem;
     border-bottom-right-radius:1.2em;
     border-bottom-right-radius:1.2rem;
}
}