-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
190 lines (152 loc) · 10.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- To print user URL http://localhost:8000/?print-pdf -->
<title>Tvořím web: HTML/CSS (Czechitas)</title>
<link rel="stylesheet" href="css/reveal.css">
<style> .print-pdf .reveal .slide-background { background-size: contain; } </style>
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/idea.css">
<!-- Printing and PDF exports -->
<script>
function addStylestheet(href) {
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = href;
document.getElementsByTagName( 'head' )[0].appendChild( link );
}
var isPrint = !!window.location.search.match( /print-pdf/gi );
addStylestheet(isPrint ? 'css/theme/white.css' : 'css/theme/czechitas.css');
addStylestheet(isPrint ? 'css/print/pdf.css' : 'css/print/paper.css');
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section data-markdown="slides/00-ovladani.md" data-print="noprint" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/00-todolist.md" data-print="noprint" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$" contenteditable class="put-image-to-top-right"></section>
<section data-markdown="slides/intro-czechitas.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/intro-obalka.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/intro-co-cekat.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/intro-pravidla.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/intro-prubeh.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/00-jak-funguje-web.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/01-repl.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/02-html-struktura.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<!-- <section data-markdown="slides/prestavka.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section> -->
<section data-markdown="slides/03-html-odstavce-odkazy.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/04-html-obrazky.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/05-html-hlavicka.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<!-- <section data-markdown="slides/html-shrnuti.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section> -->
<section data-markdown="slides/devtools.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/06-css-uvod.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/07-css-vlastnosti-textu.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/08-css-velikosti-jednotky.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/09-css-pozadi.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/10-css-tridy.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/12-css-pokrocile-selektory.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/13-css-pseudotridy.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/11-css-box-model.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/19-float.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<!-- <section data-markdown="slides/14-css-shorthands.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section> -->
<section data-markdown="slides/15-html-nav.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<!-- <section data-markdown="slides/prestavka-10-minut.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section> -->
<section data-markdown="slides/16-css-nav.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<!-- <section data-markdown="slides/17-psekce-o-me.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section> -->
<section data-markdown="slides/18-zakonceni.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/blank.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<section data-markdown="slides/tasks.md" data-print="noprint" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n----\s*\r?\n$"></section>
<!--
<section data-markdown="slides/extra.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n---\s*\r?\n$"></section>
<section data-markdown="slides/extra-specificita.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n---\s*\r?\n$"></section>
<section data-markdown="slides/extra-jak-funguje-prenos-souboru.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n---\s*\r?\n$"></section>
<section data-markdown="slides/extra-url.md" data-separator-notes="^\r?\n>>>$" data-separator="^\r?\n---\s*\r?\n$" data-separator-vertical="^\r?\n---\s*\r?\n$"></section>
-->
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
if(isPrint) {
document.querySelectorAll("section[data-print='noprint']").forEach(function(element) { element.parentNode.removeChild(element); });
}
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
history: true,
width: isPrint ? 297*5 : 1024, height: isPrint ? 210*5 : 768,
pdfMaxPagesPerSlide: 1,
// Factor of the display size that should remain empty around the content
margin: 0.05,
// Bounds for smallest/largest possible scale to apply to content
minScale: 0.1,
maxScale: 8,
// other settings
slideNumber: true,
mouseWheel: true,
backgroundTransition: 'none',
transitionSpeed: 'fast',
previewLinks: true,
// dev settings
// fragments: false, // vypnout postupné zobrazování prvků s třídou fragment
transition: 'none', // vypnout efekty na přechodu mezi slajdy
showNotes: isPrint, // zapnout viditelné poznámky
menu: {
side: 'left',
numbers: false,
titleSelector: 'h1, h2, h3, h4, h5, h6',
hideMissingTitles: false,
markers: true,
custom: false,
// Specifies the themes that will be available in the themes
// menu panel. Set to 'false' to hide themes panel.
themes: false,
// Specifies if the transitions menu panel will be shown.
transitions: true,
// Adds a menu button to the slides to open the menu panel.
// Set to 'false' to hide the button.
openButton: !isPrint,
openSlideNumber: false,
keyboard: true
},
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
{ src: 'plugin/markdown/marked.js' },
{ src: 'plugin/markdown/markdown.js' },
{ src: 'plugin/notes/notes.js', async: true },
{
src: 'plugin/highlight/highlight.js', async: true, callback: function(){
hljs.initHighlightingOnLoad();
}
},
{ src: 'plugin/menu/menu.js' },
// notes-server; served via node_modules
{ src: 'socket.io/socket.io.js', async: true },
{ src: 'plugin/notes-server/client.js', async: true },
]
});
// Vypnenout a zapnout vlastnosti pro urcite slajdy
Reveal.addEventListener('slidechanged', function(event){
if (event.currentSlide.attributes.getNamedItem('data-state')){
var currentSlideState = event.currentSlide.attributes.getNamedItem('data-state').nodeValue;
}
if (currentSlideState == 'c-slide-blank' || currentSlideState == 'c-slide-video'){
Reveal.configure({
controls: false,
margin: 0
});
} else {
Reveal.configure({
controls: true,
margin: 0.05
});
}
});
</script>
<script>
document.body.setAttribute('spellcheck', false);
</script>
</body>
</html>