MediaWiki:Timeless.css: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
overflow: visible;
overflow: visible;
}
}
#mw-content h1, #mw-content h2,
.wikiEditor-ui {
#mw-content h3, #mw-content h4,
margin-top: 0.5em;
#mw-content h5, #mw-content h6,
#mw-content dt {
margin-top: 1em;
}
#mw-content dd {
margin-bottom: 0.25em;
}
}
.CodeMirror {
.CodeMirror {
Line 23: Line 17:
table {
table {
border-collapse: separate;
border-collapse: separate;
border-spacing: 2px;
}
table td, table th {
padding: 2px 4px;
}
table.wikitable {
padding: 0;
}
}
table.wikitable img {
table.wikitable img {
max-width: 100% !important;
max-width: 100% !important;
height: auto !important;
height: auto !important;
}
.thumb, .thumbcaption {
padding-bottom: 0;
}
}
@media all and (max-width: 850px) {
@media all and (max-width: 850px) {
#siteNotice {
display: none;
}
.infobox {
.infobox {
display: block !important;
display: block !important;
Line 73: Line 54:
}
}
}
}
/* Talk spacing */
.ns-talk dd,
.ns-talk dd,
.ns-4 dd,
.ns-4 dd,
.ns-110 dd,
.ns-110 dd {
.content.talk-section dd {
margin-top: 0.25em !important;
margin-top: 0.25em !important;
}
}
.ns-talk dl,
.ns-talk dl,
.ns-4 dl,
.ns-4 dl,
.ns-110 dl,
.ns-110 dl {
.content.talk-section dl {
margin-left: 0 !important;
margin-left: 0 !important;
}
}
.ns-talk p + dl,
.ns-talk p + dl,
.ns-4 p + dl,
.ns-4 p + dl,
.ns-110 p + dl,
.ns-110 p + dl {
.content.talk-section p + dl {
margin-top: -0.25em !important;
margin-top: -0.25em !important;
}
}
.ns-talk ul + dl,
.ns-talk ul + dl,
.ns-4 ul + dl,
.ns-4 ul + dl,
.ns-110 ul + dl,
.ns-110 ul + dl {
.content.talk-section ul + dl {
margin-top: -0.5em !important;
margin-top: -0.5em !important;
}
}
.ns-talk ol + dl,
.ns-talk ol + dl,
.ns-4 ol + dl,
.ns-4 ol + dl,
.ns-110 ol + dl,
.ns-110 ol + dl {
.content.talk-section ol + dl {
margin-top: -0.5em !important;
margin-top: -0.5em !important;
}
}
.ns-talk dl + dl,
.ns-talk dl + dl,
.ns-4 dl + dl,
.ns-4 dl + dl,
.ns-110 dl + dl,
.ns-110 dl + dl {
.content.talk-section dl + dl {
margin-top: -0.25em !important;
margin-top: -0.25em !important;
}
}

Revision as of 01:27, June 11, 2020

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

/* Standard changes */
#siteNotice {
	text-align: center;
}
#firstHeading {
	overflow: visible;
}
.wikiEditor-ui {
	margin-top: 0.5em;
}
.CodeMirror {
	padding: 0.25em 0.35em;
	box-shadow: inset 0 1px 1px 1px rgba(0,0,0,0.05);
}
table {
	border-collapse: separate;
}
table.wikitable img {
	max-width: 100% !important;
	height: auto !important;
}
@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;
	}
}

/* Talk spacing */
.ns-talk dd,
.ns-4 dd,
.ns-110 dd {
	margin-top: 0.25em !important;
}
.ns-talk dl,
.ns-4 dl,
.ns-110 dl {
	margin-left: 0 !important;
}
.ns-talk p + dl,
.ns-4 p + dl,
.ns-110 p + dl {
	margin-top: -0.25em !important;
}
.ns-talk ul + dl,
.ns-4 ul + dl,
.ns-110 ul + dl {
	margin-top: -0.5em !important;
}
.ns-talk ol + dl,
.ns-4 ol + dl,
.ns-110 ol + dl {
	margin-top: -0.5em !important;
}
.ns-talk dl + dl,
.ns-4 dl + dl,
.ns-110 dl + dl {
	margin-top: -0.25em !important;
}

/* Misc. changes */
.titledBoxTitle {
	display: table !important;
	width: 100% !important;
}
@media all and (max-width: 850px) {
	#game-icons {
		margin-top: -21px !important;
	}
	#mw-content #game-icons a img {
		height: 20px !important;
		width: auto !important;
	}
}