com presentations: pdf css: hhs.html
| From: | Rasmus Lerdorf | Date: | Thu, 04 Apr 2019 03:03:41 +0000 |
| Subject: | com presentations: pdf css: hhs.html | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-2348@lists.php.net to get a copy of this message | ||
Commit: 27105a66aec6c7ff45fd47ef9c43a81c29edcf0b
Author: Rasmus Lerdorf <rasmus@php.net> Wed, 3 Apr 2019 20:03:41 -0700
Parents: 698faaae0e4b078bee615b7cc81bc1c1cdbaa893
Branches: master
Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=27105a66aec6c7ff45fd47ef9c43a81c29edcf0b
Log:
pdf css
Changed paths:
M hhs.html
Diff:
diff --git a/hhs.html b/hhs.html
index 8e315dd...a786243 100644
--- a/hhs.html
+++ b/hhs.html
@@ -17,6 +17,15 @@
<link rel="stylesheet" href="/reveal.js/css/reveal.css">
<link rel="stylesheet" href="/reveal.js/css/theme/white.css"
id="theme">
+ <!-- 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 ) ? 'css/print/pdf.css' :
'css/print/paper.css';
+ document.getElementsByTagName( 'head' )[0].appendChild( link );
+ </script>
+
<!-- For syntax highlighting - note that these are not the generic highlight.js theme files -
see https://github.com/nwinkler/reveal-highlight-themes
-->
<link rel="stylesheet" href="/styles/xcode.css">