aboutsummaryrefslogtreecommitdiff
path: root/demo.html
diff options
context:
space:
mode:
authorquilicicf <quilicicf@gmail.com>2020-03-10 14:03:30 +0100
committerquilicicf <quilicicf@gmail.com>2020-03-11 13:10:06 +0100
commit499dc685365ffa45197cfc1fe3d5600c6a5fd896 (patch)
tree0f52198c9f1949bc406612347c45ba8e8feb1d86 /demo.html
parent5a5a5c9a6c47ae166e75cd09b950f34727f12e9f (diff)
downloadfosdem-2021-minimalism-presentation-499dc685365ffa45197cfc1fe3d5600c6a5fd896.tar
fosdem-2021-minimalism-presentation-499dc685365ffa45197cfc1fe3d5600c6a5fd896.tar.gz
Package paper and pdf style sheets and apply them conditionally
Diffstat (limited to 'demo.html')
-rw-r--r--demo.html13
1 files changed, 4 insertions, 9 deletions
diff --git a/demo.html b/demo.html
index 8eda9ea..3a5a12c 100644
--- a/demo.html
+++ b/demo.html
@@ -18,17 +18,12 @@
<link rel="stylesheet" href="dist/reveal.css">
<link rel="stylesheet" href="dist/theme/black.css" id="theme">
+ <!-- Print on paper or PDF -->
+ <link rel="stylesheet" href="dist/print/paper.css">
+ <link rel="stylesheet" href="dist/print/pdf.css">
+
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/monokai.css">
-
- <!-- Printing and PDF exports -->
- <script>
- var link = document.createElement( 'link' );
- link.rel = 'stylesheet';
- link.type = 'text/css';
- link.href = window.location.search.match( /print-pdf/gi ) ? 'dist/print/pdf.css' : 'dist/print/paper.css';
- document.getElementsByTagName( 'head' )[0].appendChild( link );
- </script>
</head>
<body>