MediaWiki:Common.css: Difference between revisions

From stencil.wiki
(Created page with "→‎CSS placed here will be applied to all skins: .infobox { font-size: .875rem; background: #f2f2f2; float: right; margin: 0 0 1rem 1rem; padding: 1.375rem 1rem; max-width: 350px; width: auto; border-radius: 1rem; } .infobox-title { font-size: 1rem; font-weight: bold; text-align: center; } .infobox-image { text-align: center; } .infobox th { text-align: left; vertical-align: top; padding: .125rem .5rem; } .infobo...")
 
No edit summary
Line 9: Line 9:
     width: auto;
     width: auto;
     border-radius: 1rem;
     border-radius: 1rem;
}
.infobox-title {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}
}
.infobox-image {
.infobox-image {
Line 23: Line 18:
     padding: .125rem .5rem;
     padding: .125rem .5rem;
}
}
.infobox-title {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}
.infobox .infobox-header {
.infobox .infobox-header {
font-size: 1.125rem;
font-size: 1rem;
font-weight: bold;
font-weight: bold;
text-align: center;
padding-top:.5rem;
}
.infobox .infobox-subheader {
font-size: .875rem;
font-weight: 600;
text-align: center;
text-align: center;
}
}

Revision as of 03:41, 1 December 2024

/* CSS placed here will be applied to all skins */
.infobox {
	font-size: .875rem;
    background: #f2f2f2;
    float: right;
    margin: 0 0 1rem 1rem;
    padding: 1.375rem 1rem;
    max-width: 350px;
    width: auto;
    border-radius: 1rem;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: left;
    vertical-align: top;
    padding: .125rem .5rem;
}
.infobox-title {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

.infobox .infobox-header {
	font-size: 1rem;
	font-weight: bold;
	text-align: center;
	padding-top:.5rem;
}

.infobox .infobox-subheader {
	font-size: .875rem;
	font-weight: 600;
	text-align: center;
}
.infobox td {
    vertical-align: top;
    padding: .125rem .5rem;
}