Template:Team:Bielefeld-Germany/css/frontpage.css
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<style> | <style> | ||
+ | |||
+ | //general styling | ||
.view { | .view { | ||
width: 300px; | width: 300px; | ||
Line 11: | Line 13: | ||
text-align: center; | text-align: center; | ||
box-shadow: 1px 1px 2px #e6e6e6; | box-shadow: 1px 1px 2px #e6e6e6; | ||
- | + | cursor: default; | |
+ | background: #fff url(../images/bgimg.jpg) no-repeat center center | ||
} | } | ||
.view .mask, .view .content { | .view .mask, .view .content { | ||
Line 56: | Line 59: | ||
box-shadow: 0 0 5px #000 | box-shadow: 0 0 5px #000 | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | .view:hover img { | + | //Effects |
- | + | .view-first:hover img { | |
+ | transform: scale(1.1); | ||
} | } | ||
- | .view:hover .mask { | + | .view-first:hover .mask { |
opacity: 1; | opacity: 1; | ||
- | |||
} | } | ||
- | .view:hover h2, | + | .view-first:hover h2, |
- | .view:hover p, | + | .view-first:hover p, |
- | .view:hover a.info { | + | .view-first:hover a.info { |
opacity: 1; | opacity: 1; | ||
transform: translateY(0px); | transform: translateY(0px); | ||
} | } | ||
- | .view:hover p { | + | .view-first:hover p { |
transition-delay: 0.1s; | transition-delay: 0.1s; | ||
} | } | ||
- | .view:hover a.info { | + | .view-first:hover a.info { |
transition-delay: 0.2s; | transition-delay: 0.2s; | ||
} | } | ||
+ | |||
+ | |||
+ | |||
Revision as of 17:25, 2 October 2013