MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1,817: | Line 1,817: | ||
.wizlords-reputation-table td:nth-child(3) { | .wizlords-reputation-table td:nth-child(3) { | ||
text-align: left; | text-align: left; | ||
} | |||
@media (max-width: 899px) { | |||
.wikitable.wizlords-reputation-table, | |||
.wizlords-reputation-table { | |||
width: 100%; | |||
min-width: 0; | |||
max-width: 680px; | |||
margin-right: auto; | |||
margin-left: auto; | |||
table-layout: fixed; | |||
} | |||
.wikitable.wizlords-reputation-table th, | |||
.wikitable.wizlords-reputation-table td, | |||
.wizlords-reputation-table th, | |||
.wizlords-reputation-table td { | |||
padding: 8px 6px !important; | |||
white-space: normal !important; | |||
overflow-wrap: normal !important; | |||
word-break: normal !important; | |||
hyphens: none; | |||
} | |||
.wikitable.wizlords-reputation-table th:nth-child(1), | |||
.wikitable.wizlords-reputation-table td:nth-child(1), | |||
.wizlords-reputation-table th:nth-child(1), | |||
.wizlords-reputation-table td:nth-child(1) { | |||
width: 22%; | |||
text-align: center; | |||
} | |||
.wikitable.wizlords-reputation-table th:nth-child(2), | |||
.wikitable.wizlords-reputation-table td:nth-child(2), | |||
.wizlords-reputation-table th:nth-child(2), | |||
.wizlords-reputation-table td:nth-child(2) { | |||
width: 26%; | |||
text-align: center; | |||
} | |||
.wikitable.wizlords-reputation-table th:nth-child(3), | |||
.wikitable.wizlords-reputation-table td:nth-child(3), | |||
.wizlords-reputation-table th:nth-child(3), | |||
.wizlords-reputation-table td:nth-child(3) { | |||
width: 52%; | |||
text-align: left; | |||
} | |||
} | |||
@media (max-width: 380px) { | |||
.wikitable.wizlords-reputation-table th, | |||
.wikitable.wizlords-reputation-table td, | |||
.wizlords-reputation-table th, | |||
.wizlords-reputation-table td { | |||
padding: 7px 5px !important; | |||
font-size: 12px; | |||
line-height: 1.35; | |||
} | |||
.wikitable.wizlords-reputation-table th:nth-child(1), | |||
.wikitable.wizlords-reputation-table td:nth-child(1), | |||
.wizlords-reputation-table th:nth-child(1), | |||
.wizlords-reputation-table td:nth-child(1) { | |||
width: 21%; | |||
} | |||
.wikitable.wizlords-reputation-table th:nth-child(2), | |||
.wikitable.wizlords-reputation-table td:nth-child(2), | |||
.wizlords-reputation-table th:nth-child(2), | |||
.wizlords-reputation-table td:nth-child(2) { | |||
width: 25%; | |||
} | |||
.wikitable.wizlords-reputation-table th:nth-child(3), | |||
.wikitable.wizlords-reputation-table td:nth-child(3), | |||
.wizlords-reputation-table th:nth-child(3), | |||
.wizlords-reputation-table td:nth-child(3) { | |||
width: 54%; | |||
} | |||
} | |||
@media (min-width: 600px) and (max-width: 899px) { | |||
.wikitable.wizlords-reputation-table th:nth-child(1), | |||
.wikitable.wizlords-reputation-table td:nth-child(1), | |||
.wizlords-reputation-table th:nth-child(1), | |||
.wizlords-reputation-table td:nth-child(1) { | |||
width: 18%; | |||
} | |||
.wikitable.wizlords-reputation-table th:nth-child(2), | |||
.wikitable.wizlords-reputation-table td:nth-child(2), | |||
.wizlords-reputation-table th:nth-child(2), | |||
.wizlords-reputation-table td:nth-child(2) { | |||
width: 22%; | |||
} | |||
.wikitable.wizlords-reputation-table th:nth-child(3), | |||
.wikitable.wizlords-reputation-table td:nth-child(3), | |||
.wizlords-reputation-table th:nth-child(3), | |||
.wizlords-reputation-table td:nth-child(3) { | |||
width: 60%; | |||
} | |||
} | } | ||