Team:Goettingen/lightbox
From 2014.igem.org
(Difference between revisions)
Gwen Eleven (Talk | contribs) m (Created page with "<html> /*This is the css file for lightbox*/ - →Preload images: body:after { content: url(../img/close.png) url(../img/loading.gif) url(../img/prev.png) url(../img/next.png)...") |
Gwen Eleven (Talk | contribs) m |
||
(2 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
+ | <style> | ||
/*This is the css file for lightbox*/ | /*This is the css file for lightbox*/ | ||
/* Preload images */ | /* Preload images */ | ||
body:after { | body:after { | ||
- | content: url(../ | + | content: url(https://static.igem.org/mediawiki/2014/a/a1/Goettingen_close_icon.png) url(https://static.igem.org/mediawiki/2014/4/4a/Goettingen_loading_icon.gif) url(https://static.igem.org/mediawiki/2014/8/84/Goettingen_prev_icon.png) url(https://static.igem.org/mediawiki/2014/b/b5/Goettingen_next_icon.png); |
display: none; | display: none; | ||
} | } | ||
Line 83: | Line 84: | ||
height: 32px; | height: 32px; | ||
margin: 0 auto; | margin: 0 auto; | ||
- | background: url(../ | + | background: url(https://static.igem.org/mediawiki/2014/4/4a/Goettingen_loading_icon.gif) no-repeat; |
} | } | ||
Line 114: | Line 115: | ||
left: 0; | left: 0; | ||
float: left; | float: left; | ||
- | background: url(../ | + | background: url(https://static.igem.org/mediawiki/2014/8/84/Goettingen_prev_icon.png) left 48% no-repeat; |
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); | filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); | ||
opacity: 0; | opacity: 0; | ||
Line 132: | Line 133: | ||
right: 0; | right: 0; | ||
float: right; | float: right; | ||
- | background: url(../ | + | background: url(https://static.igem.org/mediawiki/2014/b/b5/Goettingen_next_icon.png) right 48% no-repeat; |
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); | filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); | ||
opacity: 0; | opacity: 0; | ||
Line 196: | Line 197: | ||
width: 30px; | width: 30px; | ||
height: 30px; | height: 30px; | ||
- | background: url(../ | + | background: url(https://static.igem.org/mediawiki/2014/a/a1/Goettingen_close_icon.png) top right no-repeat; |
text-align: right; | text-align: right; | ||
outline: none; | outline: none; | ||
Line 212: | Line 213: | ||
opacity: 1; | opacity: 1; | ||
} | } | ||
- | + | </style> | |
</html> | </html> |
Latest revision as of 12:04, 4 September 2014