MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 39: | Line 39: | ||
border: 1px solid red; | border: 1px solid red; | ||
display: grid; | display: grid; | ||
grid-template-columns: | grid-template-columns: 33% 33% 33%; | ||
} | } | ||
Revision as of 14:13, 7 August 2020
/* CSS placed here will be applied to all skins */ body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } #mw-panel { width: 20em; padding-right: 8px; } #left-navigation { margin-left: 21em; } #mw-page-base { background: white; } #mw-head-base { margin-left: 21em; } .mw-body { margin-left: 21em; } .mw-body-content { background-color: WhiteSmoke; } #footer { margin-left: 21em; } /* meta-diagram */ .container { border: 1px solid red; display: grid; grid-template-columns: 33% 33% 33%; } .container-box { border: 1px solid blue; float: left; position: relative; text-align: center; } .title { font-size: 48px; text-align: center; } .subtitle { font-size: 24px; text-align: center; margin-top: -24px; } .body { text-align: left; padding: 8px; }