Difference between revisions of "MediaWiki:Common.css"

From Wiki Itajaí
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will be applied to all skins: →‎See also jquery.makeCollapsible.js: .mw-collapsible-toggle { float: right; } /* list-items go as wide as their paren...")
 
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
+
/* Standard Navigationsleisten, aka box hiding thingy
 
+
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
/* See also jquery.makeCollapsible.js */
+
div.NavFrame {
.mw-collapsible-toggle {
+
margin: 0;
float: right;
+
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 {
/* list-items go as wide as their parent element, don't float them inside list items */
+
position: absolute;
li .mw-collapsible-toggle {
+
top: 0;
float: none;
+
/* @noflip */
 +
right: 3px;
 +
font-weight: normal;
 +
font-size: 90%;
 
}
 
}
  
/* the added list item should have no list-style */
+
.client-js .NavFrame.collapsed > .NavContent {
.mw-collapsible-toggle-li {
+
display: none;
list-style: none;
 
 
}
 
}

Revision as of 17:34, 28 May 2018

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