├── benchmarks ├── .gitignore ├── read_route_table.sh ├── enable_huge_pages.sh ├── setup_rxqueues.sh ├── bench05_xdp_redirect.org ├── udp_for_benchmarks.py ├── jbrouer_setup05_no_netfilter.sh ├── udp_multi_ip.py └── udp_multi_ip_src.py ├── .gitignore ├── figures ├── drop-cpu.pdf ├── tx-test.pdf ├── ddos-test.pdf ├── drop-test.pdf ├── router-fwd.pdf ├── load-balancer.pdf ├── redirect-test.pdf ├── xdp-baseline.pdf ├── kernel-diagram.pdf ├── xdp-execution-diagram.pdf └── artifacts_evaluated_reusable.jpg ├── xdp-presentation.pdf ├── reveal.js ├── images │ ├── slide-bg.png │ ├── title-bg.png │ ├── mid-slide-bg.png │ ├── cc-by-sa-80x15.png │ └── slide-line.svg ├── lib │ ├── font │ │ ├── league-gothic │ │ │ ├── LICENSE │ │ │ ├── league-gothic.eot │ │ │ ├── league-gothic.ttf │ │ │ ├── league-gothic.woff │ │ │ └── league-gothic.css │ │ ├── cc-icons │ │ │ ├── font │ │ │ │ ├── cc-icons.eot │ │ │ │ ├── cc-icons.ttf │ │ │ │ ├── cc-icons.woff │ │ │ │ ├── cc-icons.woff2 │ │ │ │ └── cc-icons.svg │ │ │ └── css │ │ │ │ ├── cc-icons-codes.css │ │ │ │ ├── cc-icons-ie7-codes.css │ │ │ │ ├── cc-icons-ie7.css │ │ │ │ ├── cc-icons.css │ │ │ │ └── animation.css │ │ ├── overpass │ │ │ ├── overpass-bold.eot │ │ │ ├── overpass-bold.ttf │ │ │ ├── overpass-thin.eot │ │ │ ├── overpass-thin.ttf │ │ │ ├── overpass-bold.woff │ │ │ ├── overpass-bold.woff2 │ │ │ ├── overpass-heavy.eot │ │ │ ├── overpass-heavy.ttf │ │ │ ├── overpass-heavy.woff │ │ │ ├── overpass-heavy.woff2 │ │ │ ├── overpass-italic.eot │ │ │ ├── overpass-italic.ttf │ │ │ ├── overpass-italic.woff │ │ │ ├── overpass-light.eot │ │ │ ├── overpass-light.ttf │ │ │ ├── overpass-light.woff │ │ │ ├── overpass-light.woff2 │ │ │ ├── overpass-regular.eot │ │ │ ├── overpass-regular.ttf │ │ │ ├── overpass-thin.woff │ │ │ ├── overpass-thin.woff2 │ │ │ ├── overpass-extrabold.eot │ │ │ ├── overpass-extrabold.ttf │ │ │ ├── overpass-italic.woff2 │ │ │ ├── overpass-regular.woff │ │ │ ├── overpass-regular.woff2 │ │ │ ├── overpass-semibold.eot │ │ │ ├── overpass-semibold.ttf │ │ │ ├── overpass-semibold.woff │ │ │ ├── overpass-bold-italic.eot │ │ │ ├── overpass-bold-italic.ttf │ │ │ ├── overpass-bold-italic.woff │ │ │ ├── overpass-extrabold.woff │ │ │ ├── overpass-extrabold.woff2 │ │ │ ├── overpass-extralight.eot │ │ │ ├── overpass-extralight.ttf │ │ │ ├── overpass-extralight.woff │ │ │ ├── overpass-extralight.woff2 │ │ │ ├── overpass-heavy-italic.eot │ │ │ ├── overpass-heavy-italic.ttf │ │ │ ├── overpass-light-italic.eot │ │ │ ├── overpass-light-italic.ttf │ │ │ ├── overpass-semibold.woff2 │ │ │ ├── overpass-thin-italic.eot │ │ │ ├── overpass-thin-italic.ttf │ │ │ ├── overpass-thin-italic.woff │ │ │ ├── overpass-bold-italic.woff2 │ │ │ ├── overpass-heavy-italic.woff │ │ │ ├── overpass-heavy-italic.woff2 │ │ │ ├── overpass-light-italic.woff │ │ │ ├── overpass-light-italic.woff2 │ │ │ ├── overpass-thin-italic.woff2 │ │ │ ├── overpass-extrabold-italic.eot │ │ │ ├── overpass-extrabold-italic.ttf │ │ │ ├── overpass-extrabold-italic.woff │ │ │ ├── overpass-extralight-italic.eot │ │ │ ├── overpass-extralight-italic.ttf │ │ │ ├── overpass-semibold-italic.eot │ │ │ ├── overpass-semibold-italic.ttf │ │ │ ├── overpass-semibold-italic.woff │ │ │ ├── overpass-semibold-italic.woff2 │ │ │ ├── overpass-extrabold-italic.woff2 │ │ │ ├── overpass-extralight-italic.woff │ │ │ ├── overpass-extralight-italic.woff2 │ │ │ └── overpass.css │ │ └── source-sans-pro │ │ │ ├── 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 │ │ │ └── LICENSE │ ├── js │ │ ├── html5shiv.js │ │ └── classList.js │ └── css │ │ └── zenburn.css ├── plugin │ ├── markdown │ │ ├── example.md │ │ └── example.html │ ├── multiplex │ │ ├── client.js │ │ ├── package.json │ │ ├── master.js │ │ └── index.js │ ├── math │ │ └── math.js │ ├── notes-server │ │ ├── index.js │ │ └── client.js │ ├── print-pdf │ │ └── print-pdf.js │ ├── notes │ │ └── notes.js │ └── search │ │ └── search.js ├── js │ └── custom-kau.js └── css │ ├── theme │ ├── source │ │ ├── night.scss │ │ ├── serif.scss │ │ ├── league.scss │ │ ├── sky.scss │ │ ├── beige.scss │ │ ├── black.scss │ │ ├── white.scss │ │ ├── simple.scss │ │ ├── moon.scss │ │ ├── solarized.scss │ │ └── blood.scss │ ├── template │ │ ├── settings.scss │ │ ├── mixins.scss │ │ └── theme.scss │ ├── README.md │ ├── night-rh.css │ ├── night.css │ ├── serif.css │ ├── moon.css │ ├── solarized.css │ ├── black.css │ ├── simple.css │ ├── sky.css │ └── blood.css │ ├── solarized-light.css │ └── print │ ├── pdf.css │ └── paper.css ├── xdp-the-express-data-path.pdf ├── README.org └── review-responses.org /benchmarks/.gitignore: -------------------------------------------------------------------------------- 1 | obipy-resources 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | auto/ 2 | *.run.xml 3 | *.log 4 | xdp-paper.pdf 5 | xdp-presentation.html 6 | -------------------------------------------------------------------------------- /figures/drop-cpu.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/figures/drop-cpu.pdf -------------------------------------------------------------------------------- /figures/tx-test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/figures/tx-test.pdf -------------------------------------------------------------------------------- /xdp-presentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/xdp-presentation.pdf -------------------------------------------------------------------------------- /figures/ddos-test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/figures/ddos-test.pdf -------------------------------------------------------------------------------- /figures/drop-test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/figures/drop-test.pdf -------------------------------------------------------------------------------- /figures/router-fwd.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/figures/router-fwd.pdf -------------------------------------------------------------------------------- /figures/load-balancer.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/figures/load-balancer.pdf -------------------------------------------------------------------------------- /figures/redirect-test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/figures/redirect-test.pdf -------------------------------------------------------------------------------- /figures/xdp-baseline.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/figures/xdp-baseline.pdf -------------------------------------------------------------------------------- /figures/kernel-diagram.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/figures/kernel-diagram.pdf -------------------------------------------------------------------------------- /reveal.js/images/slide-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/images/slide-bg.png -------------------------------------------------------------------------------- /reveal.js/images/title-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/images/title-bg.png -------------------------------------------------------------------------------- /xdp-the-express-data-path.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/xdp-the-express-data-path.pdf -------------------------------------------------------------------------------- /figures/xdp-execution-diagram.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/figures/xdp-execution-diagram.pdf -------------------------------------------------------------------------------- /reveal.js/images/mid-slide-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/images/mid-slide-bg.png -------------------------------------------------------------------------------- /reveal.js/images/cc-by-sa-80x15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/images/cc-by-sa-80x15.png -------------------------------------------------------------------------------- /figures/artifacts_evaluated_reusable.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/figures/artifacts_evaluated_reusable.jpg -------------------------------------------------------------------------------- /reveal.js/lib/font/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/lib/font/cc-icons/font/cc-icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/cc-icons/font/cc-icons.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/cc-icons/font/cc-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/cc-icons/font/cc-icons.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-bold.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-bold.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-thin.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-thin.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-thin.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/cc-icons/font/cc-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/cc-icons/font/cc-icons.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/cc-icons/font/cc-icons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/cc-icons/font/cc-icons.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-bold.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-bold.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-heavy.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-heavy.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-heavy.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-heavy.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-heavy.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-heavy.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-heavy.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-heavy.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-italic.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-italic.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-italic.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-light.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-light.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-light.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-light.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-light.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-regular.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-regular.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-thin.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-thin.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-thin.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-thin.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/league-gothic/league-gothic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/league-gothic/league-gothic.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/league-gothic/league-gothic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/league-gothic/league-gothic.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extrabold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extrabold.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extrabold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extrabold.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-italic.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-regular.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-regular.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-semibold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-semibold.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-semibold.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-semibold.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/league-gothic/league-gothic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/league-gothic/league-gothic.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-bold-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-bold-italic.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-bold-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-bold-italic.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-bold-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-bold-italic.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extrabold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extrabold.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extrabold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extrabold.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extralight.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extralight.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extralight.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extralight.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extralight.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extralight.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extralight.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extralight.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-heavy-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-heavy-italic.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-heavy-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-heavy-italic.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-light-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-light-italic.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-light-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-light-italic.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-semibold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-semibold.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-thin-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-thin-italic.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-thin-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-thin-italic.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-thin-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-thin-italic.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-bold-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-bold-italic.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-heavy-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-heavy-italic.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-heavy-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-heavy-italic.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-light-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-light-italic.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-light-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-light-italic.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-thin-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-thin-italic.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extrabold-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extrabold-italic.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extrabold-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extrabold-italic.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extrabold-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extrabold-italic.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extralight-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extralight-italic.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extralight-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extralight-italic.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-semibold-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-semibold-italic.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-semibold-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-semibold-italic.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-semibold-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-semibold-italic.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-semibold-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-semibold-italic.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extrabold-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extrabold-italic.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extralight-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extralight-italic.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass-extralight-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/overpass/overpass-extralight-italic.woff2 -------------------------------------------------------------------------------- /reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot -------------------------------------------------------------------------------- /reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf -------------------------------------------------------------------------------- /reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdp-project/xdp-paper/HEAD/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff -------------------------------------------------------------------------------- /reveal.js/lib/font/cc-icons/css/cc-icons-codes.css: -------------------------------------------------------------------------------- 1 | 2 | .icon-cc-sa:before { content: '\e800'; } /* '' */ 3 | .icon-cc-1:before { content: '\e801'; } /* '' */ 4 | .icon-cc-by:before { content: '\e802'; } /* '' */ -------------------------------------------------------------------------------- /reveal.js/lib/js/html5shiv.js: -------------------------------------------------------------------------------- 1 | document.createElement('header'); 2 | document.createElement('nav'); 3 | document.createElement('section'); 4 | document.createElement('article'); 5 | document.createElement('aside'); 6 | document.createElement('footer'); 7 | document.createElement('hgroup'); -------------------------------------------------------------------------------- /reveal.js/lib/font/cc-icons/css/cc-icons-ie7-codes.css: -------------------------------------------------------------------------------- 1 | 2 | .icon-cc-sa { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } 3 | .icon-cc-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } 4 | .icon-cc-by { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } -------------------------------------------------------------------------------- /benchmarks/read_route_table.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | VERB=add 4 | 5 | if [[ "$1" == "-d" ]]; then 6 | VERB=del 7 | shift 8 | fi 9 | 10 | GATEWAY="$1" 11 | 12 | if [ -z "$GATEWAY" ]; then 13 | echo "Usage: $0 [-d] < iplist.txt" >&2 14 | exit 1 15 | fi 16 | 17 | while read line; do 18 | echo "route $VERB $line via $GATEWAY" 19 | done | ip -b - 20 | -------------------------------------------------------------------------------- /reveal.js/lib/font/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 | } -------------------------------------------------------------------------------- /reveal.js/plugin/markdown/example.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 | -------------------------------------------------------------------------------- /benchmarks/enable_huge_pages.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # 4 | DOC='For DPDK, enable huge pages' 5 | 6 | if [ "$EUID" -ne 0 ]; then 7 | echo "Need root priviliges" 8 | exit 1 9 | fi 10 | echo $DOC 11 | 12 | echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages 13 | 14 | if [ ! -d /mnt/huge ]; then 15 | mkdir /mnt/huge 16 | fi 17 | 18 | mount -t hugetlbfs nodev /mnt/huge 19 | 20 | df /mnt/huge/ 21 | -------------------------------------------------------------------------------- /reveal.js/plugin/multiplex/client.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var multiplex = Reveal.getConfig().multiplex; 3 | var socketId = multiplex.id; 4 | var socket = io.connect(multiplex.url); 5 | 6 | socket.on(multiplex.id, function(data) { 7 | // ignore data from sockets that aren't ours 8 | if (data.socketId !== socketId) { return; } 9 | if( window.location.host === 'localhost:1947' ) return; 10 | 11 | Reveal.setState(data.state); 12 | }); 13 | }()); 14 | -------------------------------------------------------------------------------- /benchmarks/setup_rxqueues.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | DOC="Script to setup ethtool filter steering to RX-queues" 3 | 4 | if [ -z "$1" ]; then 5 | echo $DOC 6 | echo "Usage: $0 DEVICE" 7 | exit 1 8 | fi 9 | IFACE=$1 10 | 11 | START_PORT=12 12 | NUM_RINGS=$(ethtool -n $IFACE| egrep '[0-9]+ RX rings available' | cut -f 1 -d ' ') 13 | 14 | for ring in $(seq 0 $(($NUM_RINGS - 1))); do 15 | port=$((START_PORT + $ring)) 16 | ethtool -N $IFACE flow-type udp4 dst-port $port action $ring 17 | done 18 | -------------------------------------------------------------------------------- /reveal.js/plugin/multiplex/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "reveal-js-multiplex", 3 | "version": "1.0.0", 4 | "description": "reveal.js multiplex server", 5 | "homepage": "http://lab.hakim.se/reveal-js", 6 | "scripts": { 7 | "start": "node index.js" 8 | }, 9 | "engines": { 10 | "node": "~4.1.1" 11 | }, 12 | "dependencies": { 13 | "express": "~4.13.3", 14 | "grunt-cli": "~0.1.13", 15 | "mustache": "~2.2.1", 16 | "socket.io": "~1.3.7" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /reveal.js/lib/font/cc-icons/css/cc-icons-ie7.css: -------------------------------------------------------------------------------- 1 | [class^="icon-"], [class*=" icon-"] { 2 | font-family: 'cc-icons'; 3 | font-style: normal; 4 | font-weight: normal; 5 | 6 | /* fix buttons height */ 7 | line-height: 1em; 8 | 9 | /* you can be more comfortable with increased icons size */ 10 | /* font-size: 120%; */ 11 | } 12 | 13 | .icon-cc-sa { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } 14 | .icon-cc-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } 15 | .icon-cc-by { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } -------------------------------------------------------------------------------- /reveal.js/plugin/multiplex/master.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 3 | // Don't emit events from inside of notes windows 4 | if ( window.location.search.match( /receiver/gi ) ) { return; } 5 | 6 | var multiplex = Reveal.getConfig().multiplex; 7 | 8 | var socket = io.connect( multiplex.url ); 9 | 10 | function post() { 11 | 12 | var messageData = { 13 | state: Reveal.getState(), 14 | secret: multiplex.secret, 15 | socketId: multiplex.id 16 | }; 17 | 18 | socket.emit( 'multiplex-statechanged', messageData ); 19 | 20 | }; 21 | 22 | // Monitor events that trigger a change in state 23 | Reveal.addEventListener( 'slidechanged', post ); 24 | Reveal.addEventListener( 'fragmentshown', post ); 25 | Reveal.addEventListener( 'fragmenthidden', post ); 26 | Reveal.addEventListener( 'overviewhidden', post ); 27 | Reveal.addEventListener( 'overviewshown', post ); 28 | Reveal.addEventListener( 'paused', post ); 29 | Reveal.addEventListener( 'resumed', post ); 30 | 31 | }()); -------------------------------------------------------------------------------- /reveal.js/js/custom-kau.js: -------------------------------------------------------------------------------- 1 | var authorName = 'Toke Høiland-Jørgensen'; 2 | var authorEmail = 'toke@toke.dk'; 3 | 4 | var authorHTML = [ 5 | '', 6 | '', 7 | '', 8 | '', 9 | '', 10 | ' - ', 11 | authorName, ' <', authorEmail, '>  '].join(''); 12 | 13 | function addAuthor(selector) { 14 | return function() { 15 | var elems = document.querySelectorAll(selector); 16 | elems.forEach(function (e) { 17 | var author = document.createElement('div'); 18 | author.className = 'authorbox'; 19 | author.innerHTML = authorHTML; 20 | e.appendChild(author); 21 | }); 22 | } 23 | } 24 | 25 | window.addEventListener('load', addAuthor('.reveal .slides > section > section')); 26 | window.addEventListener('load', addAuthor('#sec-title-slide')); 27 | 28 | 29 | -------------------------------------------------------------------------------- /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 | 32 | // Theme template ------------------------------ 33 | @import "../template/theme"; 34 | // --------------------------------------------- -------------------------------------------------------------------------------- /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 | 33 | // Theme template ------------------------------ 34 | @import "../template/theme"; 35 | // --------------------------------------------- 36 | -------------------------------------------------------------------------------- /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: none; 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 | // Links and actions 32 | $linkColor: #13DAEC; 33 | $linkColorHover: lighten( $linkColor, 20% ); 34 | 35 | // Text selection 36 | $selectionBackgroundColor: #FF5E99; 37 | $selectionColor: #fff; 38 | 39 | // Generates the presentation background, can be overridden 40 | // to return a background image or gradient 41 | @mixin bodyBackground() { 42 | background: $backgroundColor; 43 | } 44 | -------------------------------------------------------------------------------- /benchmarks/bench05_xdp_redirect.org: -------------------------------------------------------------------------------- 1 | * Intro XDP redirect 2 | 3 | The XDP_REDIRECT action/verdict is more advanced than other XDP return 4 | codes. 5 | 6 | ** TODO Explain map novelty 7 | 8 | 9 | * Benchmarking XDP redirect 10 | 11 | Like the XDP_DROP test, we found that as the number of RXQs increase, 12 | the CPUs DDIO facility (that place payload data in L3 cache) start to 13 | fail. The same is true for XDP_REDIRECT. 14 | 15 | Below table show XDP_REDIRECT scaling performance (same PCIe-slot NIC 16 | dual port) when adjusting the RX-ring size via cmdline: 17 | 18 | : ethtool -G mlx5p1 rx SIZE 19 | 20 | #+NAME: xdp_redirect_data 21 | | RXQs | XDP_REDIRECT (1024) | RX-size=512 | RX-size=256 | RX-size=128 | 22 | |------+---------------------+-------------+-------------+-------------| 23 | | 1 | 8649872 | 8665664 | 8641197 | 7577448 | 24 | | 2 | 15975491 | 16629074 | 16742325 | 14268397 | 25 | | 3 | 19222735 | 25230973 | 25738189 | 22086964 | 26 | | 4 | 21535588 | 28807445 | 34185239 | 29512278 | 27 | | 5 | 25464083 | 31306207 | 41461874 | 36652247 | 28 | | 6 | 29828924 | 33970445 | 46062737 | 43376903 | 29 | 30 | -------------------------------------------------------------------------------- /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(../../lib/font/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 | 31 | 32 | // Theme template ------------------------------ 33 | @import "../template/theme"; 34 | // --------------------------------------------- -------------------------------------------------------------------------------- /reveal.js/lib/css/zenburn.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Zenburn style from voldmar.ru (c) Vladimir Epifanov 4 | based on dark.css by Ivan Sagalaev 5 | 6 | */ 7 | 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #3f3f3f; 13 | color: #dcdcdc; 14 | } 15 | 16 | .hljs-keyword, 17 | .hljs-selector-tag, 18 | .hljs-tag { 19 | color: #e3ceab; 20 | } 21 | 22 | .hljs-template-tag { 23 | color: #dcdcdc; 24 | } 25 | 26 | .hljs-number { 27 | color: #8cd0d3; 28 | } 29 | 30 | .hljs-variable, 31 | .hljs-template-variable, 32 | .hljs-attribute { 33 | color: #efdcbc; 34 | } 35 | 36 | .hljs-literal { 37 | color: #efefaf; 38 | } 39 | 40 | .hljs-subst { 41 | color: #8f8f8f; 42 | } 43 | 44 | .hljs-title, 45 | .hljs-name, 46 | .hljs-selector-id, 47 | .hljs-selector-class, 48 | .hljs-section, 49 | .hljs-type { 50 | color: #efef8f; 51 | } 52 | 53 | .hljs-symbol, 54 | .hljs-bullet, 55 | .hljs-link { 56 | color: #dca3a3; 57 | } 58 | 59 | .hljs-deletion, 60 | .hljs-string, 61 | .hljs-built_in, 62 | .hljs-builtin-name { 63 | color: #cc9393; 64 | } 65 | 66 | .hljs-addition, 67 | .hljs-comment, 68 | .hljs-quote, 69 | .hljs-meta { 70 | color: #7f9f7f; 71 | } 72 | 73 | 74 | .hljs-emphasis { 75 | font-style: italic; 76 | } 77 | 78 | .hljs-strong { 79 | font-weight: bold; 80 | } 81 | -------------------------------------------------------------------------------- /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 | 43 | 44 | // Theme template ------------------------------ 45 | @import "../template/theme"; 46 | // --------------------------------------------- 47 | -------------------------------------------------------------------------------- /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(../../lib/font/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 | 36 | 37 | // Theme template ------------------------------ 38 | @import "../template/theme"; 39 | // --------------------------------------------- -------------------------------------------------------------------------------- /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(../../lib/font/source-sans-pro/source-sans-pro.css); 16 | 17 | 18 | // Override theme settings (see ../template/settings.scss) 19 | $backgroundColor: #222; 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 | section.has-light-background { 41 | &, h1, h2, h3, h4, h5, h6 { 42 | color: #222; 43 | } 44 | } 45 | 46 | 47 | // Theme template ------------------------------ 48 | @import "../template/theme"; 49 | // --------------------------------------------- -------------------------------------------------------------------------------- /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(../../lib/font/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 | section.has-dark-background { 41 | &, h1, h2, h3, h4, h5, h6 { 42 | color: #fff; 43 | } 44 | } 45 | 46 | 47 | // Theme template ------------------------------ 48 | @import "../template/theme"; 49 | // --------------------------------------------- -------------------------------------------------------------------------------- /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 | section.has-dark-background { 35 | &, h1, h2, h3, h4, h5, h6 { 36 | color: #fff; 37 | } 38 | } 39 | 40 | 41 | // Theme template ------------------------------ 42 | @import "../template/theme"; 43 | // --------------------------------------------- -------------------------------------------------------------------------------- /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(../../lib/font/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 | 54 | 55 | // Theme template ------------------------------ 56 | @import "../template/theme"; 57 | // --------------------------------------------- 58 | -------------------------------------------------------------------------------- /reveal.js/css/solarized-light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #f3f3f3; 12 | color: #657b83; 13 | } 14 | 15 | .hljs-comment, 16 | .hljs-quote { 17 | color: #93a1a1; 18 | } 19 | 20 | /* Solarized Green */ 21 | .hljs-keyword, 22 | .hljs-selector-tag, 23 | .hljs-addition { 24 | color: #859900; 25 | } 26 | 27 | /* Solarized Cyan */ 28 | .hljs-number, 29 | .hljs-string, 30 | .hljs-meta .hljs-meta-string, 31 | .hljs-literal, 32 | .hljs-doctag, 33 | .hljs-regexp { 34 | color: #2aa198; 35 | } 36 | 37 | /* Solarized Blue */ 38 | .hljs-title, 39 | .hljs-section, 40 | .hljs-name, 41 | .hljs-selector-id, 42 | .hljs-selector-class { 43 | color: #268bd2; 44 | } 45 | 46 | /* Solarized Yellow */ 47 | .hljs-attribute, 48 | .hljs-attr, 49 | .hljs-variable, 50 | .hljs-template-variable, 51 | .hljs-class .hljs-title, 52 | .hljs-type { 53 | color: #b58900; 54 | } 55 | 56 | /* Solarized Orange */ 57 | .hljs-symbol, 58 | .hljs-bullet, 59 | .hljs-subst, 60 | .hljs-meta, 61 | .hljs-meta .hljs-keyword, 62 | .hljs-selector-attr, 63 | .hljs-selector-pseudo, 64 | .hljs-link { 65 | color: #cb4b16; 66 | } 67 | 68 | /* Solarized Red */ 69 | .hljs-built_in, 70 | .hljs-deletion { 71 | color: #dc322f; 72 | } 73 | 74 | .hljs-formula { 75 | background: #eee8d5; 76 | } 77 | 78 | .hljs-emphasis { 79 | font-style: italic; 80 | } 81 | 82 | .hljs-strong { 83 | font-weight: bold; 84 | } 85 | -------------------------------------------------------------------------------- /reveal.js/lib/js/classList.js: -------------------------------------------------------------------------------- 1 | /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js*/ 2 | if(typeof document!=="undefined"&&!("classList" in document.createElement("a"))){(function(j){var a="classList",f="prototype",m=(j.HTMLElement||j.Element)[f],b=Object,k=String[f].trim||function(){return this.replace(/^\s+|\s+$/g,"")},c=Array[f].indexOf||function(q){var p=0,o=this.length;for(;pprofile -f stl/udp_for_benchmarks.py 7 | # 8 | #Profile Information: 9 | # 10 | # 11 | #General Information: 12 | #Filename: stl/udp_for_benchmarks.py 13 | #Stream count: 1 14 | # 15 | #Specific Information: 16 | #Type: Python Module 17 | #Tunables: ['stream_count = 1', 'direction = 0', 'packet_len = 64'] 18 | # 19 | #trex>start -f stl/udp_for_benchmarks.py -t packet_len=128 --port 0 20 | # 21 | 22 | class STLS1(object): 23 | ''' 24 | Generalization of udp_1pkt_simple, can specify number of streams and packet length 25 | ''' 26 | def create_stream (self, packet_len, stream_count): 27 | packets = [] 28 | for i in range(stream_count): 29 | base_pkt = Ether()/IP(src="16.0.0.1",dst="10.70.2.2")/UDP(dport=12+i,sport=1025) 30 | base_pkt_len = len(base_pkt) 31 | base_pkt /= 'x' * max(0, packet_len - base_pkt_len) 32 | packets.append(STLStream( 33 | packet = STLPktBuilder(pkt = base_pkt), 34 | mode = STLTXCont() 35 | )) 36 | return packets 37 | 38 | def get_streams (self, direction = 0, packet_len = 64, stream_count = 1, **kwargs): 39 | # create 1 stream 40 | return self.create_stream(packet_len - 4, stream_count) 41 | 42 | 43 | # dynamic load - used for trex console or simulator 44 | def register(): 45 | return STLS1() 46 | -------------------------------------------------------------------------------- /reveal.js/lib/font/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 | } -------------------------------------------------------------------------------- /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 including the Grunt dependencies installed before proceding: https://github.com/hakimel/reveal.js#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 by Grunt from Sass to CSS (see the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/Gruntfile.js)) when you run `grunt 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/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(../../lib/font/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/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 | } -------------------------------------------------------------------------------- /benchmarks/jbrouer_setup05_no_netfilter.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Basic setup steps used for benchmarking of XDP_REDIRECT 4 | 5 | function root_check_run_with_sudo() { 6 | # Trick so, program can be run as normal user, will just use "sudo" 7 | # call as root_check_run_as_sudo "$@" 8 | if [ "$EUID" -ne 0 ]; then 9 | if [ -x $0 ]; then # Directly executable use sudo 10 | echo "Not root, running with sudo" 11 | sudo "$0" "$@" 12 | exit $? 13 | fi 14 | err 4 "cannot perform sudo run of $0" 15 | fi 16 | } 17 | root_check_run_with_sudo "$@" 18 | 19 | # Disable Ethernet flow-control, this is network overload test 20 | echo " --- Disable Ethernet flow-control ---" 21 | ethtool -A ixgbe1 rx off tx off 22 | ethtool -A ixgbe2 rx off tx off 23 | ethtool -A mlx5p1 rx off tx off 24 | ethtool -A mlx5p2 rx off tx off 25 | 26 | # For optimal performance align NIC HW queue IRQs 27 | # and make sure irqbalance don't reorder these 28 | pkill irqbalance 29 | 30 | echo " --- Align IRQs ---" 31 | # I've named my NICs ixgbe1 + ixgbe2 32 | for F in /proc/irq/*/ixgbe*-TxRx-*/../smp_affinity_list; do 33 | # Extract irqname e.g. "ixgbe2-TxRx-2" 34 | irqname=$(basename $(dirname $(dirname $F))) ; 35 | # Substring pattern removal 36 | hwq_nr=${irqname#*-*-} 37 | echo $hwq_nr > $F 38 | #grep . -H $F; 39 | done 40 | grep -H . /proc/irq/*/ixgbe*/../smp_affinity_list 41 | 42 | 43 | echo " --- Align IRQs : mlx5 ---" 44 | for F in /proc/irq/*/mlx5_comp*/../smp_affinity; do 45 | dir=$(dirname $F) ; 46 | cat $dir/affinity_hint > $F 47 | done 48 | grep -H . /proc/irq/*/mlx5_comp*/../smp_affinity_list 49 | 50 | echo " --- Disable netfilter ---" 51 | /home/jbrouer/netfilter_unload_modules.sh > /dev/null 2>&1 52 | 53 | echo " --- Start netserver ---" 54 | /usr/local/bin/netserver 55 | 56 | -------------------------------------------------------------------------------- /reveal.js/lib/font/cc-icons/font/cc-icons.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Copyright (C) 2018 by original authors @ fontello.com 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /reveal.js/plugin/math/math.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A plugin which enables rendering of math equations inside 3 | * of reveal.js slides. Essentially a thin wrapper for MathJax. 4 | * 5 | * @author Hakim El Hattab 6 | */ 7 | var RevealMath = window.RevealMath || (function(){ 8 | 9 | var options = Reveal.getConfig().math || {}; 10 | options.mathjax = options.mathjax || 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js'; 11 | options.config = options.config || 'TeX-AMS_HTML-full'; 12 | 13 | loadScript( options.mathjax + '?config=' + options.config, function() { 14 | 15 | MathJax.Hub.Config({ 16 | messageStyle: 'none', 17 | tex2jax: { 18 | inlineMath: [['$','$'],['\\(','\\)']] , 19 | skipTags: ['script','noscript','style','textarea','pre'] 20 | }, 21 | skipStartupTypeset: true 22 | }); 23 | 24 | // Typeset followed by an immediate reveal.js layout since 25 | // the typesetting process could affect slide height 26 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub ] ); 27 | MathJax.Hub.Queue( Reveal.layout ); 28 | 29 | // Reprocess equations in slides when they turn visible 30 | Reveal.addEventListener( 'slidechanged', function( event ) { 31 | 32 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub, event.currentSlide ] ); 33 | 34 | } ); 35 | 36 | } ); 37 | 38 | function loadScript( url, callback ) { 39 | 40 | var head = document.querySelector( 'head' ); 41 | var script = document.createElement( 'script' ); 42 | script.type = 'text/javascript'; 43 | script.src = url; 44 | 45 | // Wrapper for callback to make sure it only fires once 46 | var finish = function() { 47 | if( typeof callback === 'function' ) { 48 | callback.call(); 49 | callback = null; 50 | } 51 | } 52 | 53 | script.onload = finish; 54 | 55 | // IE 56 | script.onreadystatechange = function() { 57 | if ( this.readyState === 'loaded' ) { 58 | finish(); 59 | } 60 | } 61 | 62 | // Normal browsers 63 | head.appendChild( script ); 64 | 65 | } 66 | 67 | })(); 68 | -------------------------------------------------------------------------------- /reveal.js/plugin/multiplex/index.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | var express = require('express'); 3 | var fs = require('fs'); 4 | var io = require('socket.io'); 5 | var crypto = require('crypto'); 6 | 7 | var app = express(); 8 | var staticDir = express.static; 9 | var server = http.createServer(app); 10 | 11 | io = io(server); 12 | 13 | var opts = { 14 | port: process.env.PORT || 1948, 15 | baseDir : __dirname + '/../../' 16 | }; 17 | 18 | io.on( 'connection', function( socket ) { 19 | socket.on('multiplex-statechanged', function(data) { 20 | if (typeof data.secret == 'undefined' || data.secret == null || data.secret === '') return; 21 | if (createHash(data.secret) === data.socketId) { 22 | data.secret = null; 23 | socket.broadcast.emit(data.socketId, data); 24 | }; 25 | }); 26 | }); 27 | 28 | [ 'css', 'js', 'plugin', 'lib' ].forEach(function(dir) { 29 | app.use('/' + dir, staticDir(opts.baseDir + dir)); 30 | }); 31 | 32 | app.get("/", function(req, res) { 33 | res.writeHead(200, {'Content-Type': 'text/html'}); 34 | 35 | var stream = fs.createReadStream(opts.baseDir + '/index.html'); 36 | stream.on('error', function( error ) { 37 | res.write('

reveal.js multiplex server.

Generate token'); 38 | res.end(); 39 | }); 40 | stream.on('readable', function() { 41 | stream.pipe(res); 42 | }); 43 | }); 44 | 45 | app.get("/token", function(req,res) { 46 | var ts = new Date().getTime(); 47 | var rand = Math.floor(Math.random()*9999999); 48 | var secret = ts.toString() + rand.toString(); 49 | res.send({secret: secret, socketId: createHash(secret)}); 50 | }); 51 | 52 | var createHash = function(secret) { 53 | var cipher = crypto.createCipher('blowfish', secret); 54 | return(cipher.final('hex')); 55 | }; 56 | 57 | // Actually listen 58 | server.listen( opts.port || null ); 59 | 60 | var brown = '\033[33m', 61 | green = '\033[32m', 62 | reset = '\033[0m'; 63 | 64 | console.log( brown + "reveal.js:" + reset + " Multiplex running on port " + green + opts.port + reset ); -------------------------------------------------------------------------------- /reveal.js/lib/font/cc-icons/css/cc-icons.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'cc-icons'; 3 | src: url('../font/cc-icons.eot?68101978'); 4 | src: url('../font/cc-icons.eot?68101978#iefix') format('embedded-opentype'), 5 | url('../font/cc-icons.woff2?68101978') format('woff2'), 6 | url('../font/cc-icons.woff?68101978') format('woff'), 7 | url('../font/cc-icons.ttf?68101978') format('truetype'), 8 | url('../font/cc-icons.svg?68101978#cc-icons') format('svg'); 9 | font-weight: normal; 10 | font-style: normal; 11 | } 12 | /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ 13 | /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ 14 | /* 15 | @media screen and (-webkit-min-device-pixel-ratio:0) { 16 | @font-face { 17 | font-family: 'cc-icons'; 18 | src: url('../font/cc-icons.svg?68101978#cc-icons') format('svg'); 19 | } 20 | } 21 | */ 22 | 23 | [class^="icon-"]:before, [class*=" icon-"]:before { 24 | font-family: "cc-icons"; 25 | font-style: normal; 26 | font-weight: normal; 27 | speak: none; 28 | 29 | display: inline-block; 30 | text-decoration: inherit; 31 | width: 1em; 32 | margin-right: .2em; 33 | text-align: center; 34 | /* opacity: .8; */ 35 | 36 | /* For safety - reset parent styles, that can break glyph codes*/ 37 | font-variant: normal; 38 | text-transform: none; 39 | 40 | /* fix buttons height, for twitter bootstrap */ 41 | line-height: 1em; 42 | 43 | /* Animation center compensation - margins should be symmetric */ 44 | /* remove if not needed */ 45 | margin-left: .2em; 46 | 47 | /* you can be more comfortable with increased icons size */ 48 | /* font-size: 120%; */ 49 | 50 | /* Font smoothing. That was taken from TWBS */ 51 | -webkit-font-smoothing: antialiased; 52 | -moz-osx-font-smoothing: grayscale; 53 | 54 | /* Uncomment for 3D effect */ 55 | /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ 56 | } 57 | 58 | .icon-cc-sa:before { content: '\e800'; } /* '' */ 59 | .icon-cc-1:before { content: '\e801'; } /* '' */ 60 | .icon-cc-by:before { content: '\e802'; } /* '' */ -------------------------------------------------------------------------------- /reveal.js/plugin/notes-server/index.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | var express = require('express'); 3 | var fs = require('fs'); 4 | var io = require('socket.io'); 5 | var Mustache = require('mustache'); 6 | 7 | var app = express(); 8 | var staticDir = express.static; 9 | var server = http.createServer(app); 10 | 11 | io = io(server); 12 | 13 | var opts = { 14 | port : 1947, 15 | baseDir : __dirname + '/../../' 16 | }; 17 | 18 | io.on( 'connection', function( socket ) { 19 | 20 | socket.on( 'new-subscriber', function( data ) { 21 | socket.broadcast.emit( 'new-subscriber', data ); 22 | }); 23 | 24 | socket.on( 'statechanged', function( data ) { 25 | delete data.state.overview; 26 | socket.broadcast.emit( 'statechanged', data ); 27 | }); 28 | 29 | socket.on( 'statechanged-speaker', function( data ) { 30 | delete data.state.overview; 31 | socket.broadcast.emit( 'statechanged-speaker', data ); 32 | }); 33 | 34 | }); 35 | 36 | [ 'css', 'js', 'images', 'plugin', 'lib' ].forEach( function( dir ) { 37 | app.use( '/' + dir, staticDir( opts.baseDir + dir ) ); 38 | }); 39 | 40 | app.get('/', function( req, res ) { 41 | 42 | res.writeHead( 200, { 'Content-Type': 'text/html' } ); 43 | fs.createReadStream( opts.baseDir + '/index.html' ).pipe( res ); 44 | 45 | }); 46 | 47 | app.get( '/notes/:socketId', function( req, res ) { 48 | 49 | fs.readFile( opts.baseDir + 'plugin/notes-server/notes.html', function( err, data ) { 50 | res.send( Mustache.to_html( data.toString(), { 51 | socketId : req.params.socketId 52 | })); 53 | }); 54 | 55 | }); 56 | 57 | // Actually listen 58 | server.listen( opts.port || null ); 59 | 60 | var brown = '\033[33m', 61 | green = '\033[32m', 62 | reset = '\033[0m'; 63 | 64 | var slidesLocation = 'http://localhost' + ( opts.port ? ( ':' + opts.port ) : '' ); 65 | 66 | console.log( brown + 'reveal.js - Speaker Notes' + reset ); 67 | console.log( '1. Open the slides at ' + green + slidesLocation + reset ); 68 | console.log( '2. Click on the link in your JS console to go to the notes page' ); 69 | console.log( '3. Advance through your slides and your notes will advance automatically' ); 70 | -------------------------------------------------------------------------------- /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 | 50 | // Theme template ------------------------------ 51 | @import "../template/theme"; 52 | // --------------------------------------------- 53 | 54 | // some overrides after theme template import 55 | 56 | .reveal p { 57 | font-weight: 300; 58 | text-shadow: 1px 1px $coal; 59 | } 60 | 61 | .reveal h1, 62 | .reveal h2, 63 | .reveal h3, 64 | .reveal h4, 65 | .reveal h5, 66 | .reveal h6 { 67 | font-weight: 700; 68 | } 69 | 70 | .reveal p code { 71 | background-color: $codeBackground; 72 | display: inline-block; 73 | border-radius: 7px; 74 | } 75 | 76 | .reveal small code { 77 | vertical-align: baseline; 78 | } -------------------------------------------------------------------------------- /reveal.js/plugin/notes-server/client.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 3 | // don't emit events from inside the previews themselves 4 | if( window.location.search.match( /receiver/gi ) ) { return; } 5 | 6 | var socket = io.connect( window.location.origin ), 7 | socketId = Math.random().toString().slice( 2 ); 8 | 9 | console.log( 'View slide notes at ' + window.location.origin + '/notes/' + socketId ); 10 | 11 | window.open( window.location.origin + '/notes/' + socketId, 'notes-' + socketId ); 12 | 13 | /** 14 | * Posts the current slide data to the notes window 15 | */ 16 | function post() { 17 | 18 | var slideElement = Reveal.getCurrentSlide(), 19 | notesElement = slideElement.querySelector( 'aside.notes' ); 20 | 21 | var messageData = { 22 | notes: '', 23 | markdown: false, 24 | socketId: socketId, 25 | state: Reveal.getState() 26 | }; 27 | 28 | // Look for notes defined in a slide attribute 29 | if( slideElement.hasAttribute( 'data-notes' ) ) { 30 | messageData.notes = slideElement.getAttribute( 'data-notes' ); 31 | } 32 | 33 | // Look for notes defined in an aside element 34 | if( notesElement ) { 35 | messageData.notes = notesElement.innerHTML; 36 | messageData.markdown = typeof notesElement.getAttribute( 'data-markdown' ) === 'string'; 37 | } 38 | 39 | socket.emit( 'statechanged', messageData ); 40 | 41 | } 42 | 43 | // When a new notes window connects, post our current state 44 | socket.on( 'new-subscriber', function( data ) { 45 | post(); 46 | } ); 47 | 48 | // When the state changes from inside of the speaker view 49 | socket.on( 'statechanged-speaker', function( data ) { 50 | Reveal.setState( data.state ); 51 | } ); 52 | 53 | // Monitor events that trigger a change in state 54 | Reveal.addEventListener( 'slidechanged', post ); 55 | Reveal.addEventListener( 'fragmentshown', post ); 56 | Reveal.addEventListener( 'fragmenthidden', post ); 57 | Reveal.addEventListener( 'overviewhidden', post ); 58 | Reveal.addEventListener( 'overviewshown', post ); 59 | Reveal.addEventListener( 'paused', post ); 60 | Reveal.addEventListener( 'resumed', post ); 61 | 62 | // Post the initial state 63 | post(); 64 | 65 | }()); 66 | -------------------------------------------------------------------------------- /reveal.js/plugin/print-pdf/print-pdf.js: -------------------------------------------------------------------------------- 1 | /** 2 | * phantomjs script for printing presentations to PDF. 3 | * 4 | * Example: 5 | * phantomjs print-pdf.js "http://lab.hakim.se/reveal-js?print-pdf" reveal-demo.pdf 6 | * 7 | * @author Manuel Bieh (https://github.com/manuelbieh) 8 | * @author Hakim El Hattab (https://github.com/hakimel) 9 | * @author Manuel Riezebosch (https://github.com/riezebosch) 10 | */ 11 | 12 | // html2pdf.js 13 | var system = require( 'system' ); 14 | 15 | var probePage = new WebPage(); 16 | var printPage = new WebPage(); 17 | 18 | var inputFile = system.args[1] || 'index.html?print-pdf'; 19 | var outputFile = system.args[2] || 'slides.pdf'; 20 | 21 | if( outputFile.match( /\.pdf$/gi ) === null ) { 22 | outputFile += '.pdf'; 23 | } 24 | 25 | console.log( 'Export PDF: Reading reveal.js config [1/4]' ); 26 | 27 | probePage.open( inputFile, function( status ) { 28 | 29 | console.log( 'Export PDF: Preparing print layout [2/4]' ); 30 | 31 | var config = probePage.evaluate( function() { 32 | return Reveal.getConfig(); 33 | } ); 34 | 35 | if( config ) { 36 | 37 | printPage.paperSize = { 38 | width: Math.floor( config.width * ( 1 + config.margin ) ), 39 | height: Math.floor( config.height * ( 1 + config.margin ) ), 40 | border: 0 41 | }; 42 | 43 | printPage.open( inputFile, function( status ) { 44 | console.log( 'Export PDF: Preparing pdf [3/4]') 45 | printPage.evaluate(function() { 46 | Reveal.isReady() ? window.callPhantom() : Reveal.addEventListener( 'pdf-ready', window.callPhantom ); 47 | }); 48 | } ); 49 | 50 | printPage.onCallback = function(data) { 51 | // For some reason we need to "jump the queue" for syntax highlighting to work. 52 | // See: http://stackoverflow.com/a/3580132/129269 53 | setTimeout(function() { 54 | console.log( 'Export PDF: Writing file [4/4]' ); 55 | printPage.render( outputFile ); 56 | console.log( 'Export PDF: Finished successfully!' ); 57 | phantom.exit(); 58 | }, 0); 59 | }; 60 | } 61 | else { 62 | 63 | console.log( 'Export PDF: Unable to read reveal.js config. Make sure the input address points to a reveal.js page.' ); 64 | phantom.exit(1); 65 | 66 | } 67 | } ); 68 | 69 | 70 | -------------------------------------------------------------------------------- /reveal.js/lib/font/cc-icons/css/animation.css: -------------------------------------------------------------------------------- 1 | /* 2 | Animation example, for spinners 3 | */ 4 | .animate-spin { 5 | -moz-animation: spin 2s infinite linear; 6 | -o-animation: spin 2s infinite linear; 7 | -webkit-animation: spin 2s infinite linear; 8 | animation: spin 2s infinite linear; 9 | display: inline-block; 10 | } 11 | @-moz-keyframes spin { 12 | 0% { 13 | -moz-transform: rotate(0deg); 14 | -o-transform: rotate(0deg); 15 | -webkit-transform: rotate(0deg); 16 | transform: rotate(0deg); 17 | } 18 | 19 | 100% { 20 | -moz-transform: rotate(359deg); 21 | -o-transform: rotate(359deg); 22 | -webkit-transform: rotate(359deg); 23 | transform: rotate(359deg); 24 | } 25 | } 26 | @-webkit-keyframes spin { 27 | 0% { 28 | -moz-transform: rotate(0deg); 29 | -o-transform: rotate(0deg); 30 | -webkit-transform: rotate(0deg); 31 | transform: rotate(0deg); 32 | } 33 | 34 | 100% { 35 | -moz-transform: rotate(359deg); 36 | -o-transform: rotate(359deg); 37 | -webkit-transform: rotate(359deg); 38 | transform: rotate(359deg); 39 | } 40 | } 41 | @-o-keyframes spin { 42 | 0% { 43 | -moz-transform: rotate(0deg); 44 | -o-transform: rotate(0deg); 45 | -webkit-transform: rotate(0deg); 46 | transform: rotate(0deg); 47 | } 48 | 49 | 100% { 50 | -moz-transform: rotate(359deg); 51 | -o-transform: rotate(359deg); 52 | -webkit-transform: rotate(359deg); 53 | transform: rotate(359deg); 54 | } 55 | } 56 | @-ms-keyframes spin { 57 | 0% { 58 | -moz-transform: rotate(0deg); 59 | -o-transform: rotate(0deg); 60 | -webkit-transform: rotate(0deg); 61 | transform: rotate(0deg); 62 | } 63 | 64 | 100% { 65 | -moz-transform: rotate(359deg); 66 | -o-transform: rotate(359deg); 67 | -webkit-transform: rotate(359deg); 68 | transform: rotate(359deg); 69 | } 70 | } 71 | @keyframes spin { 72 | 0% { 73 | -moz-transform: rotate(0deg); 74 | -o-transform: rotate(0deg); 75 | -webkit-transform: rotate(0deg); 76 | transform: rotate(0deg); 77 | } 78 | 79 | 100% { 80 | -moz-transform: rotate(359deg); 81 | -o-transform: rotate(359deg); 82 | -webkit-transform: rotate(359deg); 83 | transform: rotate(359deg); 84 | } 85 | } 86 | -------------------------------------------------------------------------------- /benchmarks/udp_multi_ip.py: -------------------------------------------------------------------------------- 1 | # Modified from trex, to also vary UDP dport when running multiple streams 2 | from trex_stl_lib.api import * 3 | import random 4 | 5 | # Quick and dirty martian avoidance: Just don't generate these octets 6 | ALLOWED_OCTETS = list(range(1,254)) 7 | ALLOWED_OCTETS.remove(10) 8 | ALLOWED_OCTETS.remove(100) 9 | ALLOWED_OCTETS.remove(127) 10 | ALLOWED_OCTETS.remove(169) 11 | ALLOWED_OCTETS.remove(172) 12 | ALLOWED_OCTETS.remove(192) 13 | ALLOWED_OCTETS.remove(224) 14 | ALLOWED_OCTETS.remove(240) 15 | 16 | # Tunable example 17 | # 18 | #trex>profile -f stl/udp_for_benchmarks.py 19 | # 20 | #Profile Information: 21 | # 22 | # 23 | #General Information: 24 | #Filename: stl/udp_for_benchmarks.py 25 | #Stream count: 1 26 | # 27 | #Specific Information: 28 | #Type: Python Module 29 | #Tunables: ['stream_count = 1', 'direction = 0', 'packet_len = 64'] 30 | # 31 | #trex>start -f stl/udp_for_benchmarks.py -t packet_len=128 --port 0 32 | # 33 | 34 | class STLS1(object): 35 | ''' 36 | Generalization of udp_1pkt_simple, can specify number of streams and packet length 37 | ''' 38 | def create_stream (self, packet_len, stream_count, port_count): 39 | packets = [] 40 | if port_count < 1: 41 | port_count = 1 42 | 43 | if stream_count < port_count: 44 | stream_count = port_count 45 | 46 | for i in range(stream_count): 47 | port = 12 + (i % port_count) 48 | dst = "%d.%d.%d.%d" % tuple([random.choice(ALLOWED_OCTETS) for i in range(4)]) 49 | base_pkt = Ether()/IP(src="10.70.1.2",dst=dst)/UDP(dport=port,sport=1025) 50 | base_pkt_len = len(base_pkt) 51 | base_pkt /= 'x' * max(0, packet_len - base_pkt_len) 52 | packets.append(STLStream( 53 | packet = STLPktBuilder(pkt = base_pkt), 54 | mode = STLTXCont() 55 | )) 56 | return packets 57 | 58 | def get_streams (self, direction = 0, packet_len = 64, stream_count = 1, port_count = 1, **kwargs): 59 | # create 1 stream 60 | return self.create_stream(packet_len - 4, stream_count, port_count) 61 | 62 | 63 | # dynamic load - used for trex console or simulator 64 | def register(): 65 | return STLS1() 66 | -------------------------------------------------------------------------------- /benchmarks/udp_multi_ip_src.py: -------------------------------------------------------------------------------- 1 | # Modified from trex, to also vary UDP dport when running multiple streams 2 | from trex_stl_lib.api import * 3 | import random 4 | 5 | # Quick and dirty martian avoidance: Just don't generate these octets 6 | ALLOWED_OCTETS = list(range(1,254)) 7 | ALLOWED_OCTETS.remove(10) 8 | ALLOWED_OCTETS.remove(100) 9 | ALLOWED_OCTETS.remove(127) 10 | ALLOWED_OCTETS.remove(169) 11 | ALLOWED_OCTETS.remove(172) 12 | ALLOWED_OCTETS.remove(192) 13 | ALLOWED_OCTETS.remove(224) 14 | ALLOWED_OCTETS.remove(240) 15 | 16 | # Tunable example 17 | # 18 | #trex>profile -f stl/udp_for_benchmarks.py 19 | # 20 | #Profile Information: 21 | # 22 | # 23 | #General Information: 24 | #Filename: stl/udp_for_benchmarks.py 25 | #Stream count: 1 26 | # 27 | #Specific Information: 28 | #Type: Python Module 29 | #Tunables: ['stream_count = 1', 'direction = 0', 'packet_len = 64'] 30 | # 31 | #trex>start -f stl/udp_for_benchmarks.py -t packet_len=128 --port 0 32 | # 33 | 34 | class STLS1(object): 35 | ''' 36 | Generalization of udp_1pkt_simple, can specify number of streams and packet length 37 | ''' 38 | def create_stream (self, packet_len, stream_count, port_count): 39 | packets = [] 40 | if port_count < 1: 41 | port_count = 1 42 | 43 | if stream_count < port_count: 44 | stream_count = port_count 45 | 46 | for i in range(stream_count): 47 | port = 12 + (i % port_count) 48 | ipa = "%d.%d.%d.%d" % tuple([random.choice(ALLOWED_OCTETS) for i in range(4)]) 49 | base_pkt = Ether()/IP(src=ipa,dst="10.70.2.2")/UDP(dport=port,sport=1025) 50 | base_pkt_len = len(base_pkt) 51 | base_pkt /= 'x' * max(0, packet_len - base_pkt_len) 52 | packets.append(STLStream( 53 | packet = STLPktBuilder(pkt = base_pkt), 54 | mode = STLTXCont() 55 | )) 56 | return packets 57 | 58 | def get_streams (self, direction = 0, packet_len = 64, stream_count = 1, port_count = 1, **kwargs): 59 | # create 1 stream 60 | return self.create_stream(packet_len - 4, stream_count, port_count) 61 | 62 | 63 | # dynamic load - used for trex console or simulator 64 | def register(): 65 | return STLS1() 66 | -------------------------------------------------------------------------------- /README.org: -------------------------------------------------------------------------------- 1 | * The eXpress Data Path: Fast Programmable Packet Processing in the Operating System Kernel 2 | 3 | This repository contains the =.tex= source code, datasets and experimental notes 4 | for the paper "The eXpress Data Path: Fast Programmable Packet Processing in the 5 | Operating System Kernel" which was presented at ACM CoNEXT 2018 on 6 | December 5th, 2018. 7 | 8 | The PDF version of the paper is also included in [[file:xdp-the-express-data-path.pdf][xdp-the-express-data-path.pdf]]. 9 | 10 | ** Source code 11 | The XDP system is part of the upstream Linux kernel. The specific version we've 12 | used in our tests is available in Jesper's git repository on git.kernel.org, in 13 | the xdp_paper01 branch: 14 | 15 | https://git.kernel.org/pub/scm/linux/kernel/git/hawk/net-next-xdp.git/log/?h=xdp_paper01 16 | 17 | The specific commit we have been using is [[https://git.kernel.org/pub/scm/linux/kernel/git/hawk/net-next-xdp.git/commit/?h=xdp_paper01&id=e641995a1e18f12fa3ffa4aac405dd8e9135e0e9][e641995a1e18f12fa3ffa4aac405dd8e9135e0e9]]. 18 | 19 | ** Slides 20 | The paper was presented at CoNEXT '18 on December 5th, 2018. The source for the 21 | presentation slides are included in [[file:xdp-presentation.org][xdp-presentation.org]], and can be exported 22 | using the org-reveal plugin for Emacs org-mode. A compiled version of the slides 23 | is in [[file:xdp-presentation.pdf][xdp-presenation.pdf]]. 24 | 25 | ** Experimental setup 26 | 27 | The notes from our experiments are included in a series of .org files in the 28 | [[file:benchmarks/][benchmarks/]] directory. These files contain setup instructions for both XDP and 29 | DPDK. Some familiarity with Linux is probably an advantage for someone who wants 30 | to replicate the experiments; but if any information is missing from the notes, 31 | we consider that a bug. Please open an issue in the github repository for any 32 | such problems. 33 | 34 | ** Hardware 35 | As our main test machine, we use a workstation equipped with an Intel Xeon 36 | E5-1650 v4 6-core CPU running at 3.60GHz. The machine has four 8GB RAM modules, 37 | allowing the use of all four memory channels. The test machine is equipped with 38 | two Mellanox ConnectX-5 Ex VPI dual-port 100Gbps NICs. We use the same NICs to 39 | drive the test load, but from different machines; see the experimental notes for 40 | details. 41 | 42 | ** License 43 | 44 | All source code is released under the GNU GPL v2. All text and figures are 45 | released under a Creative Commons CC-BY-SA license. 46 | -------------------------------------------------------------------------------- /reveal.js/css/print/pdf.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This stylesheet is used to print reveal.js 3 | * presentations to PDF. 4 | * 5 | * https://github.com/hakimel/reveal.js#pdf-export 6 | */ 7 | 8 | * { 9 | -webkit-print-color-adjust: exact; 10 | } 11 | 12 | body { 13 | margin: 0 auto !important; 14 | border: 0; 15 | padding: 0; 16 | float: none !important; 17 | overflow: visible; 18 | } 19 | 20 | html { 21 | width: 100%; 22 | height: 100%; 23 | overflow: visible; 24 | } 25 | 26 | /* Remove any elements not needed in print. */ 27 | .nestedarrow, 28 | .reveal .controls, 29 | .reveal .progress, 30 | .reveal .playback, 31 | .reveal.overview, 32 | .fork-reveal, 33 | .share-reveal, 34 | .state-background { 35 | display: none !important; 36 | } 37 | 38 | h1, h2, h3, h4, h5, h6 { 39 | text-shadow: 0 0 0 #000 !important; 40 | } 41 | 42 | .reveal pre code { 43 | overflow: hidden !important; 44 | font-family: Courier, 'Courier New', monospace !important; 45 | } 46 | 47 | ul, ol, div, p { 48 | visibility: visible; 49 | position: static; 50 | width: auto; 51 | height: auto; 52 | display: block; 53 | overflow: visible; 54 | margin: auto; 55 | } 56 | .reveal { 57 | width: auto !important; 58 | height: auto !important; 59 | overflow: hidden !important; 60 | } 61 | .reveal .slides { 62 | position: static; 63 | width: 100% !important; 64 | height: auto !important; 65 | zoom: 1 !important; 66 | 67 | left: auto; 68 | top: auto; 69 | margin: 0 !important; 70 | padding: 0 !important; 71 | 72 | overflow: visible; 73 | display: block; 74 | 75 | -webkit-perspective: none; 76 | -moz-perspective: none; 77 | -ms-perspective: none; 78 | perspective: none; 79 | 80 | -webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */ 81 | -moz-perspective-origin: 50% 50%; 82 | -ms-perspective-origin: 50% 50%; 83 | perspective-origin: 50% 50%; 84 | } 85 | 86 | .reveal .slides .pdf-page { 87 | position: relative; 88 | overflow: hidden; 89 | z-index: 1; 90 | 91 | page-break-after: always; 92 | } 93 | 94 | .reveal .slides section { 95 | visibility: visible !important; 96 | display: block !important; 97 | position: absolute !important; 98 | 99 | margin: 0 !important; 100 | padding: 0 !important; 101 | box-sizing: border-box !important; 102 | min-height: 1px; 103 | 104 | opacity: 1 !important; 105 | 106 | -webkit-transform-style: flat !important; 107 | -moz-transform-style: flat !important; 108 | -ms-transform-style: flat !important; 109 | transform-style: flat !important; 110 | 111 | -webkit-transform: none !important; 112 | -moz-transform: none !important; 113 | -ms-transform: none !important; 114 | transform: none !important; 115 | } 116 | 117 | .reveal section.stack { 118 | position: relative !important; 119 | margin: 0 !important; 120 | padding: 0 !important; 121 | page-break-after: avoid !important; 122 | height: auto !important; 123 | min-height: auto !important; 124 | } 125 | 126 | .reveal img { 127 | box-shadow: none; 128 | } 129 | 130 | .reveal .roll { 131 | overflow: visible; 132 | line-height: 1em; 133 | } 134 | 135 | /* Slide backgrounds are placed inside of their slide when exporting to PDF */ 136 | .reveal .slide-background { 137 | display: block !important; 138 | position: absolute; 139 | top: 0; 140 | left: 0; 141 | width: 100%; 142 | height: 100%; 143 | z-index: auto !important; 144 | } 145 | 146 | /* Display slide speaker notes when 'showNotes' is enabled */ 147 | .reveal .speaker-notes-pdf { 148 | display: block; 149 | width: 100%; 150 | max-height: none; 151 | top: auto; 152 | right: auto; 153 | bottom: auto; 154 | left: auto; 155 | z-index: 100; 156 | } 157 | 158 | /* Layout option which makes notes appear on a separate page */ 159 | .reveal .speaker-notes-pdf[data-layout="separate-page"] { 160 | position: relative; 161 | color: inherit; 162 | background-color: transparent; 163 | padding: 20px; 164 | page-break-after: always; 165 | } 166 | 167 | /* Display slide numbers when 'slideNumber' is enabled */ 168 | .reveal .slide-number-pdf { 169 | display: block; 170 | position: absolute; 171 | font-size: 14px; 172 | } 173 | -------------------------------------------------------------------------------- /review-responses.org: -------------------------------------------------------------------------------- 1 | * Summary plan 2 | Based on the review comments we plan to make the following changes to the paper: 3 | 4 | - We will shorten the description of the eBPF virtual machine and verifier in 5 | sections 3.2 and 3.3, to make space for an annotated example of an XDP 6 | program, as suggested by reviewers B and D. 7 | 8 | - We will add examples of latency numbers, as suggested by reviewer A (time and 9 | space will not allow us to add these throughout, though). 10 | 11 | - We will add a discussion of the design constraints imposed by the integration 12 | of XDP into the existing Linux kernel, as suggested by reviewer D. 13 | 14 | - We will expand the comparison between XDP and other similar solutions, as 15 | suggested by reviewer D. 16 | 17 | - We will add a discussion of offloading XDP programs onto the NIC, as suggested 18 | by reviewer A, and on how other higher-level frameworks can build on top of 19 | XDP, as suggested by reviewer B. 20 | 21 | - We will clarify the text to address the smaller nits suggested by the 22 | reviewers (primarily by reviewers A and B). 23 | 24 | Things that were suggested by the reviewers that we are *not* planning to 25 | address: 26 | 27 | - We are not going to add a discussion of lessons learned and the evolution of 28 | the design, as suggested by reviewer A. We agree that this would be valuable, 29 | but we feel that the limited space in the paper would be better spent on other 30 | things. However, we will certainly consider publishing such an overview in 31 | another context at a later date. 32 | 33 | - We do not plan to add other competing systems to the performance evaluation, 34 | because of time and space constraints. We will, however, clarify that the 35 | reason we picked DPDK for the comparison is that others have shown DPDK to be 36 | the highest-performing of the existing frameworks, which is why we picked this 37 | as the one to compare against (see e.g., Gallenmuller et al, as cited in the 38 | paper). 39 | 40 | * Shepherd 41 | - [X] List kinds of errors that are caught by verifier and those that aren't. 42 | - [ ] Performance numbers to qualify assertion that we can close gap. 43 | - [X] Say that we don't want to compare against best-of-breed solutions in 44 | section 5. 45 | 46 | * Reviewer A 47 | - [X] Discuss offloading of XDP programs to smart-NICs. 48 | - [X] Latency numbers 49 | - Verifier risk 50 | - [X] Overhead 51 | - [X] Design journey (ENOSPACE) 52 | - Better limitations section? 53 | - [X] Number of programs supported 54 | - [X] Collect limitations on loops etc in one place 55 | - [X] What happens if an XDP program is bad? 56 | - [X] Clarify that experimental runs are single-runs + highly repeatable 57 | * Reviewer B 58 | - [X] "Generalising XDP": Cite examples of other packages (IDS, P4, OVS(?)) 59 | implementing parts of their functionality in XDP 60 | - Clarify how we think new helpers will be implemented 61 | - [X] Simplify sections 3.2 and 3.3 62 | - Talk about loading/unloading of programs 63 | ** Nits 64 | - [X] Fig 1: Clarify why XDP is shown inside the device driver (that's where the 65 | hook is) 66 | - [ ] Explain CPU redirect in a bit more detail 67 | - [X] Expand on limitations on C program (same as section above?) 68 | - [X] Explain PACKET_END check 69 | - [X] Example for pointer copies 70 | - [X] Table 2 - clarify arithm column 71 | - [X] Clarify that we disable hyper-threading 72 | - [X] Explain non-linear growth in fig 4 73 | - [X] Explain how device driver optimisations can help close the performance gap 74 | (and that DPDK has its own driver) 75 | - [X] Clarify routing example: No cache, 4000 IPs picked because above that it 76 | didn't make any difference 77 | - [X] Explain DoS packet rules in more detail 78 | - [X] No helpers for the load balancer 79 | * Reviewer C 80 | Nothing we need to address 81 | * Reviewer D 82 | - [X] Rework Section 2 to more explicitly compare the design of other solutions to 83 | XDP (can we do that without taking up too much space? - yes we can!) 84 | - [X] Be a bit more explicit about the fact that XDP needs to fit into an existing 85 | operating system, and which design constraints that imposes. 86 | - [X] Cut down on description of eBPF in favour of example(s) 87 | - [X] Explain that DPDK has way higher performance than anything else, which is why 88 | we compare against that 89 | - [X] Mention the other prior work items ("StackMap, Sandstorm, mTCP, Seastar, IX, etc")(?) 90 | * Reviewer E 91 | - Highlight new ideas and optimisations (?) 92 | - Clarify how XDP avoid the expensive reinjection required for DPDK 93 | -------------------------------------------------------------------------------- /reveal.js/lib/font/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/plugin/markdown/example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Markdown Demo 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 | 105 | 106 | 107 | 108 | 127 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /reveal.js/images/slide-line.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 43 | 45 | 46 | 48 | image/svg+xml 49 | 51 | 52 | 53 | 54 | 55 | 60 | 66 | 72 | 77 | 81 | 87 | 93 | 99 | 104 | 107 | 115 | 116 | 117 | 125 | 126 | 127 | -------------------------------------------------------------------------------- /reveal.js/plugin/notes/notes.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Handles opening of and synchronization with the reveal.js 3 | * notes window. 4 | * 5 | * Handshake process: 6 | * 1. This window posts 'connect' to notes window 7 | * - Includes URL of presentation to show 8 | * 2. Notes window responds with 'connected' when it is available 9 | * 3. This window proceeds to send the current presentation state 10 | * to the notes window 11 | */ 12 | var RevealNotes = (function() { 13 | 14 | function openNotes( notesFilePath ) { 15 | 16 | if( !notesFilePath ) { 17 | var jsFileLocation = document.querySelector('script[src$="notes.js"]').src; // this js file path 18 | jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, ''); // the js folder path 19 | notesFilePath = jsFileLocation + 'notes.html'; 20 | } 21 | 22 | var notesPopup = window.open( notesFilePath, 'reveal.js - Notes', 'width=1100,height=700' ); 23 | 24 | // Allow popup window access to Reveal API 25 | notesPopup.Reveal = this.Reveal; 26 | 27 | /** 28 | * Connect to the notes window through a postmessage handshake. 29 | * Using postmessage enables us to work in situations where the 30 | * origins differ, such as a presentation being opened from the 31 | * file system. 32 | */ 33 | function connect() { 34 | // Keep trying to connect until we get a 'connected' message back 35 | var connectInterval = setInterval( function() { 36 | notesPopup.postMessage( JSON.stringify( { 37 | namespace: 'reveal-notes', 38 | type: 'connect', 39 | url: window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search, 40 | state: Reveal.getState() 41 | } ), '*' ); 42 | }, 500 ); 43 | 44 | window.addEventListener( 'message', function( event ) { 45 | var data = JSON.parse( event.data ); 46 | if( data && data.namespace === 'reveal-notes' && data.type === 'connected' ) { 47 | clearInterval( connectInterval ); 48 | onConnected(); 49 | } 50 | } ); 51 | } 52 | 53 | /** 54 | * Posts the current slide data to the notes window 55 | */ 56 | function post( event ) { 57 | 58 | var slideElement = Reveal.getCurrentSlide(), 59 | notesElement = slideElement.querySelector( 'aside.notes' ), 60 | fragmentElement = slideElement.querySelector( '.current-fragment' ); 61 | 62 | var messageData = { 63 | namespace: 'reveal-notes', 64 | type: 'state', 65 | notes: '', 66 | markdown: false, 67 | whitespace: 'normal', 68 | state: Reveal.getState() 69 | }; 70 | 71 | // Look for notes defined in a slide attribute 72 | if( slideElement.hasAttribute( 'data-notes' ) ) { 73 | messageData.notes = slideElement.getAttribute( 'data-notes' ); 74 | messageData.whitespace = 'pre-wrap'; 75 | } 76 | 77 | // Look for notes defined in a fragment 78 | if( fragmentElement ) { 79 | var fragmentNotes = fragmentElement.querySelector( 'aside.notes' ); 80 | if( fragmentNotes ) { 81 | notesElement = fragmentNotes; 82 | } 83 | else if( fragmentElement.hasAttribute( 'data-notes' ) ) { 84 | messageData.notes = fragmentElement.getAttribute( 'data-notes' ); 85 | messageData.whitespace = 'pre-wrap'; 86 | 87 | // In case there are slide notes 88 | notesElement = null; 89 | } 90 | } 91 | 92 | // Look for notes defined in an aside element 93 | if( notesElement ) { 94 | messageData.notes = notesElement.innerHTML; 95 | messageData.markdown = typeof notesElement.getAttribute( 'data-markdown' ) === 'string'; 96 | } 97 | 98 | notesPopup.postMessage( JSON.stringify( messageData ), '*' ); 99 | 100 | } 101 | 102 | /** 103 | * Called once we have established a connection to the notes 104 | * window. 105 | */ 106 | function onConnected() { 107 | 108 | // Monitor events that trigger a change in state 109 | Reveal.addEventListener( 'slidechanged', post ); 110 | Reveal.addEventListener( 'fragmentshown', post ); 111 | Reveal.addEventListener( 'fragmenthidden', post ); 112 | Reveal.addEventListener( 'overviewhidden', post ); 113 | Reveal.addEventListener( 'overviewshown', post ); 114 | Reveal.addEventListener( 'paused', post ); 115 | Reveal.addEventListener( 'resumed', post ); 116 | 117 | // Post the initial state 118 | post(); 119 | 120 | } 121 | 122 | connect(); 123 | 124 | } 125 | 126 | if( !/receiver/i.test( window.location.search ) ) { 127 | 128 | // If the there's a 'notes' query set, open directly 129 | if( window.location.search.match( /(\?|\&)notes/gi ) !== null ) { 130 | openNotes(); 131 | } 132 | 133 | // Open the notes when the 's' key is hit 134 | document.addEventListener( 'keydown', function( event ) { 135 | // Disregard the event if the target is editable or a 136 | // modifier is present 137 | if ( document.querySelector( ':focus' ) !== null || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return; 138 | 139 | // Disregard the event if keyboard is disabled 140 | if ( Reveal.getConfig().keyboard === false ) return; 141 | 142 | if( event.keyCode === 83 ) { 143 | event.preventDefault(); 144 | openNotes(); 145 | } 146 | }, false ); 147 | 148 | // Show our keyboard shortcut in the reveal.js help overlay 149 | if( window.Reveal ) Reveal.registerKeyboardShortcut( 'S', 'Speaker notes view' ); 150 | 151 | } 152 | 153 | return { open: openNotes }; 154 | 155 | })(); 156 | -------------------------------------------------------------------------------- /reveal.js/css/print/paper.css: -------------------------------------------------------------------------------- 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 | 9 | @media print { 10 | 11 | /* SECTION 1: Set default width, margin, float, and 12 | background. This prevents elements from extending 13 | beyond the edge of the printed page, and prevents 14 | unnecessary background images from printing */ 15 | html { 16 | background: #fff; 17 | width: auto; 18 | height: auto; 19 | overflow: visible; 20 | } 21 | body { 22 | background: #fff; 23 | font-size: 20pt; 24 | width: auto; 25 | height: auto; 26 | border: 0; 27 | margin: 0 5%; 28 | padding: 0; 29 | overflow: visible; 30 | float: none !important; 31 | } 32 | 33 | /* SECTION 2: Remove any elements not needed in print. 34 | This would include navigation, ads, sidebars, etc. */ 35 | .nestedarrow, 36 | .controls, 37 | .fork-reveal, 38 | .share-reveal, 39 | .state-background, 40 | .reveal .progress, 41 | .reveal .backgrounds, 42 | .reveal .slide-number { 43 | display: none !important; 44 | } 45 | 46 | /* SECTION 3: Set body font face, size, and color. 47 | Consider using a serif font for readability. */ 48 | body, p, td, li, div { 49 | font-size: 20pt!important; 50 | font-family: Georgia, "Times New Roman", Times, serif !important; 51 | color: #000; 52 | } 53 | 54 | /* SECTION 4: Set heading font face, sizes, and color. 55 | Differentiate your headings from your body text. 56 | Perhaps use a large sans-serif for distinction. */ 57 | h1,h2,h3,h4,h5,h6 { 58 | color: #000!important; 59 | height: auto; 60 | line-height: normal; 61 | font-family: Georgia, "Times New Roman", Times, serif !important; 62 | text-shadow: 0 0 0 #000 !important; 63 | text-align: left; 64 | letter-spacing: normal; 65 | } 66 | /* Need to reduce the size of the fonts for printing */ 67 | h1 { font-size: 28pt !important; } 68 | h2 { font-size: 24pt !important; } 69 | h3 { font-size: 22pt !important; } 70 | h4 { font-size: 22pt !important; font-variant: small-caps; } 71 | h5 { font-size: 21pt !important; } 72 | h6 { font-size: 20pt !important; font-style: italic; } 73 | 74 | /* SECTION 5: Make hyperlinks more usable. 75 | Ensure links are underlined, and consider appending 76 | the URL to the end of the link for usability. */ 77 | a:link, 78 | a:visited { 79 | color: #000 !important; 80 | font-weight: bold; 81 | text-decoration: underline; 82 | } 83 | /* 84 | .reveal a:link:after, 85 | .reveal a:visited:after { 86 | content: " (" attr(href) ") "; 87 | color: #222 !important; 88 | font-size: 90%; 89 | } 90 | */ 91 | 92 | 93 | /* SECTION 6: more reveal.js specific additions by @skypanther */ 94 | ul, ol, div, p { 95 | visibility: visible; 96 | position: static; 97 | width: auto; 98 | height: auto; 99 | display: block; 100 | overflow: visible; 101 | margin: 0; 102 | text-align: left !important; 103 | } 104 | .reveal pre, 105 | .reveal table { 106 | margin-left: 0; 107 | margin-right: 0; 108 | } 109 | .reveal pre code { 110 | padding: 20px; 111 | border: 1px solid #ddd; 112 | } 113 | .reveal blockquote { 114 | margin: 20px 0; 115 | } 116 | .reveal .slides { 117 | position: static !important; 118 | width: auto !important; 119 | height: auto !important; 120 | 121 | left: 0 !important; 122 | top: 0 !important; 123 | margin-left: 0 !important; 124 | margin-top: 0 !important; 125 | padding: 0 !important; 126 | zoom: 1 !important; 127 | 128 | overflow: visible !important; 129 | display: block !important; 130 | 131 | text-align: left !important; 132 | -webkit-perspective: none; 133 | -moz-perspective: none; 134 | -ms-perspective: none; 135 | perspective: none; 136 | 137 | -webkit-perspective-origin: 50% 50%; 138 | -moz-perspective-origin: 50% 50%; 139 | -ms-perspective-origin: 50% 50%; 140 | perspective-origin: 50% 50%; 141 | } 142 | .reveal .slides section { 143 | visibility: visible !important; 144 | position: static !important; 145 | width: auto !important; 146 | height: auto !important; 147 | display: block !important; 148 | overflow: visible !important; 149 | 150 | left: 0 !important; 151 | top: 0 !important; 152 | margin-left: 0 !important; 153 | margin-top: 0 !important; 154 | padding: 60px 20px !important; 155 | z-index: auto !important; 156 | 157 | opacity: 1 !important; 158 | 159 | page-break-after: always !important; 160 | 161 | -webkit-transform-style: flat !important; 162 | -moz-transform-style: flat !important; 163 | -ms-transform-style: flat !important; 164 | transform-style: flat !important; 165 | 166 | -webkit-transform: none !important; 167 | -moz-transform: none !important; 168 | -ms-transform: none !important; 169 | transform: none !important; 170 | 171 | -webkit-transition: none !important; 172 | -moz-transition: none !important; 173 | -ms-transition: none !important; 174 | transition: none !important; 175 | } 176 | .reveal .slides section.stack { 177 | padding: 0 !important; 178 | } 179 | .reveal section:last-of-type { 180 | page-break-after: avoid !important; 181 | } 182 | .reveal section .fragment { 183 | opacity: 1 !important; 184 | visibility: visible !important; 185 | 186 | -webkit-transform: none !important; 187 | -moz-transform: none !important; 188 | -ms-transform: none !important; 189 | transform: none !important; 190 | } 191 | .reveal section img { 192 | display: block; 193 | margin: 15px 0px; 194 | background: rgba(255,255,255,1); 195 | border: 1px solid #666; 196 | box-shadow: none; 197 | } 198 | 199 | .reveal section small { 200 | font-size: 0.8em; 201 | } 202 | 203 | } 204 | -------------------------------------------------------------------------------- /reveal.js/css/theme/night-rh.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | /**@font-face { 7 | font-family: 'Overpass'; 8 | src: url("../../lib/font/league_gothic-webfont.eot"); 9 | src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg"); 10 | **/ 11 | @font-face { 12 | font-family: 'Overpass'; 13 | src: url("../../lib/font/Overpass_Regular.ttf") format("truetype"); 14 | } 15 | @font-face { 16 | font-family: 'Liberation Sans'; 17 | src: url("../../lib/font/LiberationSans-Regular.ttf") format("truetype"); 18 | } 19 | /********************************************* 20 | * GLOBAL STYLES 21 | *********************************************/ 22 | body { 23 | background: #111111; 24 | background-color: #111111; } 25 | 26 | .reveal { 27 | font-family: "Overpass", "Liberation Sans", sans-serif; 28 | font-size: 30px; 29 | font-weight: normal; 30 | letter-spacing: -0.02em; 31 | color: #eeeeee; } 32 | 33 | .reveal .slide-background { 34 | height: 95%; 35 | } 36 | 37 | .reveal p, .reveal ul, .reveal ol { 38 | font-size: 60px; 39 | line-height: 1.05em; } 40 | 41 | 42 | 43 | ::selection { 44 | color: white; 45 | background: #cc0000; 46 | text-shadow: none; } 47 | 48 | /********************************************* 49 | * HEADERS 50 | *********************************************/ 51 | .reveal h1, 52 | .reveal h2, 53 | .reveal h3, 54 | .reveal h4, 55 | .reveal h5, 56 | .reveal h6 { 57 | margin: 0 0 20px 0; 58 | color: #eeeeee; 59 | font-family: "Overpass", "Liberation Sans", sans-serif; 60 | font-weight: 400; 61 | line-height: 0.9em; 62 | letter-spacing: -0.03em; 63 | text-transform: none; 64 | text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); } 65 | 66 | h1.thick, 67 | h2.thick, 68 | h3.thick, 69 | h4.thick, 70 | h5.thick, 71 | h6.thick { 72 | font-weight: 900; } 73 | 74 | /********************************************* 75 | * LISTS 76 | *********************************************/ 77 | .reveal ul, 78 | .reveal ul li { 79 | list-style: none; 80 | display: block; 81 | } 82 | 83 | /*** 84 | * fadelist class for li elements that fade 85 | * in at 1-second intervals 86 | ***/ 87 | .reveal .fadelist li { 88 | transition: all 1s ease-out; 89 | } 90 | 91 | .reveal .fadelist li:nth-child(1) { 92 | transition-delay: 1s; 93 | } 94 | .reveal .fadelist li:nth-child(2) { 95 | transition-delay: 2s; 96 | } 97 | .reveal .fadelist li:nth-child(3) { 98 | transition-delay: 3s; 99 | } 100 | .reveal .fadelist li:nth-child(4) { 101 | transition-delay: 4s; 102 | } 103 | .reveal .fadelist li:nth-child(5) { 104 | transition-delay: 5s; 105 | } 106 | .reveal .fadelist li:nth-child(6) { 107 | transition-delay: 6s; 108 | } 109 | .reveal .fadelist li:nth-child(7) { 110 | transition-delay: 7s; 111 | } 112 | .reveal .fadelist li:nth-child(8) { 113 | transition-delay: 8s; 114 | } 115 | 116 | .reveal .future .fadelist li { 117 | opacity: 0; 118 | transition: 0s; 119 | transition-delay: 0s; 120 | } 121 | /* End fadelist class */ 122 | 123 | .reveal ul:not(.nobullets) > li:before { 124 | content: ""; 125 | transition: all 2.5s; 126 | width: .13em; 127 | height: .7em; 128 | margin-top: .16em; 129 | background-color: #a30000; 130 | position: absolute; 131 | margin-left: -0.6em; 132 | } 133 | 134 | .reveal li > ul > li { 135 | font-size: 50px; 136 | } 137 | 138 | .reveal ul:not(.nobullets) li > ul > li:before { 139 | background-color: #007a87; 140 | margin-top: .2em; 141 | } 142 | 143 | .reveal ul:not(.nobullets) li > ul > li > ul > li:before { 144 | background-color: #5bc6e8; 145 | } 146 | 147 | /********************************************* 148 | * LINKS 149 | *********************************************/ 150 | .reveal a:not(.image) { 151 | color: #cc0000; 152 | text-decoration: none; 153 | -webkit-transition: color .15s ease; 154 | -moz-transition: color .15s ease; 155 | -ms-transition: color .15s ease; 156 | -o-transition: color .15s ease; 157 | transition: color .15s ease; } 158 | 159 | .reveal a:not(.image):hover { 160 | color: #ec7a08; 161 | text-shadow: none; 162 | border: none; } 163 | 164 | .reveal .roll span:after { 165 | color: #fff; 166 | background: #d08a1d; } 167 | 168 | /********************************************* 169 | * IMAGES 170 | *********************************************/ 171 | .reveal section img { 172 | margin: 15px 0px; 173 | background: rgba(255, 255, 255, 0.12); 174 | border: 4px solid #eeeeee; 175 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); 176 | -webkit-transition: all .2s linear; 177 | -moz-transition: all .2s linear; 178 | -ms-transition: all .2s linear; 179 | -o-transition: all .2s linear; 180 | transition: all .2s linear; } 181 | 182 | .reveal a:hover img { 183 | background: rgba(255, 255, 255, 0.2); 184 | border-color: #cc0000; 185 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 186 | 187 | /********************************************* 188 | * NAVIGATION CONTROLS 189 | *********************************************/ 190 | .reveal .controls div.navigate-left, 191 | .reveal .controls div.navigate-left.enabled { 192 | border-right-color: #cc0000; } 193 | 194 | .reveal .controls div.navigate-right, 195 | .reveal .controls div.navigate-right.enabled { 196 | border-left-color: #cc0000; } 197 | 198 | .reveal .controls div.navigate-up, 199 | .reveal .controls div.navigate-up.enabled { 200 | border-bottom-color: #cc0000; } 201 | 202 | .reveal .controls div.navigate-down, 203 | .reveal .controls div.navigate-down.enabled { 204 | border-top-color: #cc0000; } 205 | 206 | .reveal .controls div.navigate-left.enabled:hover { 207 | border-right-color: #f3d7ac; } 208 | 209 | .reveal .controls div.navigate-right.enabled:hover { 210 | border-left-color: #f3d7ac; } 211 | 212 | .reveal .controls div.navigate-up.enabled:hover { 213 | border-bottom-color: #f3d7ac; } 214 | 215 | .reveal .controls div.navigate-down.enabled:hover { 216 | border-top-color: #f3d7ac; } 217 | 218 | /********************************************* 219 | * PROGRESS BAR 220 | *********************************************/ 221 | .reveal .progress { 222 | background: rgba(0, 0, 0, 0.2); } 223 | 224 | .reveal .progress span { 225 | background: #cc0000; 226 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 227 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 228 | -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 229 | -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 230 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 231 | 232 | /********************************************* 233 | * SLIDE NUMBER 234 | *********************************************/ 235 | .reveal .slide-number { 236 | color: #cc0000; } 237 | -------------------------------------------------------------------------------- /reveal.js/lib/font/overpass/overpass.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'overpass'; 3 | src: url('overpass-thin.eot'); /* IE9 Compat Modes */ 4 | src: url('overpass-thin.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ 5 | url('overpass-thin.woff2') format('woff2'), /* Super Modern Browsers */ 6 | url('overpass-thin.woff') format('woff'), /* Pretty Modern Browsers */ 7 | url('overpass-thin.ttf') format('truetype'); /* Safari, Android, iOS */ 8 | font-weight: 200; 9 | font-style: normal; 10 | } 11 | 12 | @font-face { 13 | font-family: 'overpass'; 14 | src: url('overpass-thin-italic.eot'); 15 | src: url('overpass-thin-italic.eot?#iefix') format('embedded-opentype'), 16 | url('overpass-thin-italic.woff2') format('woff2'), 17 | url('overpass-thin-italic.woff') format('woff'), 18 | url('overpass-thin-italic.ttf') format('truetype'); 19 | font-weight: 200; 20 | font-style: italic; 21 | } 22 | 23 | 24 | @font-face { 25 | font-family: 'overpass'; 26 | src: url('overpass-extralight.eot'); 27 | src: url('overpass-extralight.eot?#iefix') format('embedded-opentype'), 28 | url('overpass-extralight.woff2') format('woff2'), 29 | url('overpass-extralight.woff') format('woff'), 30 | url('overpass-extralight.ttf') format('truetype'); 31 | font-weight: 300; 32 | font-style: normal; 33 | } 34 | 35 | @font-face { 36 | font-family: 'overpass'; 37 | src: url('overpass-extralight-italic.eot'); 38 | src: url('overpass-extralight-italic.eot?#iefix') format('embedded-opentype'), 39 | url('overpass-extralight-italic.woff2') format('woff2'), 40 | url('overpass-extralight-italic.woff') format('woff'), 41 | url('overpass-extralight-italic.ttf') format('truetype'); 42 | font-weight: 300; 43 | font-style: italic; 44 | } 45 | 46 | 47 | 48 | @font-face { 49 | font-family: 'overpass'; 50 | src: url('overpass-light.eot'); 51 | src: url('overpass-light.eot?#iefix') format('embedded-opentype'), 52 | url('overpass-light.woff2') format('woff2'), 53 | url('overpass-light.woff') format('woff'), 54 | url('overpass-light.ttf') format('truetype'); 55 | font-weight: 400; 56 | font-style: normal; 57 | } 58 | 59 | @font-face { 60 | font-family: 'overpass'; 61 | src: url('overpass-light-italic.eot'); 62 | src: url('overpass-light-italic.eot?#iefix') format('embedded-opentype'), 63 | url('overpass-light-italic.woff2') format('woff2'), 64 | url('overpass-light-italic.woff') format('woff'), 65 | url('overpass-light-italic.ttf') format('truetype'); 66 | font-weight: 400; 67 | font-style: italic; 68 | } 69 | 70 | 71 | 72 | @font-face { 73 | font-family: 'overpass'; 74 | src: url('overpass-regular.eot'); 75 | src: url('overpass-regular.eot?#iefix') format('embedded-opentype'), 76 | url('overpass-regular.woff2') format('woff2'), 77 | url('overpass-regular.woff') format('woff'), 78 | url('overpass-regular.ttf') format('truetype'); 79 | font-weight: 500; 80 | font-style: normal; 81 | } 82 | 83 | @font-face { 84 | font-family: 'overpass'; 85 | src: url('overpass-italic.eot'); 86 | src: url('overpass-italic.eot?#iefix') format('embedded-opentype'), 87 | url('overpass-italic.woff2') format('woff2'), 88 | url('overpass-italic.woff') format('woff'), 89 | url('overpass-italic.ttf') format('truetype'); 90 | font-weight: 500; 91 | font-style: italic; 92 | } 93 | 94 | 95 | 96 | 97 | @font-face { 98 | font-family: 'overpass'; 99 | src: url('overpass-semibold.eot'); 100 | src: url('overpass-semibold.eot?#iefix') format('embedded-opentype'), 101 | url('overpass-semibold.woff2') format('woff2'), 102 | url('overpass-semibold.woff') format('woff'), 103 | url('overpass-semibold.ttf') format('truetype'); 104 | font-weight: 600; 105 | font-style: normal; 106 | } 107 | 108 | @font-face { 109 | font-family: 'overpass'; 110 | src: url('overpass-semibold-italic.eot'); 111 | src: url('overpass-semibold-italic.eot?#iefix') format('embedded-opentype'), 112 | url('overpass-semibold-italic.woff2') format('woff2'), 113 | url('overpass-semibold-italic.woff') format('woff'), 114 | url('overpass-semibold-italic.ttf') format('truetype'); 115 | font-weight: 600; 116 | font-style: italic; 117 | } 118 | 119 | 120 | 121 | 122 | @font-face { 123 | font-family: 'overpass'; 124 | src: url('overpass-bold.eot'); 125 | src: url('overpass-bold.eot?#iefix') format('embedded-opentype'), 126 | url('overpass-bold.woff2') format('woff2'), 127 | url('overpass-bold.woff') format('woff'), 128 | url('overpass-bold.ttf') format('truetype'); 129 | font-weight: 700; 130 | font-style: normal; 131 | } 132 | 133 | @font-face { 134 | font-family: 'overpass'; 135 | src: url('overpass-bold-italic.eot'); 136 | src: url('overpass-bold-italic.eot?#iefix') format('embedded-opentype'), 137 | url('overpass-bold-italic.woff2') format('woff2'), 138 | url('overpass-bold-italic.woff') format('woff'), 139 | url('overpass-bold-italic.ttf') format('truetype'); 140 | font-weight: 700; 141 | font-style: italic; 142 | } 143 | 144 | 145 | 146 | @font-face { 147 | font-family: 'overpass'; 148 | src: url('overpass-extrabold.eot'); 149 | src: url('overpass-extrabold.eot?#iefix') format('embedded-opentype'), 150 | url('overpass-extrabold.woff2') format('woff2'), 151 | url('overpass-extrabold.woff') format('woff'), 152 | url('overpass-extrabold.ttf') format('truetype'); 153 | font-weight: 800; 154 | font-style: normal; 155 | } 156 | 157 | @font-face { 158 | font-family: 'overpass'; 159 | src: url('overpass-extrabold-italic.eot'); 160 | src: url('overpass-extrabold-italic.eot?#iefix') format('embedded-opentype'), 161 | url('overpass-extrabold-italic.woff2') format('woff2'), 162 | url('overpass-extrabold-italic.woff') format('woff'), 163 | url('overpass-extrabold-italic.ttf') format('truetype'); 164 | font-weight: 800; 165 | font-style: italic; 166 | } 167 | 168 | 169 | @font-face { 170 | font-family: 'overpass'; 171 | src: url('overpass-heavy.eot'); 172 | src: url('overpass-heavy.eot?#iefix') format('embedded-opentype'), 173 | url('overpass-heavy.woff2') format('woff2'), 174 | url('overpass-heavy.woff') format('woff'), 175 | url('overpass-heavy.ttf') format('truetype'); 176 | font-weight: 900; 177 | font-style: normal; 178 | } 179 | 180 | @font-face { 181 | font-family: 'overpass'; 182 | src: url('overpass-heavy-italic.eot'); 183 | src: url('overpass-heavy-italic.eot?#iefix') format('embedded-opentype'), 184 | url('overpass-heavy-italic.woff2') format('woff2'), 185 | url('overpass-heavy-italic.woff') format('woff'), 186 | url('overpass-heavy-italic.ttf') format('truetype'); 187 | font-weight: 900; 188 | font-style: italic; 189 | } 190 | -------------------------------------------------------------------------------- /reveal.js/css/theme/night.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | @import url(https://fonts.googleapis.com/css?family=Montserrat:700); 7 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); 8 | /********************************************* 9 | * GLOBAL STYLES 10 | *********************************************/ 11 | body { 12 | background: #111; 13 | background-color: #111; } 14 | 15 | .reveal { 16 | font-family: "Open Sans", sans-serif; 17 | font-size: 40px; 18 | font-weight: normal; 19 | color: #eee; } 20 | 21 | ::selection { 22 | color: #fff; 23 | background: #e7ad52; 24 | text-shadow: none; } 25 | 26 | ::-moz-selection { 27 | color: #fff; 28 | background: #e7ad52; 29 | text-shadow: none; } 30 | 31 | .reveal .slides > section, 32 | .reveal .slides > section > section { 33 | line-height: 1.3; 34 | font-weight: inherit; } 35 | 36 | /********************************************* 37 | * HEADERS 38 | *********************************************/ 39 | .reveal h1, 40 | .reveal h2, 41 | .reveal h3, 42 | .reveal h4, 43 | .reveal h5, 44 | .reveal h6 { 45 | margin: 0 0 20px 0; 46 | color: #eee; 47 | font-family: "Montserrat", Impact, sans-serif; 48 | font-weight: normal; 49 | line-height: 1.2; 50 | letter-spacing: -0.03em; 51 | text-transform: none; 52 | text-shadow: none; 53 | word-wrap: break-word; } 54 | 55 | .reveal h1 { 56 | font-size: 3.77em; } 57 | 58 | .reveal h2 { 59 | font-size: 2.11em; } 60 | 61 | .reveal h3 { 62 | font-size: 1.55em; } 63 | 64 | .reveal h4 { 65 | font-size: 1em; } 66 | 67 | .reveal h1 { 68 | text-shadow: none; } 69 | 70 | /********************************************* 71 | * OTHER 72 | *********************************************/ 73 | .reveal p { 74 | margin: 20px 0; 75 | line-height: 1.3; } 76 | 77 | /* Ensure certain elements are never larger than the slide itself */ 78 | .reveal img, 79 | .reveal video, 80 | .reveal iframe { 81 | max-width: 95%; 82 | max-height: 95%; } 83 | 84 | .reveal strong, 85 | .reveal b { 86 | font-weight: bold; } 87 | 88 | .reveal em { 89 | font-style: italic; } 90 | 91 | .reveal ol, 92 | .reveal dl, 93 | .reveal ul { 94 | display: inline-block; 95 | text-align: left; 96 | margin: 0 0 0 1em; } 97 | 98 | .reveal ol { 99 | list-style-type: decimal; } 100 | 101 | .reveal ul { 102 | list-style-type: disc; } 103 | 104 | .reveal ul ul { 105 | list-style-type: square; } 106 | 107 | .reveal ul ul ul { 108 | list-style-type: circle; } 109 | 110 | .reveal ul ul, 111 | .reveal ul ol, 112 | .reveal ol ol, 113 | .reveal ol ul { 114 | display: block; 115 | margin-left: 40px; } 116 | 117 | .reveal dt { 118 | font-weight: bold; } 119 | 120 | .reveal dd { 121 | margin-left: 40px; } 122 | 123 | .reveal q, 124 | .reveal blockquote { 125 | quotes: none; } 126 | 127 | .reveal blockquote { 128 | display: block; 129 | position: relative; 130 | width: 70%; 131 | margin: 20px auto; 132 | padding: 5px; 133 | font-style: italic; 134 | background: rgba(255, 255, 255, 0.05); 135 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 136 | 137 | .reveal blockquote p:first-child, 138 | .reveal blockquote p:last-child { 139 | display: inline-block; } 140 | 141 | .reveal q { 142 | font-style: italic; } 143 | 144 | .reveal pre { 145 | display: block; 146 | position: relative; 147 | width: 90%; 148 | margin: 20px auto; 149 | text-align: left; 150 | font-size: 0.55em; 151 | font-family: monospace; 152 | line-height: 1.2em; 153 | word-wrap: break-word; 154 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 155 | 156 | .reveal code { 157 | font-family: monospace; } 158 | 159 | .reveal pre code { 160 | display: block; 161 | padding: 5px; 162 | overflow: auto; 163 | max-height: 400px; 164 | word-wrap: normal; } 165 | 166 | .reveal table { 167 | margin: auto; 168 | border-collapse: collapse; 169 | border-spacing: 0; } 170 | 171 | .reveal table th { 172 | font-weight: bold; } 173 | 174 | .reveal table th, 175 | .reveal table td { 176 | text-align: left; 177 | padding: 0.2em 0.5em 0.2em 0.5em; 178 | border-bottom: 1px solid; } 179 | 180 | .reveal table th[align="center"], 181 | .reveal table td[align="center"] { 182 | text-align: center; } 183 | 184 | .reveal table th[align="right"], 185 | .reveal table td[align="right"] { 186 | text-align: right; } 187 | 188 | .reveal table tbody tr:last-child th, 189 | .reveal table tbody tr:last-child td { 190 | border-bottom: none; } 191 | 192 | .reveal sup { 193 | vertical-align: super; } 194 | 195 | .reveal sub { 196 | vertical-align: sub; } 197 | 198 | .reveal small { 199 | display: inline-block; 200 | font-size: 0.6em; 201 | line-height: 1.2em; 202 | vertical-align: top; } 203 | 204 | .reveal small * { 205 | vertical-align: top; } 206 | 207 | /********************************************* 208 | * LINKS 209 | *********************************************/ 210 | .reveal a { 211 | color: #e7ad52; 212 | text-decoration: none; 213 | -webkit-transition: color .15s ease; 214 | -moz-transition: color .15s ease; 215 | transition: color .15s ease; } 216 | 217 | .reveal a:hover { 218 | color: #f3d7ac; 219 | text-shadow: none; 220 | border: none; } 221 | 222 | .reveal .roll span:after { 223 | color: #fff; 224 | background: #d08a1d; } 225 | 226 | /********************************************* 227 | * IMAGES 228 | *********************************************/ 229 | .reveal section img { 230 | margin: 15px 0px; 231 | background: rgba(255, 255, 255, 0.12); 232 | border: 4px solid #eee; 233 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 234 | 235 | .reveal section img.plain { 236 | border: 0; 237 | box-shadow: none; } 238 | 239 | .reveal a img { 240 | -webkit-transition: all .15s linear; 241 | -moz-transition: all .15s linear; 242 | transition: all .15s linear; } 243 | 244 | .reveal a:hover img { 245 | background: rgba(255, 255, 255, 0.2); 246 | border-color: #e7ad52; 247 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 248 | 249 | /********************************************* 250 | * NAVIGATION CONTROLS 251 | *********************************************/ 252 | .reveal .controls .navigate-left, 253 | .reveal .controls .navigate-left.enabled { 254 | border-right-color: #e7ad52; } 255 | 256 | .reveal .controls .navigate-right, 257 | .reveal .controls .navigate-right.enabled { 258 | border-left-color: #e7ad52; } 259 | 260 | .reveal .controls .navigate-up, 261 | .reveal .controls .navigate-up.enabled { 262 | border-bottom-color: #e7ad52; } 263 | 264 | .reveal .controls .navigate-down, 265 | .reveal .controls .navigate-down.enabled { 266 | border-top-color: #e7ad52; } 267 | 268 | .reveal .controls .navigate-left.enabled:hover { 269 | border-right-color: #f3d7ac; } 270 | 271 | .reveal .controls .navigate-right.enabled:hover { 272 | border-left-color: #f3d7ac; } 273 | 274 | .reveal .controls .navigate-up.enabled:hover { 275 | border-bottom-color: #f3d7ac; } 276 | 277 | .reveal .controls .navigate-down.enabled:hover { 278 | border-top-color: #f3d7ac; } 279 | 280 | /********************************************* 281 | * PROGRESS BAR 282 | *********************************************/ 283 | .reveal .progress { 284 | background: rgba(0, 0, 0, 0.2); } 285 | 286 | .reveal .progress span { 287 | background: #e7ad52; 288 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 289 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 290 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 291 | -------------------------------------------------------------------------------- /reveal.js/css/theme/serif.css: -------------------------------------------------------------------------------- 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 | .reveal a { 8 | line-height: 1.3em; } 9 | 10 | /********************************************* 11 | * GLOBAL STYLES 12 | *********************************************/ 13 | body { 14 | background: #F0F1EB; 15 | background-color: #F0F1EB; } 16 | 17 | .reveal { 18 | font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif; 19 | font-size: 40px; 20 | font-weight: normal; 21 | color: #000; } 22 | 23 | ::selection { 24 | color: #fff; 25 | background: #26351C; 26 | text-shadow: none; } 27 | 28 | ::-moz-selection { 29 | color: #fff; 30 | background: #26351C; 31 | text-shadow: none; } 32 | 33 | .reveal .slides > section, 34 | .reveal .slides > section > section { 35 | line-height: 1.3; 36 | font-weight: inherit; } 37 | 38 | /********************************************* 39 | * HEADERS 40 | *********************************************/ 41 | .reveal h1, 42 | .reveal h2, 43 | .reveal h3, 44 | .reveal h4, 45 | .reveal h5, 46 | .reveal h6 { 47 | margin: 0 0 20px 0; 48 | color: #383D3D; 49 | font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif; 50 | font-weight: normal; 51 | line-height: 1.2; 52 | letter-spacing: normal; 53 | text-transform: none; 54 | text-shadow: none; 55 | word-wrap: break-word; } 56 | 57 | .reveal h1 { 58 | font-size: 3.77em; } 59 | 60 | .reveal h2 { 61 | font-size: 2.11em; } 62 | 63 | .reveal h3 { 64 | font-size: 1.55em; } 65 | 66 | .reveal h4 { 67 | font-size: 1em; } 68 | 69 | .reveal h1 { 70 | text-shadow: none; } 71 | 72 | /********************************************* 73 | * OTHER 74 | *********************************************/ 75 | .reveal p { 76 | margin: 20px 0; 77 | line-height: 1.3; } 78 | 79 | /* Ensure certain elements are never larger than the slide itself */ 80 | .reveal img, 81 | .reveal video, 82 | .reveal iframe { 83 | max-width: 95%; 84 | max-height: 95%; } 85 | 86 | .reveal strong, 87 | .reveal b { 88 | font-weight: bold; } 89 | 90 | .reveal em { 91 | font-style: italic; } 92 | 93 | .reveal ol, 94 | .reveal dl, 95 | .reveal ul { 96 | display: inline-block; 97 | text-align: left; 98 | margin: 0 0 0 1em; } 99 | 100 | .reveal ol { 101 | list-style-type: decimal; } 102 | 103 | .reveal ul { 104 | list-style-type: disc; } 105 | 106 | .reveal ul ul { 107 | list-style-type: square; } 108 | 109 | .reveal ul ul ul { 110 | list-style-type: circle; } 111 | 112 | .reveal ul ul, 113 | .reveal ul ol, 114 | .reveal ol ol, 115 | .reveal ol ul { 116 | display: block; 117 | margin-left: 40px; } 118 | 119 | .reveal dt { 120 | font-weight: bold; } 121 | 122 | .reveal dd { 123 | margin-left: 40px; } 124 | 125 | .reveal q, 126 | .reveal blockquote { 127 | quotes: none; } 128 | 129 | .reveal blockquote { 130 | display: block; 131 | position: relative; 132 | width: 70%; 133 | margin: 20px auto; 134 | padding: 5px; 135 | font-style: italic; 136 | background: rgba(255, 255, 255, 0.05); 137 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 138 | 139 | .reveal blockquote p:first-child, 140 | .reveal blockquote p:last-child { 141 | display: inline-block; } 142 | 143 | .reveal q { 144 | font-style: italic; } 145 | 146 | .reveal pre { 147 | display: block; 148 | position: relative; 149 | width: 90%; 150 | margin: 20px auto; 151 | text-align: left; 152 | font-size: 0.55em; 153 | font-family: monospace; 154 | line-height: 1.2em; 155 | word-wrap: break-word; 156 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 157 | 158 | .reveal code { 159 | font-family: monospace; } 160 | 161 | .reveal pre code { 162 | display: block; 163 | padding: 5px; 164 | overflow: auto; 165 | max-height: 400px; 166 | word-wrap: normal; } 167 | 168 | .reveal table { 169 | margin: auto; 170 | border-collapse: collapse; 171 | border-spacing: 0; } 172 | 173 | .reveal table th { 174 | font-weight: bold; } 175 | 176 | .reveal table th, 177 | .reveal table td { 178 | text-align: left; 179 | padding: 0.2em 0.5em 0.2em 0.5em; 180 | border-bottom: 1px solid; } 181 | 182 | .reveal table th[align="center"], 183 | .reveal table td[align="center"] { 184 | text-align: center; } 185 | 186 | .reveal table th[align="right"], 187 | .reveal table td[align="right"] { 188 | text-align: right; } 189 | 190 | .reveal table tbody tr:last-child th, 191 | .reveal table tbody tr:last-child td { 192 | border-bottom: none; } 193 | 194 | .reveal sup { 195 | vertical-align: super; } 196 | 197 | .reveal sub { 198 | vertical-align: sub; } 199 | 200 | .reveal small { 201 | display: inline-block; 202 | font-size: 0.6em; 203 | line-height: 1.2em; 204 | vertical-align: top; } 205 | 206 | .reveal small * { 207 | vertical-align: top; } 208 | 209 | /********************************************* 210 | * LINKS 211 | *********************************************/ 212 | .reveal a { 213 | color: #51483D; 214 | text-decoration: none; 215 | -webkit-transition: color .15s ease; 216 | -moz-transition: color .15s ease; 217 | transition: color .15s ease; } 218 | 219 | .reveal a:hover { 220 | color: #8b7c69; 221 | text-shadow: none; 222 | border: none; } 223 | 224 | .reveal .roll span:after { 225 | color: #fff; 226 | background: #25211c; } 227 | 228 | /********************************************* 229 | * IMAGES 230 | *********************************************/ 231 | .reveal section img { 232 | margin: 15px 0px; 233 | background: rgba(255, 255, 255, 0.12); 234 | border: 4px solid #000; 235 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 236 | 237 | .reveal section img.plain { 238 | border: 0; 239 | box-shadow: none; } 240 | 241 | .reveal a img { 242 | -webkit-transition: all .15s linear; 243 | -moz-transition: all .15s linear; 244 | transition: all .15s linear; } 245 | 246 | .reveal a:hover img { 247 | background: rgba(255, 255, 255, 0.2); 248 | border-color: #51483D; 249 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 250 | 251 | /********************************************* 252 | * NAVIGATION CONTROLS 253 | *********************************************/ 254 | .reveal .controls .navigate-left, 255 | .reveal .controls .navigate-left.enabled { 256 | border-right-color: #51483D; } 257 | 258 | .reveal .controls .navigate-right, 259 | .reveal .controls .navigate-right.enabled { 260 | border-left-color: #51483D; } 261 | 262 | .reveal .controls .navigate-up, 263 | .reveal .controls .navigate-up.enabled { 264 | border-bottom-color: #51483D; } 265 | 266 | .reveal .controls .navigate-down, 267 | .reveal .controls .navigate-down.enabled { 268 | border-top-color: #51483D; } 269 | 270 | .reveal .controls .navigate-left.enabled:hover { 271 | border-right-color: #8b7c69; } 272 | 273 | .reveal .controls .navigate-right.enabled:hover { 274 | border-left-color: #8b7c69; } 275 | 276 | .reveal .controls .navigate-up.enabled:hover { 277 | border-bottom-color: #8b7c69; } 278 | 279 | .reveal .controls .navigate-down.enabled:hover { 280 | border-top-color: #8b7c69; } 281 | 282 | /********************************************* 283 | * PROGRESS BAR 284 | *********************************************/ 285 | .reveal .progress { 286 | background: rgba(0, 0, 0, 0.2); } 287 | 288 | .reveal .progress span { 289 | background: #51483D; 290 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 291 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 292 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 293 | -------------------------------------------------------------------------------- /reveal.js/css/theme/moon.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Solarized Dark theme for reveal.js. 3 | * Author: Achim Staebler 4 | */ 5 | @import url(../../lib/font/league-gothic/league-gothic.css); 6 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 7 | /** 8 | * Solarized colors by Ethan Schoonover 9 | */ 10 | html * { 11 | color-profile: sRGB; 12 | rendering-intent: auto; } 13 | 14 | /********************************************* 15 | * GLOBAL STYLES 16 | *********************************************/ 17 | body { 18 | background: #002b36; 19 | background-color: #002b36; } 20 | 21 | .reveal { 22 | font-family: "Lato", sans-serif; 23 | font-size: 40px; 24 | font-weight: normal; 25 | color: #93a1a1; } 26 | 27 | ::selection { 28 | color: #fff; 29 | background: #d33682; 30 | text-shadow: none; } 31 | 32 | ::-moz-selection { 33 | color: #fff; 34 | background: #d33682; 35 | text-shadow: none; } 36 | 37 | .reveal .slides > section, 38 | .reveal .slides > section > section { 39 | line-height: 1.3; 40 | font-weight: inherit; } 41 | 42 | /********************************************* 43 | * HEADERS 44 | *********************************************/ 45 | .reveal h1, 46 | .reveal h2, 47 | .reveal h3, 48 | .reveal h4, 49 | .reveal h5, 50 | .reveal h6 { 51 | margin: 0 0 20px 0; 52 | color: #eee8d5; 53 | font-family: "League Gothic", Impact, sans-serif; 54 | font-weight: normal; 55 | line-height: 1.2; 56 | letter-spacing: normal; 57 | text-transform: none; 58 | text-shadow: none; 59 | word-wrap: break-word; } 60 | 61 | .reveal h1 { 62 | font-size: 3.77em; } 63 | 64 | .reveal h2 { 65 | font-size: 2.11em; } 66 | 67 | .reveal h3 { 68 | font-size: 1.55em; } 69 | 70 | .reveal h4 { 71 | font-size: 1em; } 72 | 73 | .reveal h1 { 74 | text-shadow: none; } 75 | 76 | /********************************************* 77 | * OTHER 78 | *********************************************/ 79 | .reveal p { 80 | margin: 20px 0; 81 | line-height: 1.3; } 82 | 83 | /* Ensure certain elements are never larger than the slide itself */ 84 | .reveal img, 85 | .reveal video, 86 | .reveal iframe { 87 | max-width: 95%; 88 | max-height: 95%; } 89 | 90 | .reveal strong, 91 | .reveal b { 92 | font-weight: bold; } 93 | 94 | .reveal em { 95 | font-style: italic; } 96 | 97 | .reveal ol, 98 | .reveal dl, 99 | .reveal ul { 100 | display: inline-block; 101 | text-align: left; 102 | margin: 0 0 0 1em; } 103 | 104 | .reveal ol { 105 | list-style-type: decimal; } 106 | 107 | .reveal ul { 108 | list-style-type: disc; } 109 | 110 | .reveal ul ul { 111 | list-style-type: square; } 112 | 113 | .reveal ul ul ul { 114 | list-style-type: circle; } 115 | 116 | .reveal ul ul, 117 | .reveal ul ol, 118 | .reveal ol ol, 119 | .reveal ol ul { 120 | display: block; 121 | margin-left: 40px; } 122 | 123 | .reveal dt { 124 | font-weight: bold; } 125 | 126 | .reveal dd { 127 | margin-left: 40px; } 128 | 129 | .reveal q, 130 | .reveal blockquote { 131 | quotes: none; } 132 | 133 | .reveal blockquote { 134 | display: block; 135 | position: relative; 136 | width: 70%; 137 | margin: 20px auto; 138 | padding: 5px; 139 | font-style: italic; 140 | background: rgba(255, 255, 255, 0.05); 141 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 142 | 143 | .reveal blockquote p:first-child, 144 | .reveal blockquote p:last-child { 145 | display: inline-block; } 146 | 147 | .reveal q { 148 | font-style: italic; } 149 | 150 | .reveal pre { 151 | display: block; 152 | position: relative; 153 | width: 90%; 154 | margin: 20px auto; 155 | text-align: left; 156 | font-size: 0.55em; 157 | font-family: monospace; 158 | line-height: 1.2em; 159 | word-wrap: break-word; 160 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 161 | 162 | .reveal code { 163 | font-family: monospace; } 164 | 165 | .reveal pre code { 166 | display: block; 167 | padding: 5px; 168 | overflow: auto; 169 | max-height: 400px; 170 | word-wrap: normal; } 171 | 172 | .reveal table { 173 | margin: auto; 174 | border-collapse: collapse; 175 | border-spacing: 0; } 176 | 177 | .reveal table th { 178 | font-weight: bold; } 179 | 180 | .reveal table th, 181 | .reveal table td { 182 | text-align: left; 183 | padding: 0.2em 0.5em 0.2em 0.5em; 184 | border-bottom: 1px solid; } 185 | 186 | .reveal table th[align="center"], 187 | .reveal table td[align="center"] { 188 | text-align: center; } 189 | 190 | .reveal table th[align="right"], 191 | .reveal table td[align="right"] { 192 | text-align: right; } 193 | 194 | .reveal table tbody tr:last-child th, 195 | .reveal table tbody tr:last-child td { 196 | border-bottom: none; } 197 | 198 | .reveal sup { 199 | vertical-align: super; } 200 | 201 | .reveal sub { 202 | vertical-align: sub; } 203 | 204 | .reveal small { 205 | display: inline-block; 206 | font-size: 0.6em; 207 | line-height: 1.2em; 208 | vertical-align: top; } 209 | 210 | .reveal small * { 211 | vertical-align: top; } 212 | 213 | /********************************************* 214 | * LINKS 215 | *********************************************/ 216 | .reveal a { 217 | color: #268bd2; 218 | text-decoration: none; 219 | -webkit-transition: color .15s ease; 220 | -moz-transition: color .15s ease; 221 | transition: color .15s ease; } 222 | 223 | .reveal a:hover { 224 | color: #78b9e6; 225 | text-shadow: none; 226 | border: none; } 227 | 228 | .reveal .roll span:after { 229 | color: #fff; 230 | background: #1a6091; } 231 | 232 | /********************************************* 233 | * IMAGES 234 | *********************************************/ 235 | .reveal section img { 236 | margin: 15px 0px; 237 | background: rgba(255, 255, 255, 0.12); 238 | border: 4px solid #93a1a1; 239 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 240 | 241 | .reveal section img.plain { 242 | border: 0; 243 | box-shadow: none; } 244 | 245 | .reveal a img { 246 | -webkit-transition: all .15s linear; 247 | -moz-transition: all .15s linear; 248 | transition: all .15s linear; } 249 | 250 | .reveal a:hover img { 251 | background: rgba(255, 255, 255, 0.2); 252 | border-color: #268bd2; 253 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 254 | 255 | /********************************************* 256 | * NAVIGATION CONTROLS 257 | *********************************************/ 258 | .reveal .controls .navigate-left, 259 | .reveal .controls .navigate-left.enabled { 260 | border-right-color: #268bd2; } 261 | 262 | .reveal .controls .navigate-right, 263 | .reveal .controls .navigate-right.enabled { 264 | border-left-color: #268bd2; } 265 | 266 | .reveal .controls .navigate-up, 267 | .reveal .controls .navigate-up.enabled { 268 | border-bottom-color: #268bd2; } 269 | 270 | .reveal .controls .navigate-down, 271 | .reveal .controls .navigate-down.enabled { 272 | border-top-color: #268bd2; } 273 | 274 | .reveal .controls .navigate-left.enabled:hover { 275 | border-right-color: #78b9e6; } 276 | 277 | .reveal .controls .navigate-right.enabled:hover { 278 | border-left-color: #78b9e6; } 279 | 280 | .reveal .controls .navigate-up.enabled:hover { 281 | border-bottom-color: #78b9e6; } 282 | 283 | .reveal .controls .navigate-down.enabled:hover { 284 | border-top-color: #78b9e6; } 285 | 286 | /********************************************* 287 | * PROGRESS BAR 288 | *********************************************/ 289 | .reveal .progress { 290 | background: rgba(0, 0, 0, 0.2); } 291 | 292 | .reveal .progress span { 293 | background: #268bd2; 294 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 295 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 296 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 297 | -------------------------------------------------------------------------------- /reveal.js/css/theme/solarized.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Solarized Light theme for reveal.js. 3 | * Author: Achim Staebler 4 | */ 5 | @import url(../../lib/font/league-gothic/league-gothic.css); 6 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 7 | /** 8 | * Solarized colors by Ethan Schoonover 9 | */ 10 | html * { 11 | color-profile: sRGB; 12 | rendering-intent: auto; } 13 | 14 | /********************************************* 15 | * GLOBAL STYLES 16 | *********************************************/ 17 | body { 18 | background: #fdf6e3; 19 | background-color: #fdf6e3; } 20 | 21 | .reveal { 22 | font-family: "Lato", sans-serif; 23 | font-size: 40px; 24 | font-weight: normal; 25 | color: #657b83; } 26 | 27 | ::selection { 28 | color: #fff; 29 | background: #d33682; 30 | text-shadow: none; } 31 | 32 | ::-moz-selection { 33 | color: #fff; 34 | background: #d33682; 35 | text-shadow: none; } 36 | 37 | .reveal .slides > section, 38 | .reveal .slides > section > section { 39 | line-height: 1.3; 40 | font-weight: inherit; } 41 | 42 | /********************************************* 43 | * HEADERS 44 | *********************************************/ 45 | .reveal h1, 46 | .reveal h2, 47 | .reveal h3, 48 | .reveal h4, 49 | .reveal h5, 50 | .reveal h6 { 51 | margin: 0 0 20px 0; 52 | color: #586e75; 53 | font-family: "League Gothic", Impact, sans-serif; 54 | font-weight: normal; 55 | line-height: 1.2; 56 | letter-spacing: normal; 57 | text-transform: none; 58 | text-shadow: none; 59 | word-wrap: break-word; } 60 | 61 | .reveal h1 { 62 | font-size: 3.77em; } 63 | 64 | .reveal h2 { 65 | font-size: 2.11em; } 66 | 67 | .reveal h3 { 68 | font-size: 1.55em; } 69 | 70 | .reveal h4 { 71 | font-size: 1em; } 72 | 73 | .reveal h1 { 74 | text-shadow: none; } 75 | 76 | /********************************************* 77 | * OTHER 78 | *********************************************/ 79 | .reveal p { 80 | margin: 20px 0; 81 | line-height: 1.3; } 82 | 83 | /* Ensure certain elements are never larger than the slide itself */ 84 | .reveal img, 85 | .reveal video, 86 | .reveal iframe { 87 | max-width: 95%; 88 | max-height: 95%; } 89 | 90 | .reveal strong, 91 | .reveal b { 92 | font-weight: bold; } 93 | 94 | .reveal em { 95 | font-style: italic; } 96 | 97 | .reveal ol, 98 | .reveal dl, 99 | .reveal ul { 100 | display: inline-block; 101 | text-align: left; 102 | margin: 0 0 0 1em; } 103 | 104 | .reveal ol { 105 | list-style-type: decimal; } 106 | 107 | .reveal ul { 108 | list-style-type: disc; } 109 | 110 | .reveal ul ul { 111 | list-style-type: square; } 112 | 113 | .reveal ul ul ul { 114 | list-style-type: circle; } 115 | 116 | .reveal ul ul, 117 | .reveal ul ol, 118 | .reveal ol ol, 119 | .reveal ol ul { 120 | display: block; 121 | margin-left: 40px; } 122 | 123 | .reveal dt { 124 | font-weight: bold; } 125 | 126 | .reveal dd { 127 | margin-left: 40px; } 128 | 129 | .reveal q, 130 | .reveal blockquote { 131 | quotes: none; } 132 | 133 | .reveal blockquote { 134 | display: block; 135 | position: relative; 136 | width: 70%; 137 | margin: 20px auto; 138 | padding: 5px; 139 | font-style: italic; 140 | background: rgba(255, 255, 255, 0.05); 141 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 142 | 143 | .reveal blockquote p:first-child, 144 | .reveal blockquote p:last-child { 145 | display: inline-block; } 146 | 147 | .reveal q { 148 | font-style: italic; } 149 | 150 | .reveal pre { 151 | display: block; 152 | position: relative; 153 | width: 90%; 154 | margin: 20px auto; 155 | text-align: left; 156 | font-size: 0.55em; 157 | font-family: monospace; 158 | line-height: 1.2em; 159 | word-wrap: break-word; 160 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 161 | 162 | .reveal code { 163 | font-family: monospace; } 164 | 165 | .reveal pre code { 166 | display: block; 167 | padding: 5px; 168 | overflow: auto; 169 | max-height: 400px; 170 | word-wrap: normal; } 171 | 172 | .reveal table { 173 | margin: auto; 174 | border-collapse: collapse; 175 | border-spacing: 0; } 176 | 177 | .reveal table th { 178 | font-weight: bold; } 179 | 180 | .reveal table th, 181 | .reveal table td { 182 | text-align: left; 183 | padding: 0.2em 0.5em 0.2em 0.5em; 184 | border-bottom: 1px solid; } 185 | 186 | .reveal table th[align="center"], 187 | .reveal table td[align="center"] { 188 | text-align: center; } 189 | 190 | .reveal table th[align="right"], 191 | .reveal table td[align="right"] { 192 | text-align: right; } 193 | 194 | .reveal table tbody tr:last-child th, 195 | .reveal table tbody tr:last-child td { 196 | border-bottom: none; } 197 | 198 | .reveal sup { 199 | vertical-align: super; } 200 | 201 | .reveal sub { 202 | vertical-align: sub; } 203 | 204 | .reveal small { 205 | display: inline-block; 206 | font-size: 0.6em; 207 | line-height: 1.2em; 208 | vertical-align: top; } 209 | 210 | .reveal small * { 211 | vertical-align: top; } 212 | 213 | /********************************************* 214 | * LINKS 215 | *********************************************/ 216 | .reveal a { 217 | color: #268bd2; 218 | text-decoration: none; 219 | -webkit-transition: color .15s ease; 220 | -moz-transition: color .15s ease; 221 | transition: color .15s ease; } 222 | 223 | .reveal a:hover { 224 | color: #78b9e6; 225 | text-shadow: none; 226 | border: none; } 227 | 228 | .reveal .roll span:after { 229 | color: #fff; 230 | background: #1a6091; } 231 | 232 | /********************************************* 233 | * IMAGES 234 | *********************************************/ 235 | .reveal section img { 236 | margin: 15px 0px; 237 | background: rgba(255, 255, 255, 0.12); 238 | border: 4px solid #657b83; 239 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 240 | 241 | .reveal section img.plain { 242 | border: 0; 243 | box-shadow: none; } 244 | 245 | .reveal a img { 246 | -webkit-transition: all .15s linear; 247 | -moz-transition: all .15s linear; 248 | transition: all .15s linear; } 249 | 250 | .reveal a:hover img { 251 | background: rgba(255, 255, 255, 0.2); 252 | border-color: #268bd2; 253 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 254 | 255 | /********************************************* 256 | * NAVIGATION CONTROLS 257 | *********************************************/ 258 | .reveal .controls .navigate-left, 259 | .reveal .controls .navigate-left.enabled { 260 | border-right-color: #268bd2; } 261 | 262 | .reveal .controls .navigate-right, 263 | .reveal .controls .navigate-right.enabled { 264 | border-left-color: #268bd2; } 265 | 266 | .reveal .controls .navigate-up, 267 | .reveal .controls .navigate-up.enabled { 268 | border-bottom-color: #268bd2; } 269 | 270 | .reveal .controls .navigate-down, 271 | .reveal .controls .navigate-down.enabled { 272 | border-top-color: #268bd2; } 273 | 274 | .reveal .controls .navigate-left.enabled:hover { 275 | border-right-color: #78b9e6; } 276 | 277 | .reveal .controls .navigate-right.enabled:hover { 278 | border-left-color: #78b9e6; } 279 | 280 | .reveal .controls .navigate-up.enabled:hover { 281 | border-bottom-color: #78b9e6; } 282 | 283 | .reveal .controls .navigate-down.enabled:hover { 284 | border-top-color: #78b9e6; } 285 | 286 | /********************************************* 287 | * PROGRESS BAR 288 | *********************************************/ 289 | .reveal .progress { 290 | background: rgba(0, 0, 0, 0.2); } 291 | 292 | .reveal .progress span { 293 | background: #268bd2; 294 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 295 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 296 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 297 | -------------------------------------------------------------------------------- /reveal.js/css/theme/black.css: -------------------------------------------------------------------------------- 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 | @import url(../../lib/font/source-sans-pro/source-sans-pro.css); 7 | section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 { 8 | color: #222; } 9 | 10 | /********************************************* 11 | * GLOBAL STYLES 12 | *********************************************/ 13 | body { 14 | background: #222; 15 | background-color: #222; } 16 | 17 | .reveal { 18 | font-family: "Source Sans Pro", Helvetica, sans-serif; 19 | font-size: 42px; 20 | font-weight: normal; 21 | color: #fff; } 22 | 23 | ::selection { 24 | color: #fff; 25 | background: #bee4fd; 26 | text-shadow: none; } 27 | 28 | ::-moz-selection { 29 | color: #fff; 30 | background: #bee4fd; 31 | text-shadow: none; } 32 | 33 | .reveal .slides > section, 34 | .reveal .slides > section > section { 35 | line-height: 1.3; 36 | font-weight: inherit; } 37 | 38 | /********************************************* 39 | * HEADERS 40 | *********************************************/ 41 | .reveal h1, 42 | .reveal h2, 43 | .reveal h3, 44 | .reveal h4, 45 | .reveal h5, 46 | .reveal h6 { 47 | margin: 0 0 20px 0; 48 | color: #fff; 49 | font-family: "Source Sans Pro", Helvetica, sans-serif; 50 | font-weight: 600; 51 | line-height: 1.2; 52 | letter-spacing: normal; 53 | text-transform: none; 54 | text-shadow: none; 55 | word-wrap: break-word; } 56 | 57 | .reveal h1 { 58 | font-size: 2.5em; } 59 | 60 | .reveal h2 { 61 | font-size: 1.6em; } 62 | 63 | .reveal h3 { 64 | font-size: 1.3em; } 65 | 66 | .reveal h4 { 67 | font-size: 1em; } 68 | 69 | .reveal h1 { 70 | text-shadow: none; } 71 | 72 | /********************************************* 73 | * OTHER 74 | *********************************************/ 75 | .reveal p { 76 | margin: 20px 0; 77 | line-height: 1.3; } 78 | 79 | /* Ensure certain elements are never larger than the slide itself */ 80 | .reveal img, 81 | .reveal video, 82 | .reveal iframe { 83 | max-width: 95%; 84 | max-height: 95%; } 85 | 86 | .reveal strong, 87 | .reveal b { 88 | font-weight: bold; } 89 | 90 | .reveal em { 91 | font-style: italic; } 92 | 93 | .reveal ol, 94 | .reveal dl, 95 | .reveal ul { 96 | display: inline-block; 97 | text-align: left; 98 | margin: 0 0 0 1em; } 99 | 100 | .reveal ol { 101 | list-style-type: decimal; } 102 | 103 | .reveal ul { 104 | list-style-type: disc; } 105 | 106 | .reveal ul ul { 107 | list-style-type: square; } 108 | 109 | .reveal ul ul ul { 110 | list-style-type: circle; } 111 | 112 | .reveal ul ul, 113 | .reveal ul ol, 114 | .reveal ol ol, 115 | .reveal ol ul { 116 | display: block; 117 | margin-left: 40px; } 118 | 119 | .reveal dt { 120 | font-weight: bold; } 121 | 122 | .reveal dd { 123 | margin-left: 40px; } 124 | 125 | .reveal q, 126 | .reveal blockquote { 127 | quotes: none; } 128 | 129 | .reveal blockquote { 130 | display: block; 131 | position: relative; 132 | width: 70%; 133 | margin: 20px auto; 134 | padding: 5px; 135 | font-style: italic; 136 | background: rgba(255, 255, 255, 0.05); 137 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 138 | 139 | .reveal blockquote p:first-child, 140 | .reveal blockquote p:last-child { 141 | display: inline-block; } 142 | 143 | .reveal q { 144 | font-style: italic; } 145 | 146 | .reveal pre { 147 | display: block; 148 | position: relative; 149 | width: 90%; 150 | margin: 20px auto; 151 | text-align: left; 152 | font-size: 0.55em; 153 | font-family: monospace; 154 | line-height: 1.2em; 155 | word-wrap: break-word; 156 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 157 | 158 | .reveal code { 159 | font-family: monospace; } 160 | 161 | .reveal pre code { 162 | display: block; 163 | padding: 5px; 164 | overflow: auto; 165 | max-height: 400px; 166 | word-wrap: normal; } 167 | 168 | .reveal table { 169 | margin: auto; 170 | border-collapse: collapse; 171 | border-spacing: 0; } 172 | 173 | .reveal table th { 174 | font-weight: bold; } 175 | 176 | .reveal table th, 177 | .reveal table td { 178 | text-align: left; 179 | padding: 0.2em 0.5em 0.2em 0.5em; 180 | border-bottom: 1px solid; } 181 | 182 | .reveal table th[align="center"], 183 | .reveal table td[align="center"] { 184 | text-align: center; } 185 | 186 | .reveal table th[align="right"], 187 | .reveal table td[align="right"] { 188 | text-align: right; } 189 | 190 | .reveal table tbody tr:last-child th, 191 | .reveal table tbody tr:last-child td { 192 | border-bottom: none; } 193 | 194 | .reveal sup { 195 | vertical-align: super; } 196 | 197 | .reveal sub { 198 | vertical-align: sub; } 199 | 200 | .reveal small { 201 | display: inline-block; 202 | font-size: 0.6em; 203 | line-height: 1.2em; 204 | vertical-align: top; } 205 | 206 | .reveal small * { 207 | vertical-align: top; } 208 | 209 | /********************************************* 210 | * LINKS 211 | *********************************************/ 212 | .reveal a { 213 | color: #42affa; 214 | text-decoration: none; 215 | -webkit-transition: color .15s ease; 216 | -moz-transition: color .15s ease; 217 | transition: color .15s ease; } 218 | 219 | .reveal a:hover { 220 | color: #8dcffc; 221 | text-shadow: none; 222 | border: none; } 223 | 224 | .reveal .roll span:after { 225 | color: #fff; 226 | background: #068de9; } 227 | 228 | /********************************************* 229 | * IMAGES 230 | *********************************************/ 231 | .reveal section img { 232 | margin: 15px 0px; 233 | background: rgba(255, 255, 255, 0.12); 234 | border: 4px solid #fff; 235 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 236 | 237 | .reveal section img.plain { 238 | border: 0; 239 | box-shadow: none; } 240 | 241 | .reveal a img { 242 | -webkit-transition: all .15s linear; 243 | -moz-transition: all .15s linear; 244 | transition: all .15s linear; } 245 | 246 | .reveal a:hover img { 247 | background: rgba(255, 255, 255, 0.2); 248 | border-color: #42affa; 249 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 250 | 251 | /********************************************* 252 | * NAVIGATION CONTROLS 253 | *********************************************/ 254 | .reveal .controls .navigate-left, 255 | .reveal .controls .navigate-left.enabled { 256 | border-right-color: #42affa; } 257 | 258 | .reveal .controls .navigate-right, 259 | .reveal .controls .navigate-right.enabled { 260 | border-left-color: #42affa; } 261 | 262 | .reveal .controls .navigate-up, 263 | .reveal .controls .navigate-up.enabled { 264 | border-bottom-color: #42affa; } 265 | 266 | .reveal .controls .navigate-down, 267 | .reveal .controls .navigate-down.enabled { 268 | border-top-color: #42affa; } 269 | 270 | .reveal .controls .navigate-left.enabled:hover { 271 | border-right-color: #8dcffc; } 272 | 273 | .reveal .controls .navigate-right.enabled:hover { 274 | border-left-color: #8dcffc; } 275 | 276 | .reveal .controls .navigate-up.enabled:hover { 277 | border-bottom-color: #8dcffc; } 278 | 279 | .reveal .controls .navigate-down.enabled:hover { 280 | border-top-color: #8dcffc; } 281 | 282 | /********************************************* 283 | * PROGRESS BAR 284 | *********************************************/ 285 | .reveal .progress { 286 | background: rgba(0, 0, 0, 0.2); } 287 | 288 | .reveal .progress span { 289 | background: #42affa; 290 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 291 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 292 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 293 | -------------------------------------------------------------------------------- /reveal.js/css/theme/template/theme.scss: -------------------------------------------------------------------------------- 1 | // Base theme template for reveal.js 2 | 3 | /********************************************* 4 | * GLOBAL STYLES 5 | *********************************************/ 6 | 7 | body { 8 | @include bodyBackground(); 9 | background-color: $backgroundColor; 10 | } 11 | 12 | .reveal { 13 | font-family: $mainFont; 14 | font-size: $mainFontSize; 15 | font-weight: normal; 16 | color: $mainColor; 17 | } 18 | 19 | ::selection { 20 | color: $selectionColor; 21 | background: $selectionBackgroundColor; 22 | text-shadow: none; 23 | } 24 | 25 | ::-moz-selection { 26 | color: $selectionColor; 27 | background: $selectionBackgroundColor; 28 | text-shadow: none; 29 | } 30 | 31 | .reveal .slides>section, 32 | .reveal .slides>section>section { 33 | line-height: 1.3; 34 | font-weight: inherit; 35 | } 36 | 37 | /********************************************* 38 | * HEADERS 39 | *********************************************/ 40 | 41 | .reveal h1, 42 | .reveal h2, 43 | .reveal h3, 44 | .reveal h4, 45 | .reveal h5, 46 | .reveal h6 { 47 | margin: $headingMargin; 48 | color: $headingColor; 49 | 50 | font-family: $headingFont; 51 | font-weight: $headingFontWeight; 52 | line-height: $headingLineHeight; 53 | letter-spacing: $headingLetterSpacing; 54 | 55 | text-transform: $headingTextTransform; 56 | text-shadow: $headingTextShadow; 57 | 58 | word-wrap: break-word; 59 | } 60 | 61 | .reveal h1 {font-size: $heading1Size; } 62 | .reveal h2 {font-size: $heading2Size; } 63 | .reveal h3 {font-size: $heading3Size; } 64 | .reveal h4 {font-size: $heading4Size; } 65 | 66 | .reveal h1 { 67 | text-shadow: $heading1TextShadow; 68 | } 69 | 70 | 71 | /********************************************* 72 | * OTHER 73 | *********************************************/ 74 | 75 | .reveal p { 76 | margin: $blockMargin 0; 77 | line-height: 1.3; 78 | } 79 | 80 | /* Ensure certain elements are never larger than the slide itself */ 81 | .reveal img, 82 | .reveal video, 83 | .reveal iframe { 84 | max-width: 95%; 85 | max-height: 95%; 86 | } 87 | .reveal strong, 88 | .reveal b { 89 | font-weight: bold; 90 | } 91 | 92 | .reveal em { 93 | font-style: italic; 94 | } 95 | 96 | .reveal ol, 97 | .reveal dl, 98 | .reveal ul { 99 | display: inline-block; 100 | 101 | text-align: left; 102 | margin: 0 0 0 1em; 103 | } 104 | 105 | .reveal ol { 106 | list-style-type: decimal; 107 | } 108 | 109 | .reveal ul { 110 | list-style-type: disc; 111 | } 112 | 113 | .reveal ul ul { 114 | list-style-type: square; 115 | } 116 | 117 | .reveal ul ul ul { 118 | list-style-type: circle; 119 | } 120 | 121 | .reveal ul ul, 122 | .reveal ul ol, 123 | .reveal ol ol, 124 | .reveal ol ul { 125 | display: block; 126 | margin-left: 40px; 127 | } 128 | 129 | .reveal dt { 130 | font-weight: bold; 131 | } 132 | 133 | .reveal dd { 134 | margin-left: 40px; 135 | } 136 | 137 | .reveal q, 138 | .reveal blockquote { 139 | quotes: none; 140 | } 141 | 142 | .reveal blockquote { 143 | display: block; 144 | position: relative; 145 | width: 70%; 146 | margin: $blockMargin auto; 147 | padding: 5px; 148 | 149 | font-style: italic; 150 | background: rgba(255, 255, 255, 0.05); 151 | box-shadow: 0px 0px 2px rgba(0,0,0,0.2); 152 | } 153 | .reveal blockquote p:first-child, 154 | .reveal blockquote p:last-child { 155 | display: inline-block; 156 | } 157 | 158 | .reveal q { 159 | font-style: italic; 160 | } 161 | 162 | .reveal pre { 163 | display: block; 164 | position: relative; 165 | width: 90%; 166 | margin: $blockMargin auto; 167 | 168 | text-align: left; 169 | font-size: 0.55em; 170 | font-family: monospace; 171 | line-height: 1.2em; 172 | 173 | word-wrap: break-word; 174 | 175 | box-shadow: 0px 0px 6px rgba(0,0,0,0.3); 176 | } 177 | .reveal code { 178 | font-family: monospace; 179 | } 180 | 181 | .reveal pre code { 182 | display: block; 183 | padding: 5px; 184 | overflow: auto; 185 | max-height: 400px; 186 | word-wrap: normal; 187 | } 188 | 189 | .reveal table { 190 | margin: auto; 191 | border-collapse: collapse; 192 | border-spacing: 0; 193 | } 194 | 195 | .reveal table th { 196 | font-weight: bold; 197 | } 198 | 199 | .reveal table th, 200 | .reveal table td { 201 | text-align: left; 202 | padding: 0.2em 0.5em 0.2em 0.5em; 203 | border-bottom: 1px solid; 204 | } 205 | 206 | .reveal table th[align="center"], 207 | .reveal table td[align="center"] { 208 | text-align: center; 209 | } 210 | 211 | .reveal table th[align="right"], 212 | .reveal table td[align="right"] { 213 | text-align: right; 214 | } 215 | 216 | .reveal table tbody tr:last-child th, 217 | .reveal table tbody tr:last-child td { 218 | border-bottom: none; 219 | } 220 | 221 | .reveal sup { 222 | vertical-align: super; 223 | } 224 | .reveal sub { 225 | vertical-align: sub; 226 | } 227 | 228 | .reveal small { 229 | display: inline-block; 230 | font-size: 0.6em; 231 | line-height: 1.2em; 232 | vertical-align: top; 233 | } 234 | 235 | .reveal small * { 236 | vertical-align: top; 237 | } 238 | 239 | 240 | /********************************************* 241 | * LINKS 242 | *********************************************/ 243 | 244 | .reveal a { 245 | color: $linkColor; 246 | text-decoration: none; 247 | 248 | -webkit-transition: color .15s ease; 249 | -moz-transition: color .15s ease; 250 | transition: color .15s ease; 251 | } 252 | .reveal a:hover { 253 | color: $linkColorHover; 254 | 255 | text-shadow: none; 256 | border: none; 257 | } 258 | 259 | .reveal .roll span:after { 260 | color: #fff; 261 | background: darken( $linkColor, 15% ); 262 | } 263 | 264 | 265 | /********************************************* 266 | * IMAGES 267 | *********************************************/ 268 | 269 | .reveal section img { 270 | margin: 15px 0px; 271 | background: rgba(255,255,255,0.12); 272 | border: 4px solid $mainColor; 273 | 274 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); 275 | } 276 | 277 | .reveal section img.plain { 278 | border: 0; 279 | box-shadow: none; 280 | } 281 | 282 | .reveal a img { 283 | -webkit-transition: all .15s linear; 284 | -moz-transition: all .15s linear; 285 | transition: all .15s linear; 286 | } 287 | 288 | .reveal a:hover img { 289 | background: rgba(255,255,255,0.2); 290 | border-color: $linkColor; 291 | 292 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); 293 | } 294 | 295 | 296 | /********************************************* 297 | * NAVIGATION CONTROLS 298 | *********************************************/ 299 | 300 | .reveal .controls .navigate-left, 301 | .reveal .controls .navigate-left.enabled { 302 | border-right-color: $linkColor; 303 | } 304 | 305 | .reveal .controls .navigate-right, 306 | .reveal .controls .navigate-right.enabled { 307 | border-left-color: $linkColor; 308 | } 309 | 310 | .reveal .controls .navigate-up, 311 | .reveal .controls .navigate-up.enabled { 312 | border-bottom-color: $linkColor; 313 | } 314 | 315 | .reveal .controls .navigate-down, 316 | .reveal .controls .navigate-down.enabled { 317 | border-top-color: $linkColor; 318 | } 319 | 320 | .reveal .controls .navigate-left.enabled:hover { 321 | border-right-color: $linkColorHover; 322 | } 323 | 324 | .reveal .controls .navigate-right.enabled:hover { 325 | border-left-color: $linkColorHover; 326 | } 327 | 328 | .reveal .controls .navigate-up.enabled:hover { 329 | border-bottom-color: $linkColorHover; 330 | } 331 | 332 | .reveal .controls .navigate-down.enabled:hover { 333 | border-top-color: $linkColorHover; 334 | } 335 | 336 | 337 | /********************************************* 338 | * PROGRESS BAR 339 | *********************************************/ 340 | 341 | .reveal .progress { 342 | background: rgba(0,0,0,0.2); 343 | } 344 | .reveal .progress span { 345 | background: $linkColor; 346 | 347 | -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); 348 | -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); 349 | transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); 350 | } 351 | 352 | 353 | -------------------------------------------------------------------------------- /reveal.js/plugin/search/search.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Handles finding a text string anywhere in the slides and showing the next occurrence to the user 3 | * by navigatating to that slide and highlighting it. 4 | * 5 | * By Jon Snyder , February 2013 6 | */ 7 | 8 | var RevealSearch = (function() { 9 | 10 | var matchedSlides; 11 | var currentMatchedIndex; 12 | var searchboxDirty; 13 | var myHilitor; 14 | 15 | // Original JavaScript code by Chirp Internet: www.chirp.com.au 16 | // Please acknowledge use of this code by including this header. 17 | // 2/2013 jon: modified regex to display any match, not restricted to word boundaries. 18 | 19 | function Hilitor(id, tag) 20 | { 21 | 22 | var targetNode = document.getElementById(id) || document.body; 23 | var hiliteTag = tag || "EM"; 24 | var skipTags = new RegExp("^(?:" + hiliteTag + "|SCRIPT|FORM|SPAN)$"); 25 | var colors = ["#ff6", "#a0ffff", "#9f9", "#f99", "#f6f"]; 26 | var wordColor = []; 27 | var colorIdx = 0; 28 | var matchRegex = ""; 29 | var matchingSlides = []; 30 | 31 | this.setRegex = function(input) 32 | { 33 | input = input.replace(/^[^\w]+|[^\w]+$/g, "").replace(/[^\w'-]+/g, "|"); 34 | matchRegex = new RegExp("(" + input + ")","i"); 35 | } 36 | 37 | this.getRegex = function() 38 | { 39 | return matchRegex.toString().replace(/^\/\\b\(|\)\\b\/i$/g, "").replace(/\|/g, " "); 40 | } 41 | 42 | // recursively apply word highlighting 43 | this.hiliteWords = function(node) 44 | { 45 | if(node == undefined || !node) return; 46 | if(!matchRegex) return; 47 | if(skipTags.test(node.nodeName)) return; 48 | 49 | if(node.hasChildNodes()) { 50 | for(var i=0; i < node.childNodes.length; i++) 51 | this.hiliteWords(node.childNodes[i]); 52 | } 53 | if(node.nodeType == 3) { // NODE_TEXT 54 | if((nv = node.nodeValue) && (regs = matchRegex.exec(nv))) { 55 | //find the slide's section element and save it in our list of matching slides 56 | var secnode = node.parentNode; 57 | while (secnode.nodeName != 'SECTION') { 58 | secnode = secnode.parentNode; 59 | } 60 | 61 | var slideIndex = Reveal.getIndices(secnode); 62 | var slidelen = matchingSlides.length; 63 | var alreadyAdded = false; 64 | for (var i=0; i < slidelen; i++) { 65 | if ( (matchingSlides[i].h === slideIndex.h) && (matchingSlides[i].v === slideIndex.v) ) { 66 | alreadyAdded = true; 67 | } 68 | } 69 | if (! alreadyAdded) { 70 | matchingSlides.push(slideIndex); 71 | } 72 | 73 | if(!wordColor[regs[0].toLowerCase()]) { 74 | wordColor[regs[0].toLowerCase()] = colors[colorIdx++ % colors.length]; 75 | } 76 | 77 | var match = document.createElement(hiliteTag); 78 | match.appendChild(document.createTextNode(regs[0])); 79 | match.style.backgroundColor = wordColor[regs[0].toLowerCase()]; 80 | match.style.fontStyle = "inherit"; 81 | match.style.color = "#000"; 82 | 83 | var after = node.splitText(regs.index); 84 | after.nodeValue = after.nodeValue.substring(regs[0].length); 85 | node.parentNode.insertBefore(match, after); 86 | } 87 | } 88 | }; 89 | 90 | // remove highlighting 91 | this.remove = function() 92 | { 93 | var arr = document.getElementsByTagName(hiliteTag); 94 | while(arr.length && (el = arr[0])) { 95 | el.parentNode.replaceChild(el.firstChild, el); 96 | } 97 | }; 98 | 99 | // start highlighting at target node 100 | this.apply = function(input) 101 | { 102 | if(input == undefined || !input) return; 103 | this.remove(); 104 | this.setRegex(input); 105 | this.hiliteWords(targetNode); 106 | return matchingSlides; 107 | }; 108 | 109 | } 110 | 111 | function openSearch() { 112 | //ensure the search term input dialog is visible and has focus: 113 | var inputbox = document.getElementById("searchinput"); 114 | inputbox.style.display = "inline"; 115 | inputbox.focus(); 116 | inputbox.select(); 117 | } 118 | 119 | function toggleSearch() { 120 | var inputbox = document.getElementById("searchinput"); 121 | if (inputbox.style.display !== "inline") { 122 | openSearch(); 123 | } 124 | else { 125 | inputbox.style.display = "none"; 126 | myHilitor.remove(); 127 | } 128 | } 129 | 130 | function doSearch() { 131 | //if there's been a change in the search term, perform a new search: 132 | if (searchboxDirty) { 133 | var searchstring = document.getElementById("searchinput").value; 134 | 135 | //find the keyword amongst the slides 136 | myHilitor = new Hilitor("slidecontent"); 137 | matchedSlides = myHilitor.apply(searchstring); 138 | currentMatchedIndex = 0; 139 | } 140 | 141 | //navigate to the next slide that has the keyword, wrapping to the first if necessary 142 | if (matchedSlides.length && (matchedSlides.length <= currentMatchedIndex)) { 143 | currentMatchedIndex = 0; 144 | } 145 | if (matchedSlides.length > currentMatchedIndex) { 146 | Reveal.slide(matchedSlides[currentMatchedIndex].h, matchedSlides[currentMatchedIndex].v); 147 | currentMatchedIndex++; 148 | } 149 | } 150 | 151 | var dom = {}; 152 | dom.wrapper = document.querySelector( '.reveal' ); 153 | 154 | if( !dom.wrapper.querySelector( '.searchbox' ) ) { 155 | var searchElement = document.createElement( 'div' ); 156 | searchElement.id = "searchinputdiv"; 157 | searchElement.classList.add( 'searchdiv' ); 158 | searchElement.style.position = 'absolute'; 159 | searchElement.style.top = '10px'; 160 | searchElement.style.left = '10px'; 161 | //embedded base64 search icon Designed by Sketchdock - http://www.sketchdock.com/: 162 | searchElement.innerHTML = ''; 163 | dom.wrapper.appendChild( searchElement ); 164 | } 165 | 166 | document.getElementById("searchbutton").addEventListener( 'click', function(event) { 167 | doSearch(); 168 | }, false ); 169 | 170 | document.getElementById("searchinput").addEventListener( 'keyup', function( event ) { 171 | switch (event.keyCode) { 172 | case 13: 173 | event.preventDefault(); 174 | doSearch(); 175 | searchboxDirty = false; 176 | break; 177 | default: 178 | searchboxDirty = true; 179 | } 180 | }, false ); 181 | 182 | // Open the search when the 's' key is hit (yes, this conflicts with the notes plugin, disabling for now) 183 | /* 184 | document.addEventListener( 'keydown', function( event ) { 185 | // Disregard the event if the target is editable or a 186 | // modifier is present 187 | if ( document.querySelector( ':focus' ) !== null || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return; 188 | 189 | if( event.keyCode === 83 ) { 190 | event.preventDefault(); 191 | openSearch(); 192 | } 193 | }, false ); 194 | */ 195 | return { open: openSearch }; 196 | })(); 197 | -------------------------------------------------------------------------------- /reveal.js/css/theme/simple.css: -------------------------------------------------------------------------------- 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 | @import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700); 9 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 10 | section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 { 11 | color: #fff; } 12 | 13 | /********************************************* 14 | * GLOBAL STYLES 15 | *********************************************/ 16 | body { 17 | background: #fff; 18 | background-color: #fff; } 19 | 20 | .reveal { 21 | font-family: "Lato", sans-serif; 22 | font-size: 40px; 23 | font-weight: normal; 24 | color: #000; } 25 | 26 | ::selection { 27 | color: #fff; 28 | background: rgba(0, 0, 0, 0.99); 29 | text-shadow: none; } 30 | 31 | ::-moz-selection { 32 | color: #fff; 33 | background: rgba(0, 0, 0, 0.99); 34 | text-shadow: none; } 35 | 36 | .reveal .slides > section, 37 | .reveal .slides > section > section { 38 | line-height: 1.3; 39 | font-weight: inherit; } 40 | 41 | /********************************************* 42 | * HEADERS 43 | *********************************************/ 44 | .reveal h1, 45 | .reveal h2, 46 | .reveal h3, 47 | .reveal h4, 48 | .reveal h5, 49 | .reveal h6 { 50 | margin: 0 0 20px 0; 51 | color: #000; 52 | font-family: "News Cycle", Impact, sans-serif; 53 | font-weight: normal; 54 | line-height: 1.2; 55 | letter-spacing: normal; 56 | text-transform: none; 57 | text-shadow: none; 58 | word-wrap: break-word; } 59 | 60 | .reveal h1 { 61 | font-size: 3.77em; } 62 | 63 | .reveal h2 { 64 | font-size: 2.11em; } 65 | 66 | .reveal h3 { 67 | font-size: 1.55em; } 68 | 69 | .reveal h4 { 70 | font-size: 1em; } 71 | 72 | .reveal h1 { 73 | text-shadow: none; } 74 | 75 | /********************************************* 76 | * OTHER 77 | *********************************************/ 78 | .reveal p { 79 | margin: 20px 0; 80 | line-height: 1.3; } 81 | 82 | /* Ensure certain elements are never larger than the slide itself */ 83 | .reveal img, 84 | .reveal video, 85 | .reveal iframe { 86 | max-width: 95%; 87 | max-height: 95%; } 88 | 89 | .reveal strong, 90 | .reveal b { 91 | font-weight: bold; } 92 | 93 | .reveal em { 94 | font-style: italic; } 95 | 96 | .reveal ol, 97 | .reveal dl, 98 | .reveal ul { 99 | display: inline-block; 100 | text-align: left; 101 | margin: 0 0 0 1em; } 102 | 103 | .reveal ol { 104 | list-style-type: decimal; } 105 | 106 | .reveal ul { 107 | list-style-type: disc; } 108 | 109 | .reveal ul ul { 110 | list-style-type: square; } 111 | 112 | .reveal ul ul ul { 113 | list-style-type: circle; } 114 | 115 | .reveal ul ul, 116 | .reveal ul ol, 117 | .reveal ol ol, 118 | .reveal ol ul { 119 | display: block; 120 | margin-left: 40px; } 121 | 122 | .reveal dt { 123 | font-weight: bold; } 124 | 125 | .reveal dd { 126 | margin-left: 40px; } 127 | 128 | .reveal q, 129 | .reveal blockquote { 130 | quotes: none; } 131 | 132 | .reveal blockquote { 133 | display: block; 134 | position: relative; 135 | width: 70%; 136 | margin: 20px auto; 137 | padding: 5px; 138 | font-style: italic; 139 | background: rgba(255, 255, 255, 0.05); 140 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 141 | 142 | .reveal blockquote p:first-child, 143 | .reveal blockquote p:last-child { 144 | display: inline-block; } 145 | 146 | .reveal q { 147 | font-style: italic; } 148 | 149 | .reveal pre { 150 | display: block; 151 | position: relative; 152 | width: 90%; 153 | margin: 20px auto; 154 | text-align: left; 155 | font-size: 0.55em; 156 | font-family: monospace; 157 | line-height: 1.2em; 158 | word-wrap: break-word; 159 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 160 | 161 | .reveal code { 162 | font-family: monospace; } 163 | 164 | .reveal pre code { 165 | display: block; 166 | padding: 5px; 167 | overflow: auto; 168 | max-height: 400px; 169 | word-wrap: normal; } 170 | 171 | .reveal table { 172 | margin: auto; 173 | border-collapse: collapse; 174 | border-spacing: 0; } 175 | 176 | .reveal table th { 177 | font-weight: bold; } 178 | 179 | .reveal table th, 180 | .reveal table td { 181 | text-align: left; 182 | padding: 0.2em 0.5em 0.2em 0.5em; 183 | border-bottom: 1px solid; } 184 | 185 | .reveal table th[align="center"], 186 | .reveal table td[align="center"] { 187 | text-align: center; } 188 | 189 | .reveal table th[align="right"], 190 | .reveal table td[align="right"] { 191 | text-align: right; } 192 | 193 | .reveal table tbody tr:last-child th, 194 | .reveal table tbody tr:last-child td { 195 | border-bottom: none; } 196 | 197 | .reveal sup { 198 | vertical-align: super; } 199 | 200 | .reveal sub { 201 | vertical-align: sub; } 202 | 203 | .reveal small { 204 | display: inline-block; 205 | font-size: 0.6em; 206 | line-height: 1.2em; 207 | vertical-align: top; } 208 | 209 | .reveal small * { 210 | vertical-align: top; } 211 | 212 | /********************************************* 213 | * LINKS 214 | *********************************************/ 215 | .reveal a { 216 | color: #00008B; 217 | text-decoration: none; 218 | -webkit-transition: color .15s ease; 219 | -moz-transition: color .15s ease; 220 | transition: color .15s ease; } 221 | 222 | .reveal a:hover { 223 | color: #0000f1; 224 | text-shadow: none; 225 | border: none; } 226 | 227 | .reveal .roll span:after { 228 | color: #fff; 229 | background: #00003f; } 230 | 231 | /********************************************* 232 | * IMAGES 233 | *********************************************/ 234 | .reveal section img { 235 | margin: 15px 0px; 236 | background: rgba(255, 255, 255, 0.12); 237 | border: 4px solid #000; 238 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 239 | 240 | .reveal section img.plain { 241 | border: 0; 242 | box-shadow: none; } 243 | 244 | .reveal a img { 245 | -webkit-transition: all .15s linear; 246 | -moz-transition: all .15s linear; 247 | transition: all .15s linear; } 248 | 249 | .reveal a:hover img { 250 | background: rgba(255, 255, 255, 0.2); 251 | border-color: #00008B; 252 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 253 | 254 | /********************************************* 255 | * NAVIGATION CONTROLS 256 | *********************************************/ 257 | .reveal .controls .navigate-left, 258 | .reveal .controls .navigate-left.enabled { 259 | border-right-color: #00008B; } 260 | 261 | .reveal .controls .navigate-right, 262 | .reveal .controls .navigate-right.enabled { 263 | border-left-color: #00008B; } 264 | 265 | .reveal .controls .navigate-up, 266 | .reveal .controls .navigate-up.enabled { 267 | border-bottom-color: #00008B; } 268 | 269 | .reveal .controls .navigate-down, 270 | .reveal .controls .navigate-down.enabled { 271 | border-top-color: #00008B; } 272 | 273 | .reveal .controls .navigate-left.enabled:hover { 274 | border-right-color: #0000f1; } 275 | 276 | .reveal .controls .navigate-right.enabled:hover { 277 | border-left-color: #0000f1; } 278 | 279 | .reveal .controls .navigate-up.enabled:hover { 280 | border-bottom-color: #0000f1; } 281 | 282 | .reveal .controls .navigate-down.enabled:hover { 283 | border-top-color: #0000f1; } 284 | 285 | /********************************************* 286 | * PROGRESS BAR 287 | *********************************************/ 288 | .reveal .progress { 289 | background: rgba(0, 0, 0, 0.2); } 290 | 291 | .reveal .progress span { 292 | background: #00008B; 293 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 294 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 295 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 296 | -------------------------------------------------------------------------------- /reveal.js/css/theme/sky.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Sky theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | @import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic); 7 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); 8 | .reveal a { 9 | line-height: 1.3em; } 10 | 11 | /********************************************* 12 | * GLOBAL STYLES 13 | *********************************************/ 14 | body { 15 | background: #add9e4; 16 | background: -moz-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); 17 | background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #f7fbfc), color-stop(100%, #add9e4)); 18 | background: -webkit-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); 19 | background: -o-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); 20 | background: -ms-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); 21 | background: radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); 22 | background-color: #f7fbfc; } 23 | 24 | .reveal { 25 | font-family: "Open Sans", sans-serif; 26 | font-size: 40px; 27 | font-weight: normal; 28 | color: #333; } 29 | 30 | ::selection { 31 | color: #fff; 32 | background: #134674; 33 | text-shadow: none; } 34 | 35 | ::-moz-selection { 36 | color: #fff; 37 | background: #134674; 38 | text-shadow: none; } 39 | 40 | .reveal .slides > section, 41 | .reveal .slides > section > section { 42 | line-height: 1.3; 43 | font-weight: inherit; } 44 | 45 | /********************************************* 46 | * HEADERS 47 | *********************************************/ 48 | .reveal h1, 49 | .reveal h2, 50 | .reveal h3, 51 | .reveal h4, 52 | .reveal h5, 53 | .reveal h6 { 54 | margin: 0 0 20px 0; 55 | color: #333; 56 | font-family: "Quicksand", sans-serif; 57 | font-weight: normal; 58 | line-height: 1.2; 59 | letter-spacing: -0.08em; 60 | text-transform: none; 61 | text-shadow: none; 62 | word-wrap: break-word; } 63 | 64 | .reveal h1 { 65 | font-size: 3.77em; } 66 | 67 | .reveal h2 { 68 | font-size: 2.11em; } 69 | 70 | .reveal h3 { 71 | font-size: 1.55em; } 72 | 73 | .reveal h4 { 74 | font-size: 1em; } 75 | 76 | .reveal h1 { 77 | text-shadow: none; } 78 | 79 | /********************************************* 80 | * OTHER 81 | *********************************************/ 82 | .reveal p { 83 | margin: 20px 0; 84 | line-height: 1.3; } 85 | 86 | /* Ensure certain elements are never larger than the slide itself */ 87 | .reveal img, 88 | .reveal video, 89 | .reveal iframe { 90 | max-width: 95%; 91 | max-height: 95%; } 92 | 93 | .reveal strong, 94 | .reveal b { 95 | font-weight: bold; } 96 | 97 | .reveal em { 98 | font-style: italic; } 99 | 100 | .reveal ol, 101 | .reveal dl, 102 | .reveal ul { 103 | display: inline-block; 104 | text-align: left; 105 | margin: 0 0 0 1em; } 106 | 107 | .reveal ol { 108 | list-style-type: decimal; } 109 | 110 | .reveal ul { 111 | list-style-type: disc; } 112 | 113 | .reveal ul ul { 114 | list-style-type: square; } 115 | 116 | .reveal ul ul ul { 117 | list-style-type: circle; } 118 | 119 | .reveal ul ul, 120 | .reveal ul ol, 121 | .reveal ol ol, 122 | .reveal ol ul { 123 | display: block; 124 | margin-left: 40px; } 125 | 126 | .reveal dt { 127 | font-weight: bold; } 128 | 129 | .reveal dd { 130 | margin-left: 40px; } 131 | 132 | .reveal q, 133 | .reveal blockquote { 134 | quotes: none; } 135 | 136 | .reveal blockquote { 137 | display: block; 138 | position: relative; 139 | width: 70%; 140 | margin: 20px auto; 141 | padding: 5px; 142 | font-style: italic; 143 | background: rgba(255, 255, 255, 0.05); 144 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 145 | 146 | .reveal blockquote p:first-child, 147 | .reveal blockquote p:last-child { 148 | display: inline-block; } 149 | 150 | .reveal q { 151 | font-style: italic; } 152 | 153 | .reveal pre { 154 | display: block; 155 | position: relative; 156 | width: 90%; 157 | margin: 20px auto; 158 | text-align: left; 159 | font-size: 0.55em; 160 | font-family: monospace; 161 | line-height: 1.2em; 162 | word-wrap: break-word; 163 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 164 | 165 | .reveal code { 166 | font-family: monospace; } 167 | 168 | .reveal pre code { 169 | display: block; 170 | padding: 5px; 171 | overflow: auto; 172 | max-height: 400px; 173 | word-wrap: normal; } 174 | 175 | .reveal table { 176 | margin: auto; 177 | border-collapse: collapse; 178 | border-spacing: 0; } 179 | 180 | .reveal table th { 181 | font-weight: bold; } 182 | 183 | .reveal table th, 184 | .reveal table td { 185 | text-align: left; 186 | padding: 0.2em 0.5em 0.2em 0.5em; 187 | border-bottom: 1px solid; } 188 | 189 | .reveal table th[align="center"], 190 | .reveal table td[align="center"] { 191 | text-align: center; } 192 | 193 | .reveal table th[align="right"], 194 | .reveal table td[align="right"] { 195 | text-align: right; } 196 | 197 | .reveal table tbody tr:last-child th, 198 | .reveal table tbody tr:last-child td { 199 | border-bottom: none; } 200 | 201 | .reveal sup { 202 | vertical-align: super; } 203 | 204 | .reveal sub { 205 | vertical-align: sub; } 206 | 207 | .reveal small { 208 | display: inline-block; 209 | font-size: 0.6em; 210 | line-height: 1.2em; 211 | vertical-align: top; } 212 | 213 | .reveal small * { 214 | vertical-align: top; } 215 | 216 | /********************************************* 217 | * LINKS 218 | *********************************************/ 219 | .reveal a { 220 | color: #3b759e; 221 | text-decoration: none; 222 | -webkit-transition: color .15s ease; 223 | -moz-transition: color .15s ease; 224 | transition: color .15s ease; } 225 | 226 | .reveal a:hover { 227 | color: #74a7cb; 228 | text-shadow: none; 229 | border: none; } 230 | 231 | .reveal .roll span:after { 232 | color: #fff; 233 | background: #264c66; } 234 | 235 | /********************************************* 236 | * IMAGES 237 | *********************************************/ 238 | .reveal section img { 239 | margin: 15px 0px; 240 | background: rgba(255, 255, 255, 0.12); 241 | border: 4px solid #333; 242 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 243 | 244 | .reveal section img.plain { 245 | border: 0; 246 | box-shadow: none; } 247 | 248 | .reveal a img { 249 | -webkit-transition: all .15s linear; 250 | -moz-transition: all .15s linear; 251 | transition: all .15s linear; } 252 | 253 | .reveal a:hover img { 254 | background: rgba(255, 255, 255, 0.2); 255 | border-color: #3b759e; 256 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 257 | 258 | /********************************************* 259 | * NAVIGATION CONTROLS 260 | *********************************************/ 261 | .reveal .controls .navigate-left, 262 | .reveal .controls .navigate-left.enabled { 263 | border-right-color: #3b759e; } 264 | 265 | .reveal .controls .navigate-right, 266 | .reveal .controls .navigate-right.enabled { 267 | border-left-color: #3b759e; } 268 | 269 | .reveal .controls .navigate-up, 270 | .reveal .controls .navigate-up.enabled { 271 | border-bottom-color: #3b759e; } 272 | 273 | .reveal .controls .navigate-down, 274 | .reveal .controls .navigate-down.enabled { 275 | border-top-color: #3b759e; } 276 | 277 | .reveal .controls .navigate-left.enabled:hover { 278 | border-right-color: #74a7cb; } 279 | 280 | .reveal .controls .navigate-right.enabled:hover { 281 | border-left-color: #74a7cb; } 282 | 283 | .reveal .controls .navigate-up.enabled:hover { 284 | border-bottom-color: #74a7cb; } 285 | 286 | .reveal .controls .navigate-down.enabled:hover { 287 | border-top-color: #74a7cb; } 288 | 289 | /********************************************* 290 | * PROGRESS BAR 291 | *********************************************/ 292 | .reveal .progress { 293 | background: rgba(0, 0, 0, 0.2); } 294 | 295 | .reveal .progress span { 296 | background: #3b759e; 297 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 298 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 299 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 300 | -------------------------------------------------------------------------------- /reveal.js/css/theme/blood.css: -------------------------------------------------------------------------------- 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 | @import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic); 13 | /********************************************* 14 | * GLOBAL STYLES 15 | *********************************************/ 16 | body { 17 | background: #222; 18 | background-color: #222; } 19 | 20 | .reveal { 21 | font-family: Ubuntu, "sans-serif"; 22 | font-size: 40px; 23 | font-weight: normal; 24 | color: #eee; } 25 | 26 | ::selection { 27 | color: #fff; 28 | background: #a23; 29 | text-shadow: none; } 30 | 31 | ::-moz-selection { 32 | color: #fff; 33 | background: #a23; 34 | text-shadow: none; } 35 | 36 | .reveal .slides > section, 37 | .reveal .slides > section > section { 38 | line-height: 1.3; 39 | font-weight: inherit; } 40 | 41 | /********************************************* 42 | * HEADERS 43 | *********************************************/ 44 | .reveal h1, 45 | .reveal h2, 46 | .reveal h3, 47 | .reveal h4, 48 | .reveal h5, 49 | .reveal h6 { 50 | margin: 0 0 20px 0; 51 | color: #eee; 52 | font-family: Ubuntu, "sans-serif"; 53 | font-weight: normal; 54 | line-height: 1.2; 55 | letter-spacing: normal; 56 | text-transform: none; 57 | text-shadow: 2px 2px 2px #222; 58 | word-wrap: break-word; } 59 | 60 | .reveal h1 { 61 | font-size: 3.77em; } 62 | 63 | .reveal h2 { 64 | font-size: 2.11em; } 65 | 66 | .reveal h3 { 67 | font-size: 1.55em; } 68 | 69 | .reveal h4 { 70 | font-size: 1em; } 71 | 72 | .reveal h1 { 73 | text-shadow: 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, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); } 74 | 75 | /********************************************* 76 | * OTHER 77 | *********************************************/ 78 | .reveal p { 79 | margin: 20px 0; 80 | line-height: 1.3; } 81 | 82 | /* Ensure certain elements are never larger than the slide itself */ 83 | .reveal img, 84 | .reveal video, 85 | .reveal iframe { 86 | max-width: 95%; 87 | max-height: 95%; } 88 | 89 | .reveal strong, 90 | .reveal b { 91 | font-weight: bold; } 92 | 93 | .reveal em { 94 | font-style: italic; } 95 | 96 | .reveal ol, 97 | .reveal dl, 98 | .reveal ul { 99 | display: inline-block; 100 | text-align: left; 101 | margin: 0 0 0 1em; } 102 | 103 | .reveal ol { 104 | list-style-type: decimal; } 105 | 106 | .reveal ul { 107 | list-style-type: disc; } 108 | 109 | .reveal ul ul { 110 | list-style-type: square; } 111 | 112 | .reveal ul ul ul { 113 | list-style-type: circle; } 114 | 115 | .reveal ul ul, 116 | .reveal ul ol, 117 | .reveal ol ol, 118 | .reveal ol ul { 119 | display: block; 120 | margin-left: 40px; } 121 | 122 | .reveal dt { 123 | font-weight: bold; } 124 | 125 | .reveal dd { 126 | margin-left: 40px; } 127 | 128 | .reveal q, 129 | .reveal blockquote { 130 | quotes: none; } 131 | 132 | .reveal blockquote { 133 | display: block; 134 | position: relative; 135 | width: 70%; 136 | margin: 20px auto; 137 | padding: 5px; 138 | font-style: italic; 139 | background: rgba(255, 255, 255, 0.05); 140 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 141 | 142 | .reveal blockquote p:first-child, 143 | .reveal blockquote p:last-child { 144 | display: inline-block; } 145 | 146 | .reveal q { 147 | font-style: italic; } 148 | 149 | .reveal pre { 150 | display: block; 151 | position: relative; 152 | width: 90%; 153 | margin: 20px auto; 154 | text-align: left; 155 | font-size: 0.55em; 156 | font-family: monospace; 157 | line-height: 1.2em; 158 | word-wrap: break-word; 159 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 160 | 161 | .reveal code { 162 | font-family: monospace; } 163 | 164 | .reveal pre code { 165 | display: block; 166 | padding: 5px; 167 | overflow: auto; 168 | max-height: 400px; 169 | word-wrap: normal; } 170 | 171 | .reveal table { 172 | margin: auto; 173 | border-collapse: collapse; 174 | border-spacing: 0; } 175 | 176 | .reveal table th { 177 | font-weight: bold; } 178 | 179 | .reveal table th, 180 | .reveal table td { 181 | text-align: left; 182 | padding: 0.2em 0.5em 0.2em 0.5em; 183 | border-bottom: 1px solid; } 184 | 185 | .reveal table th[align="center"], 186 | .reveal table td[align="center"] { 187 | text-align: center; } 188 | 189 | .reveal table th[align="right"], 190 | .reveal table td[align="right"] { 191 | text-align: right; } 192 | 193 | .reveal table tbody tr:last-child th, 194 | .reveal table tbody tr:last-child td { 195 | border-bottom: none; } 196 | 197 | .reveal sup { 198 | vertical-align: super; } 199 | 200 | .reveal sub { 201 | vertical-align: sub; } 202 | 203 | .reveal small { 204 | display: inline-block; 205 | font-size: 0.6em; 206 | line-height: 1.2em; 207 | vertical-align: top; } 208 | 209 | .reveal small * { 210 | vertical-align: top; } 211 | 212 | /********************************************* 213 | * LINKS 214 | *********************************************/ 215 | .reveal a { 216 | color: #a23; 217 | text-decoration: none; 218 | -webkit-transition: color .15s ease; 219 | -moz-transition: color .15s ease; 220 | transition: color .15s ease; } 221 | 222 | .reveal a:hover { 223 | color: #dd5566; 224 | text-shadow: none; 225 | border: none; } 226 | 227 | .reveal .roll span:after { 228 | color: #fff; 229 | background: #6a1520; } 230 | 231 | /********************************************* 232 | * IMAGES 233 | *********************************************/ 234 | .reveal section img { 235 | margin: 15px 0px; 236 | background: rgba(255, 255, 255, 0.12); 237 | border: 4px solid #eee; 238 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 239 | 240 | .reveal section img.plain { 241 | border: 0; 242 | box-shadow: none; } 243 | 244 | .reveal a img { 245 | -webkit-transition: all .15s linear; 246 | -moz-transition: all .15s linear; 247 | transition: all .15s linear; } 248 | 249 | .reveal a:hover img { 250 | background: rgba(255, 255, 255, 0.2); 251 | border-color: #a23; 252 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 253 | 254 | /********************************************* 255 | * NAVIGATION CONTROLS 256 | *********************************************/ 257 | .reveal .controls .navigate-left, 258 | .reveal .controls .navigate-left.enabled { 259 | border-right-color: #a23; } 260 | 261 | .reveal .controls .navigate-right, 262 | .reveal .controls .navigate-right.enabled { 263 | border-left-color: #a23; } 264 | 265 | .reveal .controls .navigate-up, 266 | .reveal .controls .navigate-up.enabled { 267 | border-bottom-color: #a23; } 268 | 269 | .reveal .controls .navigate-down, 270 | .reveal .controls .navigate-down.enabled { 271 | border-top-color: #a23; } 272 | 273 | .reveal .controls .navigate-left.enabled:hover { 274 | border-right-color: #dd5566; } 275 | 276 | .reveal .controls .navigate-right.enabled:hover { 277 | border-left-color: #dd5566; } 278 | 279 | .reveal .controls .navigate-up.enabled:hover { 280 | border-bottom-color: #dd5566; } 281 | 282 | .reveal .controls .navigate-down.enabled:hover { 283 | border-top-color: #dd5566; } 284 | 285 | /********************************************* 286 | * PROGRESS BAR 287 | *********************************************/ 288 | .reveal .progress { 289 | background: rgba(0, 0, 0, 0.2); } 290 | 291 | .reveal .progress span { 292 | background: #a23; 293 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 294 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 295 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 296 | 297 | .reveal p { 298 | font-weight: 300; 299 | text-shadow: 1px 1px #222; } 300 | 301 | .reveal h1, 302 | .reveal h2, 303 | .reveal h3, 304 | .reveal h4, 305 | .reveal h5, 306 | .reveal h6 { 307 | font-weight: 700; } 308 | 309 | .reveal p code { 310 | background-color: #23241f; 311 | display: inline-block; 312 | border-radius: 7px; } 313 | 314 | .reveal small code { 315 | vertical-align: baseline; } 316 | --------------------------------------------------------------------------------