Skip to content

Commit e24ad9b

Browse files
committed
updated header animation
1 parent 817ea1f commit e24ad9b

3 files changed

Lines changed: 16 additions & 25 deletions

File tree

‎_includes/home_header.html‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@
77
&nbsp;&nbsp;&nbsp;predictive,<br/>
88
&nbsp;&nbsp;&nbsp;prescriptive&nbsp;<span class="todo"># todo</span><br/>
99
]
10-
<!-- <br/><br/>
11-
<span class="todo"># to be joined here:</span>
12-
<br/><span class="todo">#</span>
10+
<br/><br/>
11+
<span class="todo"># to be joined here:</span>
1312
<br/><span class="todo"># - modeling &amp; simulation</span>
1413
<br/><span class="todo"># - machine learning</span>
1514
<br/><span class="todo"># &nbsp;&nbsp;- privacy preserving</span>
1615
<br/><span class="todo"># &nbsp;&nbsp;- interpretable</span>
17-
<br/><span class="todo"># - optimization</span> -->
16+
<br/><span class="todo"># - optimization</span>
1817
</div>
1918

2019
<!-- <div class="headerCodeBlock2">

‎_includes/svg/header-bg2.svg‎

Lines changed: 1 addition & 1 deletion
Loading

‎_sass/home/_header.scss‎

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,8 @@
5656
}
5757

5858
@media(min-width:768px) {
59-
.headerCodeBlock {
60-
// width: 500px;
61-
padding-top: 100px;
62-
// margin: auto auto auto auto;
59+
.headerCodeBlock {
60+
padding-top: 200px;
6361
font-size: 35px;
6462
}
6563

@@ -390,50 +388,44 @@
390388

391389

392390
.header-bg svg path, .header-bg svg polygon {
393-
opacity: 0.10;
391+
opacity: 0.08;
394392
z-index: 0;
395393

394+
animation-duration: 5s;
396395
animation-iteration-count: infinite;
397396
}
398397

399398

400399
.header-bg svg #spa-pt2 {
401-
animation-name: parts1;
402-
animation-duration: 3s;
400+
animation-name: parts1;
403401
animation-delay: 0.0s;
404402
}
405403

406404
.header-bg svg #spa-pt1 {
407-
animation-name: parts1;
408-
animation-duration: 3s;
405+
animation-name: parts1;
409406
animation-delay: 0.25s;
410407
}
411408

412409

413410
.header-bg svg #spa-pt5 {
414-
animation-name: parts1;
415-
animation-duration: 3s;
411+
animation-name: parts1;
416412
animation-delay: 0.5s;
417413
}
418414

419415
.header-bg svg #spa-pt3 {
420-
animation-name: parts1;
421-
animation-duration: 3s;
416+
animation-name: parts1;
422417
animation-delay: 0.75s;
423418
}
424419

425420
.header-bg svg #spa-pt4 {
426-
animation-name: parts1;
427-
animation-duration: 3s;
421+
animation-name: parts1;
428422
animation-delay: 1s;
429423
}
430424

431-
432-
433425
@keyframes parts1 {
434-
0% { opacity: 0.10; }
435-
50% { opacity: 0.30; }
436-
100% { opacity: 0.10; }
426+
0% { opacity: 0.08; }
427+
50% { opacity: 0.20; }
428+
100% { opacity: 0.08; }
437429
}
438430

439431
@keyframes parts2 {

0 commit comments

Comments
 (0)