MediaWiki:Timeless.css: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
}
}
@media all and (max-width: 850px) {
@media all and (max-width: 850px) {
.mediawiki table,
.mediawiki .infobox {
.mediawiki .infobox {
display: block !important;
float: none !important;
margin: 15px 0 15.5px !important;
}
.mediawiki .infobox,
.mediawiki table {
width: 100% !important;
width: 100% !important;
min-width: 0 !important;
min-width: 0 !important;
Line 24: Line 29:
margin-right: 0 !important;
margin-right: 0 !important;
}
}
.mediawiki .infobox {
.mediawiki table {
display: block !important;
overflow-y: hidden;
float: none !important;
overflow-x: auto;
margin: 15px 0 15.5px !important;
}
}
.thumbimage {
.thumbimage {

Revision as of 15:51, December 27, 2019

/* CSS placed here will affect users of the Timeless skin */

#siteNotice {
	text-align: center;
}
table {
	border-collapse: separate;
	border-spacing: 2px;
}
.infobox table {
	width: 100% !important;
}
.infobox tbody {
	width: 100% !important;
	display: table !important;
}
@media all and (max-width: 850px) {
	.mediawiki .infobox {
		display: block !important;
		float: none !important;
		margin: 15px 0 15.5px !important;
	}
	.mediawiki .infobox,
	.mediawiki table {
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.mediawiki table {
		overflow-y: hidden;
		overflow-x: auto;
	}
	.thumbimage {
		text-align: center;
	}
	ul.gallery {
		text-align: center;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}