Difference between revisions of "Team:Valencia UPV/main"
m |
|||
Line 3,157: | Line 3,157: | ||
} | } | ||
+ | |||
+ | |||
+ | /* Banner Main */ | ||
+ | |||
+ | #bannermain { | ||
+ | background-attachment: scroll, fixed; | ||
+ | background-color: #666; | ||
+ | background-position: top left, center center; | ||
+ | background-repeat: repeat, no-repeat; | ||
+ | background-size: auto, cover; | ||
+ | color: #fff; | ||
+ | padding: 12em 0 20em 0; | ||
+ | text-align: center; | ||
+ | -moz-animation-duration: 12s; | ||
+ | -moz-animation-name: slidermain; | ||
+ | -moz-animation-delay: 1s; | ||
+ | -moz-animation-iteration-count: infinite; | ||
+ | -webkit-animation-duration: 12s; | ||
+ | -webkit-animation-name: slidermain; | ||
+ | -webkit-animation-delay: 1s; | ||
+ | -webkit-animation-iteration-count: infinite; | ||
+ | |||
+ | } | ||
+ | |||
+ | @-moz-keyframes slidermain | ||
+ | { | ||
+ | 0%{ | ||
+ | background-image: url("images/overlay.png"), url("https://static.igem.org/mediawiki/2015/7/72/ValenciaUPVMain1.png"); | ||
+ | |||
+ | } | ||
+ | 33%{ | ||
+ | background-image: url("images/overlay.png"), url("https://static.igem.org/mediawiki/2015/9/97/ValenciaUPVMain2.png"); | ||
+ | } | ||
+ | 66%{ | ||
+ | background-image: url("images/overlay.png"), url("https://static.igem.org/mediawiki/2015/2/24/ValenciaUPVMain3.png"); | ||
+ | } | ||
+ | 100%{ | ||
+ | background-image: url("images/overlay.png"), url("https://static.igem.org/mediawiki/2015/7/72/ValenciaUPVMain1.png"); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @-webkit-keyframes slidermain | ||
+ | { | ||
+ | 0%{ | ||
+ | |||
+ | } | ||
+ | 25%{ | ||
+ | -webkit-transform:rotate(360deg); | ||
+ | } | ||
+ | 100%{ | ||
+ | -webkit-transform:rotate(360deg); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | #bannermain :last-child { | ||
+ | margin-bottom: 0; | ||
+ | } | ||
+ | |||
+ | #bannermain h2, #bannermain h3, #bannermain h4, #bannermain h5, #bannermain h6 { | ||
+ | color: #fff; | ||
+ | } | ||
+ | |||
+ | #bannermain h2 { | ||
+ | font-size: 3.5em; | ||
+ | line-height: 1em; | ||
+ | margin: 0 0 0.5em 0; | ||
+ | padding: 0; | ||
+ | font-family: Helvetica, Sans-Serif; | ||
+ | font-style:italic; | ||
+ | } | ||
+ | |||
+ | #bannermain p { | ||
+ | font-size: 1.25em; | ||
+ | margin-bottom: 1.75em; | ||
+ | } | ||
+ | |||
+ | #bannermain input[type="reset"], | ||
+ | #bannermain input[type="button"], | ||
+ | #bannermain .button { | ||
+ | background-color: transparent; | ||
+ | box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); | ||
+ | color: #fff; | ||
+ | min-width: 12em; | ||
+ | } | ||
+ | |||
+ | #bannermain input[type="submit"]:hover, | ||
+ | #bannermain input[type="reset"]:hover, | ||
+ | #bannermain input[type="button"]:hover, | ||
+ | #bannermain .button:hover { | ||
+ | background-color: rgba(255, 255, 255, 0.1); | ||
+ | } | ||
+ | |||
+ | #bannermain input[type="submit"]:active, | ||
+ | #bannermain input[type="reset"]:active, | ||
+ | #bannermain input[type="button"]:active, | ||
+ | #bannermain .button:active { | ||
+ | background-color: rgba(255, 255, 255, 0.2); | ||
+ | } | ||
+ | |||
+ | #bannermain input[type="submit"].special, | ||
+ | #bannermain input[type="reset"].special, | ||
+ | #bannermain input[type="button"].special, | ||
+ | #bannermain .button.special { | ||
+ | background: #fff; | ||
+ | color: #666 !important; | ||
+ | } | ||
+ | |||
+ | |||
/* Main */ | /* Main */ | ||
Revision as of 18:37, 12 September 2015