Difference between revisions of "Team:ETH Zurich/homeStyleCss"
(36 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style> | <style> | ||
− | #mainContainer { | + | #mainContainer,#footerContainer { |
− | overflow | + | overflow: hidden; |
− | + | width:80%; | |
+ | max-width:1090px; | ||
} | } | ||
#menuButton { | #menuButton { | ||
Line 121: | Line 122: | ||
transition: filter 0.5s; | transition: filter 0.5s; | ||
z-index:2; | z-index:2; | ||
+ | border-radius:60px; | ||
+ | overflow:hidden; | ||
+ | background-clip:border-box; | ||
} | } | ||
.tileBack { | .tileBack { | ||
z-index:1; | z-index:1; | ||
− | opacity: 0; | + | opacity: 0.4; |
} | } | ||
.tileText { | .tileText { | ||
position:absolute !important; | position:absolute !important; | ||
+ | z-index:3; | ||
top:50%; | top:50%; | ||
left:50%; | left:50%; | ||
Line 151: | Line 156: | ||
} | } | ||
.content h1 { | .content h1 { | ||
− | |||
/* vertical-align:middle;*/ | /* vertical-align:middle;*/ | ||
color: #006EB4 !important; | color: #006EB4 !important; | ||
Line 161: | Line 165: | ||
transition: opacity 0.5s; | transition: opacity 0.5s; | ||
} | } | ||
− | . | + | .content:hover .tileBack { |
− | + | ||
} | } | ||
− | . | + | .content:hover .tileIcon { |
− | + | ||
− | + | ||
− | + | ||
filter: none; | filter: none; | ||
-webkit-filter: grayscale(0); | -webkit-filter: grayscale(0); | ||
Line 176: | Line 176: | ||
display:none; | display:none; | ||
} | } | ||
− | + | ||
− | + | ||
− | + | ||
#homepageLogo { | #homepageLogo { | ||
width:80%; | width:80%; | ||
Line 184: | Line 182: | ||
display:inherit; | display:inherit; | ||
} | } | ||
− | # | + | |
− | + | #homepageImageContainer { | |
+ | height:80%; | ||
+ | position:relative; | ||
} | } | ||
#homeMainCaption { | #homeMainCaption { | ||
background: rgba(0,0,0,0.7); | background: rgba(0,0,0,0.7); | ||
− | height: | + | height:20%; |
− | + | /* transition: height 0.2s; | |
position:absolute; | position:absolute; | ||
left:0; | left:0; | ||
right:0; | right:0; | ||
− | bottom:0; | + | bottom:0;*/ |
} | } | ||
− | #homeMainCaption | + | #homeMainCaption h3 { |
color:white; | color:white; | ||
padding:5%; | padding:5%; | ||
Line 214: | Line 214: | ||
} | } | ||
} | } | ||
− | #homeMainContainer:hover img { | + | /*#homeMainContainer:hover img { |
opacity:1; | opacity:1; | ||
− | } | + | }*/ |
− | + | /* | |
− | + | ||
− | + | ||
#homeMainContainer img { | #homeMainContainer img { | ||
− | |||
height:auto; | height:auto; | ||
− | } | + | width:80%; |
+ | position:absolute !important; | ||
+ | top:50%; | ||
+ | left:50%; | ||
+ | -webkit-transform:translateY(-50%) translateX(-50%); | ||
+ | -moz-transform:translateY(-50%) translateX(-50%); | ||
+ | -o-transform:translateY(-50%) translateX(-50%); | ||
+ | transform:translateY(-50%) translateX(-50%); | ||
+ | |||
+ | |||
+ | }*/ | ||
#homeMainContainer a { | #homeMainContainer a { | ||
color:#006EB4; | color:#006EB4; | ||
Line 234: | Line 241: | ||
</style> | </style> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</html> | </html> |
Latest revision as of 23:21, 18 September 2015