Template:CSS/UT-Tokyo/Counter/Contents
From 2014.igem.org
(Difference between revisions)
Pineappler (Talk | contribs) |
Pineappler (Talk | contribs) |
||
(12 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html><head> | <html><head> | ||
+ | <script type="text/x-mathjax-config"> | ||
+ | MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ["\\(","\\)"]] } }); | ||
+ | </script> | ||
+ | <script type="text/javascript" | ||
+ | src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?action=raw&ctype=text/javascript&config=TeX-AMS_HTML"> | ||
+ | </script> | ||
+ | <meta http-equiv="X-UA-Compatible" CONTENT="IE=EmulateIE7" /> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
function changeIcon(URL) { | function changeIcon(URL) { | ||
Line 334: | Line 341: | ||
font-size:16px; | font-size:16px; | ||
text-indent:0px; | text-indent:0px; | ||
- | font-family: "Times New Roman" | + | } |
+ | #pageContents #Lab-2 p{ | ||
+ | font-family: "Times New Roman"; | ||
} | } | ||
Line 392: | Line 401: | ||
ul.subContList li a{ | ul.subContList li a{ | ||
color:#DDDDDD; | color:#DDDDDD; | ||
- | margin-left: | + | margin-left:45px; |
font-size:20px; | font-size:20px; | ||
text-decoration:none; | text-decoration:none; | ||
- | text-indent:- | + | text-indent:-1.0em; |
+ | display:block; | ||
} | } | ||
img#RightTop{ | img#RightTop{ | ||
Line 505: | Line 515: | ||
height:50px; | height:50px; | ||
padding-left:50px; | padding-left:50px; | ||
+ | float:left; | ||
} | } | ||
legend{ | legend{ | ||
Line 522: | Line 533: | ||
margin-top:0px; | margin-top:0px; | ||
} | } | ||
+ | table{ | ||
+ | background-color:#FFF; | ||
+ | } | ||
+ | #contentsBody #pageContents p.sponsors{ | ||
+ | position:absolute; | ||
+ | left:40%; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
<script type="text/javascript" language="Javascript"> | <script type="text/javascript" language="Javascript"> | ||
Line 658: | Line 677: | ||
if(str == "Project-block"){ | if(str == "Project-block"){ | ||
- | box[0].style.height = " | + | box[0].style.height = "13050px"; |
- | pc.style.height = " | + | pc.style.height = "13000px"; |
+ | }else if(str == "Result-block"){ | ||
+ | box[0].style.height = "5850px"; | ||
+ | pc.style.height = "5800px"; | ||
+ | }else if(str == "Lab-block"){ | ||
+ | box[0].style.height = "112400px"; | ||
+ | pc.style.height = "112350px"; | ||
}else if(str == "Modeling-block"){ | }else if(str == "Modeling-block"){ | ||
- | box[0].style.height = " | + | box[0].style.height = "22900px"; |
- | pc.style.height = " | + | pc.style.height = "22850px"; |
+ | }else if(str == "Achievement-block"){ | ||
+ | box[0].style.height = "1550px"; | ||
+ | pc.style.height = "1500px"; | ||
+ | }else if(str == "Safety-block"){ | ||
+ | box[0].style.height = "2700px"; | ||
+ | pc.style.height = "2650px"; | ||
}else if(str == "Attribution-block"){ | }else if(str == "Attribution-block"){ | ||
- | box[0].style.height = " | + | box[0].style.height = "5100px"; |
- | pc.style.height = " | + | pc.style.height = "5050px"; |
}else if(str == "Humanpractice-block"){ | }else if(str == "Humanpractice-block"){ | ||
- | box[0].style.height = " | + | box[0].style.height = "10050px"; |
- | pc.style.height = " | + | pc.style.height = "10000px"; |
- | + | ||
- | + | ||
- | + | ||
}else if(str == "Team-top"){ | }else if(str == "Team-top"){ | ||
box[0].style.height = "2500px"; | box[0].style.height = "2500px"; | ||
Line 798: | Line 826: | ||
$("#contentsBody").mCustomScrollbar("scrollTo","top"); | $("#contentsBody").mCustomScrollbar("scrollTo","top"); | ||
} | } | ||
+ | function linkDate(jump){ | ||
+ | var href = "#" + jump; | ||
+ | var target = $(href); | ||
+ | $("#contentsBody").mCustomScrollbar("scrollTo",target); | ||
+ | } | ||
+ | |||
</script> | </script> | ||
<script> | <script> |