summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorWu Cheng-Han2015-12-18 23:53:01 -0600
committerWu Cheng-Han2015-12-18 23:53:01 -0600
commit45ec05e2ed4962fcd4497cea8b58176f44a9ec3b (patch)
tree05c8a3a1a194fb31092162de50ff0ac668e199e5 /public
parent32a89e13cd7fa2da434e9fac274c6b41f9a6af60 (diff)
Added extra stylesheet to slide mode
Diffstat (limited to '')
-rw-r--r--public/css/slide.css16
-rw-r--r--public/views/slide/reveal.hbs2
2 files changed, 18 insertions, 0 deletions
diff --git a/public/css/slide.css b/public/css/slide.css
new file mode 100644
index 00000000..08374182
--- /dev/null
+++ b/public/css/slide.css
@@ -0,0 +1,16 @@
+.reveal,
+.reveal h1,
+.reveal h2,
+.reveal h3,
+.reveal h4,
+.reveal h5,
+.reveal h6 {
+ font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft JhengHei", Meiryo, "MS ゴシック", "MS Gothic", sans-serif;
+}
+.reveal pre,
+.reveal code {
+ font-family: "Source Code Pro", Consolas, monaco, "Microsoft JhengHei", Meiryo, "MS ゴシック", "MS Gothic", monospace;
+ letter-spacing: 0.025em;
+ line-height: 1.25;
+ -webkit-overflow-scrolling: touch;
+}
diff --git a/public/views/slide/reveal.hbs b/public/views/slide/reveal.hbs
index 876a7ba3..fd19f23c 100644
--- a/public/views/slide/reveal.hbs
+++ b/public/views/slide/reveal.hbs
@@ -13,6 +13,8 @@
<link rel="stylesheet" href="/vendor/reveal.js/{{{theme}}}" id="theme">
<!-- For syntax highlighting -->
<link rel="stylesheet" href="/vendor/reveal.js/lib/css/{{{highlightTheme}}}.css">
+ <link rel="stylesheet" href="/css/site.css">
+ <link rel="stylesheet" href="/css/slide.css">
<!-- If the query includes 'print-pdf', use the PDF print sheet -->
<script>