MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
.mw-body-content { | .mw-body-content { | ||
width: 90%; | width: 90%; | ||
margin-left: | margin-left: 0px; | ||
margin-right: | margin-right: 0px; | ||
} | } | ||
Line 79: | Line 79: | ||
#mw-mf-page-center { | #mw-mf-page-center { | ||
max-width: 960px; | max-width: 960px; | ||
} | |||
.mw-body-content { | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | } | ||
} | } |
Revision as of 08:57, 3 April 2025
/* CSS placed here will be applied to all skins */ .mediawiki { background-image: url(../img/bg.jpg); background-attachment: fixed; background-position: center; background-size: cover; } #mw-mf-viewport { background-color: rgba(0, 0, 0, 0.7); } #mw-mf-page-center { margin-right: auto; margin-left: auto; background-color: unset; } .header-container.header-chrome { background-color: rgba(39, 111, 191, 0.8); } .mw-body { background-image: url(../img/bg.png); background-color: unset; } .content { background-color: rgba(42, 79, 114, 0.8); width: 100%; max-width: 100%; padding-top: 2rem; padding-bottom: 2rem; } .mw-body-content { width: 90%; margin-left: 0px; margin-right: 0px; } .mw-content-ltr::before { border-radius: 0.5rem; content: ""; position: absolute; top: -0.5rem; bottom: -0.5rem; left: -0.5rem; right: -0.5rem; border: 0.25rem solid rgba(222, 226, 230, 0.8); z-index: -1; } .mw-content-ltr { position: relative; padding: 3rem; margin: 0.5rem; background-color: rgba(222, 226, 230, 0.8); } .mw-footer { background-color: rgba(39, 111, 191, 0.8); } @media (min-width: 576px) { #mw-mf-page-center { max-width: 540px; } } @media (min-width: 768px) { #mw-mf-page-center { max-width: 720px; } } @media (min-width: 992px) { #mw-mf-page-center { max-width: 960px; } .mw-body-content { margin-left: auto; margin-right: auto; } } @media (min-width: 1200px) { #mw-mf-page-center { max-width: 1140px; } }