Skip to content

Commit f4bc60a

Browse files
committed
Initial commit
0 parents  commit f4bc60a

File tree

140 files changed

+30042
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+30042
-0
lines changed

CONTRIBUTING.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Contributing
2+
3+
Please keep the [issue tracker](http://github.com/hakimel/reveal.js/issues) limited to **bug reports**, **feature requests** and **pull requests**.
4+
5+
6+
### Personal Support
7+
If you have personal support or setup questions the best place to ask those are [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js).
8+
9+
10+
### Bug Reports
11+
When reporting a bug make sure to include information about which browser and operating system you are on as well as the necessary steps to reproduce the issue. If possible please include a link to a sample presentation where the bug can be tested.
12+
13+
14+
### Pull Requests
15+
- Should follow the coding style of the file you work in, most importantly:
16+
- Tabs to indent
17+
- Single-quoted strings
18+
- Should be made towards the **dev branch**
19+
- Should be submitted from a feature/topic branch (not your master)
20+
21+
22+
### Plugins
23+
Please do not submit plugins as pull requests. They should be maintained in their own separate repository. More information here: https://github.com/hakimel/reveal.js/wiki/Plugin-Guidelines

LICENSE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (C) 2020 Hakim El Hattab, http://hakim.se, and reveal.js contributors
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<p align="center">
2+
<a href="https://revealjs.com">
3+
<img src="https://hakim-static.s3.amazonaws.com/reveal-js/logo/v1/reveal-black-text.svg" alt="reveal.js" width="450">
4+
</a>
5+
<br><br>
6+
<a href="https://github.com/hakimel/reveal.js/actions"><img src="https://github.com/hakimel/reveal.js/workflows/tests/badge.svg"></a>
7+
<a href="https://slides.com/"><img src="https://s3.amazonaws.com/static.slid.es/images/slides-github-banner-320x40.png?1" alt="Slides" width="160" height="20"></a>
8+
</p>
9+
10+
reveal.js is an open source HTML presentation framework. It enables anyone with a web browser to create fully featured and beautiful presentations for free. [Check out the live demo](https://revealjs.com/).
11+
12+
The framework comes with a broad range of features including [nested slides](https://revealjs.com/vertical-slides/), [Markdown support](https://revealjs.com/markdown/), [Auto-Animate](https://revealjs.com/auto-animate/), [PDF export](https://revealjs.com/pdf-export/), [speaker notes](https://revealjs.com/speaker-view/), [LaTeX support](https://revealjs.com/math/), [syntax highlighted code](https://revealjs.com/code/) and much more.
13+
14+
<h1>
15+
<a href="https://revealjs.com/installation" style="font-size: 3em;">Get Started</a>
16+
</h1>
17+
18+
## Documentation
19+
The full reveal.js documentation is available at [revealjs.com](https://revealjs.com).
20+
21+
## Online Editor
22+
Want to create your presentation using a visual editor? Try the official reveal.js presentation platform for free at [Slides.com](https://slides.com). It's made by the same people behind reveal.js.
23+
24+
## License
25+
26+
MIT licensed
27+
28+
Copyright (C) 2011-2020 Hakim El Hattab, https://hakim.se

css/layout.scss

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/**
2+
* Layout helpers.
3+
*/
4+
5+
// Stretch an element vertically based on available space
6+
.reveal .stretch,
7+
.reveal .r-stretch {
8+
max-width: none;
9+
max-height: none;
10+
}
11+
12+
.reveal pre.stretch code,
13+
.reveal pre.r-stretch code {
14+
height: 100%;
15+
max-height: 100%;
16+
box-sizing: border-box;
17+
}
18+
19+
// Text that auto-fits it's container
20+
.reveal .r-fit-text {
21+
display: inline-block; // https://github.com/rikschennink/fitty#performance
22+
white-space: nowrap;
23+
}
24+
25+
// Stack multiple elements on top of each other
26+
.reveal .r-stack {
27+
display: grid;
28+
}
29+
30+
.reveal .r-stack > * {
31+
grid-area: 1/1;
32+
margin: auto;
33+
}
34+
35+
// Horizontal and vertical stacks
36+
.reveal .r-vstack,
37+
.reveal .r-hstack {
38+
display: flex;
39+
40+
img, video {
41+
min-width: 0;
42+
min-height: 0;
43+
object-fit: contain;
44+
}
45+
}
46+
47+
.reveal .r-vstack {
48+
flex-direction: column;
49+
align-items: center;
50+
justify-content: center;
51+
}
52+
53+
.reveal .r-hstack {
54+
flex-direction: row;
55+
align-items: center;
56+
justify-content: center;
57+
}
58+
59+
// Naming based on tailwindcss
60+
.reveal .items-stretch { align-items: stretch; }
61+
.reveal .items-start { align-items: flex-start; }
62+
.reveal .items-center { align-items: center; }
63+
.reveal .items-end { align-items: flex-end; }
64+
65+
.reveal .justify-between { justify-content: space-between; }
66+
.reveal .justify-around { justify-content: space-around; }
67+
.reveal .justify-start { justify-content: flex-start; }
68+
.reveal .justify-center { justify-content: center; }
69+
.reveal .justify-end { justify-content: flex-end; }

css/print/paper.scss

Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
/* Default Print Stylesheet Template
2+
by Rob Glazebrook of CSSnewbie.com
3+
Last Updated: June 4, 2008
4+
5+
Feel free (nay, compelled) to edit, append, and
6+
manipulate this file as you see fit. */
7+
8+
@media print {
9+
html:not(.print-pdf) {
10+
11+
background: #fff;
12+
width: auto;
13+
height: auto;
14+
overflow: visible;
15+
16+
body {
17+
background: #fff;
18+
font-size: 20pt;
19+
width: auto;
20+
height: auto;
21+
border: 0;
22+
margin: 0 5%;
23+
padding: 0;
24+
overflow: visible;
25+
float: none !important;
26+
}
27+
28+
.nestedarrow,
29+
.controls,
30+
.fork-reveal,
31+
.share-reveal,
32+
.state-background,
33+
.reveal .progress,
34+
.reveal .backgrounds,
35+
.reveal .slide-number {
36+
display: none !important;
37+
}
38+
39+
body, p, td, li {
40+
font-size: 20pt!important;
41+
color: #000;
42+
}
43+
44+
h1,h2,h3,h4,h5,h6 {
45+
color: #000!important;
46+
height: auto;
47+
line-height: normal;
48+
text-align: left;
49+
letter-spacing: normal;
50+
}
51+
52+
/* Need to reduce the size of the fonts for printing */
53+
h1 { font-size: 28pt !important; }
54+
h2 { font-size: 24pt !important; }
55+
h3 { font-size: 22pt !important; }
56+
h4 { font-size: 22pt !important; font-variant: small-caps; }
57+
h5 { font-size: 21pt !important; }
58+
h6 { font-size: 20pt !important; font-style: italic; }
59+
60+
a:link,
61+
a:visited {
62+
color: #000 !important;
63+
font-weight: bold;
64+
text-decoration: underline;
65+
}
66+
67+
ul, ol, div, p {
68+
visibility: visible;
69+
position: static;
70+
width: auto;
71+
height: auto;
72+
display: block;
73+
overflow: visible;
74+
margin: 0;
75+
text-align: left !important;
76+
}
77+
.reveal pre,
78+
.reveal table {
79+
margin-left: 0;
80+
margin-right: 0;
81+
}
82+
.reveal pre code {
83+
padding: 20px;
84+
}
85+
.reveal blockquote {
86+
margin: 20px 0;
87+
}
88+
.reveal .slides {
89+
position: static !important;
90+
width: auto !important;
91+
height: auto !important;
92+
93+
left: 0 !important;
94+
top: 0 !important;
95+
margin-left: 0 !important;
96+
margin-top: 0 !important;
97+
padding: 0 !important;
98+
zoom: 1 !important;
99+
transform: none !important;
100+
101+
overflow: visible !important;
102+
display: block !important;
103+
104+
text-align: left !important;
105+
perspective: none;
106+
107+
perspective-origin: 50% 50%;
108+
}
109+
.reveal .slides section {
110+
visibility: visible !important;
111+
position: static !important;
112+
width: auto !important;
113+
height: auto !important;
114+
display: block !important;
115+
overflow: visible !important;
116+
117+
left: 0 !important;
118+
top: 0 !important;
119+
margin-left: 0 !important;
120+
margin-top: 0 !important;
121+
padding: 60px 20px !important;
122+
z-index: auto !important;
123+
124+
opacity: 1 !important;
125+
126+
page-break-after: always !important;
127+
128+
transform-style: flat !important;
129+
transform: none !important;
130+
transition: none !important;
131+
}
132+
.reveal .slides section.stack {
133+
padding: 0 !important;
134+
}
135+
.reveal section:last-of-type {
136+
page-break-after: avoid !important;
137+
}
138+
.reveal section .fragment {
139+
opacity: 1 !important;
140+
visibility: visible !important;
141+
142+
transform: none !important;
143+
}
144+
.reveal section img {
145+
display: block;
146+
margin: 15px 0px;
147+
background: rgba(255,255,255,1);
148+
border: 1px solid #666;
149+
box-shadow: none;
150+
}
151+
152+
.reveal section small {
153+
font-size: 0.8em;
154+
}
155+
156+
.reveal .hljs {
157+
max-height: 100%;
158+
white-space: pre-wrap;
159+
word-wrap: break-word;
160+
word-break: break-word;
161+
font-size: 15pt;
162+
}
163+
164+
.reveal .hljs .hljs-ln-numbers {
165+
white-space: nowrap;
166+
}
167+
168+
.reveal .hljs td {
169+
font-size: inherit !important;
170+
color: inherit !important;
171+
}
172+
}
173+
}

0 commit comments

Comments
 (0)