MediaWiki:Common.css: Difference between revisions
| IssuePress (talk | contribs) No edit summary | IssuePress (talk | contribs)  No edit summary | ||
| Line 4: | Line 4: | ||
|      background: #f8f9fa; |      background: #f8f9fa; | ||
|      float: right; |      float: right; | ||
|      padding: 1.375rem 1rem; |      padding: 1.375rem 1rem; | ||
| 	width: 100%; | 	width: 100%; | ||
| Line 55: | Line 54: | ||
| @media (min-width:641px) { | @media (min-width:641px) { | ||
| 	.infobox { | 	.infobox { | ||
| 		margin: 0 0 1rem 1rem; | |||
| 		max-width: 350px; | 		max-width: 350px; | ||
|      	width: auto; |      	width: auto; | ||
| 	} | 	} | ||
| } | } | ||
Revision as of 01:32, 3 December 2024
/* CSS placed here will be applied to all skins */
.infobox {
	font-size: .875rem;
    background: #f8f9fa;
    float: right;
    padding: 1.375rem 1rem;
	width: 100%;
    border-radius: 1rem;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: left;
    vertical-align: top;
    padding: .125rem .5rem;
}
.infobox td {
    vertical-align: top;
    padding: .125rem .5rem;
}
.infobox p {
	margin: 0;
}
th.infobox-title {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}
.infobox .infobox-header {
	font-size: .875rem;
	font-weight: bold;
	text-align: center;
	padding-top:.5rem;
}
.infobox .infobox-subheader {
	font-size: .75rem;
	font-weight: 600;
	text-align: center;
}
.rootpage-Main_Page .mw-body-header,
.rootpage-Main_Page .vector-page-toolbar {
  display: none;
}
@media (min-width:641px) {
	.infobox {
		margin: 0 0 1rem 1rem;
		max-width: 350px;
    	width: auto;
	}
}