MediaWiki:Vector-2022.css: Difference between revisions
MediaWiki interface page
More actions
Wikitable padding for readability (only for Vector-2022) |
Adjusted wikitable padding |
||
| Line 655: | Line 655: | ||
while also retaining border-radius styling */ | while also retaining border-radius styling */ | ||
body:not(.ns-special) .wikitable { | body:not(.ns-special) .wikitable { | ||
display: inline-block; | |||
max-width: 100%; | |||
overflow-x: auto; | |||
overflow-y: hidden; | |||
background: transparent; | |||
border: none !important; | |||
border-collapse: separate !important; | |||
border-spacing: 0 !important; | |||
border-radius: 10px; | |||
clip-path: inset(0 round 10px); | |||
th { | |||
padding-top: 0.5em; | |||
padding-bottom: 0.5em; | |||
padding-left: 0.75em; | |||
} | |||
td { | |||
padding: 0.25em 0.75em; | |||
} | |||
} | } | ||