Team:UCLA/anuved verma ucla2014 workspace/CSS

From 2014.igem.org

(Difference between revisions)
Line 353: Line 353:
}
}
<style>
<style>
-
 
-
 
-
 
-
<!--CONTENT DIV-->
 
-
<!--SUMMARY TITLES-->
 
-
<style type="text/css">
 
-
.content_div_container{
 
-
        background-color:blue;
 
-
position: fixed;
 
-
display:inline-block;
 
-
border: 2px solid #CCCCB2;
 
-
border-radius: 10px;
 
-
margin: 20px 20px 20px 20px;
 
-
overflow:hidden;
 
-
height: 400px;
 
-
        width: 400px;
 
-
}
 
-
.content_div_text{
 
-
position: absolute;
 
-
padding: 10 10 10 10;
 
-
top: 300px;
 
-
left: 0;
 
-
background-color:black;
 
-
opacity: 0.5;
 
-
}
 
-
.content_div_text h3 {
 
-
font-family: Verdana;
 
-
margin: 10px 10px 10px 10px;
 
-
color: white;
 
-
opacity: 1;
 
-
}
 
-
.content_div_text p {
 
-
font-family: Verdana;
 
-
margin: 10px 10px 10px 10px;
 
-
color: white;
 
-
}
 
-
</style>
 
-
 
Line 550: Line 512:
}
}
</style>
</style>
 +
 +
 +
<!--CONTENT DIV-->
 +
<!--SUMMARY TITLES-->
 +
<style type="text/css">
 +
.content_div_container{
 +
        background-color:blue;
 +
position: fixed;
 +
display:inline-block;
 +
border: 2px solid #CCCCB2;
 +
border-radius: 10px;
 +
margin: 20px 20px 20px 20px;
 +
overflow:hidden;
 +
height: 400px;
 +
        width: 400px;
 +
}
 +
.content_div_text{
 +
position: absolute;
 +
padding: 10 10 10 10;
 +
top: 300px;
 +
left: 0;
 +
background-color:black;
 +
opacity: 0.5;
 +
}
 +
.content_div_text h3 {
 +
font-family: Verdana;
 +
margin: 10px 10px 10px 10px;
 +
color: white;
 +
opacity: 1;
 +
}
 +
.content_div_text p {
 +
font-family: Verdana;
 +
margin: 10px 10px 10px 10px;
 +
color: white;
 +
}
 +
</style>
 +
 +
</html>
</html>

Revision as of 02:31, 20 September 2014