MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* ================================================================ | /* ================================================================ | ||
MAIN PAGE RESTORE | |||
Put this at the VERY END of MediaWiki:Common.css | |||
================================================================ */ | ================================================================ */ | ||
/* Restore the original main-page behavior */ | |||
/* | |||
body.page-Main_Page #content, | body.page-Main_Page #content, | ||
body.page-Main_Page .mw-body { | body.page-Main_Page .mw-body { | ||
margin-top: 0 !important; | |||
margin-left: 0 !important; | |||
padding: 0 !important; | padding: 0 !important; | ||
border: none !important; | border: none !important; | ||
border-radius: 0 !important; | |||
background: transparent !important; | background: transparent !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
overflow: visible !important; | |||
max-width: none !important; | |||
} | |||
body.page-Main_Page #content::before, | |||
body.page-Main_Page .mw-body::before { | |||
display: none !important; | |||
content: none !important; | |||
} | } | ||
| Line 98: | Line 27: | ||
body.page-Main_Page .mw-body-content, | body.page-Main_Page .mw-body-content, | ||
body.page-Main_Page .mw-parser-output { | body.page-Main_Page .mw-parser-output { | ||
margin: 0 !important; | |||
padding: 0 !important; | |||
background: transparent !important; | background: transparent !important; | ||
box-shadow: none !important; | |||
} | } | ||
/* Hide default wiki title/subtitle on Main Page */ | |||
body.page-Main_Page #firstHeading, | body.page-Main_Page #firstHeading, | ||
body.page-Main_Page .mw-first-heading, | body.page-Main_Page .mw-first-heading, | ||
| Line 109: | Line 40: | ||
} | } | ||
/* | /* Remove global article-flow/card styling from Main Page */ | ||
body.page-Main_Page .mw-parser-output > p, | |||
body.page-Main_Page .mw-parser-output > ul, | |||
body.page-Main_Page .mw-parser-output > ol, | |||
body.page-Main_Page .mw-parser-output > table, | |||
body.page-Main_Page .mw-parser-output > blockquote, | |||
body.page-Main_Page .mw-parser-output > pre, | |||
body.page-Main_Page .mw-parser-output > .toc, | |||
body.page-Main_Page .mw-parser-output > #toc { | |||
/ | |||
body | |||
body | |||
body | |||
body | |||
body | |||
body | |||
body | |||
body | |||
background: transparent !important; | background: transparent !important; | ||
border: 0 !important; | border: 0 !important; | ||
| Line 334: | Line 56: | ||
} | } | ||
body | body.page-Main_Page .mw-parser-output > * + * { | ||
margin-top: | margin-top: 0 !important; | ||
} | } | ||
/* | /* Main page should not inherit the dark wiki shell chrome */ | ||
body.page-Main_Page #mw-page-base, | |||
body.page-Main_Page #mw-head, | |||
.mw- | body.page-Main_Page #mw-navigation, | ||
.mw- | body.page-Main_Page .vector-header, | ||
. | body.page-Main_Page .vector-sticky-header, | ||
body.page-Main_Page .vector-page-toolbar, | |||
body.page-Main_Page .vector-pinnable-header, | |||
body.page-Main_Page .vector-header-container, | |||
body.page-Main_Page .vector-header-start, | |||
body.page-Main_Page .vector-header-end, | |||
body.page-Main_Page .vector-page-toolbar-container, | |||
. | body.page-Main_Page .vector-user-links, | ||
.vector- | body.page-Main_Page .vector-user-menu, | ||
body.page-Main_Page #p-personal, | |||
body.page-Main_Page #p-vector-user-menu-overflow, | |||
body.page-Main_Page #mw-panel, | |||
body.page-Main_Page .vector-column-start, | |||
body.page-Main_Page .vector-sidebar, | |||
body.page-Main_Page .vector-sidebar-container, | |||
. | body.page-Main_Page .vector-menu, | ||
body.page-Main_Page .vector-menu-portal, | |||
body.page-Main_Page .portal, | |||
body.page-Main_Page #footer, | |||
body.page-Main_Page .mw-footer, | |||
body.page-Main_Page .vector-footer-container { | |||
background: transparent !important; | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
background: | |||
box-shadow: none !important; | box-shadow: none !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
/* Keep links on main page from being restyled by the wiki shell */ | |||
body.page-Main_Page #mw-head a, | |||
body.page-Main_Page #mw-navigation a, | |||
body.page-Main_Page #mw-panel a, | |||
body.page-Main_Page .vector-sidebar a, | |||
body.page-Main_Page .vector-menu a, | |||
body.page-Main_Page .portal a, | |||
body.page-Main_Page #footer a, | |||
body.page-Main_Page .mw-footer a { | |||
text-shadow: none !important; | |||
} | } | ||
/* | /* Main page custom roots must own the layout completely */ | ||
body.page-Main_Page .timero-wiki-root, | body.page-Main_Page .timero-wiki-root, | ||
body.page-Main_Page # | body.page-Main_Page #home-root, | ||
body.page-Main_Page #main-page-root { | |||
display: block !important; | |||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | |||
width: 100% !important; | width: 100% !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
min-width: 0 !important; | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
overflow-x: hidden !important; | |||
box-sizing: border-box !important; | |||
} | } | ||
.timero-wiki-root, | body.page-Main_Page .timero-wiki-root > div, | ||
. | body.page-Main_Page #home-root > div, | ||
# | body.page-Main_Page #main-page-root > div { | ||
width: 100% !important; | |||
box-sizing: border-box; | max-width: 100% !important; | ||
box-sizing: border-box !important; | |||
} | } | ||
/* ================================================================ | |||
MAIN PAGE RESTORE | |||
Put this at the VERY END of MediaWiki:Common.css | |||
================================================================ */ | |||
/* Restore the original main-page behavior */ | |||
. | body.page-Main_Page #content, | ||
. | body.page-Main_Page .mw-body { | ||
. | margin-top: 0 !important; | ||
margin-left: 0 !important; | |||
padding: 0 !important; | |||
border: none !important; | border: none !important; | ||
border- | border-radius: 0 !important; | ||
background: transparent !important; | |||
box-shadow: none !important; | |||
overflow: visible !important; | |||
max-width: none !important; | |||
} | } | ||
. | body.page-Main_Page #content::before, | ||
. | body.page-Main_Page .mw-body::before { | ||
display: none !important; | display: none !important; | ||
content: none !important; | |||
} | } | ||
body.page-Main_Page #bodyContent, | |||
. | body.page-Main_Page .mw-body-content, | ||
. | body.page-Main_Page .mw-parser-output { | ||
. | margin: 0 !important; | ||
padding: 0 !important; | |||
background: transparent !important; | background: transparent !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
. | /* Hide default wiki title/subtitle on Main Page */ | ||
# | body.page-Main_Page #firstHeading, | ||
display: | body.page-Main_Page .mw-first-heading, | ||
body.page-Main_Page #contentSub { | |||
display: none !important; | |||
} | } | ||
. | /* Remove global article-flow/card styling from Main Page */ | ||
body.page-Main_Page .mw-parser-output > p, | |||
body.page-Main_Page .mw-parser-output > ul, | |||
body.page-Main_Page .mw-parser-output > ol, | |||
body.page-Main_Page .mw-parser-output > table, | |||
body.page-Main_Page .mw-parser-output > blockquote, | |||
body.page-Main_Page .mw-parser-output > pre, | |||
body.page-Main_Page .mw-parser-output > .toc, | |||
body.page-Main_Page .mw-parser-output > #toc { | |||
background: transparent !important; | |||
border: 0 !important; | |||
border-radius: 0 !important; | |||
padding: 0 !important; | padding: 0 !important; | ||
box-shadow: none !important; | |||
} | } | ||
body.page-Main_Page .mw-parser-output > * + * { | |||
margin-top: 0 !important; | |||
} | } | ||
/* Main page should not inherit the dark wiki shell chrome */ | |||
body.page-Main_Page #mw-page-base, | |||
body.page-Main_Page #mw-head, | |||
body.page-Main_Page #mw-navigation, | |||
body.page-Main_Page .vector-header, | |||
body.page-Main_Page .vector-sticky-header, | |||
body.page-Main_Page .vector-page-toolbar, | |||
body.page-Main_Page .vector-pinnable-header, | |||
body.page-Main_Page .vector-header-container, | |||
body.page-Main_Page .vector-header-start, | |||
body.page-Main_Page .vector-header-end, | |||
body.page-Main_Page .vector-page-toolbar-container, | |||
body.page-Main_Page .vector-user-links, | |||
body.page-Main_Page .vector-user-menu, | |||
body.page-Main_Page #p-personal, | |||
. | body.page-Main_Page #p-vector-user-menu-overflow, | ||
body.page-Main_Page #mw-panel, | |||
body.page-Main_Page .vector-column-start, | |||
body.page-Main_Page .vector-sidebar, | |||
body.page-Main_Page .vector-sidebar-container, | |||
body.page-Main_Page .vector-menu, | |||
body.page-Main_Page .vector-menu-portal, | |||
body.page-Main_Page .portal, | |||
body.page-Main_Page #footer, | |||
body.page-Main_Page .mw-footer, | |||
. | body.page-Main_Page .vector-footer-container { | ||
background: transparent !important; | |||
box-shadow: none !important; | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
. | |||
border: none !important; | border: none !important; | ||
} | } | ||
. | /* Keep links on main page from being restyled by the wiki shell */ | ||
body.page-Main_Page #mw-head a, | |||
body.page-Main_Page #mw-navigation a, | |||
body.page-Main_Page #mw-panel a, | |||
body.page-Main_Page .vector-sidebar a, | |||
body.page-Main_Page .vector-menu a, | |||
body.page-Main_Page .portal a, | |||
body.page-Main_Page #footer a, | |||
body.page-Main_Page .mw-footer a { | |||
text-shadow: none !important; | |||
} | } | ||
/* Main page custom roots must own the layout completely */ | |||
body.page-Main_Page .timero-wiki-root, | |||
body.page-Main_Page #home-root, | |||
body.page-Main_Page #main-page-root { | |||
display: block !important; | |||
/* | |||
. | |||
. | |||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | |||
width: 100% !important; | width: 100% !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
min-width: 0 !important; | min-width: 0 !important; | ||
background: transparent !important; | |||
box-shadow: none !important; | |||
overflow-x: hidden !important; | overflow-x: hidden !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
} | } | ||
body.page-Main_Page .timero-wiki-root > div, | |||
.timero-wiki-root > div, | body.page-Main_Page #home-root > div, | ||
# | body.page-Main_Page #main-page-root > div { | ||
# | |||
width: 100% !important; | width: 100% !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
} | } | ||
Revision as of 20:07, 13 April 2026
/* ================================================================
MAIN PAGE RESTORE
Put this at the VERY END of MediaWiki:Common.css
================================================================ */
/* Restore the original main-page behavior */
body.page-Main_Page #content,
body.page-Main_Page .mw-body {
margin-top: 0 !important;
margin-left: 0 !important;
padding: 0 !important;
border: none !important;
border-radius: 0 !important;
background: transparent !important;
box-shadow: none !important;
overflow: visible !important;
max-width: none !important;
}
body.page-Main_Page #content::before,
body.page-Main_Page .mw-body::before {
display: none !important;
content: none !important;
}
body.page-Main_Page #bodyContent,
body.page-Main_Page .mw-body-content,
body.page-Main_Page .mw-parser-output {
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
box-shadow: none !important;
}
/* Hide default wiki title/subtitle on Main Page */
body.page-Main_Page #firstHeading,
body.page-Main_Page .mw-first-heading,
body.page-Main_Page #contentSub {
display: none !important;
}
/* Remove global article-flow/card styling from Main Page */
body.page-Main_Page .mw-parser-output > p,
body.page-Main_Page .mw-parser-output > ul,
body.page-Main_Page .mw-parser-output > ol,
body.page-Main_Page .mw-parser-output > table,
body.page-Main_Page .mw-parser-output > blockquote,
body.page-Main_Page .mw-parser-output > pre,
body.page-Main_Page .mw-parser-output > .toc,
body.page-Main_Page .mw-parser-output > #toc {
background: transparent !important;
border: 0 !important;
border-radius: 0 !important;
padding: 0 !important;
box-shadow: none !important;
}
body.page-Main_Page .mw-parser-output > * + * {
margin-top: 0 !important;
}
/* Main page should not inherit the dark wiki shell chrome */
body.page-Main_Page #mw-page-base,
body.page-Main_Page #mw-head,
body.page-Main_Page #mw-navigation,
body.page-Main_Page .vector-header,
body.page-Main_Page .vector-sticky-header,
body.page-Main_Page .vector-page-toolbar,
body.page-Main_Page .vector-pinnable-header,
body.page-Main_Page .vector-header-container,
body.page-Main_Page .vector-header-start,
body.page-Main_Page .vector-header-end,
body.page-Main_Page .vector-page-toolbar-container,
body.page-Main_Page .vector-user-links,
body.page-Main_Page .vector-user-menu,
body.page-Main_Page #p-personal,
body.page-Main_Page #p-vector-user-menu-overflow,
body.page-Main_Page #mw-panel,
body.page-Main_Page .vector-column-start,
body.page-Main_Page .vector-sidebar,
body.page-Main_Page .vector-sidebar-container,
body.page-Main_Page .vector-menu,
body.page-Main_Page .vector-menu-portal,
body.page-Main_Page .portal,
body.page-Main_Page #footer,
body.page-Main_Page .mw-footer,
body.page-Main_Page .vector-footer-container {
background: transparent !important;
box-shadow: none !important;
border: none !important;
}
/* Keep links on main page from being restyled by the wiki shell */
body.page-Main_Page #mw-head a,
body.page-Main_Page #mw-navigation a,
body.page-Main_Page #mw-panel a,
body.page-Main_Page .vector-sidebar a,
body.page-Main_Page .vector-menu a,
body.page-Main_Page .portal a,
body.page-Main_Page #footer a,
body.page-Main_Page .mw-footer a {
text-shadow: none !important;
}
/* Main page custom roots must own the layout completely */
body.page-Main_Page .timero-wiki-root,
body.page-Main_Page #home-root,
body.page-Main_Page #main-page-root {
display: block !important;
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
background: transparent !important;
box-shadow: none !important;
overflow-x: hidden !important;
box-sizing: border-box !important;
}
body.page-Main_Page .timero-wiki-root > div,
body.page-Main_Page #home-root > div,
body.page-Main_Page #main-page-root > div {
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
}
/* ================================================================
MAIN PAGE RESTORE
Put this at the VERY END of MediaWiki:Common.css
================================================================ */
/* Restore the original main-page behavior */
body.page-Main_Page #content,
body.page-Main_Page .mw-body {
margin-top: 0 !important;
margin-left: 0 !important;
padding: 0 !important;
border: none !important;
border-radius: 0 !important;
background: transparent !important;
box-shadow: none !important;
overflow: visible !important;
max-width: none !important;
}
body.page-Main_Page #content::before,
body.page-Main_Page .mw-body::before {
display: none !important;
content: none !important;
}
body.page-Main_Page #bodyContent,
body.page-Main_Page .mw-body-content,
body.page-Main_Page .mw-parser-output {
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
box-shadow: none !important;
}
/* Hide default wiki title/subtitle on Main Page */
body.page-Main_Page #firstHeading,
body.page-Main_Page .mw-first-heading,
body.page-Main_Page #contentSub {
display: none !important;
}
/* Remove global article-flow/card styling from Main Page */
body.page-Main_Page .mw-parser-output > p,
body.page-Main_Page .mw-parser-output > ul,
body.page-Main_Page .mw-parser-output > ol,
body.page-Main_Page .mw-parser-output > table,
body.page-Main_Page .mw-parser-output > blockquote,
body.page-Main_Page .mw-parser-output > pre,
body.page-Main_Page .mw-parser-output > .toc,
body.page-Main_Page .mw-parser-output > #toc {
background: transparent !important;
border: 0 !important;
border-radius: 0 !important;
padding: 0 !important;
box-shadow: none !important;
}
body.page-Main_Page .mw-parser-output > * + * {
margin-top: 0 !important;
}
/* Main page should not inherit the dark wiki shell chrome */
body.page-Main_Page #mw-page-base,
body.page-Main_Page #mw-head,
body.page-Main_Page #mw-navigation,
body.page-Main_Page .vector-header,
body.page-Main_Page .vector-sticky-header,
body.page-Main_Page .vector-page-toolbar,
body.page-Main_Page .vector-pinnable-header,
body.page-Main_Page .vector-header-container,
body.page-Main_Page .vector-header-start,
body.page-Main_Page .vector-header-end,
body.page-Main_Page .vector-page-toolbar-container,
body.page-Main_Page .vector-user-links,
body.page-Main_Page .vector-user-menu,
body.page-Main_Page #p-personal,
body.page-Main_Page #p-vector-user-menu-overflow,
body.page-Main_Page #mw-panel,
body.page-Main_Page .vector-column-start,
body.page-Main_Page .vector-sidebar,
body.page-Main_Page .vector-sidebar-container,
body.page-Main_Page .vector-menu,
body.page-Main_Page .vector-menu-portal,
body.page-Main_Page .portal,
body.page-Main_Page #footer,
body.page-Main_Page .mw-footer,
body.page-Main_Page .vector-footer-container {
background: transparent !important;
box-shadow: none !important;
border: none !important;
}
/* Keep links on main page from being restyled by the wiki shell */
body.page-Main_Page #mw-head a,
body.page-Main_Page #mw-navigation a,
body.page-Main_Page #mw-panel a,
body.page-Main_Page .vector-sidebar a,
body.page-Main_Page .vector-menu a,
body.page-Main_Page .portal a,
body.page-Main_Page #footer a,
body.page-Main_Page .mw-footer a {
text-shadow: none !important;
}
/* Main page custom roots must own the layout completely */
body.page-Main_Page .timero-wiki-root,
body.page-Main_Page #home-root,
body.page-Main_Page #main-page-root {
display: block !important;
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
background: transparent !important;
box-shadow: none !important;
overflow-x: hidden !important;
box-sizing: border-box !important;
}
body.page-Main_Page .timero-wiki-root > div,
body.page-Main_Page #home-root > div,
body.page-Main_Page #main-page-root > div {
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
}