MediaWiki:Common.css: различия между версиями
AsnDen (обсуждение | вклад) м 0.5em |
Tfmb (обсуждение | вклад) мНет описания правки |
||
| Строка 2176: | Строка 2176: | ||
border-radius: 1.4rem; | border-radius: 1.4rem; | ||
} | } | ||
.wikitable>*>tr:first-child>td,.wikitable>*>tr:first-child>th{ | .wikitable>*>tr:first-child>td,.wikitable>*>tr:first-child>th { | ||
border-top:1px solid black | border-top: 1px solid black | ||
} | } | ||
.wikitable>*>tr>td:first-child,.wikitable>*>tr>th:first-child{ | |||
border-left:1px solid black | .wikitable>*>tr>td:first-child,.wikitable>*>tr>th:first-child { | ||
border-left: 1px solid black | |||
} | } | ||
.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{ | .wikitable:not(.sortable)>*>tr:first-child>th:first-child, | ||
border-top-left-radius:1.2rem | .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 { | |||
border-top-left-radius: 1.2rem | |||
} | } | ||
.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{ | .wikitable:not(.sortable)>*>tr:first-child>th:last-child, | ||
border-top-right-radius:1.2rem | .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 { | |||
border-top-right-radius: 1.2rem | |||
} | } | ||
.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{ | .wikitable:not(.sortable)>*>tr:last-child>th:first-child, | ||
border-bottom-left-radius:1.2rem | .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 { | |||
border-bottom-left-radius: 1.2rem | |||
} | } | ||
.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{ | .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 { | |||
border-bottom-right-radius: 1.2rem | |||
} | } | ||
.mw-collapsed>tbody>tr th:first-child,.mw-collapsed>tbody>tr td:first-child{ | |||
border-top-left-radius:1.2rem; | .mw-collapsed>tbody>tr th:first-child, | ||
border-bottom-left-radius:1.2rem | .mw-collapsed>tbody>tr td:first-child { | ||
border-top-left-radius: 1.2rem; | |||
border-bottom-left-radius: 1.2rem | |||
} | } | ||
.mw-collapsed>tbody>tr th:last-child,.mw-collapsed>tbody>tr td:last-child{ | |||
border-top-right-radius:1.2rem; | .mw-collapsed>tbody>tr th:last-child, | ||
border-bottom-right-radius:1.2rem | .mw-collapsed>tbody>tr td:last-child { | ||
border-top-right-radius: 1.2rem; | |||
border-bottom-right-radius: 1.2rem | |||
} | } | ||