aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruriel <aa@bb.cc>2013-10-31 19:47:13 +0200
committeruriel <aa@bb.cc>2013-10-31 19:47:13 +0200
commitf1dd807f662da68ef240f0746794077072d49036 (patch)
treea6371e0f058381df06222c22a11fb4eab81cdb48
parent06078f987fc10192d72d255af73b74182b424997 (diff)
downloadfosdem-2018-presentation-f1dd807f662da68ef240f0746794077072d49036.tar
fosdem-2018-presentation-f1dd807f662da68ef240f0746794077072d49036.tar.gz
change SlidesNumber position and start page counter at 0 instead 1
-rw-r--r--css/reveal.css5
-rw-r--r--js/reveal.js4
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;