Team:INSA Toulouse/template/stylesheet

From 2013.igem.org

(Difference between revisions)
Line 36: Line 36:
/**********/
/**********/
-
body, #heading, #innercontent #innercontenthome {
+
body, #heading, #innercontent, #innercontenthome {
     background-color: #f3f3f3;}
     background-color: #f3f3f3;}
#innercontenthome{
#innercontenthome{

Revision as of 12:21, 12 August 2013

/* Removing wiki-like stuff */ /****************************/

  1. contentSub, #search-controls, .firstHeading, #-box, #catlinks, #p-logo {
   display:none;}

/* Redesigning the topmenu */ /***************************/ body {

   : 0 0 0 0;
   padding: 0;}
  1. top-section {
   width: 965px;
   height: 0;
   margin: 0 auto ;
   padding: 0;
   border: none;}
  1. menubar {
   font-size: 100%;
   top:-8px;}

.left-menu:hover {

   background-color: transparent;}
  1. menubar li a {
   background-color: transparent;}
  1. menubar:hover {
   color: black;}
  1. menubar li a {
   color: transparent;}
  1. menubar:hover li a {
   color: black;}
  1. menubar > ul > li:last-child {
   display:none;}


/* Layout */ /**********/

body, #heading, #innercontent, #innercontenthome {

   background-color: #f3f3f3;}
  1. innercontenthome{
   margin-top:-13px;}
  1. content, #globalWrapper {
   border: none;
   width: 100%;
   margin: 0;
   padding: 0;}

.centering {

   margin: 0 auto;
   width: 965px;}

.clear{

   clear:both;

}


/* *********** header ************* */ .barheader{

   background-color:#64b0e7;
   height: 34px;
   width: 100%;
   margin-top:-6px;

}

  1. header {
   background: url("Insa-toulouse2013-backhead.jpg") repeat-x;
   height: 127px;
   width: 100%;
   border-top: 1px solid #64b0e7;
   border-bottom: 1px solid #f6f6f6;}
   position: relative;

.barheader .centering {

   position:relative;

}

.logoheader{

  padding-top:45px;
   }

/* ************ navigation header **************** */

  1. navigation,.navigation {

} .navigation {

   z-index: 1;
   box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
   position: relative;}

/* stick navigation */ .stickToTop {

   position: fixed;
   background-color: #f6f6f6;
   top:0;
   width:100%;}

.stickToTop .navlink{

   display:none;}

.stickToTop li{

   top:-12px;
  }

ul.topnav { list-style: none; padding: 0; margin: 26px 0 0 124px; float: left; width: 100%; font-size: 16px;

       padding-left:270px;

} ul.topnav li { float: left; margin: 0; padding: 0 33px; position: relative; /*--Declare X and Y axis base for sub navigation--*/ } ul.topnav li a { padding: 7px 0px 5px; color: #010101; display: block; text-decoration: none; float: left; }


ul.topnav > li > a {

   height: 40px;
   overflow: hidden;
   padding-top: 44px;
   text-align:center;
   line-height:17px;}

ul.topnav > li > a > span{

   display:none;}

ul.topnav li:first-child a{ padding-left: 0; }

li.navitem1 {

 background:url(Insa-toulouse2013-iconproject.png) no-repeat center top; 
 width:34px; 
 height:34px;
 background-position: 43px 0;}

li.navitem2 {

 background:url(Insa-toulouse2013-iconteam.png) no-repeat center top; 
 width:34px; 
 height:34px;
 background-position: 38px 0;}

li.navitem3 {

 background:url(Insa-toulouse2013-iconlabpractice.png) no-repeat center top; 
 width:34px; 
 height:34px;
 background-position: 45px 0;}

li.navitem4 {

 background:url(Insa-toulouse2013-iconhumanpractice.png) no-repeat center top; 
 width:34px; 
 height:34px;
 background-position: 42px 0;}

li.navitem5 {

 background:url(Insa-toulouse2013-iconsafety.png) no-repeat center top; 
 width:34px; 
 height:34px;
 background-position: 36px 0;}

li.navitem6 {

 background:url(Insa-toulouse2013-iconextras.png) no-repeat center top; 
 width:34px; 
 height:34px;
 background-position: 36px 0;}

ul.topnav li ul.subnav {

   z-index: 1; //Stay on top of slider

list-style: none; position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/ left: 5px; top: 70px; background: #50a29b; margin: 0; padding: 0; display: none; float: left; } ul.topnav li ul.subnav li { margin: 0; padding: 0; clear: both;

       list-style: none outside none;

} ul.topnav li ul.subnav, ul.topnav li ul.subnav li {

       width: 160px;

}

html ul.topnav li ul.subnav li a { float: left;

   padding-left: 10px;
   padding-right: 10px;
   width: 143px;
   color:#f6f6f6;

}

html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/ background: #96d2cd; }


/* bar Inner*/ /**********/

.bar-inner{

   width:100%;
   height:65px;
   background-color:#ececec;

}

/* sidebar*/ /**********/

.sidebar{

   width: 240px;
   margin: 25px 0 25px 0;
   float: left;

}

/* Footer */ /**********/

  1. footer-panel {
   background: #333333;
   height: 100%;
   margin-top: -7px;}
  1. bodyContent {
   background: #76c0c7;}
  1. footer-panel h3 {
   color: #fff;
   font-weight: bold;}


  1. footer-panel h4 {
   color: #fff;}
  1. footer-panel p {
   color: #fff;}

div.footerBox {

   border-right: 1px solid;
   float: left;
   margin: 10px 20px 10px 0;
   padding: 0 20px 0 0;
   width: 294px;
   min-height: 270px;}

div.footerBox:last-child {

   border: none;
   margin: 10px 0;
   padding: 0;}