Navigation menu

MediaWiki:Common.css

From Metroid Wiki
Revision as of 21:29, 14 April 2023 by Prod (talk | contribs) (reduce margin, restore padding)

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 */
/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
	margin: 0;
	padding: 4px;
	border: 1px solid #a2a9b1;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background-color: #fff;
	margin: 0;
	padding: 2px;
	/* @noflip */
	float: left;
}
div.NavFrame div.NavHead {
	line-height: 1.6em;
	font-weight: bold;
	background-color: #ccf;
	position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
	font-size: 100%;
}
div.NavEnd {
	margin: 0;
	padding: 0;
	line-height: 1px;
	clear: both;
}
a.NavToggle {
	position: absolute;
	top: 0;
	/* @noflip */
	right: 3px;
	font-weight: normal;
	font-size: 90%;
}

.client-js .NavFrame.collapsed > .NavContent {
	display: none;
}

/* Standard layout */
.outer-box {
	border-radius: 20px;
	border: 2px solid;
	margin-bottom: 10px;
}

.content-box {
	border-radius: 15px;
	border: 1px solid;
	margin: 3px;
	padding: 0.4em 0.4em 1.2em;
}

/* Template:Notice */
.notice.outer-box {
	width: 50%;
	margin-left: 10%;
}
.notice .content-box {
	text-align: center;
}

/* Infobox styles */
.infobox {
	float: right;
	width: 300px;
	font-family: arial, sans-serif;
	font-size: 11px;
	margin: 0 0 1em 1em;
	border: 1px solid #a2a9b1;
}

.infobox-sub {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	border-spacing: 0;
}

.infobox-sub th,
.infobox-sub td {
	border: 1px solid #a2a9b1;
	padding-left: 4px;
	padding-right: 4px;
}

.infobox-sub th {
	width: 30%;
	text-align: right;
}

.infobox-sub td > p {
	margin: 0;
}