Template:CSS/UT-Tokyo/CTCD/Contents
From 2014.igem.org
(Difference between revisions)
Pineappler (Talk | contribs) |
Pineappler (Talk | contribs) |
||
(5 intermediate revisions not shown) | |||
Line 380: | Line 380: | ||
} | } | ||
ul.subContList li a{ | ul.subContList li a{ | ||
+ | display:block; | ||
color:#DDDDDD; | color:#DDDDDD; | ||
- | margin-left: | + | margin-left:45px; |
font-size:20px; | font-size:20px; | ||
text-decoration:none; | text-decoration:none; | ||
+ | text-indent:-1.0em; | ||
} | } | ||
img#RightTop{ | img#RightTop{ | ||
Line 451: | Line 453: | ||
font-size:medium; | font-size:medium; | ||
} | } | ||
- | p.name{ | + | #pageContents p.name{ |
font-size:40px; | font-size:40px; | ||
margin-left:30px; | margin-left:30px; | ||
Line 502: | Line 504: | ||
margin-left:100px; | margin-left:100px; | ||
margin-right:100px; | margin-right:100px; | ||
+ | } | ||
+ | img.attribution{ | ||
+ | float:left; | ||
+ | width:400px; | ||
+ | padding-left:50px; | ||
+ | } | ||
+ | #contentsBody #pageContents p.attr{ | ||
+ | float:left; | ||
+ | width:420px; | ||
+ | padding-left:20px; | ||
+ | margin-top:0px; | ||
+ | } | ||
+ | table{ | ||
+ | background-color:#FFF; | ||
+ | } | ||
+ | #contentsBody #pageContents p.sponsors{ | ||
+ | position:absolute; | ||
+ | left:40%; | ||
} | } | ||
Line 637: | Line 657: | ||
var pc = document.getElementById("pageContents"); | var pc = document.getElementById("pageContents"); | ||
if(str == "Project-block"){ | if(str == "Project-block"){ | ||
- | box[0].style.height = " | + | box[0].style.height = "4100px"; |
- | pc.style.height = " | + | pc.style.height = "4050px"; |
+ | }else if(str == "Result-block"){ | ||
+ | box[0].style.height = "1400px"; | ||
+ | pc.style.height = "1350px"; | ||
+ | }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 = "1300px"; |
- | pc.style.height = " | + | pc.style.height = "1250px"; |
- | }else if(str == " | + | }else if(str == "Achievement-block"){ |
- | box[0].style.height = " | + | box[0].style.height = "1600px"; |
- | pc.style.height = " | + | pc.style.height = "1550px"; |
}else if(str == "Safety-block"){ | }else if(str == "Safety-block"){ | ||
- | box[0].style.height = " | + | box[0].style.height = "2700px"; |
- | pc.style.height = " | + | pc.style.height = "2650px"; |
+ | }else if(str == "Attribution-block"){ | ||
+ | box[0].style.height = "5100px"; | ||
+ | pc.style.height = "5050px"; | ||
+ | }else if(str == "Humanpractice-block"){ | ||
+ | box[0].style.height = "10050px"; | ||
+ | pc.style.height = "10000px"; | ||
}else if(str == "Team-top"){ | }else if(str == "Team-top"){ | ||
- | box[0].style.height = " | + | box[0].style.height = "2500px"; |
- | pc.style.height = " | + | pc.style.height = "2450px"; |
} | } | ||
loading.style.display = "none"; | loading.style.display = "none"; |
Latest revision as of 03:42, 18 October 2014