MediaWiki:Timeless.css

Revision as of 08:49, September 24, 2024 by Porplemontage (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will affect users of the Timeless skin */

/* Indicators */
#mw-indicator-rc {
	top: -12px;
	font-size: 75%;
}
#mw-indicator-rc #rc-mid {
	margin-top: -2px;
}
#mw-indicator-rc #rc-bot {
	margin-top: -4px !important;
}

/* Main page (dark theme) */
body.dark .containerTem, body.dark .containerContent,
body.dark .containerTem div:not(.floatleft):not(.floatright),
body.dark table.affiliates.plainlinks th {
	background: #333 !important;
	color: #ccc !important;
}
body.dark #mw-content-text .containerTem input {
	background-color: #444 !important;
}
body.dark .containerTitle span {
	color: #ccc !important;
}

/* Fixes */
.fakeh2 {
	font-size: 1.7em;
	font-family: 'Linux Libertine','Times New Roman',serif;
	line-height: 1.25;
	border-bottom: 2px solid #0088dd;
	padding: 0;
	margin: 1.5em 0 0.5em;
}
.tabcontainer .fakeh2:nth-of-type(2) {
	margin-top: 0.25em;
}

/* Standard changes */
.mediawiki {
	font-size: 15px;
}
#mw-content-container {
	font-size: 14px;
}
a:hover {
	text-decoration: underline;
}
ul#filetoc {
	padding: 0.625em 0.875em;
}
.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);
}
.oo-ui-popupWidget-body-padded {
	margin-top: 6px;
}
.floatleft, .floatright {
	margin: 0;
}
table {
	border-collapse: separate;
}
table.wikitable img {
	max-width: 100% !important;
	height: auto !important;
}
.mw-indicators {
	line-height: unset !important;
}
@media all and (max-width: 850px) {
	.mw-indicator {
		margin: 0 !important;
	}
	.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;
	}
	table:not(.infobox) td, table:not(.infobox) th {
		width: auto !important;
	}
	.thumbimage {
		text-align: center;
	}
	ul.gallery {
		text-align: center;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/* Talk spacing */
:is(.ns-talk, .ns-4, .ns-110) dd {
	margin-top: 0.25em !important;
}
:is(.ns-talk, .ns-4, .ns-110) :is(p, dl) + dl {
	margin-top: -0.25em !important;
}