Team:Groningen/CSS3

From 2013.igem.org

(Difference between revisions)
Line 49: Line 49:
     background-color: #483D8B;
     background-color: #483D8B;
}
}
-
 
-
<script>
 
-
$(function(){
 
-
    $(".tile").mousedown(function(){     
 
-
        $(this).addClass("selecionado");
 
-
    });
 
-
 
 
-
    $(".tile").mouseup(function(){   
 
-
        $(this).removeClass("selecionado");
 
-
    });
 
-
});
 
-
 
-
</script>
 

Revision as of 09:12, 18 July 2013

body{

   font-family: Century;
   background: rgb(51,51,51);
   color: #fff;
   padding:20px;

}

.pagina{

   width:auto;
   height:auto;    

}

.linha{

   width:auto;
   padding:5px;
   height:auto;
   display:table;     

}

.tile{

   height:100px;  
   width:100px; 
   float:left;
   margin:0 5px 0 0;
   padding:2px;

}

.tileLargo{

   width:210px;

}

.amarelo{

   background:#DAA520;

}

.vermelho{

   background:#CD0000; 

}

.azul{

   background:#4682B4;

}

.verde{

   background-color: #2E8B57;

} .selecionado{

   background-color: #483D8B;

}