Team:UT-Tokyo/Template/Style0
From 2012.igem.org
(Difference between revisions)
m |
m |
||
(33 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | </ | + | </p> |
<!-- in bodycontent --> | <!-- in bodycontent --> | ||
<style type="text/css"> | <style type="text/css"> | ||
Line 60: | Line 60: | ||
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 179: | 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 */ | ||
Line 211: | Line 212: | ||
margin-top:34px; | margin-top:34px; | ||
line-height:1.2em;} | 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;} | ||
Line 263: | 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 293: | 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 318: | Line 336: | ||
margin-bottom:-50px; | 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