Difference between revisions of "Template:Team:DTU-Denmark/Submenue tiles.html"

Line 12: Line 12:
 
                         display: inline-block;
 
                         display: inline-block;
 
                         text-align:center;
 
                         text-align:center;
                word-wrap:break-word
 
 
                         height: 180px;
 
                         height: 180px;
 
                         width: 180px;
 
                         width: 180px;
Line 18: Line 17:
 
margin:20px;
 
margin:20px;
 
opacity: 0.7;
 
opacity: 0.7;
width: 180px;
+
                        overflow: hidden;
    height: 180px;
+
    -webkit-background-size: cover;
+
    -moz-background-size: cover;
+
    -o-background-size: cover;
+
    background-size: cover;
+
    background-size: 100% 100%;
+
background-repeat: no-repeat;
+
background-position: center center;
+
 
+
                       
+
 
}
 
}
  
Line 37: Line 26:
  
 
ul#tiles li a{
 
ul#tiles li a{
                     padding: 0px 0px 0px 0px;
+
                     padding: 0px 0px 180px 0px;
 
                     color:black;
 
                     color:black;
 
    text-decoration:none;
 
    text-decoration:none;
Line 43: Line 32:
 
            font-size: large;
 
            font-size: large;
 
            display: inline-block;
 
            display: inline-block;
                    overflow-wrap: break-word;
 
                    word-wrap: break-word;
 
}
 
  
        a {
+
}
            word-wrap:break-word
+
        }
+
  
 
</style>
 
</style>
Line 104: Line 88:
 
                
 
                
 
                 } else if(sub_name == "Codon Optimization"){
 
                 } else if(sub_name == "Codon Optimization"){
return('https://static.igem.org/mediawiki/2016/c/ce/T--DTU-Denmark--codon_sq.jpg')
 
 
                } else if(sub_name == "Microfermentation platform"){
 
 
return('https://static.igem.org/mediawiki/2016/c/ce/T--DTU-Denmark--codon_sq.jpg')
 
return('https://static.igem.org/mediawiki/2016/c/ce/T--DTU-Denmark--codon_sq.jpg')
  

Revision as of 14:24, 17 October 2016

Tails for main menue points