MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
No edit summary |
||
(25 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 1em; | padding: 1em; | ||
width: | width: 290px; | ||
} | } | ||
.infobox-title { | .infobox-title { | ||
Line 23: | Line 23: | ||
vertical-align: top; | vertical-align: top; | ||
width: 160px; | width: 160px; | ||
} | |||
@media only screen and (max-width: 1250px) { | |||
.infobox { | |||
position: unset; | |||
right: unset; | |||
margin-bottom: 10px; | |||
float: unset; | |||
} | |||
} | } |
Latest revision as of 07:13, 12 May 2022
.infobox{ background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 290px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox th { text-align: center; vertical-align: top; width: 120px; } .infobox td { text-align: center; vertical-align: top; width: 160px; } @media only screen and (max-width: 1250px) { .infobox { position: unset; right: unset; margin-bottom: 10px; float: unset; } }