Team:UT-Tokyo/Template/Style0

From 2012.igem.org

(Difference between revisions)
m
m
 
(38 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
</P>
+
</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 */
Line 184: 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 193: 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 245: 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;
+
/* 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 275: 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 300: 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