From f1dd807f662da68ef240f0746794077072d49036 Mon Sep 17 00:00:00 2001 From: uriel Date: Thu, 31 Oct 2013 19:47:13 +0200 Subject: [PATCH] change SlidesNumber position and start page counter at 0 instead 1 --- css/reveal.css | 5 +++-- js/reveal.js | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/css/reveal.css b/css/reveal.css index 4e5c8ea..d5204d0 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -486,10 +486,11 @@ body { opacity: 0.5; z-index: 31; width: 110px; - bottom: 60px; - right: 11px; + bottom: 30px; + left: 11px; font-size: 12px; text-align: center; + letter-spacing: 0px } /********************************************* diff --git a/js/reveal.js b/js/reveal.js index 136dc93..619d8d2 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1791,9 +1791,9 @@ var Reveal = (function(){ var element = dom.slideNumber; // change the number of the page using 'indexh - indexv' format - var indexString = ( indexh + 1 ).toString(); + var indexString = indexh; if( indexv > 0 ) { - indexString += ' - ' + indexv.toString(); + indexString += ' - ' + indexv; } element.innerHTML = indexString; -- 2.26.2