Team:UCLA/Template/CSS

From 2014.igem.org

(Difference between revisions)
Line 239: Line 239:
     -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
     -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
     box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
     box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
-
}
 
-
.expandedContent {
 
-
    margin-left: auto;
 
-
    margin-right: auto;
 
-
    /*width: 1400px;*/
 
-
    width: 100%;
 
}
}
.content {
.content {
Line 631: Line 625:
</style>
</style>
-
<!--TILES COLUMNS-->
 
-
<style>
 
-
.section {
 
-
clear: both;
 
-
padding: 0px;
 
-
margin: 0px;
 
-
}
 
-
.group:before,
 
-
.group:after {
 
-
    content:"";
 
-
    display:table;
 
-
}
 
-
.group:after {
 
-
    clear:both;
 
-
}
 
-
.group {
 
-
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
 
-
}
 
-
.col {
 
-
display: block;
 
-
float:left;
 
-
margin: 1% 0 1% 1.6%;
 
-
}
 
-
 
-
.col:first-child { margin-left: 0; } /* all browsers except IE6 and lower */
 
-
 
-
@media only screen and (max-width: 480px) {
 
-
.col {
 
-
margin: 1% 0 1% 0%;
 
-
}
 
-
}
 
-
.span_3_of_3 {
 
-
width: 100%;
 
-
}
 
-
 
-
.span_2_of_3 {
 
-
width: 66.13%;
 
-
}
 
-
 
-
.span_1_of_3 {
 
-
width: 32.26%;
 
-
}
 
-
 
-
@media only screen and (max-width: 480px) {
 
-
.span_3_of_3 {
 
-
width: 100%;
 
-
}
 
-
.span_2_of_3 {
 
-
width: 100%;
 
-
}
 
-
.span_1_of_3 {
 
-
width: 100%;
 
-
}
 
-
}
 
-
</style>
 
</html>
</html>

Revision as of 21:49, 25 September 2014