MediaWiki:Common.css: Difference between revisions
no edit summary
imported>Kittymmeow No edit summary |
imported>Kittymmeow No edit summary |
||
Line 1,422: | Line 1,422: | ||
/* [[Template:Infobox]], [[Template:Infobox row]] */ | /* [[Template:Infobox]], [[Template:Infobox row]] */ | ||
. | .moduleinfobox { | ||
position: relative; | position: relative; | ||
clear: right; | clear: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
width: | width: 270px; | ||
font-size: 90%; | font-size: 90%; | ||
float: right; | float: right; | ||
Line 1,435: | Line 1,435: | ||
} | } | ||
@media all and (max-width: 511px) { | @media all and (max-width: 511px) { | ||
. | .moduleinfobox { | ||
float: none; | float: none; | ||
margin-left: 0; | margin-left: 0; | ||
Line 1,442: | Line 1,442: | ||
} | } | ||
@media all and (max-width: 337px) { | @media all and (max-width: 337px) { | ||
. | .moduleinfobox { | ||
margin-left: -16px; | margin-left: -16px; | ||
margin-right: -16px; | margin-right: -16px; | ||
Line 1,451: | Line 1,451: | ||
. | .moduleinfobox > .infobox-title { | ||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
Line 1,472: | Line 1,472: | ||
} | } | ||
. | .moduleinfobox .infobox-rows { | ||
display: table; | display: table; | ||
margin: 0 !important; | margin: 0 !important; |