Skip to content

Commit 4155ce6

Browse files
committed
Fix layout
1 parent 6db0f95 commit 4155ce6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
table th,
1111
table td { transform: rotate(-90deg) scaleY(1) scaleX(-1); }
1212
/*table th { transform: rotate(-90deg) scaleY(1) scaleX(-1) rotate(-45deg); }*/
13-
body { margin-left: 10em; }
14-
main { transform: translateX(17vw) translateY(-23vw); }
13+
body { margin-left: 8em; }
14+
main { transform: translateX(32ch) translateY(-50ch); }
1515

1616
/*th { max-width: 5vw; max-height: 10vw; }*/
17-
td { width: 10em; height: 10em; }
17+
td { width: 17ch; height: 17ch; }
1818
table { border-spacing: 1px 4px; }
1919
body { font-family: Arial, sans-serif; }
2020

@@ -498,7 +498,7 @@ <h3>Key</h3>
498498
</tbody>
499499
</table>
500500
</main>
501-
<div style="position: relative; bottom: 40vw">
501+
<div style="position: relative; bottom: 90ch">
502502
<h3>How is it organized?</h3>
503503
<p>Just like a real periodic table, the positioning has a meaning.</p>
504504

0 commit comments

Comments
 (0)