MediaWiki:Mobile.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 147: | Line 147: | ||
/* infobox */ | /* infobox */ | ||
@media screen and (max-width: | @media screen and (max-width: 1280px) { | ||
table.infobox { | table.infobox { | ||
width: 100% !important; | width: 100% !important; | ||
margin: 0; | margin: 0; | ||
padding: 0 0.5em; | padding: 0 0.5em; | ||
box-sizing: border-box; | |||
table-layout: auto !important; | |||
overflow-x: hidden !important; | |||
} | } | ||
table.infobox > tbody { | table.infobox > tbody { | ||
| Line 163: | Line 163: | ||
table.infobox td { | table.infobox td { | ||
text-align: center !important; | text-align: center !important; | ||
white-space: normal; | white-space: normal !important; | ||
word-wrap: break-word !important; | |||
padding: 0.5em; | |||
} | |||
table.infobox img { | |||
display: block; | |||
width: 100% !important; | |||
height: auto !important; | |||
margin: 0; | |||
} | |||
} | } | ||