Guest User

Untitled

a guest
Jan 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. /* Make it work!! */
  2. #slider{
  3. height: 160px;
  4. width: 496px;
  5. float: right;
  6. position: relative;
  7. background: url({style_images_url}/sliderbg.png) no-repeat;
  8. }
  9.  
  10. #example{
  11. height: 160px;
  12. width: 460px;
  13. position: absolute;
  14. right: 0;
  15. }
  16.  
  17. #slides{
  18. position: absolute;
  19. z-index: 100;
  20. width: 345px;
  21. height: 157px;
  22. top: 4px;
  23. right: 30px;
  24. }
  25.  
  26. /*
  27. Slideshow
  28. */
  29.  
  30.  
  31. /*
  32. Slides container
  33. Important:
  34. Set the width of your slides container
  35. Set to display none, prevents content flash
  36. */
  37.  
  38. .slides_container {
  39. width:370px;
  40. overflow:hidden;
  41. position:relative;
  42. display:none;
  43. }
  44.  
  45. /*
  46. Each slide
  47. Important:
  48. Set the width of your slides
  49. If height not specified height will be set by the slide content
  50. Set to display block
  51. */
  52.  
  53. .slides_container div.slide {
  54. width:370px;
  55. height:157px;
  56. display:block;
  57. }
  58.  
  59.  
  60. /*
  61. Next/prev buttons
  62. */
  63.  
  64. #slides .next,#slides .prev {
  65. position:absolute;
  66. top:56px;
  67. left:0px;
  68. width:24px;
  69. height:43px;
  70. display:block;
  71. z-index:101;
  72. }
  73.  
  74. #slides .next {
  75. left:346px;
  76. }
  77. /*
  78. /*
  79. Pagination
  80. */
  81.  
  82. /*.pagination {
  83. margin:26px auto 0;
  84. width:100px;
  85. }
  86.  
  87. .pagination li {
  88. float:left;
  89. margin:0 1px;
  90. list-style:none;
  91. }
  92.  
  93. .pagination li a {
  94. display:block;
  95. width:12px;
  96. height:0;
  97. padding-top:12px;
  98. background-image:url(../img/pagination.png);
  99. background-position:0 0;
  100. float:left;
  101. overflow:hidden;
  102. }
  103.  
  104. .pagination li.current a {
  105. background-position:0 -12px;
  106. }*/
  107.  
  108. /*
  109. Caption
  110. */
  111.  
  112. .caption {
  113. z-index:500;
  114. position:absolute;
  115. bottom:-35px;
  116. left:0;
  117. height:20px;
  118. padding:3px 20px 0 20px;
  119. background:#000;
  120. background:rgba(0,0,0,.5);
  121. width:370px;
  122. font-size:1.0em;
  123. line-height:1.33;
  124. color:#fff;
  125. border-top:1px solid #000;
  126. text-shadow:none;
  127. }
Add Comment
Please, Sign In to add comment