Template:Team:KIT-Kyoto/safety form

From 2014.igem.org

(Difference between revisions)
 
(19 intermediate revisions not shown)
Line 3: Line 3:
.safety{
.safety{
background-color:rgba(0,0,0,0);
background-color:rgba(0,0,0,0);
 +
list-style:lower-alpha;
}
}
 +
.safety li{
 +
border-bottom:1px solid rgba(0,200,50,0.3);
 +
font-weight:bold;
 +
text-align:justify;
 +
line-height:2em;
 +
}
 +
.answer{
 +
margin:15px 15px 30px 15px;
 +
padding:5px 10px;
 +
background-color:rgba(0,200,50,0.1);
 +
word-wrap:break-word;
 +
}
 +
.answer li{
 +
text-align:justify;
 +
line-height:2em;
 +
}
 +
@media screen and (max-width: 568px) {
 +
.answer li,.safety li{
 +
line-height:1.5em;
 +
}
 +
}
</style>
</style>
-
<script type="text/javascript">
 
-
    $(function() {   
 
-
        $('.safety li:even').css({ 
 
-
            'list-style-type':'lower-alpha' ,'font-weight':'bold'
 
-
        }); 
 
-
        $('.safety li:odd').css({ 
 
-
            'list-style-type':'none' ,'padding':'5px 10px'
 
-
        }); 
 
-
    }); 
 
-
</script>
 
</html>
</html>

Latest revision as of 10:17, 16 October 2014