Team:Paris Bettencourt/Templates/css/default

From 2011.igem.org

(Difference between revisions)
(Undo revision 113548 by BaptisteCouly (talk))
 
(522 intermediate revisions not shown)
Line 1: Line 1:
-
body
+
body{
-
{
+
    width: auto;
-
font: 11px verdana, sans-serif;/* taille, classe de police */
+
    color: #333333;
-
color: #FFFFFF; /couleur du bg */
+
    background-repeat:repeat;*/
-
margin: 0;/* marges */
+
    background-color:#ebebeb;
-
padding: 0;/* espace entre les caractËres*/
+
    margin:20px 0px 0px 0px;
}
}
-
#main
+
#globalWrapper {/* le wiki */
-
{
+
    background-color: transparent;
-
width: 980px;
+
-
height: 900px;
+
-
background: #93B29B;/* un fond vert tout moche */
+
-
text-align: center;
+
}
}
-
#banner
+
#top-section{/* la barre titre (baniere igem+ menu haut)*/
-
{
+
    height: auto;
-
width:980px;
+
    margin-top: 0 px;
-
text-align:center;
+
    margin-left: 0 px;
-
position:relative;
+
    margin-right: auto;
-
height:152px;
+
    margin-bottom: 0 !important;
-
background: #286639;/* couleur de fond du titre*/
+
  /* margin-bottom: 10px; */
 +
    padding:0;
 +
    border: none;
 +
    display: display;
}
}
-
#imgbanner
+
#p-logo{/*le conteneur de la banière igem avec un lien vers igem*/
-
{
+
  display:none;
-
position:relative;
+
  border:none;
-
width:800;
+
  margin:none;
-
height:124;
+
-
text-align:center;
+
-
top:0;
+
}
}
-
#menu
+
#menubar{/* la barre de menu du haut */
-
{
+
    /*display:none;*/
-
text-align:center;
+
background-color:transparent;
-
position:relative;
+
-
width:980px;
+
}
}
-
#maincontainer
+
#menubar a{/*les lien de la barre de menu du haut */
-
{
+
  text-decoration:none;
-
position:relative;
+
  color:#FFFFFF;
-
text-align:center;
+
-
width:980;
+
-
/*background: #FF0000;*//* conteneur du texte */
+
}
}
-
#menu_core/* la liste principale */
+
.left-menu{/* le menu de haut gauche */
-
{
+
  background-color:transparent;
-
list-style-type: none;
+
  /*display:none;*/
-
  margin: 0px;
+
-
padding: 0;
+
-
border: 0;
+
-
text-align:center;
+
}
}
-
#menu_core li /* les menu principaux */
+
 
-
{
+
.right-menu{/* le menu de login haut droite*/
-
  float: left;
+
  color:#ffffff;
-
  width: 108px;
+
  text-decoration:none;
-
margin: 0;
+
background-color:none;
-
padding: 0;
+
-
border: 0;
+
}
}
-
#menu_core li ul /* les sous menu */
+
.right-menu a{/* les lien du login */
-
{
+
  color:#ffffff;
-
  list-style-type: none;
+
  text-decoration:transparent;
-
  margin: 0;
+
background-color:none;
-
padding: 0;
+
-
border: 0;
+
-
display: none; /* par dÈfaut on ne les affichent pas */
+
-
position:absolute;
+
}
}
 +
#search-controls{/* la barre de recherche*/
 +
  display:none;
 +
}
 +
#content{/* le body de la page*/
 +
    background-color: transparent;
 +
  border:none;
 +
    padding:none;
 +
    margin:none;
-
 
-
#menu_core li a:link, #menu_core li a:visited /* couleur des liens */
 
-
{
 
-
display: block;
 
-
height: 20px;
 
-
color: #FFF;/* couleur desmenu principaux*/
 
-
background: #286639;/* couleur du menu */
 
-
margin: 0;
 
-
padding: 4px 8px;
 
-
text-decoration: none;
 
}
}
-
#menu_core li a:hover { background-color: #85D28D; }/* couleur du menu au passage*/
+
.firstHeading {/*titre de page */
-
#menu_core li a:active { background-color: #00B876; }/* couleur du menu actif*/
+
  display:none;
-
#menu_core li:hover ul{/*apparition des sous-menus */
+
  border: none;
-
display:block;
+
}
}
-
#menu_core li:hover ul li{/*apparition des sous-menus */
+
#bodyContent{/* contenu de page*/
-
float:none;
+
    background-color: #ffffff;
 +
    border:2px;
 +
    boder-color:#000000;
 +
    padding:none;
 +
    margin:none;
 +
    margin-bottom: 10px;
}
}
-
#menu_core li .sous_menu li a:link,
+
 
-
#menu_core li .sous_menu li a:visited
+
#footer-wrapper{
-
{
+
  position: absolute;
-
  display: block;
+
  width: 941px;
-
  color: #FFF;/* texte du sous menu */
+
  left: -1px;
-
  margin: 0;
+
  margin-top:20px;
-
  border: 0;
+
  margin-bottom:30px;
-
  text-decoration: none;
+
padding: 7px 15px 7px 15px;
-
  background: #85D28D;/* couleur du sous-menu */
+
  background-color:#ffffff;
 +
border: 1px solid black;
}
}
-
#menu_core li .sous_menu li /* les ÈlÈments des sous-menu */
+
#footer-box{/* la boite en bas de page*/
-
{
+
display: none;
-
margin: 0;
+
    margin-bottom: 10px;
-
padding: 0;
+
-
border: 0;
+
-
width: 149px;
+
-
border-top: 1px solid;
+
-
border-right: 1px solid;
+
}
}
-
#menu_core li .sous_menu li:hover{ /* maintient des sous menu actifs */
+
 
-
display:block;
+
#catlinks{/* le cadre sous le body useless */
-
background-color: #F2462E;/* couleur du sous menu au survoul*/
+
  display: none;
}
}
 +
/* fin du wiki hack */
-
/* WIKI HACKS */
 
-
.firstHeading {
 
-
  display:none;
 
-
}
 
-
#globalWrapper {
+
#main_paris2011{/* notre page !*/
-
     background-color: transparent;
+
    position:absolute;
-
     padding-bottom:0px;
+
    top:0px;
-
     border: none;
+
    left:50%;
 +
    margin-left:-486px;
 +
    margin-bottom: 10px;
 +
    width: 972px;
 +
    height: 100%;
 +
     background: #ffffff;/* un fond vert tout moche */
 +
    text-align: center;
 +
}
 +
#banner_paris2011{
 +
    position:absolute;
 +
    top:0px;
 +
    width:970px;
 +
    border: 1px solid black;
 +
    text-align:center;
 +
    height:147px;
 +
    background: #0d1120;/* couleur de fond du titre*/
 +
}
 +
#imgbanner_paris2011{
 +
    position:relative;
 +
    width:972;
 +
    height:120;
 +
    text-align:center;
 +
}
 +
#maincontainer_paris2011{/* conteneur du texte */
 +
     padding:15px 15px 0px 15px;
 +
    background:#ffffff;
 +
    margin-bottom: 10px;
 +
     border:1px solid black;
 +
    position:absolute;
 +
    text-align:justify;
 +
    top:199px;/*178px*/
 +
    width:940px;
 +
    heigth:auto;
}
}
-
#content {
+
#menu_paris2011{
-
     background-color: white;
+
     text-align:center;
-
     border:none;
+
     position:absolute;
-
     padding-bottom:none;
+
     z-index:10;
-
     margin-bottom:none;
+
     border: 1px solid black;
-
     border: 1px solid #efefef;
+
     /*border-right: 1px solid black;*/
 +
    width:970px;
 +
    height:31px;
 +
    top:158px;
 +
    float:left;
 +
    background-color:#0d1120;
}
}
-
#bodyContent {
+
 
-
     border: none;
+
#menu_list_paris2011{
 +
  list-style:none; 
 +
  text-align:center;
 +
     margin-left:17px;
 +
  margin-top:0px;
 +
  padding:0px;
 +
  border:none;
 +
  position:relative;
 +
  background-color:transparent;
}
}
-
#top-section {
+
.menu_list_item_paris2011{
-
    height: 0px;
+
float: left;
-
    margin-top: 0 px;
+
width: 133px;
-
    margin-left: auto;
+
padding: 0;
-
    margin-right: auto;
+
border:0;
-
    margin-bottom: 0 !important;
+
-
  /* margin-bottom: 10px; */
+
-
    padding:0;
+
-
    border: none;
+
-
    display: display;
+
}
}
-
#p-logo {
+
/*Second level menu*/
-
    height: 203px;
+
 
-
    overflow:hidden;
+
.menu_list_item_paris2011 ul{
-
    border:none;
+
display:none;                 /* initially hide the entire list hierarchy */
-
    display: none;
+
padding:2px;                               /* this is our box border width */
 +
list-style: none;
}
}
-
#p-logo img {
+
.menu_list_item_paris2011:hover ul,
-
    display: none;
+
.menu_list_item_paris2011 a:hover ul{                           /* 2nd level drop-down box */
 +
display:block;
 +
position:relative;
 +
margin:0;
 +
top:0px;              /* place us just up underneath the top-level images */
 +
left:-3px;      /* left-align our drop-down to the previous button border */
 +
height:auto;      /* the drop-down height will be determiend by line count */
 +
width:14em;
 +
background-color:transparent;        /* this sets our menu's effective "border" color */
 +
font-size:12px;        /* this (and also below) sets the menu's font size */
 +
list-style: none;
}
}
-
#footer-box{
+
/*Third level menu*/
-
  display: none;
+
 
 +
 
 +
.menu_list_item_paris2011:hover ul li ul,
 +
.menu_list_item_paris2011 a:hover ul li a ul {             /* hide inactive 3rd-level menus */
 +
display:none;
}
}
 +
   
 +
.menu_list_item_paris2011:hover ul li:hover ul,
 +
.menu_list_item_paris2011 a:hover ul li a:hover ul {            /* 3rd level drop-down box */
 +
        display:block;
 +
position:absolute;
 +
        top:0px;
 +
left:143px;
 +
width:140px;
 +
-
#catlinks{
 
-
  display: none;
 
}
}
-
#search-controls {
+
#menu_paris2011 a{
-
     overflow:hidden;
+
     color:#ffffff;
-
     display:none;
+
     text-decoration:none;
-
     background: none;
+
     display:block;
-
     position: absolute;
+
     padding:6px;
-
     top: 0px;
+
     /*height:18px;*/
-
     right: 0px;
+
     width:128px;
 +
    background-color:#0d1120;
 +
 
}
}
-
.right-menu li a:link{
+
#menu_paris2011 .menu_list_item_paris2011 ul a{
-
  padding-top: 0px;
+
    border: 1px solid black;
-
  background:transparent;
+
-
  text-decoration: none;
+
-
  color: #000;
+
}
}
-
.right-menu li a:hover{
+
#menu_paris2011 a:hover{
-
  padding-top: 0px;
+
    background-color:#0b0f50;
-
  background:transparent;
+
    display:block;
-
  text-decoration: underline;
+
  /* height:18px;*/
-
  color: #000;
+
    width:128px;
 +
  /*margin:-7px;$/
 +
  /*top:0px;*/
 +
    position:relative;
 +
}
 +
#menu_paris2011 a:active{
 +
    background-color:#1300C0;
 +
    display:block;
 +
 
}
}
-
.right-menu li a:visited{
+
#menu_paris2011 a:link{
-
  padding-top: 0px;
+
  /* background-color:#677E52;*/
-
  background:transparent;
+
-
  text-decoration: none;
+
-
  color: #000;
+
}
}
-
.mw-headline{
 
-
position: relative;
 
-
top: 4px;
 
-
font-size: 18px;
 
-
line-height: 25px;
 
-
color: #656551;
 
-
letter-spacing: -1px;
 
-
padding: 0px 0px 0px 0px;
+
#scroll_left{
-
margin-bottom: 20px;
+
  display:block;
 +
  height:350px;
 +
  width:10%;
 +
  background-color:transparent;
 +
  z-index:400;
 +
  position:fixed;
 +
  top:230px;
 +
  left:5px;
}
}
-
.mw-headline :before{
+
#scroll_left a{
-
content: '=';
+
  color:#000000;
 +
  font-weight:bold;
}
}
-
/* Image Rotator CSS */
+
#scroll_right{
-
/* The Nivo Slider styles */
+
  display:block;
-
.nivoSlider {
+
  height:350px;
-
position:relative;
+
  width:10%;
 +
  background-color:transparent;
 +
  z-index:400;
 +
  position:fixed;
 +
  top:230px;
 +
  right:5px;
}
}
-
.nivoSlider img {
+
 
-
position:absolute;
+
#scroll_right a{
-
top:0px;
+
  color:#000000;
-
left:0px;
+
    font-weight:bold;
}
}
-
/* If an image is wrapped in a link */
+
 
-
.nivoSlider a.nivo-imageLink {
+
/*TEXT formating*/
-
position:absolute;
+
 
-
top:0px;
+
.legende_schema{
-
left:0px;
+
  font-style:italic;
-
width:100%;
+
-
height:100%;
+
-
border:0;
+
-
padding:0;
+
-
margin:0;
+
-
z-index:6;
+
-
display:none;
+
}
}
-
/* The slices and boxes in the Slider */
+
 
-
.nivo-slice {
+
a {
-
display:block;
+
  text-decoration:none;
-
position:absolute;
+
-
z-index:5;
+
-
height:100%;
+
}
}
-
.nivo-box {
+
 
-
display:block;
+
h1{
-
position:absolute;
+
  font-style:bold;
-
z-index:5;
+
  font-size: 30px;
 +
  text-decoration:none;
}
}
-
/* Caption styles */
+
 
-
.nivo-caption {
+
h2{
-
position:absolute;
+
  font-style:italic;
-
left:0px;
+
  padding-left:10px;
-
bottom:0px;
+
-
background:#000;
+
-
color:#fff;
+
-
opacity:0.8; /* Overridden by captionOpacity setting */
+
-
width:100%;
+
-
z-index:8;
+
}
}
-
.nivo-caption p {
+
 
-
padding:5px;
+
h3{
-
margin:0;
+
  padding-left:25px;
}
}
-
.nivo-caption a {
+
 
-
display:inline !important;
+
h4{
 +
  font-style:italic;
}
}
-
.nivo-html-caption {
+
 
-
    display:none;
+
 
 +
em {
 +
  font-style: normal; /* Suppression de l'italique */
 +
  font-weight:bold;
 +
  color:#0056E0;
}
}
-
/* Direction nav styles (e.g. Next & Prev) */
+
 
-
.nivo-directionNav a {
+
 
-
position:absolute;
+
/*block for paper citations*/
-
top:45%;
+
#citation_box{
-
z-index:9;
+
  margin-top:30px;
-
cursor:pointer;
+
  padding:10px;
 +
  border-style:none;
 +
  border-width:2px;
 +
  border-color:#BDFEBC;
 +
  background-color:#ECECEC;
 +
  text-align:left;
}
}
-
.nivo-prevNav {
+
 
-
left:0px;
+
#citation_box ol,li{
 +
  text-style:italic;
}
}
-
.nivo-nextNav {
+
 
-
right:0px;
+
#references{
 +
  text-style:bold;
 +
  text-size:14px;
}
}
-
/* Control nav styles (e.g. 1,2,3...) */
+
 
-
.nivo-controlNav a {
+
 
-
position:relative;
+
table.parameter {
-
z-index:9;
+
width:100%;  
-
cursor:pointer;
+
display: block;
-
}
+
margin-left: auto;  
-
.nivo-controlNav a.active {
+
margin-right: auto;  
-
font-weight:bold;
+
cellpadding:0px;
 +
cellspacing:0px;
 +
align:middle;  
}
}
 +
table.parameter td { padding:5px; }

Latest revision as of 13:37, 12 September 2011

body{

   width: auto;
   color: #333333;
   background-repeat:repeat;*/
   background-color:#ebebeb;
   margin:20px 0px 0px 0px;

}

  1. globalWrapper {/* le wiki */
   background-color: transparent;

}

  1. top-section{/* la barre titre (baniere igem+ menu haut)*/
   height: auto;
   margin-top: 0 px;
   margin-left: 0 px;
   margin-right: auto;
   margin-bottom: 0 !important;
  /* margin-bottom: 10px; */
   padding:0;
   border: none;
   display: display;

}

  1. p-logo{/*le conteneur de la banière igem avec un lien vers igem*/
 display:none;
 border:none;
 margin:none;

}

  1. menubar{/* la barre de menu du haut */
   /*display:none;*/

background-color:transparent; }

  1. menubar a{/*les lien de la barre de menu du haut */
 text-decoration:none;
 color:#FFFFFF;

} .left-menu{/* le menu de haut gauche */

 background-color:transparent;
/*display:none;*/

}

.right-menu{/* le menu de login haut droite*/

color:#ffffff;
text-decoration:none;

background-color:none; } .right-menu a{/* les lien du login */

color:#ffffff;
text-decoration:transparent;

background-color:none; }

  1. search-controls{/* la barre de recherche*/
 display:none;

}

  1. content{/* le body de la page*/
   background-color: transparent;
  border:none;
   padding:none;
   margin:none;

} .firstHeading {/*titre de page */

 display:none;
 border: none;

}

  1. bodyContent{/* contenu de page*/
   background-color: #ffffff;
   border:2px;
   boder-color:#000000;
   padding:none;
   margin:none;
   margin-bottom: 10px;

}

  1. footer-wrapper{
position: absolute;
width: 941px;
left: -1px;
margin-top:20px;
margin-bottom:30px;
padding: 7px 15px 7px 15px;
background-color:#ffffff;
border: 1px solid black;

}

  1. footer-box{/* la boite en bas de page*/

display: none;

   margin-bottom: 10px;

}

  1. catlinks{/* le cadre sous le body useless */
  display: none;

} /* fin du wiki hack */


  1. main_paris2011{/* notre page !*/
   position:absolute;
   top:0px;
   left:50%;
   margin-left:-486px;
   margin-bottom: 10px;
   width: 972px;
   height: 100%;
   background: #ffffff;/* un fond vert tout moche */
   text-align: center;

}

  1. banner_paris2011{
   position:absolute;
   top:0px;
   width:970px;
   border: 1px solid black;
   text-align:center;
   height:147px;
   background: #0d1120;/* couleur de fond du titre*/

}

  1. imgbanner_paris2011{
   position:relative;
   width:972;
   height:120;
   text-align:center;

}

  1. maincontainer_paris2011{/* conteneur du texte */
   padding:15px 15px 0px 15px;
   background:#ffffff;
   margin-bottom: 10px;
   border:1px solid black;
   position:absolute;
   text-align:justify;
   top:199px;/*178px*/
   width:940px;
   heigth:auto;

}

  1. menu_paris2011{
   text-align:center;
   position:absolute;
   z-index:10;
   border: 1px solid black;
   /*border-right: 1px solid black;*/
   width:970px;
   height:31px;
   top:158px;
   float:left;
   background-color:#0d1120;

}


  1. menu_list_paris2011{
  list-style:none;   
  text-align:center;
   margin-left:17px;
  margin-top:0px;
  padding:0px;
  border:none;
  position:relative;
  background-color:transparent;

}

.menu_list_item_paris2011{

float: left;
width: 133px;
padding: 0;
border:0;

}

/*Second level menu*/

.menu_list_item_paris2011 ul{ display:none; /* initially hide the entire list hierarchy */ padding:2px; /* this is our box border width */ list-style: none; }

.menu_list_item_paris2011:hover ul, .menu_list_item_paris2011 a:hover ul{ /* 2nd level drop-down box */ display:block; position:relative; margin:0; top:0px; /* place us just up underneath the top-level images */ left:-3px; /* left-align our drop-down to the previous button border */ height:auto; /* the drop-down height will be determiend by line count */ width:14em; background-color:transparent; /* this sets our menu's effective "border" color */ font-size:12px; /* this (and also below) sets the menu's font size */ list-style: none; }

/*Third level menu*/


.menu_list_item_paris2011:hover ul li ul, .menu_list_item_paris2011 a:hover ul li a ul { /* hide inactive 3rd-level menus */ display:none; }

.menu_list_item_paris2011:hover ul li:hover ul, .menu_list_item_paris2011 a:hover ul li a:hover ul { /* 3rd level drop-down box */

       display:block;

position:absolute;

       top:0px;

left:143px; width:140px;


}

  1. menu_paris2011 a{
   color:#ffffff;
   text-decoration:none;
   display:block;
   padding:6px;
   /*height:18px;*/
   width:128px;
   background-color:#0d1120;

}

  1. menu_paris2011 .menu_list_item_paris2011 ul a{
   border: 1px solid black;

}

  1. menu_paris2011 a:hover{
   background-color:#0b0f50;
   display:block;
  /* height:18px;*/
   width:128px;
  /*margin:-7px;$/
  /*top:0px;*/
   position:relative;

}

  1. menu_paris2011 a:active{
   background-color:#1300C0;
   display:block;
  

}

  1. menu_paris2011 a:link{
  /* background-color:#677E52;*/

}


  1. scroll_left{
  display:block;
  height:350px;
  width:10%;
  background-color:transparent;
  z-index:400;
  position:fixed;
  top:230px;
  left:5px;

}

  1. scroll_left a{
  color:#000000;
  font-weight:bold;

}

  1. scroll_right{
  display:block;
  height:350px;
  width:10%;
  background-color:transparent;
  z-index:400;
  position:fixed;
  top:230px;
  right:5px;

}

  1. scroll_right a{
  color:#000000;
   font-weight:bold;

}

/*TEXT formating*/

.legende_schema{

  font-style:italic;

}

a {

  text-decoration:none;

}

h1{

  font-style:bold;
  font-size: 30px;
  text-decoration:none;

}

h2{

  font-style:italic;
  padding-left:10px;

}

h3{

  padding-left:25px;

}

h4{

  font-style:italic;

}


em {

 font-style: normal; /* Suppression de l'italique */
 font-weight:bold;
  color:#0056E0;

}


/*block for paper citations*/

  1. citation_box{
  margin-top:30px;
  padding:10px;
  border-style:none;
  border-width:2px;
  border-color:#BDFEBC;
  background-color:#ECECEC;
  text-align:left;

}

  1. citation_box ol,li{
  text-style:italic;

}

  1. references{
  text-style:bold;
  text-size:14px;

}


table.parameter { width:100%; display: block; margin-left: auto; margin-right: auto; cellpadding:0px; cellspacing:0px; align:middle; } table.parameter td { padding:5px; }