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 */
@media (max-width: 600px) {
    html span.mw-editsection {
    	display: none;
    }
}

details.deadname {
	display: inline;
}
details.deadname summary {
    display: inline;
    font-size: 90%;
    list-style: none;
    cursor: pointer;
}
details.deadname summary::-webkit-details-marker {
    display: none;
}

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 th.footer {
	text-align: center;
	font-weight: normal;
	font-size: smaller;
}

/* 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;
}