Difference between revisions of "User:BryanDerksen/monobook.css"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(importing navbox collapse code from http://en.wikipedia.org/wiki/MediaWiki:Common.css to test out)
 
(trim down to what's on http://www.mediawiki.org/wiki/Manual:Collapsible_tables)
Line 1: Line 1:
.collapseButton {         /* 'show'/'hide' buttons created dynamically */
+
.collapseButton { /* 'show'/'hide' buttons created dynamically by the        */
    float: right;         /* by the CollapsibleTables javascript in   */
+
float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
    font-weight: normal;  /* [[MediaWiki:Common.js]]are styled here    */
+
font-weight: normal; /* are styled here so they can be customised.             */
    text-align: right;     /* so they can be customised.               */
+
text-align: right;
    width: auto;
+
width: auto;
}
+
 
+
/* Standard Navigationsleisten, aka box hiding thingy
+
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
+
div.NavFrame {
+
    margin: 0;
+
    padding: 4px;
+
    border: 1px solid #aaa;
+
    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;
+
    float: left;
+
}
+
div.NavFrame div.NavHead {
+
    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;
+
    right: 3px;
+
    font-weight: normal;
+
    font-size: 90%;
+
 
}
 
}

Revision as of 23:16, 25 January 2010

.collapseButton {		/* 'show'/'hide' buttons created dynamically by the        */
	float: right;		/* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
	font-weight: normal;	/* are styled here so they can be customised.              */
	text-align: right;
	width: auto;
}