Template:Team:Berkeley/nivocss

From 2011.igem.org

(Difference between revisions)
Line 30: Line 30:
position:relative;
position:relative;
bottom:-45px;
bottom:-45px;
-
     margin-left: -400px; /* Tweak this to center bullets */
+
left:40%;
 +
 
 +
     margin-left: -40px; /* Tweak this to center bullets */
}
}
.theme-default .nivo-controlNav a {
.theme-default .nivo-controlNav a {

Revision as of 19:21, 24 September 2011

/* Skin Name: Nivo Slider Default Theme Skin URI: http://nivo.dev7studios.com Skin Type: flexible Description: The default skin for the Nivo Slider. Version: 1.0 Author: Gilbert Pellegrom Author URI: http://dev7studios.com

  • /

.theme-default .nivoSlider { position:relative; background:#fff url(LoadingNIVO.gif) no-repeat 50% 50%;

   -webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
   -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
   box-shadow: 0px 1px 5px 0px #4a4a4a;

} .theme-default .nivoSlider img { position:absolute; top:0px; left:0px; display:none; } .theme-default .nivoSlider a { border:0; display:block; }

.theme-default .nivo-controlNav { position:relative; bottom:-45px; left:40%;

   margin-left: -40px; /* Tweak this to center bullets */

} .theme-default .nivo-controlNav a { display:block; width:22px; height:22px; background:url(BulletsNivo.png) no-repeat; text-indent:-9999px; border:0; margin-right:3px; float:left; } .theme-default .nivo-controlNav a.active { background-position:0 -22px; }

.theme-default .nivo-directionNav a { display:block; width:30px; height:30px; background:url(Arrows.png) no-repeat; text-indent:-9999px; border:0; } .theme-default a.nivo-nextNav { background-position:-30px 0; right:15px; } .theme-default a.nivo-prevNav { left:15px; }

.theme-default .nivo-caption {

   font-family: Helvetica, Arial, sans-serif;

} .theme-default .nivo-caption a {

   color:#fff;
   border-bottom:1px dotted #fff;

} .theme-default .nivo-caption a:hover {

   color:#fff;

}