MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
#mw-mf-page-center { | #mw-mf-page-center { | ||
margin-right: auto; | margin-right: auto; | ||
margin-left: auto; | margin-left: auto; | ||
background-color: unset; | background-color: unset; | ||
} | } | ||
@media (min-width: 1200px) { | |||
#mw-mf-page-center { | |||
max-width: 1140px; | |||
} | |||
} | |||
@media (min-width: 992px) { | |||
#mw-mf-page-center { | |||
max-width: 960px; | |||
} | |||
} | |||
@media (min-width: 768px) { | |||
#mw-mf-page-center { | |||
max-width: 720px; | |||
} | |||
} | |||
@media (min-width: 576px) { | |||
#mw-mf-page-center { | |||
max-width: 540px; | |||
} | |||
} | |||
.header-container.header-chrome { | .header-container.header-chrome { | ||
Line 31: | Line 56: | ||
background-color: rgba(42, 79, 114, 0.8); | background-color: rgba(42, 79, 114, 0.8); | ||
width: 100%; | width: 100%; | ||
} | |||
.bodyContent { | |||
width: 90%; | |||
} | } | ||
Revision as of 07:52, 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; } @media (min-width: 1200px) { #mw-mf-page-center { max-width: 1140px; } } @media (min-width: 992px) { #mw-mf-page-center { max-width: 960px; } } @media (min-width: 768px) { #mw-mf-page-center { max-width: 720px; } } @media (min-width: 576px) { #mw-mf-page-center { max-width: 540px; } } .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%; } .bodyContent { width: 90%; } .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); }