MediaWiki:Common.css: Difference between revisions

From Ephinea PSO Wiki
m (Reverted edits by Ryan (talk) to last revision by Matt)
(revamp?)
Line 4: Line 4:


/* Standard Navigationsleisten, aka box hiding thingy
/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
   from .de.  Documentation at [[Wikipedia:NavFrame]].
div.NavFrame {
  Slightly modified because <div> sucks. */
margin: 0;
table.NavFrame {
padding: 4px;
border: 1px solid #aaa;
border: 1px solid #a2a9b1;
text-align: center;
text-align: center;
border-collapse: collapse;
border-collapse: collapse;
font-size: 95%;
font-size: 75%;
}
}
div.NavFrame + div.NavFrame {
table.NavFrame + table.NavFrame {
border-top-style: none;
border-top-style: none;
border-top-style: hidden;
border-top-style: hidden;
}
}
div.NavPic {
table.NavPic {
background-color: #fff;
background-color: #fff;
margin: 0;
margin: 0;
Line 24: Line 23:
float: left;
float: left;
}
}
div.NavFrame div.NavHead {
table.NavFrame table.NavHead {
line-height: 1.6em;
font-size: larger;
font-weight: bold;
background-color: #ccc;
background-color: #ccf;
position: relative;
position: relative;
}
}
div.NavFrame p,
table.NavFrame p,
div.NavFrame div.NavContent,
table.NavFrame table.NavContent,
div.NavFrame div.NavContent p {
table.NavFrame table.NavContent p {
font-size: 100%;
text-align: left;
}
}
div.NavEnd {
table.NavEnd {
margin: 0;
margin: 0;
padding: 0;
padding: 0;

Revision as of 21:11, 6 September 2018

/* CSS placed here will be applied to all skins */
@import url("/index.php?title=MediaWiki:StickyTableHeaders.css&action=raw&ctype=text/css");
@import url("/index.php?title=MediaWiki:Navbox.css&action=raw&ctype=text/css");

/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]].
   Slightly modified because <div> sucks. */
table.NavFrame {
	border: 1px solid #aaa;
	text-align: center;
	border-collapse: collapse;
	font-size: 75%;
}
table.NavFrame + table.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
table.NavPic {
	background-color: #fff;
	margin: 0;
	padding: 2px;
	/* @noflip */
	float: left;
}
table.NavFrame table.NavHead {
	font-size: larger;
	background-color: #ccc;
	position: relative;
}
table.NavFrame p,
table.NavFrame table.NavContent,
table.NavFrame table.NavContent p {
	text-align: left;
}
table.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;
}