MediaWiki:Common.css: Difference between revisions
From Combat Demo
Created page with "→CSS placed here will be applied to all skins: →--- Sticky Footer for Timeless Skin ---: →Make the main wrapper a flex container that's at least as tall as the screen: #mw-wrapper { display: flex; flex-direction: column; min-height: 100vh; } →Allow the main content area to grow and fill available space: #content { flex: 1 0 auto; }" |
No edit summary |
||
| Line 2: | Line 2: | ||
/* --- Sticky Footer for Timeless Skin --- */ | /* --- Sticky Footer for Timeless Skin --- */ | ||
/* Make the | /* Make the content's direct wrapper a flex container that's at least as tall as the screen */ | ||
#mw-wrapper { | #mw-content-wrapper { | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
Revision as of 14:07, 19 September 2025
/* CSS placed here will be applied to all skins */
/* --- Sticky Footer for Timeless Skin --- */
/* Make the content's direct wrapper a flex container that's at least as tall as the screen */
#mw-content-wrapper {
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* Allow the main content area to grow and fill available space */
#content {
flex: 1 0 auto;
}