Template:Team:HokkaidoU Japan/Team/style.css
From 2011.igem.org
(Difference between revisions)
m |
m |
||
(10 intermediate revisions not shown) | |||
Line 3: | Line 3: | ||
<style type="text/css"> | <style type="text/css"> | ||
.hokkaidou-team-profile-container{ | .hokkaidou-team-profile-container{ | ||
- | width: | + | width: 900px; |
- | margin: 0 | + | margin: 0 25px; |
} | } | ||
- | |||
- | |||
- | |||
- | |||
.hokkaidou-profile { | .hokkaidou-profile { | ||
position: relative; | position: relative; | ||
- | width: | + | width: 380px; |
- | margin: | + | height: 100px; |
- | padding: 20px | + | float: left; |
+ | margin: 10px; | ||
+ | padding: 20px; | ||
border: 1px double #e4e4e4; | border: 1px double #e4e4e4; | ||
-webkit-border-radius: 4px; | -webkit-border-radius: 4px; | ||
Line 23: | Line 21: | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
.hokkaidou-profile:hover, | .hokkaidou-profile:hover, | ||
.hokkaidou-profile:hover h3{ | .hokkaidou-profile:hover h3{ | ||
Line 33: | Line 29: | ||
color:#ababab; | color:#ababab; | ||
} | } | ||
+ | .hokkaidou-profile a{ | ||
+ | color:#ababab; | ||
+ | text-decoration:underline; | ||
+ | } | ||
+ | |||
+ | .hokkaidou-profile a:hover{ | ||
+ | text-decoration:none; | ||
+ | } | ||
+ | |||
.hokkaidou-profile p{ | .hokkaidou-profile p{ | ||
text-indent: 0; | text-indent: 0; | ||
Line 39: | Line 44: | ||
content: ""; | content: ""; | ||
position: absolute; | position: absolute; | ||
- | |||
display: block; | display: block; | ||
+ | width: 66px; | ||
height: 100px; | height: 100px; | ||
border: 1px solid #dedede; | border: 1px solid #dedede; | ||
background: url(https://static.igem.org/mediawiki/2011/3/36/IGEM_HokkaidoU_team_face.png) no-repeat; | background: url(https://static.igem.org/mediawiki/2011/3/36/IGEM_HokkaidoU_team_face.png) no-repeat; | ||
} | } | ||
- | .hokkaidou-profile | + | .hokkaidou-profile h3:before { |
- | left: | + | left: 20px; |
} | } | ||
- | .hokkaidou-profile | + | .hokkaidou-profile h3, |
- | + | .hokkaidou-profile p { | |
- | + | margin-left: 90px; | |
- | + | ||
- | .hokkaidou-profile | + | |
- | margin-left: | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
+ | |||
#hokkaidou-team-profile-yamazaki h3:before {background-position: 0 0;} | #hokkaidou-team-profile-yamazaki h3:before {background-position: 0 0;} | ||
- | #hokkaidou-team-profile-yamazaki:hover h3:before {background-position: - | + | #hokkaidou-team-profile-yamazaki:hover h3:before {background-position: -66px 0;} |
- | #hokkaidou-team-profile-fukamizu h3:before {background-position: - | + | #hokkaidou-team-profile-fukamizu h3:before {background-position: -132px 0;} |
- | #hokkaidou-team-profile-fukamizu:hover h3:before {background-position: - | + | #hokkaidou-team-profile-fukamizu:hover h3:before {background-position: -198px 0;} |
- | #hokkaidou-team-profile-endoh h3:before { background-position: 0 - | + | #hokkaidou-team-profile-endoh h3:before { background-position: 0 -100px;} |
- | #hokkaidou-team-profile-endoh:hover h3:before {background-position: - | + | #hokkaidou-team-profile-endoh:hover h3:before {background-position: -66px -100px;} |
- | #hokkaidou-team-profile-laury h3:before {background-position: - | + | #hokkaidou-team-profile-laury h3:before {background-position: -132px -100px;} |
- | #hokkaidou-team-profile-laury:hover h3:before {background-position: - | + | #hokkaidou-team-profile-laury:hover h3:before {background-position: -198px -100px;} |
- | #hokkaidou-team-profile-makino h3:before {background-position: 0 - | + | #hokkaidou-team-profile-makino h3:before {background-position: 0 -200px;} |
- | #hokkaidou-team-profile-makino:hover h3:before {background-position: - | + | #hokkaidou-team-profile-makino:hover h3:before {background-position: -66px -200px;} |
- | #hokkaidou-team-profile-matsumoto h3:before {background-position: -200px | + | #hokkaidou-team-profile-matsumoto h3:before {background-position: -132px -200px;} |
- | #hokkaidou-team-profile-matsumoto:hover h3:before {background-position: - | + | #hokkaidou-team-profile-matsumoto:hover h3:before {background-position: -198px -200px;} |
- | #hokkaidou-team-profile-takahashi h3:before {background-position: 0 - | + | #hokkaidou-team-profile-takahashi h3:before {background-position: 0 -300px;} |
- | #hokkaidou-team-profile-takahashi:hover h3:before {background-position: - | + | #hokkaidou-team-profile-takahashi:hover h3:before {background-position: -66px -300px;} |
- | #hokkaidou-team-profile-asai h3:before {background-position: - | + | #hokkaidou-team-profile-asai h3:before {background-position: -132px -300px;} |
- | #hokkaidou-team-profile-asai:hover h3:before {background-position: - | + | #hokkaidou-team-profile-asai:hover h3:before {background-position: -198px -300px;} |
- | #hokkaidou-team-profile-miki h3:before {background-position: 0 - | + | #hokkaidou-team-profile-miki h3:before {background-position: 0 -400px;} |
- | #hokkaidou-team-profile-miki:hover h3:before {background-position: - | + | #hokkaidou-team-profile-miki:hover h3:before {background-position: -66px -400px;} |
- | #hokkaidou-team-profile-ishida h3:before {background-position: - | + | #hokkaidou-team-profile-ishida h3:before {background-position: -132px -400px;} |
- | #hokkaidou-team-profile-ishida:hover h3:before {background-position: - | + | #hokkaidou-team-profile-ishida:hover h3:before {background-position: -198px -400px;} |
- | #hokkaidou-team-profile-ishibashi h3:before {background-position: 0 - | + | #hokkaidou-team-profile-ishibashi h3:before {background-position: 0 -500px;} |
- | #hokkaidou-team-profile-ishibashi:hover h3:before {background-position: - | + | #hokkaidou-team-profile-ishibashi:hover h3:before {background-position: -66px -500px;} |
- | #hokkaidou-team-profile-nitta h3:before {background-position: - | + | #hokkaidou-team-profile-nitta h3:before {background-position: -132px -500px;} |
- | #hokkaidou-team-profile-nitta:hover h3:before {background-position: - | + | #hokkaidou-team-profile-nitta:hover h3:before {background-position: -198px -500px;} |
- | #hokkaidou-team-profile-itoh h3:before {background-position: 0 - | + | #hokkaidou-team-profile-itoh h3:before {background-position: 0 -600px;} |
- | #hokkaidou-team-profile-itoh:hover h3:before {background-position: - | + | #hokkaidou-team-profile-itoh:hover h3:before {background-position: -66px -600px;} |
- | #hokkaidou-team-profile-sao h3:before {background-position: - | + | #hokkaidou-team-profile-sao h3:before {background-position: -132px -600px;} |
- | #hokkaidou-team-profile-sao:hover h3:before {background-position: - | + | #hokkaidou-team-profile-sao:hover h3:before {background-position: -198px -600px;} |
- | #hokkaidou-team-profile-sugama h3:before {background-position: 0 - | + | #hokkaidou-team-profile-sugama h3:before {background-position: 0 -700px;} |
- | #hokkaidou-team-profile-sugama:hover h3:before {background-position: - | + | #hokkaidou-team-profile-sugama:hover h3:before {background-position: -66px -700px;} |
- | #hokkaidou-team-profile-mine h3:before {background-position: - | + | #hokkaidou-team-profile-mine h3:before {background-position: -132px -700px;} |
- | #hokkaidou-team-profile-mine:hover h3:before {background-position: - | + | #hokkaidou-team-profile-mine:hover h3:before {background-position: -198px -700px;} |
- | #hokkaidou-team-profile-okamura h3:before {background-position: 0 - | + | #hokkaidou-team-profile-okamura h3:before {background-position: 0 -800px;} |
- | #hokkaidou-team-profile-okamura:hover h3:before {background-position: - | + | #hokkaidou-team-profile-okamura:hover h3:before {background-position: -66px -800px;} |
- | #hokkaidou-team-profile-muroi h3:before {background-position: - | + | #hokkaidou-team-profile-muroi h3:before {background-position: -132px -800px;} |
- | #hokkaidou-team-profile-muroi:hover h3:before {background-position: - | + | #hokkaidou-team-profile-muroi:hover h3:before {background-position: -198px -800px;} |
</style> | </style> |
Latest revision as of 18:00, 22 October 2011