Permalink
Browse files

Minor changes (example slideshow)

  • Loading branch information...
1 parent f510e6f commit e9d738a874aa64cc3c0711d4f49fa78bc7e097cb @dmfrancisco committed Jul 18, 2011
View
@@ -62,6 +62,9 @@ var htmlSlides = {
case "show":
$toolbar.addClass('toolbar-background');
$toolbar.removeClass('toolbar-background-hidden');
+
+ slideNumberColor = $nav.css('color');
+ slideNumberShadow = $nav.css('text-shadow');
$nav.css('color', 'white');
$nav.css('text-shadow', '0px 1px 0px black');
break;
@@ -143,6 +146,10 @@ var htmlSlides = {
this.deck.find('.slide-selected').removeClass('slide-selected');
$(slideID).addClass('slide-selected');
+ // Add class to navigation
+ $('nav').removeClass();
+ $('nav').addClass('slide'+id); // Specific
+
// Update toolbar
this.slideNumber.html(this.currentSlide);
View
@@ -1,12 +1,22 @@
-@font-face {
- font-family: 'ChunkFiveRegular';
- src: url('../fonts/Chunkfive-webfont.eot');
- src: local(''), url('../fonts/Chunkfive-webfont.woff') format('woff'), url('../fonts/Chunkfive-webfont.ttf') format('truetype'), url('../fonts/Chunkfive-webfont.svg#webfont') format('svg');
- font-weight: normal;
- font-style: normal;
-}
-
-#deck h1 { font-family: 'ChunkFiveRegular', Arial; font-size:50px; text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8); }
-#deck h2 { font-family: 'ChunkFiveRegular', Arial; font-size: 30px; text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8); }
-#deck p, #deck li { font-family: Arial; font-size:20px; text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8); }
-.slide-body { padding: 30px 40px; }
+.slide-body {
+ padding: 30px 40px;
+}
+#deck {
+ font-family: Geneva, 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
+ text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
+}
+#deck h1 {
+ font-size: 55px;
+ font-weight: bold;
+ padding-bottom: 15px;
+}
+#deck h2 {
+ font-size: 35px;
+ padding-bottom: 45px;
+}
+#deck p, #deck li {
+ font-size: 20px;
+}
+#deck ul li {
+ list-style-type: square;
+}
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
@@ -12,19 +12,21 @@
padding-top: 100px;
}
#slide1 h1 {
- font-family: Geneva, 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
font-size: 162pt;
letter-spacing: -3px;
border-bottom: 10px dotted black;
display: inline;
}
#slide1 h2 {
padding-top: 70px;
- font-family: Geneva,'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
font-size: 30pt;
}
#slide1 h2 em {
font-family: 'Baskerville', 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
font-size: 38pt;
}
+ nav.slide1 {
+ color: black;
+ text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
+ }
</style>

0 comments on commit e9d738a

Please sign in to comment.