fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cute rotating carousel
[edumed.git]
/
catalogue
/
static
/
catalogue
/
css
/
carousel.css
diff --git
a/catalogue/static/catalogue/css/carousel.css
b/catalogue/static/catalogue/css/carousel.css
index
7b47a0d
..
fdf14f3
100644
(file)
--- a/
catalogue/static/catalogue/css/carousel.css
+++ b/
catalogue/static/catalogue/css/carousel.css
@@
-16,16
+16,20
@@
position: absolute;
top: 0;
left: 0;
position: absolute;
top: 0;
left: 0;
- background: url(/static/test.jpg);
- /* set real background image */ }
+ height: 100%;
+ background-image: url(/static/test.jpg);
+ /* set real background image */
+ background-size: 100% 100%;
+ border-top-left-radius: 0.938em 6.38%;
+ border-bottom-left-radius: 0.938em 6.38%; }
#catalogue-carousel #catalogue-carousel-links li a {
display: block;
width: 28.75em;
#catalogue-carousel #catalogue-carousel-links li a {
display: block;
width: 28.75em;
- height: 1
4.688em
;
+ height: 1
00%
;
background-image: url(/static/catalogue/img/carousel-left.png);
background-position: 100% 0;
background-repeat: no-repeat;
background-image: url(/static/catalogue/img/carousel-left.png);
background-position: 100% 0;
background-repeat: no-repeat;
- background-size:
auto 14.688em
;
+ background-size:
4.375em 100%
;
/* left part of mask as background */ }
#catalogue-carousel #catalogue-carousel-switcher {
margin: 0;
/* left part of mask as background */ }
#catalogue-carousel #catalogue-carousel-switcher {
margin: 0;