Team:Johns Hopkins/Templates/css/defaultnivo
From 2011.igem.org
(4 intermediate revisions not shown) | |||
Line 11: | Line 11: | ||
.theme-default .nivoSlider { | .theme-default .nivoSlider { | ||
position:relative; | position:relative; | ||
- | background:#fff url(https://static.igem.org/mediawiki/2011/ | + | background:#fff url(https://static.igem.org/mediawiki/2011/3/3a/JHU_Loading.gif) no-repeat 50% 50%; |
-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a; | -webkit-box-shadow: 0px 1px 5px 0px #4a4a4a; | ||
-moz-box-shadow: 0px 1px 5px 0px #4a4a4a; | -moz-box-shadow: 0px 1px 5px 0px #4a4a4a; | ||
Line 31: | Line 31: | ||
left:50%; | left:50%; | ||
bottom:-42px; | bottom:-42px; | ||
- | margin-left:- | + | margin-left:-120px; /* Tweak this to center bullets */ |
} | } | ||
.theme-default .nivo-controlNav a { | .theme-default .nivo-controlNav a { | ||
Line 37: | Line 37: | ||
width:22px; | width:22px; | ||
height:22px; | height:22px; | ||
- | background:url(https://static.igem.org/mediawiki/2011/ | + | background:url(https://static.igem.org/mediawiki/2011/8/8c/JHU_Bullets.png) no-repeat; |
text-indent:-9999px; | text-indent:-9999px; | ||
border:0; | border:0; | ||
Line 51: | Line 51: | ||
width:30px; | width:30px; | ||
height:30px; | height:30px; | ||
- | background:url(https://static.igem.org/mediawiki/2011/ | + | background:url(https://static.igem.org/mediawiki/2011/a/a9/JHU_arrows.png) no-repeat; |
text-indent:-9999px; | text-indent:-9999px; | ||
border:0; | border:0; |
Latest revision as of 01:13, 29 October 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() 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:absolute; left:50%; bottom:-42px;
margin-left:-120px; /* Tweak this to center bullets */
} .theme-default .nivo-controlNav a { display:block; width:22px; height:22px; background:url() 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() 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;
}