Difference between revisions of "MediaWiki:Common.css"

From CCCWiki
Jump to: navigation, search
Line 13: Line 13:
  
 
ul#navigation-1
 
ul#navigation-1
{ margin:0; padding:1px 0; list-style:none; width:100%; height:24px; border-top:1px solid #AAAAAA; border-bottom:1px solid #AAAAAA; font:normal verdana, arial, helvetica; white-space:nowrap;}
+
{ margin:0; padding:1px 0; list-style:none; width:100%; height:24px;font:normal verdana, arial, helvetica; white-space:nowrap;}
 
ul#navigation-1 li
 
ul#navigation-1 li
 
{ margin:0; padding:0; display:block; float:left; position:relative; width:120px; }
 
{ margin:0; padding:0; display:block; float:left; position:relative; width:120px; }

Revision as of 18:51, 3 July 2011

/* CSS placed here will be applied to all skins */
#navigation-1 a.new, #navigation-1 a.new:visited {color:#000000}
#navigation-1 li a.external, #navigation-1 li a.external:visited {color:#000000}

.high, li.high a.new, #bodyContent li.high a.external {color:#953735}
.medium, li.medium a.new, #bodyContent li.medium a.external {color:#E46C0A}
.low, li.low a.new, #bodyContent li.low a.external {color:#77933C}

/* CSS Menus */

div#container
	{ width:740px; height:400px; }

ul#navigation-1
	{ margin:0; padding:1px 0; list-style:none; width:100%; height:24px;font:normal verdana, arial, helvetica; white-space:nowrap;}
ul#navigation-1 li
	{ margin:0; padding:0; display:block; float:left; position:relative; width:120px; }
ul#navigation-1 li a:link,
ul#navigation-1 li a:visited
	{ padding:4px 0; display:block; text-align:center; text-decoration:none; background:#FFFFFF; width:120px; height:13px; }
ul#navigation-1 li:hover a,
ul#navigation-1 li a:hover,
ul#navigation-1 li a:active
	{ padding:4px 0; display:block; text-align:center; text-decoration:none; background:#C0C0C0; width:120px; height:13px; border-left:1px solid #AAAAAA; border-right:1px solid #AAAAAA; }
	
ul#navigation-1 li ul.navigation-2
	{ margin:0; padding:1px 1px 0; list-style:none; display:none; background:#FFFFFF; width:146px; position:absolute; top:21px; left:-1px; border:1px solid #AAAAAA; border-top:none; }
ul#navigation-1 li:hover ul.navigation-2
	{ display:block; }
ul#navigation-1 li ul.navigation-2 li
	{ width:146px; clear:left; }

ul#navigation-1 li ul.navigation-2 li a:link,
ul#navigation-1 li ul.navigation-2 li a:visited
	{ clear:left; background:#FFFFFF; padding:4px 0; width:146px; border:none; border-bottom:1px solid #AAAAAA; position:relative; z-index:1000; }
ul#navigation-1 li ul.navigation-2 li:hover a,
ul#navigation-1 li ul.navigation-2 li a:active,
ul#navigation-1 li ul.navigation-2 li a:hover
	{ clear:left; background:#C0C0C0; padding:4px 0; width:146px; border:none; border-bottom:1px solid #AAAAAA; position:relative; z-index:1000; }

ul#navigation-1 li ul.navigation-2 li ul.navigation-3
	{ display:none; margin:0; padding:0; list-style:none; position:absolute; left:145px; top:-2px; padding:1px 1px 1px 1px; border:1px solid #AAAAAA; background:#FFFFFF; z-index:900; }
ul#navigation-1 li ul.navigation-2 li:hover ul.navigation-3
	{ display:block; }
ul#navigation-1 li ul.navigation-2 li ul.navigation-3 li a:link,
ul#navigation-1 li ul.navigation-2 li ul.navigation-3 li a:visited
	{ background:#FFFFFF; }
ul#navigation-1 li ul.navigation-2 li ul.navigation-3 li:hover a,
ul#navigation-1 li ul.navigation-2 li ul.navigation-3 li a:hover,
ul#navigation-1 li ul.navigation-2 li ul.navigation-3 li a:active
	{ background:#C0C0C0; }
ul#navigation-1 li ul.navigation-2 li a span
	{ position:absolute; top:0; left:132px; font-size:12pt; color:#fe676f; }
ul#navigation-1 li ul.navigation-2 li:hover a span,
ul#navigation-1 li ul.navigation-2 li a:hover span
	{ position:absolute; top:0; left:132px; font-size:12pt; }