Skip to content
This repository was archived by the owner on May 31, 2019. It is now read-only.

Commit c073515

Browse files
committed
Update screenshot and fix a typo
1 parent 86671cc commit c073515

File tree

8 files changed

+29
-26
lines changed

8 files changed

+29
-26
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.idea
2+
.DS_Store
File renamed without changes.

img/3/screenshot.png

-243 KB
Binary file not shown.

img/4/screenshot.png

803 KB
Loading

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302
</div>
303303

304304
<script>
305-
const frameLengths = [4, 3, 3, 1, 9, 10, 2];
305+
const frameLengths = [4, 3, 3, 1, 9, 10, 1];
306306
const slideLength = frameLengths.length;
307307
const show = (slideIndex = 0, frameIndex = 0) => {
308308
let initial = false;
@@ -362,4 +362,4 @@
362362
</script>
363363

364364
</body>
365-
</html>
365+
</html>

stylesheet.css

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

stylesheet.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

stylesheet.scss

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,15 @@ a {
132132
}
133133

134134
&._0 {
135-
background-image: url(./img/1/visualgo.png);
135+
background-image: url(img/1/visualgo.png);
136136
}
137137

138138
&._1 {
139-
background-image: url(./img/1/usfca.png);
139+
background-image: url(img/1/usfca.png);
140140
}
141141

142142
&._2 {
143-
background-image: url(./img/1/khan.png);
143+
background-image: url(img/1/khan.png);
144144
}
145145
}
146146

@@ -188,11 +188,14 @@ a {
188188
}
189189

190190
.slide-3 {
191-
background: url(./img/2/logo.png) no-repeat center;
191+
background: url(img/3/logo.png) no-repeat center;
192192
}
193193

194194
.slide-4 {
195-
background: url(./img/3/screenshot.png) no-repeat center;
195+
background: url(img/4/screenshot.png) no-repeat center;
196+
background-size: contain;
197+
198+
$height-header: 84px;
196199

197200
.highlight {
198201
position: absolute;
@@ -216,29 +219,29 @@ a {
216219
&._3,
217220
&._4 {
218221
.highlight {
219-
bottom: 1080-84px;
222+
bottom: 1080-$height-header;
220223
}
221224
}
222225

223226
&._5 {
224227
.highlight {
225-
top: 84px;
228+
top: $height-header;
226229
right: 1920 * .8px;
227230
}
228231
}
229232

230233
&._6,
231234
&._7 {
232235
.highlight {
233-
top: 84px;
236+
top: $height-header;
234237
left: 1920 * .2px;
235238
right: 1920 * .4px;
236239
}
237240
}
238241

239242
&._8 {
240243
.highlight {
241-
top: 84px;
244+
top: $height-header;
242245
left: 1920 * .6px;
243246
right: 0;
244247
}
@@ -455,12 +458,10 @@ a {
455458
content: 'When the back-end compiles and runs code, the visualization library emits a change log.';
456459
}
457460
&._9:after {
458-
content: 'The back-end then passes the change log on to the front-end, and the front-end interprets and renders it step by step';
461+
content: 'The back-end then passes the change log on to the front-end, and the front-end interprets and renders it step by step.';
459462
}
460463
}
461464

462-
.slide-6 {
463-
&._0:after {
464-
content: 'Visit algorithm-visualizer.org and be a part of our community.';
465-
}
466-
}
465+
.slide-6:after {
466+
content: 'Visit algorithm-visualizer.org.';
467+
}

0 commit comments

Comments
 (0)