MediaWiki:Common.css: Difference between revisions
Unuvun Rain (talk | contribs) No edit summary |
Unuvun Rain (talk | contribs) No edit summary |
||
Line 26: | Line 26: | ||
div.image { | div.image { | ||
display: flex; | display: flex; | ||
justify-content: | justify-content: center; | ||
} | } | ||
Revision as of 17:51, 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:302px;
display:flex;
flex-direction:column;
align-items:center;
border:1px solid var(--b);
}
div.image {
display: flex;
justify-content: center;
}
div.image img {
max-width: 95%;
height: auto;
}