Difference between revisions of "Template:Team:SCUT/2015template"

Line 179: Line 179:
 
#majorcontent img{width:350px;height:auto;}
 
#majorcontent img{width:350px;height:auto;}
 
#majorcontent p#img{text-align:center;}
 
#majorcontent p#img{text-align:center;}
 +
 +
li.disc{list-style-type:disc;font-size:12pt;}
 +
 +
div.panel,h3.flip
 +
{
 +
text-align:justify;
 +
margin:0px;
 +
padding:5px;
 +
background:transparent;
 +
}
 +
h3.flip{color:#e1472f;text-decoration:underline;}
 +
div.panel
 +
{
 +
height:auto;
 +
display:none;
 +
}
 
</style>  
 
</style>  
 +
 +
<script type="text/javascript">
 +
$(document).ready(function(){
 +
$(".flip").click(function(){
 +
    $(this).next(".panel").slideDown("slow").siblings(".panel").slideUp("slow");
 +
  });
 +
});
 +
</script>
  
 
<meta http-equiv="content-type" content="text/html; charset=utf-8" />  
 
<meta http-equiv="content-type" content="text/html; charset=utf-8" />  

Revision as of 03:23, 19 September 2015

Team:SCUT