Skip to content

Commit 8b112f6

Browse files
committed
GH-202: Add 2NF transitions
1 parent 52f5bce commit 8b112f6

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

src/pres/normalization/index.html

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -471,11 +471,13 @@ <h3>Requirements</h3>
471471
data-x="3000"
472472
data-y="750"
473473
data-rotate-z="-15">
474-
<h2>Second normal form</h2>
475-
<section>
476-
<h2>Requirements</h2>
474+
<h2 class="fade-in">Second normal form</h2>
475+
<section class="fly-in">
476+
<h3>Requirements</h3>
477477
<ul>
478-
<li>Each non-key attribute must depend on the entire primary key</li>
478+
<li>
479+
Each non-key attribute must depend on the entire primary key.
480+
</li>
479481
</ul>
480482
</section>
481483
</div>
@@ -484,7 +486,7 @@ <h2>Requirements</h2>
484486
data-rel-position="relative"
485487
data-rel-x="0"
486488
data-rel-y="2000">
487-
<section>
489+
<section class="fade-in fade-out">
488490
<table class="db-table" aria-label="data">
489491
<thead>
490492
<tr id="non-key-attrs--2nf__username-item_type">
@@ -534,15 +536,13 @@ <h2>Requirements</h2>
534536
</tbody>
535537
</table>
536538
</section>
537-
<section class="fly-in">
539+
<section class="fly-in fade-out">
538540
<ul>
539541
<li>
540-
<i class="icon-pass"></i>
541-
<code>{ name, item_type } <-- { item_quantity }</code>
542+
<i class="icon-pass"></i><code>{ name, item_type } <-- { item_quantity }</code>
542543
</li>
543544
<li>
544-
<i class="icon-fail"></i>
545-
<code>{ name } <-- { level }</code>
545+
<i class="icon-fail"></i><code>{ name } <-- { level }</code>
546546
</li>
547547
</ul>
548548
</section>
@@ -552,7 +552,7 @@ <h2>Requirements</h2>
552552
data-rel-position="relative"
553553
data-rel-x="0"
554554
data-rel-y="-1000">
555-
<section>
555+
<section class="fade-in">
556556
<table class="db-table" aria-label="data">
557557
<caption>Player Inventory</caption>
558558
<thead>
@@ -566,27 +566,27 @@ <h2>Requirements</h2>
566566
<tr id="table--2nf__prombery87-sword">
567567
<td class="primary-key">prombery87</td>
568568
<td class="primary-key">sword</td>
569-
<td>1</td>
569+
<td class="text-end">1</td>
570570
</tr>
571571
<tr id="table--2nf__prombery87-ring">
572572
<td class="primary-key">prombery87</td>
573573
<td class="primary-key">ring</td>
574-
<td>4</td>
574+
<td class="text-end">4</td>
575575
</tr>
576576
<tr id="table--2nf__wheed1997-copper-coin">
577577
<td class="primary-key">wheed1997</td>
578578
<td class="primary-key">copper coin</td>
579-
<td>1</td>
579+
<td class="text-end">1</td>
580580
</tr>
581581
<tr id="table--2nf__acen1999-wizard-hat">
582582
<td class="primary-key">acen1999</td>
583583
<td class="primary-key">wizard hat</td>
584-
<td>1</td>
584+
<td class="text-end">1</td>
585585
</tr>
586586
<tr id="table--2nf__acen1999-robe">
587587
<td class="primary-key">acen1999</td>
588588
<td class="primary-key">robe</td>
589-
<td>1</td>
589+
<td class="text-end">1</td>
590590
</tr>
591591
</tbody>
592592
</table>
@@ -602,17 +602,17 @@ <h2>Requirements</h2>
602602
<tbody>
603603
<tr id="table--2nf__prombery87">
604604
<td class="primary-key">prombery87</td>
605-
<td>7</td>
605+
<td class="text-center">7</td>
606606
<td>Advanced</td>
607607
</tr>
608608
<tr id="table--2nf__wheed1997">
609609
<td class="primary-key">wheed1997</td>
610-
<td>6</td>
610+
<td class="text-center">6</td>
611611
<td>Intermediate</td>
612612
</tr>
613613
<tr id="table--2nf__acen1999">
614614
<td class="primary-key">acen1999</td>
615-
<td>1</td>
615+
<td class="text-center">1</td>
616616
<td>Beginner</td>
617617
</tr>
618618
</tbody>
@@ -623,8 +623,8 @@ <h2>Requirements</h2>
623623
<div class="step overview" id="overview--2nf"
624624
data-rel-position="relative"
625625
data-rel-x="0"
626-
data-rel-y="200"
627-
data-scale="3">
626+
data-rel-y="-300"
627+
data-scale="2">
628628
</div>
629629

630630
<!-- 3NF -->

0 commit comments

Comments
 (0)