MediaWiki:Common.css: Difference between revisions
mNo edit summary |
m Adjust infobox metrics |
||
| Line 70: | Line 70: | ||
.infobox { | .infobox { | ||
margin: auto; | |||
max-width: 272px; | |||
} | } | ||
@media (min-width: 768px) { | @media (min-width: 768px) { | ||
.infobox { | |||
float: right; | |||
min-width: 272px; | |||
margin-left: 1rem; | |||
margin-bottom: 1rem; | |||
} | |||
} | } | ||
.infobox > table { | .infobox > table { | ||
border: 1px solid #ddd; | |||
border-right-width: 5px; | |||
border-collapse: collapse; | |||
} | } | ||
.infobox > table tr:first-child th { | .infobox > table tr:first-child th { | ||
text-align: center; | |||
background: #eee; | |||
} | } | ||
| Line 105: | Line 105: | ||
.infobox .table > thead > tr > td, | .infobox .table > thead > tr > td, | ||
.infobox .table > thead > tr > th { | .infobox .table > thead > tr > th { | ||
padding: 0.1rem 0.4rem; | |||
} | } | ||