Team:UCLondon/Templates/bottom-content
From 2012e.igem.org
(Difference between revisions)
Line 40: | Line 40: | ||
.clear { clear: both; } | .clear { clear: both; } | ||
+ | |||
+ | /* | ||
+ | Load CSS before JavaScript | ||
+ | */ | ||
+ | |||
+ | /* | ||
+ | Slides container | ||
+ | Important: | ||
+ | Set the width of your slides container | ||
+ | Set to display none, prevents content flash | ||
+ | */ | ||
+ | .slides_container { | ||
+ | width:470px; | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | Each slide | ||
+ | Important: | ||
+ | Set the width of your slides | ||
+ | If height not specified height will be set by the slide content | ||
+ | Set to display block | ||
+ | */ | ||
+ | .slides_container div { | ||
+ | width:470px; | ||
+ | height:170px; | ||
+ | display:block; | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | Optional: | ||
+ | Reset list default style | ||
+ | */ | ||
+ | .pagination { | ||
+ | list-style:none; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | Optional: | ||
+ | Show the current slide in the pagination | ||
+ | */ | ||
+ | .pagination .current a { | ||
+ | color:red; | ||
+ | } | ||
</style> | </style> |
Revision as of 19:44, 13 September 2012