MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 137: | Line 137: | ||
} | } | ||
.l1-compare-wrap { | .l1-compare-wrap { | ||
display: block; | |||
overflow-x: auto; | overflow-x: auto; | ||
max-width: 100%; | max-width: 100%; | ||
| Line 146: | Line 145: | ||
} | } | ||
table.l1-compare { | table.l1-compare { | ||
white-space: nowrap; | white-space: nowrap; | ||
| Line 154: | Line 152: | ||
} | } | ||
table.l1-compare th { | table.l1-compare th { | ||
position: -webkit-sticky; | position: -webkit-sticky; | ||
position: sticky; | position: sticky; | ||
top: 0; | top: 0; | ||
background: #f8f9fa; | background: #f8f9fa; | ||
color: #202122; | color: #202122; | ||
z-index: 10; | z-index: 10; | ||
} | } | ||
table.l1-compare th:first-child, | table.l1-compare th:first-child, | ||
table.l1-compare td:first-child { | table.l1-compare td:first-child { | ||
| Line 175: | Line 171: | ||
} | } | ||
table.l1-compare th:first-child { | table.l1-compare th:first-child { | ||
z-index: 11; | z-index: 11; | ||
background: #f8f9fa; | background: #f8f9fa; | ||
} | } | ||