├── .gitignore ├── .vscode └── tasks.json ├── README.md ├── _config.yml ├── assets ├── css │ ├── bootstrap.min.css │ ├── dashboard.css │ ├── ie10-viewport-bug-workaround.css │ ├── markdown.css │ ├── md2html.css │ └── slides.css ├── js │ ├── bootstrap.min.js │ ├── ie10-viewport-bug-workaround.js │ └── jquery.min.js ├── plantuml.jar ├── plantuml.py ├── revealjs.template └── toc.template ├── build-html.sh ├── gitchat.html ├── gitchat.md ├── img ├── Git-Cheatsheet-1.png ├── Git-Cheatsheet-2.png ├── Git-Cheatsheet-3.jpg ├── Git-Cheatsheet-4.png ├── Git-Cheatsheet-5.png ├── Hamano.jpg ├── Torvalds.jpg ├── benevolent-dictator.png ├── black-trevally-sardines-sw.jpg ├── boy-buffaloes-india-sw.jpg ├── centralized_workflow.png ├── children-dam-bali-sw.jpg ├── codeplex.torvalds.png ├── elephants-sand-river-sw.jpg ├── git-add.svg ├── git-checkout.svg ├── git-common-cmd.png ├── git-contributors.png ├── git-diff.png ├── git-diff.svg ├── git-difftool-merge.png ├── git-lg-by-linux.png ├── git-lg-with-color.png ├── git-logic-field.png ├── git-proxy.svg ├── git-pull-push.png ├── git-remote.svg ├── git-reset.svg ├── git-state-and-area.svg ├── git4windows-bin.png ├── git4windows-gitbash.png ├── git4windows-install.png ├── git4windows-sh.png ├── github-desktop-gitshell.png ├── github-desktop-ui.png ├── github.vs.gitlab.png ├── gitk.png ├── gitlab-rss-feed-group.png ├── gitlab-rss-feed-user.png ├── gitlab-rss-reader.png ├── gitlab.ci.png ├── gray-owl-mouse-sw.jpg ├── integration-manager.png ├── logo.png ├── logo.svg ├── object-blob.png ├── object-commit.png ├── object-tag.png ├── object-tree.png ├── resting-lions-tanzania-sw.jpg ├── run-buffalo.jpg ├── workflow.manager.png ├── workflow.many.layers.png └── workflow.onecore.png ├── reveal.js ├── .github │ ├── FUNDING.yml │ └── workflows │ │ └── js.yml ├── .gitignore ├── .npmignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── css │ ├── layout.scss │ ├── print │ │ ├── paper.scss │ │ └── pdf.scss │ ├── reveal.scss │ └── theme │ │ ├── README.md │ │ ├── source │ │ ├── beige.scss │ │ ├── black.scss │ │ ├── blood.scss │ │ ├── league.scss │ │ ├── moon.scss │ │ ├── night.scss │ │ ├── serif.scss │ │ ├── simple.scss │ │ ├── sky.scss │ │ ├── solarized.scss │ │ └── white.scss │ │ └── template │ │ ├── exposer.scss │ │ ├── mixins.scss │ │ ├── settings.scss │ │ └── theme.scss ├── demo.html ├── dist │ ├── reset.css │ ├── reveal.css │ ├── reveal.esm.js │ ├── reveal.js │ └── theme │ │ ├── beige.css │ │ ├── black.css │ │ ├── blood.css │ │ ├── fonts │ │ ├── league-gothic │ │ │ ├── LICENSE │ │ │ ├── league-gothic.css │ │ │ ├── league-gothic.eot │ │ │ ├── league-gothic.ttf │ │ │ └── league-gothic.woff │ │ └── source-sans-pro │ │ │ ├── LICENSE │ │ │ ├── source-sans-pro-italic.eot │ │ │ ├── source-sans-pro-italic.ttf │ │ │ ├── source-sans-pro-italic.woff │ │ │ ├── source-sans-pro-regular.eot │ │ │ ├── source-sans-pro-regular.ttf │ │ │ ├── source-sans-pro-regular.woff │ │ │ ├── source-sans-pro-semibold.eot │ │ │ ├── source-sans-pro-semibold.ttf │ │ │ ├── source-sans-pro-semibold.woff │ │ │ ├── source-sans-pro-semibolditalic.eot │ │ │ ├── source-sans-pro-semibolditalic.ttf │ │ │ ├── source-sans-pro-semibolditalic.woff │ │ │ └── source-sans-pro.css │ │ ├── league.css │ │ ├── moon.css │ │ ├── night.css │ │ ├── serif.css │ │ ├── simple.css │ │ ├── sky.css │ │ ├── solarized.css │ │ └── white.css ├── examples │ ├── assets │ │ ├── beeping.txt │ │ ├── beeping.wav │ │ ├── image1.png │ │ └── image2.png │ ├── auto-animate.html │ ├── backgrounds.html │ ├── barebones.html │ ├── layout-helpers.html │ ├── markdown.html │ ├── markdown.md │ ├── math.html │ ├── media.html │ ├── multiple-presentations.html │ └── transitions.html ├── gulpfile.js ├── index.html ├── js │ ├── components │ │ └── playback.js │ ├── config.js │ ├── controllers │ │ ├── autoanimate.js │ │ ├── backgrounds.js │ │ ├── controls.js │ │ ├── focus.js │ │ ├── fragments.js │ │ ├── keyboard.js │ │ ├── location.js │ │ ├── notes.js │ │ ├── overview.js │ │ ├── plugins.js │ │ ├── pointer.js │ │ ├── print.js │ │ ├── progress.js │ │ ├── slidecontent.js │ │ ├── slidenumber.js │ │ └── touch.js │ ├── index.js │ ├── reveal.js │ └── utils │ │ ├── color.js │ │ ├── constants.js │ │ ├── device.js │ │ ├── loader.js │ │ └── util.js ├── package-lock.json ├── package.json ├── plugin │ ├── highlight │ │ ├── highlight.esm.js │ │ ├── highlight.js │ │ ├── monokai.css │ │ ├── plugin.js │ │ └── zenburn.css │ ├── markdown │ │ ├── markdown.esm.js │ │ ├── markdown.js │ │ └── plugin.js │ ├── math │ │ ├── math.esm.js │ │ ├── math.js │ │ └── plugin.js │ ├── notes │ │ ├── notes.esm.js │ │ ├── notes.js │ │ ├── plugin.js │ │ └── speaker-view.html │ ├── search │ │ ├── plugin.js │ │ ├── search.esm.js │ │ └── search.js │ └── zoom │ │ ├── plugin.js │ │ ├── zoom.esm.js │ │ └── zoom.js └── test │ ├── assets │ ├── external-script-a.js │ ├── external-script-b.js │ ├── external-script-c.js │ └── external-script-d.js │ ├── simple.md │ ├── test-auto-animate.html │ ├── test-dependencies-async.html │ ├── test-dependencies.html │ ├── test-grid-navigation.html │ ├── test-iframe-backgrounds.html │ ├── test-iframes.html │ ├── test-markdown.html │ ├── test-multiple-instances-es5.html │ ├── test-multiple-instances.html │ ├── test-pdf.html │ ├── test-plugins.html │ ├── test-state.html │ └── test.html ├── slides.html └── slides.md /.gitignore: -------------------------------------------------------------------------------- 1 | .vim.* 2 | README.html -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | // See https://go.microsoft.com/fwlink/?LinkId=733558 3 | // for the documentation about the tasks.json format 4 | "version": "2.0.0", 5 | "tasks": [ 6 | { 7 | "label": "Compile Markdown to HTML", 8 | "type": "shell", 9 | "command": "cd ${fileDirname} && pandoc -F ${cwd}/assets/plantuml.py -s -f markdown+smart+hard_line_breaks --highlight-style=zenburn --metadata pagetitle=${fileBasenameNoExtension} -t html --css=${cwd}/assets/css/md2html.css --template ${cwd}/assets/toc.template --toc --toc-depth=4 -o ${fileDirname}/${fileBasenameNoExtension}.html ${file}", 10 | "group": "build", 11 | "problemMatcher": [] 12 | }, 13 | { 14 | "label": "Compile Markdown to Slide", 15 | "type": "shell", 16 | "command": "cd ${fileDirname} && pandoc -F ${cwd}/assets/plantuml.py -s -f markdown+smart+hard_line_breaks --highlight-style=zenburn --metadata pagetitle=${fileBasenameNoExtension} -t revealjs --css=${cwd}/assets/css/slides.css --template ${cwd}/assets/revealjs.template --slide-level 3 --variable=theme:league --variable=center:true -o ${fileDirname}/${fileBasenameNoExtension}.html ${file}", 17 | "group": { 18 | "kind": "build", 19 | "isDefault": true 20 | }, 21 | "problemMatcher": [] 22 | } 23 | ] 24 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Git 聊天入门 2 | 3 | **给初学者入门用的章回体指南** 4 | 5 | - Article: [Git 聊天入门](http://wkevin.github.io/GitChat/gitchat.html) 6 | - Slides: [GitChat 基础介绍](http://wkevin.github.io/GitChat/slides.html) 7 | 8 | **How to build html and slides**: 9 | 10 | - `sudo apt-get install pandoc` // need pandoc version > 2.0 11 | - `pip install pandocfilters` 12 | - `git clone https://github.com/wkevin/GitChat.git` 13 | - `cd GitChat/` 14 | - `./build-html.sh [-c]` 15 | - `-c` clean first and then build 16 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman -------------------------------------------------------------------------------- /assets/css/dashboard.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Base structure 3 | */ 4 | 5 | /* Move down content because we have a fixed navbar that is 50px tall */ 6 | body { 7 | padding-top: 50px; 8 | } 9 | 10 | 11 | /* 12 | * Global add-ons 13 | */ 14 | 15 | .sub-header { 16 | padding-bottom: 10px; 17 | border-bottom: 1px solid #eee; 18 | } 19 | 20 | /* 21 | * Top navigation 22 | * Hide default border to remove 1px line. 23 | */ 24 | .navbar-fixed-top { 25 | border: 0; 26 | } 27 | 28 | /* 29 | * Sidebar 30 | */ 31 | 32 | /* Hide for mobile, show later */ 33 | .sidebar { 34 | display: none; 35 | } 36 | @media (min-width: 768px) { 37 | .sidebar { 38 | font-size: 80%; 39 | text-align: left; 40 | position: fixed; 41 | top: 0; 42 | bottom: 0; 43 | left: 0; 44 | z-index: 1000; 45 | display: block; 46 | overflow-x: hidden; 47 | overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ 48 | background-color: #f5f5f5; 49 | border-right: 1px solid #eee; 50 | padding-left: 10px; 51 | } 52 | } 53 | 54 | /* 55 | * Main content 56 | */ 57 | 58 | .main { 59 | text-align: left; 60 | } 61 | @media (min-width: 768px) { 62 | .main { 63 | padding-left: 20px; 64 | padding-right: 20px; 65 | } 66 | } 67 | @media (max-width: 768px) { 68 | .main { 69 | font-size: 70%; 70 | padding-left: 10px; 71 | padding-right: 10px; 72 | } 73 | } 74 | .main .page-header { 75 | margin-top: 0; 76 | } 77 | 78 | 79 | /* 80 | * Placeholder dashboard ideas 81 | */ 82 | 83 | .placeholders { 84 | margin-bottom: 30px; 85 | text-align: center; 86 | } 87 | .placeholders h4 { 88 | margin-bottom: 0; 89 | } 90 | .placeholder { 91 | margin-bottom: 20px; 92 | } 93 | .placeholder img { 94 | display: inline-block; 95 | border-radius: 50%; 96 | } 97 | -------------------------------------------------------------------------------- /assets/css/ie10-viewport-bug-workaround.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * IE10 viewport hack for Surface/desktop Windows 8 bug 3 | * Copyright 2014-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | 7 | /* 8 | * See the Getting Started docs for more information: 9 | * http://getbootstrap.com/getting-started/#support-ie10-width 10 | */ 11 | @-webkit-viewport { width: device-width; } 12 | @-moz-viewport { width: device-width; } 13 | @-ms-viewport { width: device-width; } 14 | @-o-viewport { width: device-width; } 15 | @viewport { width: device-width; } 16 | -------------------------------------------------------------------------------- /assets/css/slides.css: -------------------------------------------------------------------------------- 1 | /* 2 | reveal.js css detail in assets/reveal.js/css/theme/***.css 3 | here is some modify 4 | */ 5 | 6 | .reveal { 7 | font-size: 24px 8 | } 9 | 10 | .reveal section img { 11 | border: 0; 12 | background-color: transparent; 13 | box-shadow: 0 0 0 0; 14 | max-width: 90%; 15 | } 16 | 17 | .reveal h1, 18 | .reveal h2, 19 | .reveal h3, 20 | .reveal h4, 21 | .reveal h5, 22 | .reveal h6 { 23 | text-transform: none; 24 | } 25 | 26 | .reveal table { 27 | font-size: 80% 28 | } 29 | .reveal blockquote { 30 | background: rgba(255, 255, 255, 0.3); 31 | width: 90%; 32 | font-size: 90%; 33 | font-style: normal; 34 | text-align: left; 35 | color: #000000 36 | } 37 | 38 | .reveal pre { 39 | font-size: 0.9em; 40 | } 41 | 42 | .reveal pre code { 43 | max-height: none; 44 | } 45 | div.sourceCode { 46 | background-color: #000000; 47 | } -------------------------------------------------------------------------------- /assets/js/ie10-viewport-bug-workaround.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * IE10 viewport hack for Surface/desktop Windows 8 bug 3 | * Copyright 2014-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | 7 | // See the Getting Started docs for more information: 8 | // http://getbootstrap.com/getting-started/#support-ie10-width 9 | 10 | (function () { 11 | 'use strict'; 12 | 13 | if (navigator.userAgent.match(/IEMobile\/10\.0/)) { 14 | var msViewportStyle = document.createElement('style') 15 | msViewportStyle.appendChild( 16 | document.createTextNode( 17 | '@-ms-viewport{width:auto!important}' 18 | ) 19 | ) 20 | document.querySelector('head').appendChild(msViewportStyle) 21 | } 22 | 23 | })(); 24 | -------------------------------------------------------------------------------- /assets/plantuml.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/assets/plantuml.jar -------------------------------------------------------------------------------- /assets/plantuml.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | import os 3 | import sys 4 | import re 5 | from subprocess import call 6 | 7 | from pandocfilters import toJSONFilter, Para, Image, Link, elt, get_filename4code, get_caption, get_extension 8 | 9 | def plantuml(key, value, format, _): 10 | if key == 'CodeBlock': 11 | [[ident, classes, keyvals], code] = value 12 | 13 | if "plantuml" in classes: 14 | sys.stderr.write('>>>>> Dealwith plantuml code in '+ os.path.abspath(os.path.curdir) +'\n') 15 | sys.stderr.write('value[ident,[classes],[[keyvals]]],format == ' + ident + str(classes) + str(keyvals) + format + '\n') 16 | 17 | caption, typef, keyvals = get_caption(keyvals) 18 | filename = get_filename4code("plantuml", code) 19 | for k,v in keyvals: 20 | if 'title' == k: 21 | filename = "plantuml-images/" + v 22 | filetype = get_extension(format, "png", html="svg", revealjs="svg", latex="eps") 23 | sys.stderr.write('filename: ' + filename + '\n') 24 | sys.stderr.write('filetype: ' + filetype + '\n') 25 | 26 | src = filename + '.uml' 27 | dest = filename + '.' + filetype 28 | 29 | if os.path.isfile(dest): 30 | os.remove(dest) 31 | 32 | sys.stderr.write('Creating .uml file: ' + src + '\n') 33 | 34 | if (sys.version.startswith('2')): 35 | txt = code.encode(sys.getfilesystemencoding()) 36 | # python2:type(code)=unicode; type(txt)=str 37 | if (sys.version.startswith('3')): 38 | # txt = code.encode(sys.getfilesystemencoding()) 39 | # python3:type(code)=str; type(txt)=bytes 40 | txt = code 41 | # sys.stderr.write(str(type(code)) + " " + str(type(txt))) 42 | 43 | # Remove any char untile @, 44 | # because there are some characters like space, 0x10(backspace)... in txt 45 | txtx=re.sub('^[^@]','',txt) 46 | if not txtx.startswith('@start'): 47 | txt = "@startuml\n" + txt + "\n@enduml\n" 48 | with open(src, "w") as f: 49 | f.write(txt) 50 | 51 | sys.stderr.write('Creating image: ' + dest + '\n') 52 | rootpath=os.path.dirname(os.path.abspath(__file__)) 53 | call(["java", "-jar", rootpath+"/plantuml.jar", "-t"+filetype, src]) 54 | sys.stderr.write('Created image ' + dest + '\n') 55 | 56 | ret = Para([Image([ident, [], keyvals], caption, [dest, typef])]) 57 | sys.stderr.write('Ret: ' + str(ret) + '\n') 58 | return ret 59 | 60 | 61 | if __name__ == "__main__": 62 | toJSONFilter(plantuml) 63 | -------------------------------------------------------------------------------- /assets/toc.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | $for(author-meta)$ 11 | 12 | $endfor$ 13 | $if(date-meta)$ 14 | 15 | $endif$ 16 | $if(keywords)$ 17 | 18 | $endif$ 19 | 20 | $if(title-prefix)$$title-prefix$ – $endif$$pagetitle$ 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | $if(quotes)$ 29 | 30 | $endif$ 31 | $if(highlighting-css)$ 32 | 35 | $endif$ 36 | $for(css)$ 37 | 38 | $endfor$ 39 | $if(math)$ 40 | $math$ 41 | $endif$ 42 | $for(header-includes)$ 43 | $header-includes$ 44 | $endfor$ 45 | 46 | 47 | 48 | $for(include-before)$ 49 | $include-before$ 50 | $endfor$ 51 | 52 |
53 |
54 | $if(toc)$ 55 | 58 |
59 | $else$ 60 |
61 | $endif$ 62 | 63 | $body$ 64 |
65 |
66 |
67 | 68 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 86 | 87 | $for(include-after)$ 88 | $include-after$ 89 | $endfor$ 90 | 91 | 92 | -------------------------------------------------------------------------------- /build-html.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | function help(){ 4 | echo "build-html [-c]" 5 | echo "-c: clean" 6 | } 7 | 8 | while getopts "c" arg 9 | do 10 | case $arg in 11 | c) 12 | find . -path "./assets/*" -prune -o -path ".git/*" -prune -o -path "*/reveal.js/*" -prune -o -name "*.html" -print -exec rm {} \; 13 | ;; 14 | ?) 15 | help 16 | exit 1;; 17 | esac 18 | done 19 | 20 | echo "========== building html" 21 | find . -path "*/assets/*" -prune -o -path "*/reveal.js/*" -prune -o -name "*.md" -print| \ 22 | awk -F "/" -v base=$PWD '{ 23 | print "---"$0; 24 | print $NF; 25 | p=$0; gsub($NF,"",p) 26 | fb=$NF; split(fb,fs,"."); ft="."fs[length(fs)]; gsub(ft"$","",fb); 27 | print "filepath:" p 28 | print "filebase:" fb 29 | print "fileType:" ft; 30 | l=""; for(i=2;i 2 | 3 | 4 | 6 | 7 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /img/object-blob.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/img/object-blob.png -------------------------------------------------------------------------------- /img/object-commit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/img/object-commit.png -------------------------------------------------------------------------------- /img/object-tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/img/object-tag.png -------------------------------------------------------------------------------- /img/object-tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/img/object-tree.png -------------------------------------------------------------------------------- /img/resting-lions-tanzania-sw.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/img/resting-lions-tanzania-sw.jpg -------------------------------------------------------------------------------- /img/run-buffalo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/img/run-buffalo.jpg -------------------------------------------------------------------------------- /img/workflow.manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/img/workflow.manager.png -------------------------------------------------------------------------------- /img/workflow.many.layers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/img/workflow.many.layers.png -------------------------------------------------------------------------------- /img/workflow.onecore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/img/workflow.onecore.png -------------------------------------------------------------------------------- /reveal.js/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [hakimel] 2 | -------------------------------------------------------------------------------- /reveal.js/.github/workflows/js.yml: -------------------------------------------------------------------------------- 1 | name: tests 2 | 3 | on: [push] 4 | 5 | jobs: 6 | build: 7 | 8 | runs-on: ubuntu-latest 9 | 10 | strategy: 11 | matrix: 12 | node-version: [10.x, 14.x, 16.x] 13 | 14 | steps: 15 | - uses: actions/checkout@v2 16 | - name: Use Node.js ${{ matrix.node-version }} 17 | uses: actions/setup-node@v1 18 | with: 19 | node-version: ${{ matrix.node-version }} 20 | - run: npm install 21 | - run: npm run build --if-present 22 | - run: npm test 23 | env: 24 | CI: true 25 | -------------------------------------------------------------------------------- /reveal.js/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | *.iml 3 | *.iws 4 | *.eml 5 | out/ 6 | .DS_Store 7 | .svn 8 | log/*.log 9 | tmp/** 10 | node_modules/ 11 | .sass-cache 12 | dist/*.map -------------------------------------------------------------------------------- /reveal.js/.npmignore: -------------------------------------------------------------------------------- 1 | /test 2 | /examples 3 | .github 4 | .gulpfile 5 | .sass-cache 6 | gulpfile.js 7 | CONTRIBUTING.md -------------------------------------------------------------------------------- /reveal.js/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## Contributing 2 | 3 | Please keep the [issue tracker](http://github.com/hakimel/reveal.js/issues) limited to **bug reports**, **feature requests** and **pull requests**. 4 | 5 | 6 | ### Personal Support 7 | If you have personal support or setup questions the best place to ask those are [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js). 8 | 9 | 10 | ### Bug Reports 11 | When reporting a bug make sure to include information about which browser and operating system you are on as well as the necessary steps to reproduce the issue. If possible please include a link to a sample presentation where the bug can be tested. 12 | 13 | 14 | ### Pull Requests 15 | - Should follow the coding style of the file you work in, most importantly: 16 | - Tabs to indent 17 | - Single-quoted strings 18 | - Should be made towards the **dev branch** 19 | - Should be submitted from a feature/topic branch (not your master) 20 | 21 | 22 | ### Plugins 23 | Please do not submit plugins as pull requests. They should be maintained in their own separate repository. More information here: https://github.com/hakimel/reveal.js/wiki/Plugin-Guidelines 24 | -------------------------------------------------------------------------------- /reveal.js/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2020 Hakim El Hattab, http://hakim.se, and reveal.js contributors 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /reveal.js/README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | reveal.js 4 | 5 |

6 | 7 | Slides 8 |

9 | 10 | reveal.js is an open source HTML presentation framework. It enables anyone with a web browser to create fully featured and beautiful presentations for free. [Check out the live demo](https://revealjs.com/). 11 | 12 | The framework comes with a broad range of features including [nested slides](https://revealjs.com/vertical-slides/), [Markdown support](https://revealjs.com/markdown/), [Auto-Animate](https://revealjs.com/auto-animate/), [PDF export](https://revealjs.com/pdf-export/), [speaker notes](https://revealjs.com/speaker-view/), [LaTeX support](https://revealjs.com/math/), [syntax highlighted code](https://revealjs.com/code/) and much more. 13 | 14 |

15 | Get Started 16 |

17 | 18 | ## Documentation 19 | The full reveal.js documentation is available at [revealjs.com](https://revealjs.com). 20 | 21 | ## Online Editor 22 | Want to create your presentation using a visual editor? Try the official reveal.js presentation platform for free at [Slides.com](https://slides.com). It's made by the same people behind reveal.js. 23 | 24 | ## License 25 | 26 | MIT licensed 27 | 28 | Copyright (C) 2011-2021 Hakim El Hattab, https://hakim.se 29 | -------------------------------------------------------------------------------- /reveal.js/css/layout.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Layout helpers. 3 | */ 4 | 5 | // Stretch an element vertically based on available space 6 | .reveal .stretch, 7 | .reveal .r-stretch { 8 | max-width: none; 9 | max-height: none; 10 | } 11 | 12 | .reveal pre.stretch code, 13 | .reveal pre.r-stretch code { 14 | height: 100%; 15 | max-height: 100%; 16 | box-sizing: border-box; 17 | } 18 | 19 | // Text that auto-fits it's container 20 | .reveal .r-fit-text { 21 | display: inline-block; // https://github.com/rikschennink/fitty#performance 22 | white-space: nowrap; 23 | } 24 | 25 | // Stack multiple elements on top of each other 26 | .reveal .r-stack { 27 | display: grid; 28 | } 29 | 30 | .reveal .r-stack > * { 31 | grid-area: 1/1; 32 | margin: auto; 33 | } 34 | 35 | // Horizontal and vertical stacks 36 | .reveal .r-vstack, 37 | .reveal .r-hstack { 38 | display: flex; 39 | 40 | img, video { 41 | min-width: 0; 42 | min-height: 0; 43 | object-fit: contain; 44 | } 45 | } 46 | 47 | .reveal .r-vstack { 48 | flex-direction: column; 49 | align-items: center; 50 | justify-content: center; 51 | } 52 | 53 | .reveal .r-hstack { 54 | flex-direction: row; 55 | align-items: center; 56 | justify-content: center; 57 | } 58 | 59 | // Naming based on tailwindcss 60 | .reveal .items-stretch { align-items: stretch; } 61 | .reveal .items-start { align-items: flex-start; } 62 | .reveal .items-center { align-items: center; } 63 | .reveal .items-end { align-items: flex-end; } 64 | 65 | .reveal .justify-between { justify-content: space-between; } 66 | .reveal .justify-around { justify-content: space-around; } 67 | .reveal .justify-start { justify-content: flex-start; } 68 | .reveal .justify-center { justify-content: center; } 69 | .reveal .justify-end { justify-content: flex-end; } 70 | -------------------------------------------------------------------------------- /reveal.js/css/print/paper.scss: -------------------------------------------------------------------------------- 1 | /* Default Print Stylesheet Template 2 | by Rob Glazebrook of CSSnewbie.com 3 | Last Updated: June 4, 2008 4 | 5 | Feel free (nay, compelled) to edit, append, and 6 | manipulate this file as you see fit. */ 7 | 8 | @media print { 9 | html:not(.print-pdf) { 10 | 11 | background: #fff; 12 | width: auto; 13 | height: auto; 14 | overflow: visible; 15 | 16 | body { 17 | background: #fff; 18 | font-size: 20pt; 19 | width: auto; 20 | height: auto; 21 | border: 0; 22 | margin: 0 5%; 23 | padding: 0; 24 | overflow: visible; 25 | float: none !important; 26 | } 27 | 28 | .nestedarrow, 29 | .controls, 30 | .fork-reveal, 31 | .share-reveal, 32 | .state-background, 33 | .reveal .progress, 34 | .reveal .backgrounds, 35 | .reveal .slide-number { 36 | display: none !important; 37 | } 38 | 39 | body, p, td, li { 40 | font-size: 20pt!important; 41 | color: #000; 42 | } 43 | 44 | h1,h2,h3,h4,h5,h6 { 45 | color: #000!important; 46 | height: auto; 47 | line-height: normal; 48 | text-align: left; 49 | letter-spacing: normal; 50 | } 51 | 52 | /* Need to reduce the size of the fonts for printing */ 53 | h1 { font-size: 28pt !important; } 54 | h2 { font-size: 24pt !important; } 55 | h3 { font-size: 22pt !important; } 56 | h4 { font-size: 22pt !important; font-variant: small-caps; } 57 | h5 { font-size: 21pt !important; } 58 | h6 { font-size: 20pt !important; font-style: italic; } 59 | 60 | a:link, 61 | a:visited { 62 | color: #000 !important; 63 | font-weight: bold; 64 | text-decoration: underline; 65 | } 66 | 67 | ul, ol, div, p { 68 | visibility: visible; 69 | position: static; 70 | width: auto; 71 | height: auto; 72 | display: block; 73 | overflow: visible; 74 | margin: 0; 75 | text-align: left !important; 76 | } 77 | .reveal pre, 78 | .reveal table { 79 | margin-left: 0; 80 | margin-right: 0; 81 | } 82 | .reveal pre code { 83 | padding: 20px; 84 | } 85 | .reveal blockquote { 86 | margin: 20px 0; 87 | } 88 | .reveal .slides { 89 | position: static !important; 90 | width: auto !important; 91 | height: auto !important; 92 | 93 | left: 0 !important; 94 | top: 0 !important; 95 | margin-left: 0 !important; 96 | margin-top: 0 !important; 97 | padding: 0 !important; 98 | zoom: 1 !important; 99 | transform: none !important; 100 | 101 | overflow: visible !important; 102 | display: block !important; 103 | 104 | text-align: left !important; 105 | perspective: none; 106 | 107 | perspective-origin: 50% 50%; 108 | } 109 | .reveal .slides section { 110 | visibility: visible !important; 111 | position: static !important; 112 | width: auto !important; 113 | height: auto !important; 114 | display: block !important; 115 | overflow: visible !important; 116 | 117 | left: 0 !important; 118 | top: 0 !important; 119 | margin-left: 0 !important; 120 | margin-top: 0 !important; 121 | padding: 60px 20px !important; 122 | z-index: auto !important; 123 | 124 | opacity: 1 !important; 125 | 126 | page-break-after: always !important; 127 | 128 | transform-style: flat !important; 129 | transform: none !important; 130 | transition: none !important; 131 | } 132 | .reveal .slides section.stack { 133 | padding: 0 !important; 134 | } 135 | .reveal section:last-of-type { 136 | page-break-after: avoid !important; 137 | } 138 | .reveal section .fragment { 139 | opacity: 1 !important; 140 | visibility: visible !important; 141 | 142 | transform: none !important; 143 | } 144 | .reveal section img { 145 | display: block; 146 | margin: 15px 0px; 147 | background: rgba(255,255,255,1); 148 | border: 1px solid #666; 149 | box-shadow: none; 150 | } 151 | 152 | .reveal section small { 153 | font-size: 0.8em; 154 | } 155 | 156 | .reveal .hljs { 157 | max-height: 100%; 158 | white-space: pre-wrap; 159 | word-wrap: break-word; 160 | word-break: break-word; 161 | font-size: 15pt; 162 | } 163 | 164 | .reveal .hljs .hljs-ln-numbers { 165 | white-space: nowrap; 166 | } 167 | 168 | .reveal .hljs td { 169 | font-size: inherit !important; 170 | color: inherit !important; 171 | } 172 | } 173 | } 174 | -------------------------------------------------------------------------------- /reveal.js/css/print/pdf.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * This stylesheet is used to print reveal.js 3 | * presentations to PDF. 4 | * 5 | * https://revealjs.com/pdf-export/ 6 | */ 7 | 8 | html.print-pdf { 9 | * { 10 | -webkit-print-color-adjust: exact; 11 | } 12 | 13 | & { 14 | width: 100%; 15 | height: 100%; 16 | overflow: visible; 17 | } 18 | 19 | body { 20 | margin: 0 auto !important; 21 | border: 0; 22 | padding: 0; 23 | float: none !important; 24 | overflow: visible; 25 | } 26 | 27 | /* Remove any elements not needed in print. */ 28 | .nestedarrow, 29 | .reveal .controls, 30 | .reveal .progress, 31 | .reveal .playback, 32 | .reveal.overview, 33 | .state-background { 34 | display: none !important; 35 | } 36 | 37 | .reveal pre code { 38 | overflow: hidden !important; 39 | font-family: Courier, 'Courier New', monospace !important; 40 | } 41 | 42 | .reveal { 43 | width: auto !important; 44 | height: auto !important; 45 | overflow: hidden !important; 46 | } 47 | .reveal .slides { 48 | position: static; 49 | width: 100% !important; 50 | height: auto !important; 51 | zoom: 1 !important; 52 | pointer-events: initial; 53 | 54 | left: auto; 55 | top: auto; 56 | margin: 0 !important; 57 | padding: 0 !important; 58 | 59 | overflow: visible; 60 | display: block; 61 | 62 | perspective: none; 63 | perspective-origin: 50% 50%; 64 | } 65 | 66 | .reveal .slides .pdf-page { 67 | position: relative; 68 | overflow: hidden; 69 | z-index: 1; 70 | 71 | page-break-after: always; 72 | } 73 | 74 | .reveal .slides section { 75 | visibility: visible !important; 76 | display: block !important; 77 | position: absolute !important; 78 | 79 | margin: 0 !important; 80 | padding: 0 !important; 81 | box-sizing: border-box !important; 82 | min-height: 1px; 83 | 84 | opacity: 1 !important; 85 | 86 | transform-style: flat !important; 87 | transform: none !important; 88 | } 89 | 90 | .reveal section.stack { 91 | position: relative !important; 92 | margin: 0 !important; 93 | padding: 0 !important; 94 | page-break-after: avoid !important; 95 | height: auto !important; 96 | min-height: auto !important; 97 | } 98 | 99 | .reveal img { 100 | box-shadow: none; 101 | } 102 | 103 | 104 | /* Slide backgrounds are placed inside of their slide when exporting to PDF */ 105 | .reveal .backgrounds { 106 | display: none; 107 | } 108 | .reveal .slide-background { 109 | display: block !important; 110 | position: absolute; 111 | top: 0; 112 | left: 0; 113 | width: 100%; 114 | height: 100%; 115 | z-index: auto !important; 116 | } 117 | 118 | /* Display slide speaker notes when 'showNotes' is enabled */ 119 | .reveal.show-notes { 120 | max-width: none; 121 | max-height: none; 122 | } 123 | .reveal .speaker-notes-pdf { 124 | display: block; 125 | width: 100%; 126 | height: auto; 127 | max-height: none; 128 | top: auto; 129 | right: auto; 130 | bottom: auto; 131 | left: auto; 132 | z-index: 100; 133 | } 134 | 135 | /* Layout option which makes notes appear on a separate page */ 136 | .reveal .speaker-notes-pdf[data-layout="separate-page"] { 137 | position: relative; 138 | color: inherit; 139 | background-color: transparent; 140 | padding: 20px; 141 | page-break-after: always; 142 | border: 0; 143 | } 144 | 145 | /* Display slide numbers when 'slideNumber' is enabled */ 146 | .reveal .slide-number-pdf { 147 | display: block; 148 | position: absolute; 149 | font-size: 14px; 150 | } 151 | 152 | /* This accessibility tool is not useful in PDF and breaks it visually */ 153 | .aria-status { 154 | display: none; 155 | } 156 | } 157 | -------------------------------------------------------------------------------- /reveal.js/css/theme/README.md: -------------------------------------------------------------------------------- 1 | ## Dependencies 2 | 3 | Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment installed before proceeding: https://revealjs.com/installation/#full-setup 4 | 5 | ## Creating a Theme 6 | 7 | To create your own theme, start by duplicating a ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source). It will be automatically compiled from Sass to CSS (see the [gulpfile](https://github.com/hakimel/reveal.js/blob/master/gulpfile.js)) when you run `npm run build -- css-themes`. 8 | 9 | Each theme file does four things in the following order: 10 | 11 | 1. **Include [/css/theme/template/mixins.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/mixins.scss)** 12 | Shared utility functions. 13 | 14 | 2. **Include [/css/theme/template/settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss)** 15 | Declares a set of custom variables that the template file (step 4) expects. Can be overridden in step 3. 16 | 17 | 3. **Override** 18 | This is where you override the default theme. Either by specifying variables (see [settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss) for reference) or by adding any selectors and styles you please. 19 | 20 | 4. **Include [/css/theme/template/theme.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/theme.scss)** 21 | The template theme file which will generate final CSS output based on the currently defined variables. 22 | -------------------------------------------------------------------------------- /reveal.js/css/theme/source/beige.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Beige theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | 15 | // Include theme-specific fonts 16 | @import url(./fonts/league-gothic/league-gothic.css); 17 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 18 | 19 | 20 | // Override theme settings (see ../template/settings.scss) 21 | $mainColor: #333; 22 | $headingColor: #333; 23 | $headingTextShadow: none; 24 | $backgroundColor: #f7f3de; 25 | $linkColor: #8b743d; 26 | $linkColorHover: lighten( $linkColor, 20% ); 27 | $selectionBackgroundColor: rgba(79, 64, 28, 0.99); 28 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15); 29 | 30 | // Background generator 31 | @mixin bodyBackground() { 32 | @include radial-gradient( rgba(247,242,211,1), rgba(255,255,255,1) ); 33 | } 34 | 35 | // Change text colors against dark slide backgrounds 36 | @include dark-bg-text-color(#fff); 37 | 38 | 39 | // Theme template ------------------------------ 40 | @import "../template/theme"; 41 | // --------------------------------------------- 42 | -------------------------------------------------------------------------------- /reveal.js/css/theme/source/black.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. This is the opposite of the 'white' theme. 3 | * 4 | * By Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(./fonts/source-sans-pro/source-sans-pro.css); 16 | 17 | 18 | // Override theme settings (see ../template/settings.scss) 19 | $backgroundColor: #191919; 20 | 21 | $mainColor: #fff; 22 | $headingColor: #fff; 23 | 24 | $mainFontSize: 42px; 25 | $mainFont: 'Source Sans Pro', Helvetica, sans-serif; 26 | $headingFont: 'Source Sans Pro', Helvetica, sans-serif; 27 | $headingTextShadow: none; 28 | $headingLetterSpacing: normal; 29 | $headingTextTransform: uppercase; 30 | $headingFontWeight: 600; 31 | $linkColor: #42affa; 32 | $linkColorHover: lighten( $linkColor, 15% ); 33 | $selectionBackgroundColor: lighten( $linkColor, 25% ); 34 | 35 | $heading1Size: 2.5em; 36 | $heading2Size: 1.6em; 37 | $heading3Size: 1.3em; 38 | $heading4Size: 1.0em; 39 | 40 | // Change text colors against light slide backgrounds 41 | @include light-bg-text-color(#222); 42 | 43 | 44 | // Theme template ------------------------------ 45 | @import "../template/theme"; 46 | // --------------------------------------------- 47 | -------------------------------------------------------------------------------- /reveal.js/css/theme/source/blood.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Blood theme for reveal.js 3 | * Author: Walther http://github.com/Walther 4 | * 5 | * Designed to be used with highlight.js theme 6 | * "monokai_sublime.css" available from 7 | * https://github.com/isagalaev/highlight.js/ 8 | * 9 | * For other themes, change $codeBackground accordingly. 10 | * 11 | */ 12 | 13 | // Default mixins and settings ----------------- 14 | @import "../template/mixins"; 15 | @import "../template/settings"; 16 | // --------------------------------------------- 17 | 18 | // Include theme-specific fonts 19 | 20 | @import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic); 21 | 22 | // Colors used in the theme 23 | $blood: #a23; 24 | $coal: #222; 25 | $codeBackground: #23241f; 26 | 27 | $backgroundColor: $coal; 28 | 29 | // Main text 30 | $mainFont: Ubuntu, 'sans-serif'; 31 | $mainColor: #eee; 32 | 33 | // Headings 34 | $headingFont: Ubuntu, 'sans-serif'; 35 | $headingTextShadow: 2px 2px 2px $coal; 36 | 37 | // h1 shadow, borrowed humbly from 38 | // (c) Default theme by Hakim El Hattab 39 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15); 40 | 41 | // Links 42 | $linkColor: $blood; 43 | $linkColorHover: lighten( $linkColor, 20% ); 44 | 45 | // Text selection 46 | $selectionBackgroundColor: $blood; 47 | $selectionColor: #fff; 48 | 49 | // Change text colors against dark slide backgrounds 50 | @include light-bg-text-color(#222); 51 | 52 | 53 | // Theme template ------------------------------ 54 | @import "../template/theme"; 55 | // --------------------------------------------- 56 | 57 | // some overrides after theme template import 58 | 59 | .reveal p { 60 | font-weight: 300; 61 | text-shadow: 1px 1px $coal; 62 | } 63 | 64 | section.has-light-background { 65 | p, h1, h2, h3, h4 { 66 | text-shadow: none; 67 | } 68 | } 69 | 70 | .reveal h1, 71 | .reveal h2, 72 | .reveal h3, 73 | .reveal h4, 74 | .reveal h5, 75 | .reveal h6 { 76 | font-weight: 700; 77 | } 78 | 79 | .reveal p code { 80 | background-color: $codeBackground; 81 | display: inline-block; 82 | border-radius: 7px; 83 | } 84 | 85 | .reveal small code { 86 | vertical-align: baseline; 87 | } -------------------------------------------------------------------------------- /reveal.js/css/theme/source/league.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * League theme for reveal.js. 3 | * 4 | * This was the default theme pre-3.0.0. 5 | * 6 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 7 | */ 8 | 9 | 10 | // Default mixins and settings ----------------- 11 | @import "../template/mixins"; 12 | @import "../template/settings"; 13 | // --------------------------------------------- 14 | 15 | 16 | 17 | // Include theme-specific fonts 18 | @import url(./fonts/league-gothic/league-gothic.css); 19 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 20 | 21 | // Override theme settings (see ../template/settings.scss) 22 | $headingTextShadow: 0px 0px 6px rgba(0,0,0,0.2); 23 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15); 24 | 25 | // Background generator 26 | @mixin bodyBackground() { 27 | @include radial-gradient( rgba(28,30,32,1), rgba(85,90,95,1) ); 28 | } 29 | 30 | // Change text colors against light slide backgrounds 31 | @include light-bg-text-color(#222); 32 | 33 | 34 | // Theme template ------------------------------ 35 | @import "../template/theme"; 36 | // --------------------------------------------- 37 | -------------------------------------------------------------------------------- /reveal.js/css/theme/source/moon.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Solarized Dark theme for reveal.js. 3 | * Author: Achim Staebler 4 | */ 5 | 6 | 7 | // Default mixins and settings ----------------- 8 | @import "../template/mixins"; 9 | @import "../template/settings"; 10 | // --------------------------------------------- 11 | 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(./fonts/league-gothic/league-gothic.css); 16 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 17 | 18 | /** 19 | * Solarized colors by Ethan Schoonover 20 | */ 21 | html * { 22 | color-profile: sRGB; 23 | rendering-intent: auto; 24 | } 25 | 26 | // Solarized colors 27 | $base03: #002b36; 28 | $base02: #073642; 29 | $base01: #586e75; 30 | $base00: #657b83; 31 | $base0: #839496; 32 | $base1: #93a1a1; 33 | $base2: #eee8d5; 34 | $base3: #fdf6e3; 35 | $yellow: #b58900; 36 | $orange: #cb4b16; 37 | $red: #dc322f; 38 | $magenta: #d33682; 39 | $violet: #6c71c4; 40 | $blue: #268bd2; 41 | $cyan: #2aa198; 42 | $green: #859900; 43 | 44 | // Override theme settings (see ../template/settings.scss) 45 | $mainColor: $base1; 46 | $headingColor: $base2; 47 | $headingTextShadow: none; 48 | $backgroundColor: $base03; 49 | $linkColor: $blue; 50 | $linkColorHover: lighten( $linkColor, 20% ); 51 | $selectionBackgroundColor: $magenta; 52 | 53 | // Change text colors against light slide backgrounds 54 | @include light-bg-text-color(#222); 55 | 56 | // Theme template ------------------------------ 57 | @import "../template/theme"; 58 | // --------------------------------------------- 59 | -------------------------------------------------------------------------------- /reveal.js/css/theme/source/night.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(https://fonts.googleapis.com/css?family=Montserrat:700); 16 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); 17 | 18 | 19 | // Override theme settings (see ../template/settings.scss) 20 | $backgroundColor: #111; 21 | 22 | $mainFont: 'Open Sans', sans-serif; 23 | $linkColor: #e7ad52; 24 | $linkColorHover: lighten( $linkColor, 20% ); 25 | $headingFont: 'Montserrat', Impact, sans-serif; 26 | $headingTextShadow: none; 27 | $headingLetterSpacing: -0.03em; 28 | $headingTextTransform: none; 29 | $selectionBackgroundColor: #e7ad52; 30 | 31 | // Change text colors against light slide backgrounds 32 | @include light-bg-text-color(#222); 33 | 34 | 35 | // Theme template ------------------------------ 36 | @import "../template/theme"; 37 | // --------------------------------------------- -------------------------------------------------------------------------------- /reveal.js/css/theme/source/serif.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple theme for reveal.js presentations, similar 3 | * to the default theme. The accent color is brown. 4 | * 5 | * This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed. 6 | */ 7 | 8 | 9 | // Default mixins and settings ----------------- 10 | @import "../template/mixins"; 11 | @import "../template/settings"; 12 | // --------------------------------------------- 13 | 14 | 15 | 16 | // Override theme settings (see ../template/settings.scss) 17 | $mainFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; 18 | $mainColor: #000; 19 | $headingFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; 20 | $headingColor: #383D3D; 21 | $headingTextShadow: none; 22 | $headingTextTransform: none; 23 | $backgroundColor: #F0F1EB; 24 | $linkColor: #51483D; 25 | $linkColorHover: lighten( $linkColor, 20% ); 26 | $selectionBackgroundColor: #26351C; 27 | 28 | .reveal a { 29 | line-height: 1.3em; 30 | } 31 | 32 | // Change text colors against dark slide backgrounds 33 | @include dark-bg-text-color(#fff); 34 | 35 | 36 | // Theme template ------------------------------ 37 | @import "../template/theme"; 38 | // --------------------------------------------- 39 | -------------------------------------------------------------------------------- /reveal.js/css/theme/source/simple.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple theme for reveal.js presentations, similar 3 | * to the default theme. The accent color is darkblue. 4 | * 5 | * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed. 6 | * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 7 | */ 8 | 9 | 10 | // Default mixins and settings ----------------- 11 | @import "../template/mixins"; 12 | @import "../template/settings"; 13 | // --------------------------------------------- 14 | 15 | 16 | 17 | // Include theme-specific fonts 18 | @import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700); 19 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 20 | 21 | 22 | // Override theme settings (see ../template/settings.scss) 23 | $mainFont: 'Lato', sans-serif; 24 | $mainColor: #000; 25 | $headingFont: 'News Cycle', Impact, sans-serif; 26 | $headingColor: #000; 27 | $headingTextShadow: none; 28 | $headingTextTransform: none; 29 | $backgroundColor: #fff; 30 | $linkColor: #00008B; 31 | $linkColorHover: lighten( $linkColor, 20% ); 32 | $selectionBackgroundColor: rgba(0, 0, 0, 0.99); 33 | 34 | // Change text colors against dark slide backgrounds 35 | @include dark-bg-text-color(#fff); 36 | 37 | 38 | // Theme template ------------------------------ 39 | @import "../template/theme"; 40 | // --------------------------------------------- -------------------------------------------------------------------------------- /reveal.js/css/theme/source/sky.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Sky theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | 15 | // Include theme-specific fonts 16 | @import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic); 17 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); 18 | 19 | 20 | // Override theme settings (see ../template/settings.scss) 21 | $mainFont: 'Open Sans', sans-serif; 22 | $mainColor: #333; 23 | $headingFont: 'Quicksand', sans-serif; 24 | $headingColor: #333; 25 | $headingLetterSpacing: -0.08em; 26 | $headingTextShadow: none; 27 | $backgroundColor: #f7fbfc; 28 | $linkColor: #3b759e; 29 | $linkColorHover: lighten( $linkColor, 20% ); 30 | $selectionBackgroundColor: #134674; 31 | 32 | // Fix links so they are not cut off 33 | .reveal a { 34 | line-height: 1.3em; 35 | } 36 | 37 | // Background generator 38 | @mixin bodyBackground() { 39 | @include radial-gradient( #add9e4, #f7fbfc ); 40 | } 41 | 42 | // Change text colors against dark slide backgrounds 43 | @include dark-bg-text-color(#fff); 44 | 45 | 46 | 47 | // Theme template ------------------------------ 48 | @import "../template/theme"; 49 | // --------------------------------------------- 50 | -------------------------------------------------------------------------------- /reveal.js/css/theme/source/solarized.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Solarized Light theme for reveal.js. 3 | * Author: Achim Staebler 4 | */ 5 | 6 | 7 | // Default mixins and settings ----------------- 8 | @import "../template/mixins"; 9 | @import "../template/settings"; 10 | // --------------------------------------------- 11 | 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(./fonts/league-gothic/league-gothic.css); 16 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 17 | 18 | 19 | /** 20 | * Solarized colors by Ethan Schoonover 21 | */ 22 | html * { 23 | color-profile: sRGB; 24 | rendering-intent: auto; 25 | } 26 | 27 | // Solarized colors 28 | $base03: #002b36; 29 | $base02: #073642; 30 | $base01: #586e75; 31 | $base00: #657b83; 32 | $base0: #839496; 33 | $base1: #93a1a1; 34 | $base2: #eee8d5; 35 | $base3: #fdf6e3; 36 | $yellow: #b58900; 37 | $orange: #cb4b16; 38 | $red: #dc322f; 39 | $magenta: #d33682; 40 | $violet: #6c71c4; 41 | $blue: #268bd2; 42 | $cyan: #2aa198; 43 | $green: #859900; 44 | 45 | // Override theme settings (see ../template/settings.scss) 46 | $mainColor: $base00; 47 | $headingColor: $base01; 48 | $headingTextShadow: none; 49 | $backgroundColor: $base3; 50 | $linkColor: $blue; 51 | $linkColorHover: lighten( $linkColor, 20% ); 52 | $selectionBackgroundColor: $magenta; 53 | 54 | // Background generator 55 | // @mixin bodyBackground() { 56 | // @include radial-gradient( rgba($base3,1), rgba(lighten($base3, 20%),1) ); 57 | // } 58 | 59 | 60 | 61 | // Theme template ------------------------------ 62 | @import "../template/theme"; 63 | // --------------------------------------------- 64 | -------------------------------------------------------------------------------- /reveal.js/css/theme/source/white.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * White theme for reveal.js. This is the opposite of the 'black' theme. 3 | * 4 | * By Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(./fonts/source-sans-pro/source-sans-pro.css); 16 | 17 | 18 | // Override theme settings (see ../template/settings.scss) 19 | $backgroundColor: #fff; 20 | 21 | $mainColor: #222; 22 | $headingColor: #222; 23 | 24 | $mainFontSize: 42px; 25 | $mainFont: 'Source Sans Pro', Helvetica, sans-serif; 26 | $headingFont: 'Source Sans Pro', Helvetica, sans-serif; 27 | $headingTextShadow: none; 28 | $headingLetterSpacing: normal; 29 | $headingTextTransform: uppercase; 30 | $headingFontWeight: 600; 31 | $linkColor: #2a76dd; 32 | $linkColorHover: lighten( $linkColor, 15% ); 33 | $selectionBackgroundColor: lighten( $linkColor, 25% ); 34 | 35 | $heading1Size: 2.5em; 36 | $heading2Size: 1.6em; 37 | $heading3Size: 1.3em; 38 | $heading4Size: 1.0em; 39 | 40 | // Change text colors against dark slide backgrounds 41 | @include dark-bg-text-color(#fff); 42 | 43 | 44 | // Theme template ------------------------------ 45 | @import "../template/theme"; 46 | // --------------------------------------------- 47 | -------------------------------------------------------------------------------- /reveal.js/css/theme/template/exposer.scss: -------------------------------------------------------------------------------- 1 | // Exposes theme's variables for easy re-use in CSS for plugin authors 2 | 3 | :root { 4 | --r-background-color: #{$backgroundColor}; 5 | --r-main-font: #{$mainFont}; 6 | --r-main-font-size: #{$mainFontSize}; 7 | --r-main-color: #{$mainColor}; 8 | --r-block-margin: #{$blockMargin}; 9 | --r-heading-margin: #{$headingMargin}; 10 | --r-heading-font: #{$headingFont}; 11 | --r-heading-color: #{$headingColor}; 12 | --r-heading-line-height: #{$headingLineHeight}; 13 | --r-heading-letter-spacing: #{$headingLetterSpacing}; 14 | --r-heading-text-transform: #{$headingTextTransform}; 15 | --r-heading-text-shadow: #{$headingTextShadow}; 16 | --r-heading-font-weight: #{$headingFontWeight}; 17 | --r-heading1-text-shadow: #{$heading1TextShadow}; 18 | --r-heading1-size: #{$heading1Size}; 19 | --r-heading2-size: #{$heading2Size}; 20 | --r-heading3-size: #{$heading3Size}; 21 | --r-heading4-size: #{$heading4Size}; 22 | --r-code-font: #{$codeFont}; 23 | --r-link-color: #{$linkColor}; 24 | --r-link-color-dark: #{darken($linkColor , 15% )}; 25 | --r-link-color-hover: #{$linkColorHover}; 26 | --r-selection-background-color: #{$selectionBackgroundColor}; 27 | --r-selection-color: #{$selectionColor}; 28 | } 29 | -------------------------------------------------------------------------------- /reveal.js/css/theme/template/mixins.scss: -------------------------------------------------------------------------------- 1 | @mixin vertical-gradient( $top, $bottom ) { 2 | background: $top; 3 | background: -moz-linear-gradient( top, $top 0%, $bottom 100% ); 4 | background: -webkit-gradient( linear, left top, left bottom, color-stop(0%,$top), color-stop(100%,$bottom) ); 5 | background: -webkit-linear-gradient( top, $top 0%, $bottom 100% ); 6 | background: -o-linear-gradient( top, $top 0%, $bottom 100% ); 7 | background: -ms-linear-gradient( top, $top 0%, $bottom 100% ); 8 | background: linear-gradient( top, $top 0%, $bottom 100% ); 9 | } 10 | 11 | @mixin horizontal-gradient( $top, $bottom ) { 12 | background: $top; 13 | background: -moz-linear-gradient( left, $top 0%, $bottom 100% ); 14 | background: -webkit-gradient( linear, left top, right top, color-stop(0%,$top), color-stop(100%,$bottom) ); 15 | background: -webkit-linear-gradient( left, $top 0%, $bottom 100% ); 16 | background: -o-linear-gradient( left, $top 0%, $bottom 100% ); 17 | background: -ms-linear-gradient( left, $top 0%, $bottom 100% ); 18 | background: linear-gradient( left, $top 0%, $bottom 100% ); 19 | } 20 | 21 | @mixin radial-gradient( $outer, $inner, $type: circle ) { 22 | background: $outer; 23 | background: -moz-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 24 | background: -webkit-gradient( radial, center center, 0px, center center, 100%, color-stop(0%,$inner), color-stop(100%,$outer) ); 25 | background: -webkit-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 26 | background: -o-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 27 | background: -ms-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 28 | background: radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 29 | } 30 | 31 | @mixin light-bg-text-color( $color ) { 32 | section.has-light-background { 33 | &, h1, h2, h3, h4, h5, h6 { 34 | color: $color; 35 | } 36 | } 37 | } 38 | 39 | @mixin dark-bg-text-color( $color ) { 40 | section.has-dark-background { 41 | &, h1, h2, h3, h4, h5, h6 { 42 | color: $color; 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /reveal.js/css/theme/template/settings.scss: -------------------------------------------------------------------------------- 1 | // Base settings for all themes that can optionally be 2 | // overridden by the super-theme 3 | 4 | // Background of the presentation 5 | $backgroundColor: #2b2b2b; 6 | 7 | // Primary/body text 8 | $mainFont: 'Lato', sans-serif; 9 | $mainFontSize: 40px; 10 | $mainColor: #eee; 11 | 12 | // Vertical spacing between blocks of text 13 | $blockMargin: 20px; 14 | 15 | // Headings 16 | $headingMargin: 0 0 $blockMargin 0; 17 | $headingFont: 'League Gothic', Impact, sans-serif; 18 | $headingColor: #eee; 19 | $headingLineHeight: 1.2; 20 | $headingLetterSpacing: normal; 21 | $headingTextTransform: uppercase; 22 | $headingTextShadow: none; 23 | $headingFontWeight: normal; 24 | $heading1TextShadow: $headingTextShadow; 25 | 26 | $heading1Size: 3.77em; 27 | $heading2Size: 2.11em; 28 | $heading3Size: 1.55em; 29 | $heading4Size: 1.00em; 30 | 31 | $codeFont: monospace; 32 | 33 | // Links and actions 34 | $linkColor: #13DAEC; 35 | $linkColorHover: lighten( $linkColor, 20% ); 36 | 37 | // Text selection 38 | $selectionBackgroundColor: #FF5E99; 39 | $selectionColor: #fff; 40 | 41 | // Generates the presentation background, can be overridden 42 | // to return a background image or gradient 43 | @mixin bodyBackground() { 44 | background: $backgroundColor; 45 | } 46 | -------------------------------------------------------------------------------- /reveal.js/dist/reset.css: -------------------------------------------------------------------------------- 1 | /* http://meyerweb.com/eric/tools/css/reset/ 2 | v4.0 | 20180602 3 | License: none (public domain) 4 | */ 5 | 6 | html, body, div, span, applet, object, iframe, 7 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 8 | a, abbr, acronym, address, big, cite, code, 9 | del, dfn, em, img, ins, kbd, q, s, samp, 10 | small, strike, strong, sub, sup, tt, var, 11 | b, u, i, center, 12 | dl, dt, dd, ol, ul, li, 13 | fieldset, form, label, legend, 14 | table, caption, tbody, tfoot, thead, tr, th, td, 15 | article, aside, canvas, details, embed, 16 | figure, figcaption, footer, header, hgroup, 17 | main, menu, nav, output, ruby, section, summary, 18 | time, mark, audio, video { 19 | margin: 0; 20 | padding: 0; 21 | border: 0; 22 | font-size: 100%; 23 | font: inherit; 24 | vertical-align: baseline; 25 | } 26 | /* HTML5 display-role reset for older browsers */ 27 | article, aside, details, figcaption, figure, 28 | footer, header, hgroup, main, menu, nav, section { 29 | display: block; 30 | } -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/league-gothic/LICENSE: -------------------------------------------------------------------------------- 1 | SIL Open Font License (OFL) 2 | http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL 3 | -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/league-gothic/league-gothic.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'League Gothic'; 3 | src: url('./league-gothic.eot'); 4 | src: url('./league-gothic.eot?#iefix') format('embedded-opentype'), 5 | url('./league-gothic.woff') format('woff'), 6 | url('./league-gothic.ttf') format('truetype'); 7 | 8 | font-weight: normal; 9 | font-style: normal; 10 | } 11 | -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/league-gothic/league-gothic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/league-gothic/league-gothic.eot -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/league-gothic/league-gothic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/league-gothic/league-gothic.ttf -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/league-gothic/league-gothic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/league-gothic/league-gothic.woff -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/LICENSE: -------------------------------------------------------------------------------- 1 | SIL Open Font License 2 | 3 | Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name ‘Source’. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries. 4 | 5 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 6 | This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL 7 | 8 | —————————————————————————————- 9 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 10 | —————————————————————————————- 11 | 12 | PREAMBLE 13 | The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. 14 | 15 | The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. 16 | 17 | DEFINITIONS 18 | “Font Software” refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. 19 | 20 | “Reserved Font Name” refers to any names specified as such after the copyright statement(s). 21 | 22 | “Original Version” refers to the collection of Font Software components as distributed by the Copyright Holder(s). 23 | 24 | “Modified Version” refers to any derivative made by adding to, deleting, or substituting—in part or in whole—any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. 25 | 26 | “Author” refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. 27 | 28 | PERMISSION & CONDITIONS 29 | Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: 30 | 31 | 1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. 32 | 33 | 2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. 34 | 35 | 3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. 36 | 37 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. 38 | 39 | 5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. 40 | 41 | TERMINATION 42 | This license becomes null and void if any of the above conditions are not met. 43 | 44 | DISCLAIMER 45 | THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.eot -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.woff -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.eot -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.woff -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff -------------------------------------------------------------------------------- /reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Source Sans Pro'; 3 | src: url('./source-sans-pro-regular.eot'); 4 | src: url('./source-sans-pro-regular.eot?#iefix') format('embedded-opentype'), 5 | url('./source-sans-pro-regular.woff') format('woff'), 6 | url('./source-sans-pro-regular.ttf') format('truetype'); 7 | font-weight: normal; 8 | font-style: normal; 9 | } 10 | 11 | @font-face { 12 | font-family: 'Source Sans Pro'; 13 | src: url('./source-sans-pro-italic.eot'); 14 | src: url('./source-sans-pro-italic.eot?#iefix') format('embedded-opentype'), 15 | url('./source-sans-pro-italic.woff') format('woff'), 16 | url('./source-sans-pro-italic.ttf') format('truetype'); 17 | font-weight: normal; 18 | font-style: italic; 19 | } 20 | 21 | @font-face { 22 | font-family: 'Source Sans Pro'; 23 | src: url('./source-sans-pro-semibold.eot'); 24 | src: url('./source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'), 25 | url('./source-sans-pro-semibold.woff') format('woff'), 26 | url('./source-sans-pro-semibold.ttf') format('truetype'); 27 | font-weight: 600; 28 | font-style: normal; 29 | } 30 | 31 | @font-face { 32 | font-family: 'Source Sans Pro'; 33 | src: url('./source-sans-pro-semibolditalic.eot'); 34 | src: url('./source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'), 35 | url('./source-sans-pro-semibolditalic.woff') format('woff'), 36 | url('./source-sans-pro-semibolditalic.ttf') format('truetype'); 37 | font-weight: 600; 38 | font-style: italic; 39 | } 40 | -------------------------------------------------------------------------------- /reveal.js/examples/assets/beeping.txt: -------------------------------------------------------------------------------- 1 | Source: https://freesound.org/people/fennelliott/sounds/379419/ 2 | License: CC0 (public domain) -------------------------------------------------------------------------------- /reveal.js/examples/assets/beeping.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/examples/assets/beeping.wav -------------------------------------------------------------------------------- /reveal.js/examples/assets/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/examples/assets/image1.png -------------------------------------------------------------------------------- /reveal.js/examples/assets/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wkevin/GitChat/f92fac9ff4ce529cb5d1c5f6638a5fe4178dd864/reveal.js/examples/assets/image2.png -------------------------------------------------------------------------------- /reveal.js/examples/backgrounds.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Slide Backgrounds 8 | 9 | 10 | 11 | 12 | 13 | 23 | 24 | 25 | 26 | 27 |
28 | 29 |
30 | 31 |
32 |

data-background: #00ffff

33 |
34 | 35 |
36 |

data-background: #bb00bb

37 |
38 | 39 |
40 |

data-background: lightblue

41 |
42 | 43 |
44 |
45 |

data-background: #ff0000

46 |
47 |
48 |

data-background: rgba(0, 0, 0, 0.2)

49 |
50 |
51 |

data-background: salmon

52 |
53 |
54 | 55 |
56 |
57 |

Background applied to stack

58 |
59 |
60 |

Background applied to stack

61 |
62 |
63 |

Background applied to slide inside of stack

64 |
65 |
66 | 67 |
68 |

Background image

69 |
70 | 71 |
72 |
73 |

Background image

74 |
75 |
76 |

Background image

77 |
78 |
79 | 80 |
81 |

Background image

82 |
data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"
83 |
84 | 85 |
86 |

Same background twice (1/2)

87 |
88 |
89 |

Same background twice (2/2)

90 |
91 | 92 |
93 |

Video background

94 |
95 | 96 |
97 |

Iframe background

98 |
99 | 100 |
101 |
102 |

Same background twice vertical (1/2)

103 |
104 |
105 |

Same background twice vertical (2/2)

106 |
107 |
108 | 109 |
110 |

Same background from horizontal to vertical (1/3)

111 |
112 |
113 |
114 |

Same background from horizontal to vertical (2/3)

115 |
116 |
117 |

Same background from horizontal to vertical (3/3)

118 |
119 |
120 | 121 |
122 | 123 |
124 | 125 | 126 | 139 | 140 | 141 | 142 | -------------------------------------------------------------------------------- /reveal.js/examples/barebones.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | reveal.js - Barebones 6 | 7 | 8 | 9 | 10 |
11 |
12 | 13 |
14 |

Barebones Presentation

15 |

This example contains the bare minimum includes and markup required to run a reveal.js presentation.

16 |
17 | 18 |
19 |

No Theme

20 |

There's no theme included, so it will fall back on browser defaults.

21 |
22 | 23 |
24 |
25 | 26 | 27 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /reveal.js/examples/layout-helpers.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Layout Helpers 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 |
21 | 22 |
23 |

Layout Helper Examples

24 | 31 |
32 | 33 |
34 |

Fit Text

35 |

Resizes text to be as large as possible within its container.

36 |

 37 | 					  

FIT

38 |
39 |
40 | 41 |
42 |

FIT

43 |
44 | 45 |
46 |

HELLO WORLD

47 |

BOTH THESE TITLES USE FIT-TEXT

48 |
49 | 50 |
51 |

Stretch

52 |

Makes an element as tall as possible while remaining within the slide bounds.

53 |

 54 | 					  

Stretch Example

55 | 56 |

Image byline

57 |
58 |
59 | 60 |
61 |

Stretch Example

62 | 63 |

Image byline

64 |
65 | 66 |
67 |

Stack

68 |

Stacks multiple elements on top of each other, for use with fragments.

69 |

 70 | 					  
71 | <img class="fragment" width="450" height="300" src="..."> 72 | <img class="fragment" width="300" height="450" src="..."> 73 | <img class="fragment" width="400" height="400" src="..."> 74 |
75 |
76 |
77 | 78 |
79 |

Stack Example

80 |
81 |

One

82 |

Two

83 |

Three

84 |

Four

85 |
86 |
87 | 88 | 89 | 90 |
91 |
92 | 93 |
94 |

Stack Example

95 |

fade-in-then-out fragments

96 |
97 | 98 | 99 | 100 |
101 |
102 | 103 |
104 |

HStack

105 |

Stacks multiple elements horizontally.

106 |

107 | 					  
108 | <img width="450" height="300" src="..."> 109 | <img width="300" height="450" src="..."> 110 | <img width="400" height="400" src="..."> 111 |
112 |
113 |
114 | 115 |
116 |

HStack Example

117 |
118 |

One

119 |

Two

120 |

Three

121 |
122 |
123 | 124 |
125 |

VStack

126 |

Stacks multiple elements horizontally.

127 |

128 | 					  
129 | <img width="450" height="300" src="..."> 130 | <img width="300" height="450" src="..."> 131 | <img width="400" height="400" src="..."> 132 |
133 |
134 |
135 | 136 |
137 |

VStack Example

138 |
139 |

One

140 |

Two

141 |

Three

142 |
143 |
144 | 145 |
146 | 147 |
148 | 149 | 150 | 151 | 158 | 159 | 160 | 161 | -------------------------------------------------------------------------------- /reveal.js/examples/markdown.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Markdown Example 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 |
20 | 21 | 22 |
23 | 24 | 25 |
26 | 36 |
37 | 38 | 39 |
40 | 54 |
55 | 56 | 57 |
58 | 69 |
70 | 71 | 72 |
73 | 77 |
78 | 79 | 80 |
81 | 86 |
87 | 88 | 89 |
90 | 100 |
101 | 102 | 103 |
104 | 107 |
108 | 109 |
110 |
111 | 112 | 113 | 114 | 115 | 116 | 117 | 129 | 130 | 131 | 132 | -------------------------------------------------------------------------------- /reveal.js/examples/markdown.md: -------------------------------------------------------------------------------- 1 | # Markdown Demo 2 | 3 | 4 | 5 | ## External 1.1 6 | 7 | Content 1.1 8 | 9 | Note: This will only appear in the speaker notes window. 10 | 11 | 12 | ## External 1.2 13 | 14 | Content 1.2 15 | 16 | 17 | 18 | ## External 2 19 | 20 | Content 2.1 21 | 22 | 23 | 24 | ## External 3.1 25 | 26 | Content 3.1 27 | 28 | 29 | ## External 3.2 30 | 31 | Content 3.2 32 | 33 | 34 | ## External 3.3 35 | 36 | ![External Image](https://s3.amazonaws.com/static.slid.es/logo/v2/slides-symbol-512x512.png) 37 | -------------------------------------------------------------------------------- /reveal.js/examples/math.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Math Plugin 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 |
20 | 21 |
22 |

reveal.js Math Plugin

23 |

A thin wrapper for MathJax

24 |
25 | 26 |
27 |

The Lorenz Equations

28 | 29 | \[\begin{aligned} 30 | \dot{x} & = \sigma(y-x) \\ 31 | \dot{y} & = \rho x - y - xz \\ 32 | \dot{z} & = -\beta z + xy 33 | \end{aligned} \] 34 |
35 | 36 |
37 |

The Cauchy-Schwarz Inequality

38 | 39 | 42 |
43 | 44 |
45 |

A Cross Product Formula

46 | 47 | \[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} 48 | \mathbf{i} & \mathbf{j} & \mathbf{k} \\ 49 | \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ 50 | \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 51 | \end{vmatrix} \] 52 |
53 | 54 |
55 |

The probability of getting \(k\) heads when flipping \(n\) coins is

56 | 57 | \[P(E) = {n \choose k} p^k (1-p)^{ n-k} \] 58 |
59 | 60 |
61 |

An Identity of Ramanujan

62 | 63 | \[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 64 | 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} 65 | {1+\frac{e^{-8\pi}} {1+\ldots} } } } \] 66 |
67 | 68 |
69 |

A Rogers-Ramanujan Identity

70 | 71 | \[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = 72 | \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}\] 73 |
74 | 75 |
76 |

Maxwell’s Equations

77 | 78 | \[ \begin{aligned} 79 | \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ 80 | \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ 81 | \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} 82 | \] 83 |
84 | 85 |
86 |

TeX Macros

87 | 88 | Here is a common vector space: 89 | \[L^2(\R) = \set{u : \R \to \R}{\int_\R |u|^2 < +\infty}\] 90 | used in functional analysis. 91 |
92 | 93 |
94 |
95 |

The Lorenz Equations

96 | 97 |
98 | \[\begin{aligned} 99 | \dot{x} & = \sigma(y-x) \\ 100 | \dot{y} & = \rho x - y - xz \\ 101 | \dot{z} & = -\beta z + xy 102 | \end{aligned} \] 103 |
104 |
105 | 106 |
107 |

The Cauchy-Schwarz Inequality

108 | 109 |
110 | \[ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \] 111 |
112 |
113 | 114 |
115 |

A Cross Product Formula

116 | 117 |
118 | \[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} 119 | \mathbf{i} & \mathbf{j} & \mathbf{k} \\ 120 | \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ 121 | \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 122 | \end{vmatrix} \] 123 |
124 |
125 | 126 |
127 |

The probability of getting \(k\) heads when flipping \(n\) coins is

128 | 129 |
130 | \[P(E) = {n \choose k} p^k (1-p)^{ n-k} \] 131 |
132 |
133 | 134 |
135 |

An Identity of Ramanujan

136 | 137 |
138 | \[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 139 | 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} 140 | {1+\frac{e^{-8\pi}} {1+\ldots} } } } \] 141 |
142 |
143 | 144 |
145 |

A Rogers-Ramanujan Identity

146 | 147 |
148 | \[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = 149 | \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}\] 150 |
151 |
152 | 153 |
154 |

Maxwell’s Equations

155 | 156 |
157 | \[ \begin{aligned} 158 | \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ 159 | \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ 160 | \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} 161 | \] 162 |
163 |
164 | 165 |
166 |

TeX Macros

167 | 168 | Here is a common vector space: 169 | \[L^2(\R) = \set{u : \R \to \R}{\int_\R |u|^2 < +\infty}\] 170 | used in functional analysis. 171 |
172 |
173 | 174 |
175 | 176 |
177 | 178 | 179 | 180 | 199 | 200 | 201 | 202 | -------------------------------------------------------------------------------- /reveal.js/examples/media.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Video, Audio and Iframes 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 |
20 | 21 |
22 |

Examples of embedded Video, Audio and Iframes

23 |
24 | 25 |
26 |

Iframe

27 | 28 |
29 | 30 |
31 |

Iframe Background

32 |
33 | 34 |
35 |

Video

36 | 37 |
38 | 39 |
40 |

Background Video

41 |
42 | 43 |
44 |

Auto-playing audio

45 | 46 |
47 | 48 |
49 |

Audio inside slide fragments

50 |
51 | Beep 1 52 | 53 |
54 |
55 | Beep 2 56 | 57 |
58 |
59 | 60 |
61 |

Audio with controls

62 | 63 |
64 | 65 |
66 | 67 |
68 | 69 | 70 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /reveal.js/examples/multiple-presentations.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Multiple Presentations 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 |
20 |
21 |
Deck 1, Slide 1
22 |
Deck 1, Slide 2
23 |
24 |

 25 | 							import React, { useState } from 'react';
 26 | 							function Example() {
 27 | 							  const [count, setCount] = useState(0);
 28 | 							}
 29 | 						
30 |
31 |
32 |
33 | 34 |
35 |
36 |
Deck 2, Slide 1
37 |
Deck 2, Slide 2
38 |
39 | 46 |
47 |
48 |

The Lorenz Equations

49 | 50 | \[\begin{aligned} 51 | \dot{x} & = \sigma(y-x) \\ 52 | \dot{y} & = \rho x - y - xz \\ 53 | \dot{z} & = -\beta z + xy 54 | \end{aligned} \] 55 |
56 |
57 |
58 |
59 | 60 | 68 | 69 | 70 | 71 | 72 | 73 | 100 | 101 | 102 | 103 | -------------------------------------------------------------------------------- /reveal.js/examples/transitions.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Slide Transitions 8 | 9 | 10 | 11 | 21 | 22 | 23 | 24 | 25 |
26 | 27 |
28 | 29 |
30 |

Default

31 |
32 | 33 |
34 |

Default

35 |
36 | 37 |
38 |

data-transition: zoom

39 |
40 | 41 |
42 |

data-transition: zoom-in fade-out

43 |
44 | 45 |
46 |

Default

47 |
48 | 49 |
50 |

data-transition: convex

51 |
52 | 53 |
54 |

data-transition: convex-in concave-out

55 |
56 | 57 |
58 |
59 |

Default

60 |
61 |
62 |

data-transition: concave

63 |
64 |
65 |

data-transition: convex-in fade-out

66 |
67 |
68 |

Default

69 |
70 |
71 | 72 |
73 |

data-transition: none

74 |
75 | 76 |
77 |

Default

78 |
79 | 80 |
81 | 82 |
83 | 84 | 85 | 95 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /reveal.js/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 |
19 |
Slide 1
20 |
Slide 2
21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /reveal.js/js/components/playback.js: -------------------------------------------------------------------------------- 1 | /** 2 | * UI component that lets the use control auto-slide 3 | * playback via play/pause. 4 | */ 5 | export default class Playback { 6 | 7 | /** 8 | * @param {HTMLElement} container The component will append 9 | * itself to this 10 | * @param {function} progressCheck A method which will be 11 | * called frequently to get the current playback progress on 12 | * a range of 0-1 13 | */ 14 | constructor( container, progressCheck ) { 15 | 16 | // Cosmetics 17 | this.diameter = 100; 18 | this.diameter2 = this.diameter/2; 19 | this.thickness = 6; 20 | 21 | // Flags if we are currently playing 22 | this.playing = false; 23 | 24 | // Current progress on a 0-1 range 25 | this.progress = 0; 26 | 27 | // Used to loop the animation smoothly 28 | this.progressOffset = 1; 29 | 30 | this.container = container; 31 | this.progressCheck = progressCheck; 32 | 33 | this.canvas = document.createElement( 'canvas' ); 34 | this.canvas.className = 'playback'; 35 | this.canvas.width = this.diameter; 36 | this.canvas.height = this.diameter; 37 | this.canvas.style.width = this.diameter2 + 'px'; 38 | this.canvas.style.height = this.diameter2 + 'px'; 39 | this.context = this.canvas.getContext( '2d' ); 40 | 41 | this.container.appendChild( this.canvas ); 42 | 43 | this.render(); 44 | 45 | } 46 | 47 | setPlaying( value ) { 48 | 49 | const wasPlaying = this.playing; 50 | 51 | this.playing = value; 52 | 53 | // Start repainting if we weren't already 54 | if( !wasPlaying && this.playing ) { 55 | this.animate(); 56 | } 57 | else { 58 | this.render(); 59 | } 60 | 61 | } 62 | 63 | animate() { 64 | 65 | const progressBefore = this.progress; 66 | 67 | this.progress = this.progressCheck(); 68 | 69 | // When we loop, offset the progress so that it eases 70 | // smoothly rather than immediately resetting 71 | if( progressBefore > 0.8 && this.progress < 0.2 ) { 72 | this.progressOffset = this.progress; 73 | } 74 | 75 | this.render(); 76 | 77 | if( this.playing ) { 78 | requestAnimationFrame( this.animate.bind( this ) ); 79 | } 80 | 81 | } 82 | 83 | /** 84 | * Renders the current progress and playback state. 85 | */ 86 | render() { 87 | 88 | let progress = this.playing ? this.progress : 0, 89 | radius = ( this.diameter2 ) - this.thickness, 90 | x = this.diameter2, 91 | y = this.diameter2, 92 | iconSize = 28; 93 | 94 | // Ease towards 1 95 | this.progressOffset += ( 1 - this.progressOffset ) * 0.1; 96 | 97 | const endAngle = ( - Math.PI / 2 ) + ( progress * ( Math.PI * 2 ) ); 98 | const startAngle = ( - Math.PI / 2 ) + ( this.progressOffset * ( Math.PI * 2 ) ); 99 | 100 | this.context.save(); 101 | this.context.clearRect( 0, 0, this.diameter, this.diameter ); 102 | 103 | // Solid background color 104 | this.context.beginPath(); 105 | this.context.arc( x, y, radius + 4, 0, Math.PI * 2, false ); 106 | this.context.fillStyle = 'rgba( 0, 0, 0, 0.4 )'; 107 | this.context.fill(); 108 | 109 | // Draw progress track 110 | this.context.beginPath(); 111 | this.context.arc( x, y, radius, 0, Math.PI * 2, false ); 112 | this.context.lineWidth = this.thickness; 113 | this.context.strokeStyle = 'rgba( 255, 255, 255, 0.2 )'; 114 | this.context.stroke(); 115 | 116 | if( this.playing ) { 117 | // Draw progress on top of track 118 | this.context.beginPath(); 119 | this.context.arc( x, y, radius, startAngle, endAngle, false ); 120 | this.context.lineWidth = this.thickness; 121 | this.context.strokeStyle = '#fff'; 122 | this.context.stroke(); 123 | } 124 | 125 | this.context.translate( x - ( iconSize / 2 ), y - ( iconSize / 2 ) ); 126 | 127 | // Draw play/pause icons 128 | if( this.playing ) { 129 | this.context.fillStyle = '#fff'; 130 | this.context.fillRect( 0, 0, iconSize / 2 - 4, iconSize ); 131 | this.context.fillRect( iconSize / 2 + 4, 0, iconSize / 2 - 4, iconSize ); 132 | } 133 | else { 134 | this.context.beginPath(); 135 | this.context.translate( 4, 0 ); 136 | this.context.moveTo( 0, 0 ); 137 | this.context.lineTo( iconSize - 4, iconSize / 2 ); 138 | this.context.lineTo( 0, iconSize ); 139 | this.context.fillStyle = '#fff'; 140 | this.context.fill(); 141 | } 142 | 143 | this.context.restore(); 144 | 145 | } 146 | 147 | on( type, listener ) { 148 | this.canvas.addEventListener( type, listener, false ); 149 | } 150 | 151 | off( type, listener ) { 152 | this.canvas.removeEventListener( type, listener, false ); 153 | } 154 | 155 | destroy() { 156 | 157 | this.playing = false; 158 | 159 | if( this.canvas.parentNode ) { 160 | this.container.removeChild( this.canvas ); 161 | } 162 | 163 | } 164 | 165 | } -------------------------------------------------------------------------------- /reveal.js/js/controllers/focus.js: -------------------------------------------------------------------------------- 1 | import { closest } from '../utils/util.js' 2 | 3 | /** 4 | * Manages focus when a presentation is embedded. This 5 | * helps us only capture keyboard from the presentation 6 | * a user is currently interacting with in a page where 7 | * multiple presentations are embedded. 8 | */ 9 | 10 | const STATE_FOCUS = 'focus'; 11 | const STATE_BLUR = 'blur'; 12 | 13 | export default class Focus { 14 | 15 | constructor( Reveal ) { 16 | 17 | this.Reveal = Reveal; 18 | 19 | this.onRevealPointerDown = this.onRevealPointerDown.bind( this ); 20 | this.onDocumentPointerDown = this.onDocumentPointerDown.bind( this ); 21 | 22 | } 23 | 24 | /** 25 | * Called when the reveal.js config is updated. 26 | */ 27 | configure( config, oldConfig ) { 28 | 29 | if( config.embedded ) { 30 | this.blur(); 31 | } 32 | else { 33 | this.focus(); 34 | this.unbind(); 35 | } 36 | 37 | } 38 | 39 | bind() { 40 | 41 | if( this.Reveal.getConfig().embedded ) { 42 | this.Reveal.getRevealElement().addEventListener( 'pointerdown', this.onRevealPointerDown, false ); 43 | } 44 | 45 | } 46 | 47 | unbind() { 48 | 49 | this.Reveal.getRevealElement().removeEventListener( 'pointerdown', this.onRevealPointerDown, false ); 50 | document.removeEventListener( 'pointerdown', this.onDocumentPointerDown, false ); 51 | 52 | } 53 | 54 | focus() { 55 | 56 | if( this.state !== STATE_FOCUS ) { 57 | this.Reveal.getRevealElement().classList.add( 'focused' ); 58 | document.addEventListener( 'pointerdown', this.onDocumentPointerDown, false ); 59 | } 60 | 61 | this.state = STATE_FOCUS; 62 | 63 | } 64 | 65 | blur() { 66 | 67 | if( this.state !== STATE_BLUR ) { 68 | this.Reveal.getRevealElement().classList.remove( 'focused' ); 69 | document.removeEventListener( 'pointerdown', this.onDocumentPointerDown, false ); 70 | } 71 | 72 | this.state = STATE_BLUR; 73 | 74 | } 75 | 76 | isFocused() { 77 | 78 | return this.state === STATE_FOCUS; 79 | 80 | } 81 | 82 | onRevealPointerDown( event ) { 83 | 84 | this.focus(); 85 | 86 | } 87 | 88 | onDocumentPointerDown( event ) { 89 | 90 | let revealElement = closest( event.target, '.reveal' ); 91 | if( !revealElement || revealElement !== this.Reveal.getRevealElement() ) { 92 | this.blur(); 93 | } 94 | 95 | } 96 | 97 | } -------------------------------------------------------------------------------- /reveal.js/js/controllers/location.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Reads and writes the URL based on reveal.js' current state. 3 | */ 4 | export default class Location { 5 | 6 | constructor( Reveal ) { 7 | 8 | this.Reveal = Reveal; 9 | 10 | // Delays updates to the URL due to a Chrome thumbnailer bug 11 | this.writeURLTimeout = 0; 12 | 13 | this.onWindowHashChange = this.onWindowHashChange.bind( this ); 14 | 15 | } 16 | 17 | bind() { 18 | 19 | window.addEventListener( 'hashchange', this.onWindowHashChange, false ); 20 | 21 | } 22 | 23 | unbind() { 24 | 25 | window.removeEventListener( 'hashchange', this.onWindowHashChange, false ); 26 | 27 | } 28 | 29 | /** 30 | * Reads the current URL (hash) and navigates accordingly. 31 | */ 32 | readURL() { 33 | 34 | let config = this.Reveal.getConfig(); 35 | let indices = this.Reveal.getIndices(); 36 | let currentSlide = this.Reveal.getCurrentSlide(); 37 | 38 | let hash = window.location.hash; 39 | 40 | // Attempt to parse the hash as either an index or name 41 | let bits = hash.slice( 2 ).split( '/' ), 42 | name = hash.replace( /#\/?/gi, '' ); 43 | 44 | // If the first bit is not fully numeric and there is a name we 45 | // can assume that this is a named link 46 | if( !/^[0-9]*$/.test( bits[0] ) && name.length ) { 47 | let element; 48 | 49 | let f; 50 | 51 | // Parse named links with fragments (#/named-link/2) 52 | if( /\/[-\d]+$/g.test( name ) ) { 53 | f = parseInt( name.split( '/' ).pop(), 10 ); 54 | f = isNaN(f) ? undefined : f; 55 | name = name.split( '/' ).shift(); 56 | } 57 | 58 | // Ensure the named link is a valid HTML ID attribute 59 | try { 60 | element = document.getElementById( decodeURIComponent( name ) ); 61 | } 62 | catch ( error ) { } 63 | 64 | // Ensure that we're not already on a slide with the same name 65 | let isSameNameAsCurrentSlide = currentSlide ? currentSlide.getAttribute( 'id' ) === name : false; 66 | 67 | if( element ) { 68 | // If the slide exists and is not the current slide... 69 | if ( !isSameNameAsCurrentSlide || typeof f !== 'undefined' ) { 70 | // ...find the position of the named slide and navigate to it 71 | let slideIndices = this.Reveal.getIndices( element ); 72 | this.Reveal.slide( slideIndices.h, slideIndices.v, f ); 73 | } 74 | } 75 | // If the slide doesn't exist, navigate to the current slide 76 | else { 77 | this.Reveal.slide( indices.h || 0, indices.v || 0 ); 78 | } 79 | } 80 | else { 81 | let hashIndexBase = config.hashOneBasedIndex ? 1 : 0; 82 | 83 | // Read the index components of the hash 84 | let h = ( parseInt( bits[0], 10 ) - hashIndexBase ) || 0, 85 | v = ( parseInt( bits[1], 10 ) - hashIndexBase ) || 0, 86 | f; 87 | 88 | if( config.fragmentInURL ) { 89 | f = parseInt( bits[2], 10 ); 90 | if( isNaN( f ) ) { 91 | f = undefined; 92 | } 93 | } 94 | 95 | if( h !== indices.h || v !== indices.v || f !== undefined ) { 96 | this.Reveal.slide( h, v, f ); 97 | } 98 | } 99 | 100 | } 101 | 102 | /** 103 | * Updates the page URL (hash) to reflect the current 104 | * state. 105 | * 106 | * @param {number} delay The time in ms to wait before 107 | * writing the hash 108 | */ 109 | writeURL( delay ) { 110 | 111 | let config = this.Reveal.getConfig(); 112 | let currentSlide = this.Reveal.getCurrentSlide(); 113 | 114 | // Make sure there's never more than one timeout running 115 | clearTimeout( this.writeURLTimeout ); 116 | 117 | // If a delay is specified, timeout this call 118 | if( typeof delay === 'number' ) { 119 | this.writeURLTimeout = setTimeout( this.writeURL, delay ); 120 | } 121 | else if( currentSlide ) { 122 | 123 | let hash = this.getHash(); 124 | 125 | // If we're configured to push to history OR the history 126 | // API is not avaialble. 127 | if( config.history ) { 128 | window.location.hash = hash; 129 | } 130 | // If we're configured to reflect the current slide in the 131 | // URL without pushing to history. 132 | else if( config.hash ) { 133 | // If the hash is empty, don't add it to the URL 134 | if( hash === '/' ) { 135 | window.history.replaceState( null, null, window.location.pathname + window.location.search ); 136 | } 137 | else { 138 | window.history.replaceState( null, null, '#' + hash ); 139 | } 140 | } 141 | // UPDATE: The below nuking of all hash changes breaks 142 | // anchors on pages where reveal.js is running. Removed 143 | // in 4.0. Why was it here in the first place? ¯\_(ツ)_/¯ 144 | // 145 | // If history and hash are both disabled, a hash may still 146 | // be added to the URL by clicking on a href with a hash 147 | // target. Counter this by always removing the hash. 148 | // else { 149 | // window.history.replaceState( null, null, window.location.pathname + window.location.search ); 150 | // } 151 | 152 | } 153 | 154 | } 155 | 156 | /** 157 | * Return a hash URL that will resolve to the given slide location. 158 | * 159 | * @param {HTMLElement} [slide=currentSlide] The slide to link to 160 | */ 161 | getHash( slide ) { 162 | 163 | let url = '/'; 164 | 165 | // Attempt to create a named link based on the slide's ID 166 | let s = slide || this.Reveal.getCurrentSlide(); 167 | let id = s ? s.getAttribute( 'id' ) : null; 168 | if( id ) { 169 | id = encodeURIComponent( id ); 170 | } 171 | 172 | let index = this.Reveal.getIndices( slide ); 173 | if( !this.Reveal.getConfig().fragmentInURL ) { 174 | index.f = undefined; 175 | } 176 | 177 | // If the current slide has an ID, use that as a named link, 178 | // but we don't support named links with a fragment index 179 | if( typeof id === 'string' && id.length ) { 180 | url = '/' + id; 181 | 182 | // If there is also a fragment, append that at the end 183 | // of the named link, like: #/named-link/2 184 | if( index.f >= 0 ) url += '/' + index.f; 185 | } 186 | // Otherwise use the /h/v index 187 | else { 188 | let hashIndexBase = this.Reveal.getConfig().hashOneBasedIndex ? 1 : 0; 189 | if( index.h > 0 || index.v > 0 || index.f >= 0 ) url += index.h + hashIndexBase; 190 | if( index.v > 0 || index.f >= 0 ) url += '/' + (index.v + hashIndexBase ); 191 | if( index.f >= 0 ) url += '/' + index.f; 192 | } 193 | 194 | return url; 195 | 196 | } 197 | 198 | /** 199 | * Handler for the window level 'hashchange' event. 200 | * 201 | * @param {object} [event] 202 | */ 203 | onWindowHashChange( event ) { 204 | 205 | this.readURL(); 206 | 207 | } 208 | 209 | } -------------------------------------------------------------------------------- /reveal.js/js/controllers/notes.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Handles the showing and 3 | */ 4 | export default class Notes { 5 | 6 | constructor( Reveal ) { 7 | 8 | this.Reveal = Reveal; 9 | 10 | } 11 | 12 | render() { 13 | 14 | this.element = document.createElement( 'div' ); 15 | this.element.className = 'speaker-notes'; 16 | this.element.setAttribute( 'data-prevent-swipe', '' ); 17 | this.element.setAttribute( 'tabindex', '0' ); 18 | this.Reveal.getRevealElement().appendChild( this.element ); 19 | 20 | } 21 | 22 | /** 23 | * Called when the reveal.js config is updated. 24 | */ 25 | configure( config, oldConfig ) { 26 | 27 | if( config.showNotes ) { 28 | this.element.setAttribute( 'data-layout', typeof config.showNotes === 'string' ? config.showNotes : 'inline' ); 29 | } 30 | 31 | } 32 | 33 | /** 34 | * Pick up notes from the current slide and display them 35 | * to the viewer. 36 | * 37 | * @see {@link config.showNotes} 38 | */ 39 | update() { 40 | 41 | if( this.Reveal.getConfig().showNotes && this.element && this.Reveal.getCurrentSlide() && !this.Reveal.print.isPrintingPDF() ) { 42 | 43 | this.element.innerHTML = this.getSlideNotes() || 'No notes on this slide.'; 44 | 45 | } 46 | 47 | } 48 | 49 | /** 50 | * Updates the visibility of the speaker notes sidebar that 51 | * is used to share annotated slides. The notes sidebar is 52 | * only visible if showNotes is true and there are notes on 53 | * one or more slides in the deck. 54 | */ 55 | updateVisibility() { 56 | 57 | if( this.Reveal.getConfig().showNotes && this.hasNotes() && !this.Reveal.print.isPrintingPDF() ) { 58 | this.Reveal.getRevealElement().classList.add( 'show-notes' ); 59 | } 60 | else { 61 | this.Reveal.getRevealElement().classList.remove( 'show-notes' ); 62 | } 63 | 64 | } 65 | 66 | /** 67 | * Checks if there are speaker notes for ANY slide in the 68 | * presentation. 69 | */ 70 | hasNotes() { 71 | 72 | return this.Reveal.getSlidesElement().querySelectorAll( '[data-notes], aside.notes' ).length > 0; 73 | 74 | } 75 | 76 | /** 77 | * Checks if this presentation is running inside of the 78 | * speaker notes window. 79 | * 80 | * @return {boolean} 81 | */ 82 | isSpeakerNotesWindow() { 83 | 84 | return !!window.location.search.match( /receiver/gi ); 85 | 86 | } 87 | 88 | /** 89 | * Retrieves the speaker notes from a slide. Notes can be 90 | * defined in two ways: 91 | * 1. As a data-notes attribute on the slide
92 | * 2. As an