Friday, 16 December 2011

CCS3 Styling

All styling is to format each page. I have also include a reset CCS stylesheet to keep my design consistent between browsers 
@charset "utf-8";
/* CSS Document */
/* body and tags -----------------------------*/
body {
 font-family:Arial, Helvetica, sans-serif;
 color:#333;
 background:url(background.jpg) center center no-repeat;
 text-decoration:none;
 
 
}



/* body upper -----------------------------*/



#wrapper {
 background-color:#000;
 margin: 0 auto;
 width: 960px;
 
}

banner {
 
 height:100px;
 background-color:#999;
 display:block;
 background:url(Banner.gif);
 
 }


/* header-----------------------------*/

header {
 float:left;
 width: 960px;
 height:80px;
 background:url(Banner-2.gif);
 text-decoration:none;
}

header2 {
 float:left;
 width: 960px;
 height:10px;
 background:url(Banner-3.gif);
}

header3 {background-color:#000;
width:960px;
height:60px;
}

/* nav -----------------------------*/

#nav {
  
  list-style-type:none;
  list-style-position:inside;
  float:right;
  font-family:Arial, Helvetica, sans-serif;
  font-size:12px;
  font-weight:100;
  margin-right: 60px;
  padding: 10px;
 
  
}
 
 #nav li {
   
  float:left;
  font-size:2em;
  margin: 0 5px 0 0;
  
 }
 
 #nav li a {
  display:block;
  padding:10px;
  color:#999;
 }
 
 
 #nav li a:hover {
 background-color:#90C;
 text-decoration:none;
 color:#FFF;
 font-size: 15px;

  
  }
 
 #nav #active a {
  background-color:#90C;
  text-decoration:none;
  color:#666;
  border:groove:#999;
 
 }


 


/* body content -----------------------------*/

article1{
 float:left;
 
 
}

article1text{
 float:left;
}




article {
 float:left;
 width:630px;
 background-color:#000;
 color:#CCC;
 text-align:center;
 
}
 
article section {
 float: left;
 width: 630px;
 margin: 0 0 10px 0;
 background-color:#000;
}


aside {
 float: left;
 width: 640px;
 height: 400px;
 background:url(aside.jpg);
 color:#FFF;
 font-size:24px;
 text-align:center;
}

bside {
 float: left;
 width: 300px;
 height: 400px;
 background:#000
 color:#FFF;
 font-size:24px;
 text-align:center;
 
}

aside header {
 font:size:30px;
 color:#999;
}

/* footer -----------------------------*/


#footer{
 clear:both;
 width:960px;
 height:60px;
 text-align:center;
 color:#CCC;
 background:
 url(Banner-4.gif);
 padding: 30px 0 0 0;
 
 
 
}

icon{
 float:right;
 margin: 20px;
 padding: 0 0 20px 50px;
 display:block;
}
 

No comments:

Post a Comment