Team:UT-Tokyo/Template/Style0
From 2012.igem.org
(Difference between revisions)
m |
m |
||
(46 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | </ | + | </p> |
<!-- in bodycontent --> | <!-- in bodycontent --> | ||
<style type="text/css"> | <style type="text/css"> | ||
Line 38: | Line 38: | ||
font-size:24px;} | font-size:24px;} | ||
ul, dl, dt, dd, p, div, li, form{margin:0; padding:0;} | ul, dl, dt, dd, p, div, li, form{margin:0; padding:0;} | ||
+ | |||
#content .firstHeading{ | #content .firstHeading{ | ||
Line 58: | Line 59: | ||
margin-left:78px; | margin-left:78px; | ||
position:relative;} | position:relative;} | ||
+ | |||
/* links */ | /* links */ | ||
#header a:link, #side a:link, #header a:visited, #side a:visited, #f_navi a:link, #f_navi a:visited{ | #header a:link, #side a:link, #header a:visited, #side a:visited, #f_navi a:link, #f_navi a:visited{ | ||
Line 171: | Line 173: | ||
#menu1 li ul> li:first-child { | #menu1 li ul> li:first-child { | ||
margin-left:30px;} | margin-left:30px;} | ||
+ | #menu1 li#m_note > .menu2, #menu1 li#m_hupr > .menu2{ | ||
+ | text-align:right; | ||
+ | margin-left:-30px;} | ||
+ | #menu1 li#m_part > .menu2{ | ||
+ | text-align:center; | ||
+ | margin-left:30px;} | ||
+ | |||
/* top */ | /* top */ | ||
#top{ | #top{ | ||
- | margin-top:45px;} | + | margin-top:45px; |
+ | font-size:16px;} | ||
#top a{ | #top a{ | ||
color:#008438;} | color:#008438;} | ||
Line 183: | Line 193: | ||
#top img{ | #top img{ | ||
+ | border-width:0px; | ||
+ | /* border-style:solid; | ||
+ | border-width:1px; | ||
+ | border-color:#008438; | ||
+ | margin-right:30px;*/} | ||
+ | |||
+ | #top p img{ | ||
+ | margin-right:30px;} | ||
+ | |||
+ | #top h2+p img:first-child{ | ||
border-style:solid; | border-style:solid; | ||
border-width:1px; | border-width:1px; | ||
Line 190: | Line 210: | ||
#top h2{ | #top h2{ | ||
margin-bottom:24px; | margin-bottom:24px; | ||
- | margin-top:34px; | + | margin-top:34px; |
- | + | line-height:1.2em;} | |
#top + h2{ | #top + h2{ | ||
margin-top:0px;} | margin-top:0px;} | ||
+ | |||
+ | #top h3{ | ||
+ | font-size:20px; | ||
+ | font-weight:normal; | ||
+ | margin-bottom:1em; | ||
+ | color:#248; | ||
+ | line-height:1.2em; | ||
+ | border-left:5px solid #46c; | ||
+ | padding-left:5px; | ||
+ | margin-left:1px; | ||
+ | } | ||
#top p{ | #top p{ | ||
- | |||
margin-bottom:12px;} | margin-bottom:12px;} | ||
.pageabst{ | .pageabst{ | ||
Line 244: | Line 274: | ||
#side .s_logo { | #side .s_logo { | ||
/* background: url("https://static.igem.org/mediawiki/2012/1/15/UT-Tokyo_logo02.png") no-repeat scroll 0 0 transparent; */ | /* background: url("https://static.igem.org/mediawiki/2012/1/15/UT-Tokyo_logo02.png") no-repeat scroll 0 0 transparent; */ | ||
- | + | /* height: 451px; | |
margin-bottom: -39px; | margin-bottom: -39px; | ||
- | margin-left: -66px; | + | margin-left: -66px;*/ |
+ | height: 451px; | ||
+ | margin-bottom: -166px; | ||
+ | margin-left: -100px; | ||
+ | margin-top: 30px; | ||
+ | |||
} | } | ||
+ | |||
#side .s_twit { | #side .s_twit { | ||
background: url("https://static.igem.org/mediawiki/2012/e/e5/Twit_fukidashi01.png") no-repeat scroll 0px 0px transparent; | background: url("https://static.igem.org/mediawiki/2012/e/e5/Twit_fukidashi01.png") no-repeat scroll 0px 0px transparent; | ||
Line 253: | Line 289: | ||
padding-left: 18px; | padding-left: 18px; | ||
padding-top: 64px; | padding-top: 64px; | ||
- | padding-bottom: | + | padding-bottom: 100px; |
+ | margin-bottom:-30px; | ||
} | } | ||
#side .twtr-hd, #side .twtr-ft{ | #side .twtr-hd, #side .twtr-ft{ | ||
Line 260: | Line 297: | ||
margin-left:20px;} | margin-left:20px;} | ||
#s_menu{ | #s_menu{ | ||
- | margin-top: | + | margin-top: 55px;} |
#s_menu ul{ | #s_menu ul{ | ||
list-stype-type;none; | list-stype-type;none; | ||
Line 273: | Line 310: | ||
// font-size:24px; | // font-size:24px; | ||
font-size:22px; | font-size:22px; | ||
- | font-weight:normal;} | + | font-weight:normal; |
+ | line-height:1.2em;} | ||
#s_menu dd{ | #s_menu dd{ | ||
padding:0px 14px 10px 16px; | padding:0px 14px 10px 16px; | ||
Line 280: | Line 318: | ||
color:#0B50B8;} | color:#0B50B8;} | ||
+ | |||
+ | /* e */ | ||
+ | |||
+ | |||
+ | dl.TeamMembersList{ | ||
+ | margin-left:24px; | ||
+ | } | ||
+ | .TeamMembersList > dt{ | ||
+ | height:60px; | ||
+ | position:relative; | ||
+ | width:60px; | ||
+ | } | ||
+ | .TeamMembersList > dd{ | ||
+ | position:relative; | ||
+ | left:70px; | ||
+ | top:-60px; | ||
+ | margin-bottom:-50px; | ||
+ | } | ||
+ | |||
+ | .person{ | ||
+ | position: relative; | ||
+ | margin-bottom:10px;} | ||
+ | .person .imgbox{ | ||
+ | width: 90px; | ||
+ | height: 90px; | ||
+ | } | ||
+ | .person .m-content{ | ||
+ | position: absolute; | ||
+ | left: 100px; | ||
+ | top: 0; | ||
+ | } | ||
+ | .person .charge{ | ||
+ | margin-left:2em; | ||
+ | color:#999; | ||
+ | font-size:80%;} | ||
+ | .Achievement ul{ | ||
+ | list-style-type: circle;} | ||
+ | |||
+ | |||
+ | /* UA */ | ||
+ | @media screen and (max-width: 1100px) { | ||
+ | body #main{ | ||
+ | margin-left:38px} | ||
+ | #side{ | ||
+ | left:806px} | ||
+ | } | ||
+ | @media screen and (max-width: 760px) { | ||
+ | body #globalWrapper{ | ||
+ | width:120%;} | ||
+ | body #top-section, body #content{ | ||
+ | width:83%; | ||
+ | margin-left:0px;} | ||
+ | #container, #bodyContent, #main{ | ||
+ | width:100%;} | ||
+ | #top { width: 70%; } | ||
+ | #f_navi{width:80%;} | ||
+ | #side {left:100%; background:#fff;} | ||
+ | } | ||
+ | @media screen and (max-height: 560px) { | ||
+ | #header{ | ||
+ | padding-top:36px;} | ||
+ | #side .s-logo{ | ||
+ | margin-top: -20px;} | ||
+ | } | ||
</style> | </style> | ||
<p> | <p> | ||
</html> | </html> |
Latest revision as of 03:14, 27 September 2012