MediaWiki:Common.css: Difference between revisions
Unuvun Rain (talk | contribs) No edit summary |
Unuvun Rain (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
div.infobox { | div.infobox { | ||
float:right; | float:right; | ||
width: | width:288px; | ||
display:flex; | display:flex; | ||
flex-direction:column; | flex-direction:column; |
Revision as of 17:58, 16 September 2017
/*Global variables
*
*NOTES:
*- Use two spaces for indentation
*/
:root {
--b: #A2A9B1; /*Border color used to match the default wiki skin*/
}
/*Formatting for infoboxes*/
div.infobox {
float:right;
width:288px;
display:flex;
flex-direction:column;
align-items:center;
border:1px solid var(--b);
}
div.image {
width: 95%;
}
div.image img {
max-width: 100%;
height: auto;
}