MediaWiki:Timeless.css: Difference between revisions

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

Revision as of 16:58, December 27, 2019

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

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