Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Extension:MultimediaViewer/Styling

From Gamepedia Help Wiki
Jump to: navigation, search

The default styling for MultimediaViewer is white with blue accents. Some wikis, in particular dark-themed wikis, may wish to restyle the default look to better match the theme of the wiki.

Sample dark theme[edit | edit source]

The following CSS provides an example of a dark-themed MultimediaViewer theme:

/** MultimediaViewer tweaks **/
/* MMV text colors */
.mw-mmv-above-fold,
.mw-mmv-dialog,
.mw-mmv-image-links li,
.mw-mmv-options-cancel-button.mw-ui-button.mw-ui-quiet,
.mw-mmv-options-dialog-header,
.mw-mmv-options-text-header {
	color: #e0e0e0;
}
/* MMV file info */
.mw-mmv-above-fold {
	background: #222;
	border-top: 1px solid #333;
}
.mw-mmv-image-metadata {
	background-color: #111;
	border-color: #333;
}
/* MMV options popup */
.mw-mmv-dialog {
	border: 1px solid #333;
	background: #222;
	box-shadow: none;
}
.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
	background: #222;
	border-bottom: 1px solid #333;
	border-right: 1px solid #333;
}
.mw-mmv-options-enable-alert {
	background: #333;
	color: #e0e0e0;
}
/* MMV buttons on file page */
.mw-mmv-filepage-buttons .mw-ui-button {
	background: #36c;
	color: #e0e0e0;
	border-color: #1d4699;
}