From accb4684ac9ae4829827a9d5a515ca43d8d76b53 Mon Sep 17 00:00:00 2001
From: laurentheirendt <laurent.heirendt@uni.lu>
Date: Mon, 10 Jun 2019 17:23:27 +0200
Subject: [PATCH] import modifications to theme

---
 theme/css/style.css         | 23 +++++++++++++++++++++--
 theme/package.json          | 22 ----------------------
 theme/templates/_index.html | 11 +++++------
 3 files changed, 26 insertions(+), 30 deletions(-)
 delete mode 100644 theme/package.json

diff --git a/theme/css/style.css b/theme/css/style.css
index f41990f8..564c9fca 100644
--- a/theme/css/style.css
+++ b/theme/css/style.css
@@ -1,4 +1,4 @@
- .reveal a:not(.image) {
+.reveal a:not(.image) {
   line-height: 1.3em; }
 
 .reveal {
@@ -161,4 +161,23 @@ body {
   z-index: 9999;
   left: 10px;
   bottom: 8px;
-}
\ No newline at end of file
+}
+
+/*********************************************
+ * PAGE NUMBERS
+ *********************************************/
+
+.reveal .slide-number {
+	position: absolute;
+	display: block;
+	right: 120px;
+	bottom: 60px;
+	z-index: 31;
+	font-family: Helvetica, sans-serif;
+	font-size: 12px;
+	line-height: 1;
+	color: #fff;
+	background-color:#fff;
+	padding: 5px;
+}
+
diff --git a/theme/package.json b/theme/package.json
deleted file mode 100644
index 5c7507c6..00000000
--- a/theme/package.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-  "name": "template",
-  "version": "0.0.1",
-  "private": true,
-  "devDependencies": {
-    "grunt": "~0.4.1",
-    "grunt-coffeelint": "0.0.7",
-    "grunt-contrib-connect": "~0.5.0",
-    "grunt-contrib-copy": "~0.4.1",
-    "grunt-contrib-jshint": "~0.7.0",
-    "grunt-contrib-sass": "^1.0.0",
-    "grunt-contrib-watch": "~0.5.3",
-    "grunt-gh-pages": "~0.9.0",
-    "load-grunt-tasks": "~0.2.0"
-  },
-  "engines": {
-    "node": ">=0.8.0"
-  },
-  "scripts": {
-    "test": "grunt test"
-  }
-}
diff --git a/theme/templates/_index.html b/theme/templates/_index.html
index 9d3d69dc..e1f849a7 100644
--- a/theme/templates/_index.html
+++ b/theme/templates/_index.html
@@ -23,12 +23,9 @@
           document.write( '<link rel="stylesheet" href="theme/reveal.js/css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
         </script>
 
-        <!--[if lt IE 9]>
-        <script src="lib/js/html5shiv.js"></script>
-        <![endif]-->
-
         <link rel="shortcut icon" type="image/x-icon" href="slides/img/favicon.ico" />
         <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Lato" />
+        <link href="https://use.fontawesome.com/releases/v5.0.7/css/all.css" rel="stylesheet" crossorigin="anonymous">
     </head>
 
     <body>
@@ -57,7 +54,7 @@
             </div>
         </div>
 
-        <script src="theme/reveal.js/lib/js/head.min.js"></script>
+        <!--<script src="theme/reveal.js/lib/js/head.min.js"></script>-->
         <script src="theme/reveal.js/js/reveal.js"></script>
         <script>
             // Configure Reveal
@@ -75,8 +72,10 @@
                 width: 1600,
                 height: 1200,
 
+                slideNumber: 'c/t',
+
                 // Factor of the display size that should remain empty around the content
-                margin: 0,
+                margin: 0.12,
 
                 // Bounds for smallest/largest possible scale to apply to content
                 minScale: 0.2,
-- 
GitLab