Difference between revisions of "MediaWiki:Common.css"

From Rollaclub
Jump to: navigation, search
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
/* RESET (Thanks to YUI) */
 +
 +
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
 +
fieldset,img { border:0; }
 +
address,caption,cite,code,dfn,th,var { font-style:normal; font-weight:normal; }
 +
ol,ul { list-style:none; }
 +
caption,th { text-align:left; }
 +
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
 +
q:before,q:after { content:''; }
 +
abbr,acronym { border:0; }
 +
hr { display: none; }
 +
address{ display: inline; }
  
  

Revision as of 07:07, 19 September 2012

/* CSS placed here will be applied to all skins */
/* RESET (Thanks to YUI) */
 
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; } 
fieldset,img { border:0; }
address,caption,cite,code,dfn,th,var { font-style:normal; font-weight:normal; }
ol,ul { list-style:none; }
caption,th { text-align:left; }
h1,h2,h3,h4,h5,h6 { font-size:100%;	font-weight:normal; }
q:before,q:after { content:''; }
abbr,acronym { border:0; }
hr { display: none; }
address{ display: inline; }


.menublock_title {
position: relative; 
width:96%; 
margin:0 auto; 
background-color: #2C5687; 
color: white; 
padding: 0.4em; 
margin: 3px; 
font-weight: bold; 
text-align: center; 
font-size: 120%; 
font-size: 16px; 
font-weight: 300; 
-moz-border-radius: 4px 4px 0 0; 
-webkit-border-top-left-radius: 4px; 
-webkit-border-top-right-radius: 4px; 
border-radius: 4px 4px 0 0; 
-webkit-box-shadow: inset 0px 1px 0 #528CBC;
}


/* Header */

#header {
	position: relative;
}
 
#branding {
	background: #1d3652 url(http://www.rollaclub.com/board/public/style_images/master/branding_bg.png) repeat-x top;
	min-height: 64px;
}

.clearfix:after { content: ".";display: block;height: 0;clear: both;visibility: hidden;}

.main_width {
	margin: 0 auto;
	/* Uncomment for fixed */
	/*width: 980px;*/
	/* Fluid */
	width: 87% !important;
   	min-width: 960px;
}


/* Navigation */

#primary_nav {
	background: #204066;
	font-size: 13px;
	padding: 4px 0 0 0;
}

	#community_app_menu > li { margin: 0px 3px 0 0; position: relative; }

	
	#community_app_menu > li > a {
		color: #c5d5e2;
		background: #1c3b5f;
		display: block;
		padding: 6px 15px 8px;
		text-shadow: 0px 1px 1px rgba(0,0,0,0.5);
	}

		#community_app_menu > li > a:hover, #community_app_menu > li > a.menu_active { background: #173455; color: #fff; }
	
	
	#community_app_menu > li.active > a {
		background: #fff;
		color: #0b5794;
		font-weight: bold;
		margin-top: 0;
		text-shadow: none;
	}


/* Floats */
.right { float: right; }
.left { float: left; }