Team:INSA-Lyon/css global

From 2014.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 5: Line 5:
}
}
-
@font-face {
+
* {
-
font-family: "Roboto";
+
     font-family: arial;
-
     src: url(http://potopov.fr/igemfont/RobotoCondensed-Regular.ttf);
+
-
}
+
-
 
+
-
@font-face {
+
-
font-family: "LatoReg";
+
-
    src: url(http://fonts.googleapis.com/css?family=Lato);
+
-
}
+
-
@font-face {
+
-
font-family: "LatoLig";
+
-
    src: url(http://fonts.googleapis.com/css?family=Lato:300);
+
}
}
Line 82: Line 72:
}
}
-
#menubar *  
+
#menubar *
{
{
color: transparent !important;
color: transparent !important;
Line 89: Line 79:
}
}
-
#top-section:hover #menubar *  
+
#top-section:hover #menubar *
{
{
color: #ffffff !important;
color: #ffffff !important;
Line 122: Line 112:
}
}
-
#globalWrapper  
+
#globalWrapper
{
{
   font-size: 150%;
   font-size: 150%;
Line 142: Line 132:
}
}
-
#f-copyrightico  
+
#f-copyrightico
{
{
     margin: 1% 0 1% 1%;
     margin: 1% 0 1% 1%;
}
}
-
#f-poweredbyico  
+
#f-poweredbyico
{
{
     margin: 1% 1% 1% 0;
     margin: 1% 1% 1% 0;
Line 171: Line 161:
/* ----------------End of the wiki hack -------------------------------------*/
/* ----------------End of the wiki hack -------------------------------------*/
-
 
-
p {
 
-
font-family: "LatoReg", sans-serif;
 
-
}
 
-
 
h1 {
h1 {
-
font-family: "LatoReg", sans-serif;
 
font-size: 2.5em;
font-size: 2.5em;
font-weight: normal;
font-weight: normal;
Line 184: Line 168:
h2 {
h2 {
-
font-family: "LatoReg", sans-serif;
 
color: #fff;
color: #fff;
font-size: 6em;
font-size: 6em;
Line 194: Line 177:
h4 {
h4 {
-
font-family: "LatoLig", sans-serif;
 
color: #fff;
color: #fff;
font-size: 3em;
font-size: 3em;
Line 203: Line 185:
h5{
h5{
-
    font-family: "LatoReg", sans-serif;
 
     color: #000000;
     color: #000000;
line-height:1em;
line-height:1em;
Line 210: Line 191:
h6{
h6{
-
    font-family: "LatoReg", sans-serif;
 
     color: #000000;
     color: #000000;
     font-size: 1.2em;
     font-size: 1.2em;
Line 242: Line 222:
     right: 0;
     right: 0;
     background: #248588;
     background: #248588;
 +
    z-index: 100;
}
}
-
#menu a {
+
#menu a *{
color:#fff;
color:#fff;
-
font-family: "Roboto", sans-serif;
+
font-family: "Roboto", sans-serif !important;
}
}
Line 336: Line 317:
     line-height: 20px;
     line-height: 20px;
     margin-bottom: 20px;
     margin-bottom: 20px;
-
     -moz-transition: all 0.3s ease-out;
+
     -moz-transition: all 0.3s ease-out;
-
     -webkit-transition: all 0.3s ease-out;
+
     -webkit-transition: all 0.3s ease-out;
     transition: all 0.3s ease-out;
     transition: all 0.3s ease-out;
color:#248588;
color:#248588;
Line 343: Line 324:
.hu-icon {color: #285459;}
.hu-icon {color: #285459;}
-
.hu-icon li:hover {  
+
.hu-icon li:hover {
     box-shadow: 0 0 65px #285459;
     box-shadow: 0 0 65px #285459;
     -moz-box-shadow: 0 0 65px #285459;
     -moz-box-shadow: 0 0 65px #285459;
-
     -webkit-box-shadow: 0 0 65px #285459;
+
     -webkit-box-shadow: 0 0 65px #285459;
-
}
+
}
.hi-icon li:hover {
.hi-icon li:hover {
Line 361: Line 342:
.menuulli:hover .ssmenu {display:block !important;}
.menuulli:hover .ssmenu {display:block !important;}
/*--------------------- FIN DU CSS DE MENU ---------------------------------------------*/
/*--------------------- FIN DU CSS DE MENU ---------------------------------------------*/
 +
 +
.rotate{
 +
    -webkit-transition-duration: 0.8s;
 +
    -moz-transition-duration: 0.8s;
 +
    -o-transition-duration: 0.8s;
 +
    transition-duration: 0.8s;
 +
   
 +
    -webkit-transition-property: -webkit-transform;
 +
    -moz-transition-property: -moz-transform;
 +
    -o-transition-property: -o-transform;
 +
    transition-property: transform;
 +
   
 +
    overflow:hidden;
 +
 +
    } 
 +
 +
.rotate:hover 
 +
{
 +
    -webkit-transform:rotate(360deg);
 +
    -moz-transform:rotate(360deg);
 +
    -o-transform:rotate(360deg);
 +
}

Latest revision as of 01:45, 18 October 2014

html, body { margin:0; padding:0; width: 100%; }

  • {
   font-family: arial;

}

/*--------------------- Wiki hack ---------------------------------------------*/

/* la barre titre (banniere igem+ menu haut)*/

  1. top-section

{

   height: 10px;
   width: auto;
   margin: 0;
   margin-bottom: -1em;
   padding: 0;
   border: 0 /*none transport*/;

}

/*le conteneur de la banière igem avec un lien vers igem*/

  1. p-logo

{

   display:none;
   border:none;
   margin:none;

}

/* la barre de menu du haut */

  1. menubar

{

   background: none repeat scroll 0 0 transparent !important;
   color: transparent !important;
   position: absolute;
   top: -6px;
   display: table-cell;

}

/*les lien de la barre de menu du haut */

  1. menubar a

{

   text-decoration:none;
   color:#000000;

}

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

   left: 40px;
   background-color:transparent;
  /*display:none;*/

}

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

   color:transparent;
   text-decoration:none;
   text-align: right;
   background-color:none;

}

/* les lien du login */ .right-menu a {

   color:transparent;
   text-decoration:transparent;
   background-color:none;

}

  1. menubar *

{ color: transparent !important; background: transparent !important;

}

  1. top-section:hover #menubar *

{ color: #ffffff !important; }

  1. top-section a:hover #menubar *

{ text-decoration: underline; }

  1. top-section:hover #menubar

{ /*background: rgba(255, 255, 255, 0.75) !important;*/ margin-top: 5px; }

/* la barre de recherche*/

  1. search-controls

{

   display:none;

}

/* le body de la page*/

  1. content

{

   background-color: transparent;
   border:none;
   padding:none;
   margin:none;
   line-height:1em;

width: 99%; }

  1. globalWrapper

{

 font-size: 150%;

}

/*titre de page */ .firstHeading {

   display:none;
   border: none;

}

  1. footer-wrapper

{

   position: relative;
   width: 100%;
   margin: auto;
   background-color: transparent;

}

  1. f-copyrightico

{

   margin: 1% 0 1% 1%;

}

  1. f-poweredbyico

{

   margin: 1% 1% 1% 0;

}

/* la boite en bas de page*/

  1. footer-box

{

   display: none;

}

/* le cadre sous le body useless */

  1. catlinks

{

   display: none;

}

ul {

 list-style-image: none;
 line-height: 1.2em;

}

/* ----------------End of the wiki hack -------------------------------------*/ h1 { font-size: 2.5em; font-weight: normal;

       border:none;

}

h2 { color: #fff; font-size: 6em; bottom-bottom: -10px; font-weight: normal; line-height: 20px;

       border:none;

}

h4 { color: #fff; font-size: 3em; bottom: -10px; font-weight: normal; line-height: 20px; }

h5{

    color: #000000;

line-height:1em;

    font-size: 1.5em;

}

h6{

    color: #000000;
    font-size: 1.2em;

line-height:1em; }

h3 { font-family: "Roboto", sans-serif; color: #fff; font-size: 1.3em; text-align: center; font-weight: normal; }

ul{ list-style-type: disc; }

a { text-decoration: none !important; }


/*--------------------- CSS DU MENU ---------------------------------------------*/

  1. menu {
   position: fixed;
   width: 50px;
   top: 0;
   left: 0;
   bottom: 0;
   right: 0;
   background: #248588;
   z-index: 100;

}

  1. menu a *{

color:#fff; font-family: "Roboto", sans-serif !important; }

.hu-icon a:visited { color:#248588; }

  1. menu ul {
   list-style-type: none !important;

}

  1. menuul{

text-align: center; padding-bottom: 10px; margin: 0; width: 100%; padding: 0; position: absolute; top: 0; bottom: 0; left: 0; right: 0; }

.menuulli{ margin: 0; display: block; height: 18%; position: relative; text-align: center; width: 100%; }

.menuullia {

   display: block;
   text-align: center;
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;

}

.menuullia span {

   -webkit-transform: rotateZ(-90deg);
   -moz-transform: rotateZ(-90deg);
   -o-transform: rotateZ(-90deg);
   transform: rotateZ(-90deg);
   display: block;
   top: 50%;
   position: absolute;
   margin-top: -8px;
   width: 50px;
   color: #FFFFFF;

}

/* Sous menu */ .ssmenu { width: 250px; height: 350px; top: -10px; text-align: center; background-color: #248588; line-height: 32px; padding-top: 50px; padding-left: 0px; display: none; position: absolute; left: 26px; position: fixed; height: 100%;

       text-decoration: none;

list-style-type: none color: #FFFFFF; }

.ssmenu a:visited { color: #FFFFFF; }

.iconmenu { background:#FFF;

   width:130px;
   height:115px;
   text-align:center;
   border-radius:50%;
   margin: auto;
   padding-top: 15px;
   overflow: hidden;
   line-height: 20px;
   margin-bottom: 20px;
   -moz-transition: all 0.3s ease-out;
   -webkit-transition: all 0.3s ease-out;
   transition: all 0.3s ease-out;

color:#248588; } .hu-icon {color: #285459;}

.hu-icon li:hover {

   box-shadow: 0 0 65px #285459;
   -moz-box-shadow: 0 0 65px #285459;
   -webkit-box-shadow: 0 0 65px #285459;

}

.hi-icon li:hover { background-color: #285459; }

.ssmenu:nth-child(odd) {background-color: #285459;}

.menuulli:nth-child(odd) { background:#46adb2; } .menuulli:first-child { height:6% !important; } .menuulli:hover .ssmenu {display:block !important;} /*--------------------- FIN DU CSS DE MENU ---------------------------------------------*/

.rotate{

   -webkit-transition-duration: 0.8s;
   -moz-transition-duration: 0.8s;
   -o-transition-duration: 0.8s;
   transition-duration: 0.8s;
    
   -webkit-transition-property: -webkit-transform;
   -moz-transition-property: -moz-transform;
   -o-transition-property: -o-transform;
   transition-property: transform;
    
   overflow:hidden;

   }  

.rotate:hover {

   -webkit-transform:rotate(360deg);
   -moz-transform:rotate(360deg);
   -o-transform:rotate(360deg);

}