Template:Team:KIT-Kyoto/Common
From 2014.igem.org
(Difference between revisions)
(208 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | |||
<style type="text/css"> | <style type="text/css"> | ||
- | .bgimg { | + | *{ |
+ | font-family:'Lucida Grande', | ||
+ | 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', | ||
+ | Meiryo, メイリオ, sans-serif; | ||
+ | font-size:16px; | ||
+ | } | ||
+ | .sentence a{ | ||
+ | color: rgb(0,20,300); | ||
+ | } | ||
+ | |||
+ | #contentSub, #footer-box, #catlinks,#search-controls, #p-logo, .printfooter, .firstHeading, .visualClear { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #top-section li,#top-section a{ | ||
+ | font-size:13px; | ||
+ | } | ||
+ | #menubar ul{ | ||
+ | line-height:1em; | ||
+ | } | ||
+ | #menubar ul li a:link,#menubar ul li a:visited,#menubar ul li a:active{ | ||
+ | color:gray; | ||
+ | } | ||
+ | |||
+ | #menubar ul li a:hover{ | ||
+ | color:lime; | ||
+ | } | ||
+ | |||
+ | #bgimg { | ||
position: fixed; | position: fixed; | ||
left:0; | left:0; | ||
Line 11: | Line 38: | ||
} | } | ||
- | + | #bgimg img { | |
position: fixed; | position: fixed; | ||
min-height: 100%; | min-height: 100%; | ||
Line 21: | Line 48: | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
div#container{ | div#container{ | ||
margin:0 30px 0 270px; | margin:0 30px 0 270px; | ||
Line 97: | Line 57: | ||
position:relative; | position:relative; | ||
width:70%; | width:70%; | ||
- | min-width: | + | min-width:730px; |
+ | max-width:930px; | ||
margin:100px auto; | margin:100px auto; | ||
- | background-color:rgba(300,300,300,0. | + | background-color:rgba(300,300,300,0.85); |
overflow:hidden; | overflow:hidden; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
.sentence{ | .sentence{ | ||
- | + | font-family:'Lucida Grande', | |
'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', | 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', | ||
Meiryo, メイリオ, sans-serif; | Meiryo, メイリオ, sans-serif; | ||
text-align:justify; | text-align:justify; | ||
+ | line-height:2em; | ||
+ | text-indent:1em; | ||
+ | } | ||
+ | |||
+ | .sentence span{ | ||
+ | border-bottom:2px solid rgba(300,0,0,0.5); | ||
+ | } | ||
+ | |||
+ | .kitimg{ | ||
+ | float:right; | ||
+ | margin:20px; | ||
} | } | ||
Line 128: | Line 92: | ||
border-bottom:dashed 1px rgba(0,0,0,0.2); | border-bottom:dashed 1px rgba(0,0,0,0.2); | ||
} | } | ||
- | . | + | |
- | + | ul.materials{ | |
+ | padding-left:10px; | ||
+ | list-style:disc; | ||
+ | font-family:'Lucida Grande', | ||
+ | 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', | ||
+ | Meiryo, メイリオ, sans-serif; | ||
} | } | ||
- | . | + | |
- | + | .procedure{ | |
- | + | padding-left:10px; | |
- | + | list-style:decimal; | |
+ | font-family:'Lucida Grande', | ||
+ | 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', | ||
+ | Meiryo, メイリオ, sans-serif; | ||
+ | line-height:2em; | ||
} | } | ||
- | . | + | .note{ |
- | + | padding-left:10px; | |
- | + | list-style:none; | |
- | + | font-family:'Lucida Grande', | |
+ | 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', | ||
+ | Meiryo, メイリオ, sans-serif; | ||
} | } | ||
- | + | .toplogo img{ | |
- | position: | + | position:relative; |
- | + | margin:14px -10px -10px -15px; | |
- | + | z-index:1; | |
} | } | ||
- | + | .hp_top{ | |
- | + | position:relative; | |
- | + | left:50%; | |
- | + | margin-left:-200px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | + | h1, h2, h3, h4, h5 { | |
- | + | font-family:'Lucida Grande', | |
+ | 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', | ||
+ | Meiryo, メイリオ, sans-serif; | ||
} | } | ||
- | h1 | + | h1{ |
+ | font-size:40px; | ||
+ | } | ||
+ | |||
+ | h2{ | ||
+ | padding-left:10px; | ||
+ | border-left:5px solid rgba(0,200,100,0.8); | ||
+ | font-size:30px; | ||
+ | font-weight:bold; | ||
+ | } | ||
+ | |||
+ | h2 a{ | ||
+ | display:block; | ||
+ | font-size:30px; | ||
+ | font-weight:bold; | ||
+ | cursor:text; | ||
+ | } | ||
+ | |||
+ | h2 a:link,h2 a:hover,h2 a:visited,h2 a:active{ | ||
+ | color:#000000; | ||
+ | text-decoration:none; | ||
+ | } | ||
- | #top-section { | + | #top-section { |
background-color: #383838; | background-color: #383838; | ||
border: 0 none; | border: 0 none; | ||
Line 176: | Line 170: | ||
} | } | ||
- | #top-section-bar { | + | #top-section-bar { |
background-color: #383838; | background-color: #383838; | ||
height: 14px; | height: 14px; | ||
Line 192: | Line 186: | ||
} | } | ||
#kitfooter-box { | #kitfooter-box { | ||
- | border-top: | + | border-top: 1px solid rgba(0,120,200,0.4); |
margin:10px auto -25px auto; | margin:10px auto -25px auto; | ||
padding:5px 5px; | padding:5px 5px; | ||
z-index:1; | z-index:1; | ||
position:relative; | position:relative; | ||
- | |||
overflow:hidden; | overflow:hidden; | ||
} | } | ||
Line 208: | Line 201: | ||
#kitfooter{ | #kitfooter{ | ||
- | + | width:70%; | |
- | width: | + | |
height:50px; | height:50px; | ||
margin:auto; | margin:auto; | ||
Line 222: | Line 214: | ||
display:inline; | display:inline; | ||
list-style:none; | list-style:none; | ||
- | margin:2px | + | margin:2px 1%; |
+ | font-size:12px; | ||
} | } | ||
Line 232: | Line 225: | ||
} | } | ||
- | #globalWrapper, #content { | + | #globalWrapper, #content { |
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
Line 241: | Line 234: | ||
} | } | ||
- | html, body { | + | html, body { |
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
Line 251: | Line 244: | ||
.clear hr { | .clear hr { | ||
display:none; | display:none; | ||
+ | } | ||
+ | .mimg1{ | ||
+ | width: 240px; | ||
+ | } | ||
+ | .mimg2{ | ||
+ | width:400px; | ||
+ | } | ||
+ | figure.mimg1,.mimg2 { | ||
+ | position: relative; | ||
+ | overflow: hidden; | ||
+ | background: #37e996; | ||
+ | margin:10px; | ||
+ | } | ||
+ | figure.mimg1 img,figure.mimg2 img { | ||
+ | position: relative; | ||
+ | z-index: 1; | ||
+ | -webkit-transition: .3s; | ||
+ | transition: .3s; | ||
+ | } | ||
+ | figcaption.mcap1 ,figcaption.mcap2{ | ||
+ | position: absolute; | ||
+ | bottom: -70px; | ||
+ | left: 0; | ||
+ | z-index: 2; | ||
+ | width:100%; | ||
+ | height: 70px; | ||
+ | background: #37e996; | ||
+ | -webkit-transition: .3s; | ||
+ | transition: .3s; | ||
+ | } | ||
+ | .mimg1:hover img ,.mimg2:hover img{ | ||
+ | -webkit-transform: translateY(-40px); | ||
+ | transform: translateY(-40px); | ||
+ | } | ||
+ | .mimg1:hover figcaption ,.mimg2:hover figcaption{ | ||
+ | bottom: 0; | ||
+ | -webkit-transform: translateY(-30px); | ||
+ | transform: translateY(-30px); | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 18:15, 17 October 2014