MediaWiki:Common.css: Difference between revisions

From Tech Tangents
Jump to navigation Jump to search
No edit summary
No edit summary
Line 52: Line 52:
     padding: 0.5em;
     padding: 0.5em;
}
}
.examplebox-horizontal th.info-section-sub {
.examplebox-horizontal th.info-section-sub {
     text-align: left;
     text-align: right;
     font-size:112.5%;
     font-size:112.5%;
}
}
div.examplebox-image {
div.examplebox-image {
     display: inline-block;
     display: inline-block;

Revision as of 23:15, 24 June 2023

/* CSS placed here will be applied to all skins */
.inline-thing {
	display: inline-block;
	padding: 0em 1em;
}

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 0.5em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
    border-bottom: 1px solid #ccc;
}
div.infobox-image {
    margin-bottom: -1em;
}
.infobox-image {
    text-align: center;
    padding-top: 1em;
}
.infobox th.info-section-sub {
    text-align: left;
    font-size:112.5%;
}
.infobox th.info-section {
    text-align: left;
    border-bottom: 1px solid #ccc;
    font-size:125%;
    padding-top: 1.5em;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
    padding-right:0.5em;
}
.infobox td {
    vertical-align: top;
}

.examplebox-horizontal {
    background: #eee;
    border: 1px solid #aaa;
    float: left;
    margin: 0 0 1em 1em;
    padding: 0.5em;
}

.examplebox-horizontal th.info-section-sub {
    text-align: right;
    font-size:112.5%;
}

div.examplebox-image {
    display: inline-block;
}

.examplebox-horizontal > table {
    display: inline-block;
}