MediaWiki:Common.css: Difference between revisions

From Central Student Government Wiki
Jump to navigation Jump to search
Administrator (talk | contribs)
Reverting to just infobox
Tags: Replaced Manual revert
Administrator (talk | contribs)
Undo revision 672 by Administrator (talk)
Tag: Undo
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
.infobox .navbar {
    font-size: 100%;
}
.infobox {
.infobox {
    width: 30em;      /* Increased from 22em */
    max-width: 40%;  /* Increased from 25% */
     border: 1px solid #a2a9b1;
     border: 1px solid #a2a9b1;
     border-spacing: 3px;
     border-spacing: 3px;
Line 17: Line 15:
     font-size: 88%;
     font-size: 88%;
     line-height: 1.5em;
     line-height: 1.5em;
}
/* Fix for infobox image centering and proportions */
.mw-parser-output .infobox-image {
    text-align: center;
    padding: 0.2em;
}
.mw-parser-output .infobox-image img {
    max-width: 220px;
    height: auto;
    display: inline-block;
}
.mw-parser-output .infobox-caption {
    text-align: center;
    line-height: normal;
    padding-top: 0.2em;
}
.infobox-full-data {
text-align: center;
vertical-align: top;
}
}

Latest revision as of 22:47, 4 March 2025

.infobox {
    width: 30em;      /* Increased from 22em */
    max-width: 40%;   /* Increased from 25% */
    border: 1px solid #a2a9b1;
    border-spacing: 3px;
    background-color: #f8f9fa;
    color: black;
    /* @noflip */
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    /* @noflip */
    float: right;
    /* @noflip */
    clear: right;
    font-size: 88%;
    line-height: 1.5em;
}

/* Fix for infobox image centering and proportions */
.mw-parser-output .infobox-image {
    text-align: center;
    padding: 0.2em;
}

.mw-parser-output .infobox-image img {
    max-width: 220px;
    height: auto;
    display: inline-block;
}

.mw-parser-output .infobox-caption {
    text-align: center;
    line-height: normal;
    padding-top: 0.2em;
}

.infobox-full-data {
	text-align: center;
	vertical-align: top;
}