Skip to content

Commit 45ec05e

Browse files
committed
Added extra stylesheet to slide mode
1 parent 32a89e1 commit 45ec05e

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

public/css/slide.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.reveal,
2+
.reveal h1,
3+
.reveal h2,
4+
.reveal h3,
5+
.reveal h4,
6+
.reveal h5,
7+
.reveal h6 {
8+
font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft JhengHei", Meiryo, "MS ゴシック", "MS Gothic", sans-serif;
9+
}
10+
.reveal pre,
11+
.reveal code {
12+
font-family: "Source Code Pro", Consolas, monaco, "Microsoft JhengHei", Meiryo, "MS ゴシック", "MS Gothic", monospace;
13+
letter-spacing: 0.025em;
14+
line-height: 1.25;
15+
-webkit-overflow-scrolling: touch;
16+
}

public/views/slide/reveal.hbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<link rel="stylesheet" href="/vendor/reveal.js/{{{theme}}}" id="theme">
1414
<!-- For syntax highlighting -->
1515
<link rel="stylesheet" href="/vendor/reveal.js/lib/css/{{{highlightTheme}}}.css">
16+
<link rel="stylesheet" href="/css/site.css">
17+
<link rel="stylesheet" href="/css/slide.css">
1618

1719
<!-- If the query includes 'print-pdf', use the PDF print sheet -->
1820
<script>

0 commit comments

Comments
 (0)