MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 368: | Line 368: | ||
text-align: left; | text-align: left; | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
/* Mobile responsive infobox */ | |||
@media screen and (max-width: 768px) { | |||
.infobox.biography { | |||
float: none !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 15px 0 !important; | |||
box-sizing: border-box; | |||
overflow-x: auto; | |||
} | |||
.infobox.biography table { | |||
width: 100% !important; | |||
} | |||
.infobox.biography th { | |||
width: 35% !important; | |||
word-break: break-word; | |||
} | |||
.infobox.biography td { | |||
width: 65% !important; | |||
word-break: break-word; | |||
} | |||
.infobox-image img { | |||
max-width: 100% !important; | |||
height: auto !important; | |||
} | |||
.infobox-title { | |||
font-size: 22px !important; | |||
} | |||
} | } | ||