Difference between revisions of "MediaWiki:Common.css"

From A Fox's Guide
Jump to navigation Jump to search
(Add styling for infoboxes)
 
Line 6: Line 6:
     margin: 0 0 1em 1em;
     margin: 0 0 1em 1em;
     padding: 1em;
     padding: 1em;
     width: 400px;
     width: 22em;
}
}
.infobox-title {
.infobox-title {
     font-size: 2em;
font-size: 125%;
     font-weight: bold;
     text-align: center;
     text-align: center;
}
}
Line 15: Line 16:
     text-align: center;
     text-align: center;
}
}
.infobox th {
.infobox th, .infobox td {
    text-align: right;
     text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox td {
     vertical-align: top;
}
}
/* End infobox styles */
/* End infobox styles */

Revision as of 08:39, 7 March 2022

/* Infobox styles */
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 22em;
}
.infobox-title {
	font-size: 125%;
    font-weight: bold;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th, .infobox td {
    text-align: left;
}
/* End infobox styles */