Advertisement
Guest User

nivo css

a guest
Jan 16th, 2013
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.37 KB | None | 0 0
  1. /*
  2.  * jQuery Nivo Slider v3.1
  3.  * http://nivo.dev7studios.com
  4.  *
  5.  * Copyright 2012, Dev7studios
  6.  * Free to use and abuse under the MIT license.
  7.  * http://www.opensource.org/licenses/mit-license.php
  8.  */
  9.  
  10. /* The Nivo Slider styles */
  11. .nivoSlider {
  12.     position:relative;
  13.     width:100%;
  14.     height:auto;
  15.     overflow: hidden;
  16. }
  17. .nivoSlider img {
  18.     position:absolute;
  19.     top:0px;
  20.     left:0px;
  21.     max-width: none;
  22. }
  23. .nivo-main-image {
  24.     display: block !important;
  25.     position: relative !important;
  26.     width: 100% !important;
  27. }
  28.  
  29. /* If an image is wrapped in a link */
  30. .nivoSlider a.nivo-imageLink {
  31.     position:absolute;
  32.     top:0px;
  33.     left:0px;
  34.     width:100%;
  35.     height:100%;
  36.     border:0;
  37.     padding:0;
  38.     margin:0;
  39.     z-index:6;
  40.     display:none;
  41. }
  42. /* The slices and boxes in the Slider */
  43. .nivo-slice {
  44.     display:block;
  45.     position:absolute;
  46.     z-index:5;
  47.     height:100%;
  48.     top:0;
  49. }
  50. .nivo-box {
  51.     display:block;
  52.     position:absolute;
  53.     z-index:5;
  54.     overflow:hidden;
  55. }
  56. .nivo-box img { display:block; }
  57.  
  58. /* Direction nav styles (e.g. Next & Prev) */
  59. .nivo-directionNav a {
  60.     position:absolute;
  61.     top:45%;
  62.     z-index:9;
  63.     cursor:pointer;
  64. }
  65. .nivo-prevNav {
  66.     left:0px;
  67. }
  68. .nivo-nextNav {
  69.     right:0px;
  70. }
  71. /* Control nav styles (e.g. 1,2,3...) */
  72. .nivo-controlNav {
  73.     text-align:center;
  74.     padding: 15px 0;
  75. }
  76. .nivo-controlNav a {
  77.     cursor:pointer;
  78. }
  79. .nivo-controlNav a.active {
  80.     font-weight:bold;
  81. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement