MediaWiki:Common.css

From Dorleybase
Jump to navigation Jump to search

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 be applied to all skins */
/* If you edit this page, don't forget to edit MediaWiki:Mobile.css too! */
details.deadname {
	display: inline;
}
details.deadname summary {
    display: inline;
    font-size: 90%;
    list-style: none;
    cursor: pointer;
}
details.deadname summary::-webkit-details-marker,
details.deadname summary::marker {
    display: none;
}

table.wikitable caption {
	caption-side: bottom;
	font-weight: normal;
	font-size: smaller;
}

table.infoboxTable {
	font-size: 90%;
	border: 1px solid #aaaaaa;
	background-color: #f9f9f9;
	color: black;
	margin-bottom: 0.5em;
	padding: 0.2em;
	text-align: left;
}
table.infoboxTable p:first-child {
	margin-top: 0;
}
table.infoboxTable p:last-child {
	margin-bottom: 0;
}
@media (min-width: 600px) {
    table.infoboxTable {
    	width: 300px;
    	margin-left: 1em;
    	float: right;
    	clear:right;
    }
}

th.infoboxTitle {
	text-align: center;
	font-size: larger;
}
th.infoboxSubtitle {
	text-align: center;
}
th.infoboxImage {
	text-align: center;
}
table.infoboxTable th + td {
	width: 50%;
}
table.infoboxTable .footer {
	text-align: center;
}
table.infoboxTable th.footer {
	font-weight: normal;
	font-size: smaller;
}
table.wikitable.chapter-table {
	clear: both;
	width: calc(10.8em + 15 * (2em + 1px));
}
table.wikitable.chapter-table th:not([colspan]) {
	width: 10em;
}
table.wikitable.chapter-table td {
	text-align: center;
	width: 2em;
	padding-left: 0;
	padding-right: 0;
}
table.wikitable.chapter-table td[colspan="2"] {
	width: calc(2 * (2em + 1px) - 1px);
}
table.wikitable.chapter-table td[colspan="3"] {
	width: calc(3 * (2em + 1px) - 1px);
}
table.wikitable.chapter-table td[colspan="4"] {
	width: calc(4 * (2em + 1px) - 1px);
}
table.wikitable.chapter-table td[colspan="5"] {
	width: calc(5 * (2em + 1px) - 1px);
}
table.wikitable.chapter-table td[colspan="6"] {
	width: calc(6 * (2em + 1px) - 1px);
}
table.wikitable.chapter-table td[colspan="7"] {
	width: calc(7 * (2em + 1px) - 1px);
}
table.wikitable.chapter-table td[colspan="8"] {
	width: calc(8 * (2em + 1px) - 1px);
}
table.wikitable.chapter-table td[colspan="9"] {
	width: calc(9 * (2em + 1px) - 1px);
}
table.wikitable.chapter-table td[colspan="10"] {
	width: calc(10 * (2em + 1px) - 1px);
}
table.wikitable.chapter-table td[colspan="11"] {
	width: calc(11 * (2em + 1px) - 1px);
}
table.wikitable.chapter-table td[colspan="12"] {
	width: calc(12 * (2em + 1px) - 1px);
}
table.wikitable.chapter-table td[colspan="13"] {
	width: calc(13 * (2em + 1px) - 1px);
}
table.wikitable.chapter-table td[colspan="14"] {
	width: calc(14 * (2em + 1px) - 1px);
}
table.wikitable.chapter-table td a:link {
	display: block;
	padding-left: 0.4em;
	padding-right: 0.4em;
}
table.wikitable.chapter-table td:first-child a:link {
	display: inline;
	padding-left: 0;
	padding-right: 0;
}

/* Hatnotes and disambiguation notices */
.hatnote {
	font-style: italic;
}
.hatnote i {
	font-style: normal;
}
div.hatnote {
	/* @noflip */
	padding-left: 1.6em;
	margin-bottom: 0.5em;
}
div.hatnote + div.hatnote {
	margin-top: -0.5em;
}