MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Admin wood (talk | contribs) (Very minor edit) |
Peter wood (talk | contribs) No edit summary Tag: Manual revert |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
/* give it a go Peter */ | /* give it a go Peter */ | ||
.center img:hover { | |||
cursor: pointer; | |||
} | |||
.iframe-container { | |||
display: flex; | |||
justify-content: center; /* Centers horizontally */ | |||
align-items: center; /* Centers vertically */ | |||
width: 100%; /* This is the key. Make the container fill the full width. */ | |||
min-height: 100vh; /* This ensures the container is at least the height of the viewport. */ | |||
} | |||
.curved-iframe { | |||
border-radius: 40px; /* Adjust the value to control the curve of the corners */ | |||
} | |||
Latest revision as of 01:53, 16 September 2025
/* CSS placed here will be applied to all skins */
/* starting from this url, https://simplywoodgrading.com/mediawiki/index.php/MediaWiki:Common.css */
/* give it a go Peter */
.center img:hover {
cursor: pointer;
}
.iframe-container {
display: flex;
justify-content: center; /* Centers horizontally */
align-items: center; /* Centers vertically */
width: 100%; /* This is the key. Make the container fill the full width. */
min-height: 100vh; /* This ensures the container is at least the height of the viewport. */
}
.curved-iframe {
border-radius: 40px; /* Adjust the value to control the curve of the corners */
}