MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
.container { | .container { | ||
border: 1px solid red; | border: 1px solid red; | ||
display: grid; | |||
grid-template-columns: 200px 200px 200px; | |||
} | } | ||
Revision as of 14:08, 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: 200px 200px 200px; } .container-left { border: 1px solid blue; float: left; display: grid; position: relative; text-align: center; width: 50%; } .container-right { border: 1px solid green; } .title { font-size: 48px; text-align: center; } .subtitle { font-size: 24px; text-align: center; margin-top: -24px; } .body { text-align: left; padding: 8px; }