-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.haml
63 lines (58 loc) · 1.87 KB
/
index.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!doctype html>
%html{:lang => "en"}
%head
%meta{:charset => "utf-8"}/
%title Presentation title
%meta{:content => "Causes Engineering", :name => "author"}/
%link{:href => "http://fonts.googleapis.com/css?family=Montserrat:400,700", :rel => "stylesheet", :type => "text/css"}/
%link{:href => "reveal/css/reset.css", :rel => "stylesheet"}/
%link{:href => "reveal/css/main.css", :rel => "stylesheet"}/
%link{:href => "highlight/src/styles/solarized_dark.css", :rel => "stylesheet"}/
%link{:href => "causes.css", :rel => "stylesheet"}/
/ overrides for default reveal styles
:css
.reveal pre {
font-size: 24px;
}
%body#causes
.reveal
.slides
%section
%h1 Presentation title
%br
%h5 presented by
%h4 Presenter
%img.logo{:src => 'assets/causes-logo.png'}
%section
%h2 Slide title
%ul
%li.fragment
A bullet point
%li.fragment
Another bullet point
%pre.fragment
%code.language-ruby{:contenteditable => ""}
:preserve
# this is Ruby code
<%= @cause.name %>
%li.fragment
Another bullet point
/
required for correct operation of reveal.js,
even if we don't want controls
%aside.controls
%a.left{:href => "#"} ◄
%a.right{:href => "#"} ►
%a.up{:href => "#"} ▲
%a.down{:href => "#"} ▼
%script{:src => "reveal/js/reveal.min.js"}
%script{:src => "highlight/build/highlight.pack.js"}
:javascript
Reveal.initialize({
controls: false,
progress: false,
history: true,
mouseWheel: false,
rollingLinks: false,
});
hljs.initHighlightingOnLoad();