Difference between revisions of "Team:British Columbia/Test/Custom CSS"

Line 31: Line 31:
  
 
<style type="text/css">
 
<style type="text/css">
 +
nav.navbar navbar-default navbar-fixed-top .one{
 +
width:900px;
 +
height:50px;
 +
margin:0 auto;
 +
}
 +
 +
nav.navbar navbar-default navbar-fixed-top .banner{
 +
width:900px;
 +
height:50px;
 +
text-align: center;
 +
position:absolute;
 +
display:block;
 +
}
 +
 +
nav.navbar navbar-default navbar-fixed-top .banner .1{
 +
width: 250px;
 +
height:50px;
 +
float:left;
 +
background-color: yellow;
 +
position:absolute;
 +
overflow:hidden;
 +
}
 +
 +
nav.navbar navbar-default navbar-fixed-top .banner h2{
 +
text-align: center;
 +
width: 600px;
 +
height:50px;
 +
float:left;
 +
overflow:hidden;
 +
color:grey;
 +
position:absolute;
 +
}
 +
 +
nav.navbar navbar-default navbar-fixed-top .banner .2{
 +
width:50px;
 +
width:50px;
 +
float:left;
 +
background-color: green;
 +
position:absolute;
 +
}
  
 
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
 
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
Line 186: Line 226:
  
 
  /* Back to top */
 
  /* Back to top */
nav.navbar navbar-default navbar-fixed-top .one{
 
width:900px;
 
height:50px;
 
margin:0 auto;
 
}
 
  
nav.navbar navbar-default navbar-fixed-top .banner{
 
width:900px;
 
height:50px;
 
text-align: center;
 
position:absolute;
 
display:block;
 
}
 
 
nav.navbar navbar-default navbar-fixed-top .banner .1{
 
width: 250px;
 
height:50px;
 
float:left;
 
background-color: yellow;
 
position:absolute;
 
overflow:hidden;
 
}
 
 
nav.navbar navbar-default navbar-fixed-top .banner h2{
 
text-align: center;
 
width: 600px;
 
height:50px;
 
float:left;
 
overflow:hidden;
 
color:grey;
 
position:absolute;
 
}
 
 
nav.navbar navbar-default navbar-fixed-top .banner .2{
 
width:50px;
 
width:50px;
 
float:left;
 
background-color: green;
 
position:absolute;
 
}
 
  
 
</style>
 
</style>

Revision as of 02:14, 28 May 2015