Template:Team:Hong Kong HKUST/galleriffic-2.css
From 2014.igem.org
(Created page with "div.content { - →The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled.: display: none; float: right; widt...") |
|||
Line 5: | Line 5: | ||
width: 550px; | width: 550px; | ||
} | } | ||
+ | |||
div.content a, div.navigation a { | div.content a, div.navigation a { | ||
text-decoration: none; | text-decoration: none; | ||
color: #777; | color: #777; | ||
} | } | ||
+ | |||
div.content a:focus, div.content a:hover, div.content a:active { | div.content a:focus, div.content a:hover, div.content a:active { | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
+ | |||
div.controls a { | div.controls a { | ||
padding: 5px; | padding: 5px; | ||
} | } | ||
+ | |||
Line 21: | Line 25: | ||
float: right; | float: right; | ||
} | } | ||
+ | |||
div.slideshow-container { | div.slideshow-container { | ||
position: relative; | position: relative; | ||
Line 26: | Line 31: | ||
height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */ | height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */ | ||
} | } | ||
+ | |||
div.loader { | div.loader { | ||
position: absolute; | position: absolute; | ||
Line 36: | Line 42: | ||
height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */ | height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */ | ||
} | } | ||
+ | |||
div.slideshow { | div.slideshow { | ||
} | } | ||
+ | |||
div.slideshow span.image-wrapper { | div.slideshow span.image-wrapper { | ||
display: block; | display: block; | ||
Line 45: | Line 53: | ||
left: 0; | left: 0; | ||
} | } | ||
+ | |||
div.slideshow a.advance-link { | div.slideshow a.advance-link { | ||
display: block; | display: block; | ||
Line 52: | Line 61: | ||
text-align: center; | text-align: center; | ||
} | } | ||
+ | |||
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited { | div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited { | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
+ | |||
div.slideshow img { | div.slideshow img { | ||
vertical-align: middle; | vertical-align: middle; | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
} | } | ||
+ | |||
div.download { | div.download { | ||
float: right; | float: right; | ||
} | } | ||
+ | |||
div.caption-container { | div.caption-container { | ||
position: relative; | position: relative; | ||
Line 67: | Line 80: | ||
height: 75px; | height: 75px; | ||
} | } | ||
+ | |||
span.image-caption { | span.image-caption { | ||
display: block; | display: block; | ||
Line 74: | Line 88: | ||
left: 0; | left: 0; | ||
} | } | ||
+ | |||
div.caption { | div.caption { | ||
padding: 12px; | padding: 12px; | ||
} | } | ||
+ | |||
div.image-title { | div.image-title { | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 1.4em; | font-size: 1.4em; | ||
} | } | ||
+ | |||
div.image-desc { | div.image-desc { | ||
line-height: 1.3em; | line-height: 1.3em; | ||
padding-top: 12px; | padding-top: 12px; | ||
} | } | ||
+ | |||
div.navigation { | div.navigation { | ||
/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */ | /* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */ | ||
} | } | ||
+ | |||
ul.thumbs { | ul.thumbs { | ||
clear: both; | clear: both; | ||
Line 93: | Line 112: | ||
padding: 0; | padding: 0; | ||
} | } | ||
+ | |||
ul.thumbs li { | ul.thumbs li { | ||
float: left; | float: left; | ||
Line 99: | Line 119: | ||
list-style: none; | list-style: none; | ||
} | } | ||
+ | |||
a.thumb { | a.thumb { | ||
padding: 2px; | padding: 2px; | ||
Line 104: | Line 125: | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
} | } | ||
+ | |||
ul.thumbs li.selected a.thumb { | ul.thumbs li.selected a.thumb { | ||
background: #000; | background: #000; | ||
} | } | ||
+ | |||
a.thumb:focus { | a.thumb:focus { | ||
outline: none; | outline: none; | ||
} | } | ||
+ | |||
ul.thumbs img { | ul.thumbs img { | ||
border: none; | border: none; | ||
display: block; | display: block; | ||
} | } |
Revision as of 14:24, 29 September 2014
div.content { /* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */ display: none; float: right; width: 550px; }
div.content a, div.navigation a { text-decoration: none; color: #777; }
div.content a:focus, div.content a:hover, div.content a:active { text-decoration: underline; }
div.controls a {
padding: 5px;
}
div.nav-controls { float: right; }
div.slideshow-container { position: relative; clear: both; height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */ }
div.loader { position: absolute; top: 0; left: 0; background-image: url('loader.gif'); background-repeat: no-repeat; background-position: center; width: 550px; height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */ }
div.slideshow {
}
div.slideshow span.image-wrapper { display: block; position: absolute; top: 0; left: 0; }
div.slideshow a.advance-link { display: block; width: 550px; height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */ line-height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */ text-align: center; }
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited { text-decoration: none; }
div.slideshow img { vertical-align: middle; border: 1px solid #ccc; }
div.download { float: right; }
div.caption-container { position: relative; clear: left; height: 75px; }
span.image-caption { display: block; position: absolute; width: 550px; top: 0; left: 0; }
div.caption { padding: 12px; }
div.image-title { font-weight: bold; font-size: 1.4em; }
div.image-desc { line-height: 1.3em; padding-top: 12px; }
div.navigation { /* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */ }
ul.thumbs { clear: both; margin: 0; padding: 0; }
ul.thumbs li { float: left; padding: 0; margin: 5px 10px 5px 0; list-style: none; }
a.thumb { padding: 2px; display: block; border: 1px solid #ccc; }
ul.thumbs li.selected a.thumb { background: #000; }
a.thumb:focus { outline: none; }
ul.thumbs img { border: none; display: block; }