Team:UCLondon/Templates/Content-Slide
From 2012e.igem.org
(Difference between revisions)
Line 238: | Line 238: | ||
var slide = document.createElement("div"); | var slide = document.createElement("div"); | ||
slide.setAttribute("id", "impress"); | slide.setAttribute("id", "impress"); | ||
+ | slide.setAttribute("style", "overflow:hidden; width:100%;"); | ||
$(slide).append('</html>{{:Team:UCLondon/content/slide1}}<html>'); | $(slide).append('</html>{{:Team:UCLondon/content/slide1}}<html>'); | ||
Line 417: | Line 418: | ||
cursor: pointer; | cursor: pointer; | ||
border: 1px solid #0a3c59; | border: 1px solid #0a3c59; | ||
- | background: # | + | background: #ff6666; |
- | background: -webkit-gradient(linear, left top, left bottom, from(# | + | background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), to(#ff6666)); |
- | background: -webkit-linear-gradient(top, # | + | background: -webkit-linear-gradient(top, #ff0000, #ff6666); |
- | background: -moz-linear-gradient(top, # | + | background: -moz-linear-gradient(top, #ff0000, #ff6666); |
- | background: -ms-linear-gradient(top, # | + | background: -ms-linear-gradient(top, #ff0000, #ff6666); |
- | background: -o-linear-gradient(top, # | + | background: -o-linear-gradient(top, #ff0000, #ff6666); |
- | background-image: -ms-linear-gradient(top, # | + | background-image: -ms-linear-gradient(top, #ff0000 0%, #ff6666 100%); |
padding: 10.5px 21px; | padding: 10.5px 21px; | ||
-webkit-border-radius: 6px; | -webkit-border-radius: 6px; | ||
Line 500: | Line 501: | ||
border: 1px solid #0a3c59; | border: 1px solid #0a3c59; | ||
text-shadow: #1e4158 0 1px 0; | text-shadow: #1e4158 0 1px 0; | ||
- | background: # | + | background: #ff6666; |
- | background: -webkit-gradient(linear, left top, left bottom, from(# | + | background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), to(#ff6666)); |
- | background: -webkit-linear-gradient(top, # | + | background: -webkit-linear-gradient(top, #ff0000, #ff6666); |
- | background: -moz-linear-gradient(top, # | + | background: -moz-linear-gradient(top, #ff0000, #ff6666); |
- | background: -ms-linear-gradient(top, # | + | background: -ms-linear-gradient(top, #ff0000, #ff6666); |
- | background: -o-linear-gradient(top, # | + | background: -o-linear-gradient(top, #ff0000, #ff6666); |
- | background-image: -ms-linear-gradient(top, # | + | background-image: -ms-linear-gradient(top, #ff0000 0%, #ff6666 100%); |
color: #fff; | color: #fff; | ||
} | } | ||
+ | |||
.red-but:active { | .red-but:active { | ||
text-shadow: #1e4158 0 1px 0; | text-shadow: #1e4158 0 1px 0; | ||
border: 1px solid #0a3c59; | border: 1px solid #0a3c59; | ||
- | background: # | + | background: #ff0000; |
- | background: -webkit-gradient(linear, left top, left bottom, from(# | + | background: -webkit-gradient(linear, left top, left bottom, from(#ff6666), to(#ff0000)); |
- | background: -webkit-linear-gradient(top, # | + | background: -webkit-linear-gradient(top, #ff6666, #ff0000); |
- | background: -moz-linear-gradient(top, # | + | background: -moz-linear-gradient(top, #ff6666, #ff0000); |
- | background: -ms-linear-gradient(top, # | + | background: -ms-linear-gradient(top, #ff6666, #ff0000); |
- | background: -o-linear-gradient(top, # | + | background: -o-linear-gradient(top, #ff6666, #ff0000); |
- | background-image: -ms-linear-gradient(top, # | + | background-image: -ms-linear-gradient(top, #ff6666 0%, #ff0000 100%); |
color: #fff; | color: #fff; | ||
} | } |
Revision as of 15:23, 19 October 2012