Skip to content

Commit efe998d

Browse files
authored
Improve commenting/documentation
1 parent 8d0d187 commit efe998d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<!doctype HTML>
22
<html>
3+
<!-- Hi there, kind visitor! If you scroll down to <table>, you'll find nicely written markup. Feel free to contribute! -->
34
<title>Periodic Table of the Web</title>
45
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />
56
<a class="github-fork-ribbon left-top" href="https://github.com/CrazyPython/wwwperiodictable" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
67
<style>
8+
/* How this works is each column is actually a table row. The following CSS rotates and transforms the table so it looks normal. */
79
table { transform: rotate(90deg) scaleY(-1) }
810
table th, table td { transform: rotate(-90deg) scaleY(1) scaleX(-1); }
911
body { margin-left: 7vw; }
@@ -24,8 +26,6 @@
2426
dt { font-size: xxx-large; font-weight: bold; text-align: center;}
2527
dd { display: block; margin-inline-start: 0px; position: relative; padding-left: var(--left-padding);*//* text-align: center; }*/
2628

27-
28-
2929
td { background-color: var(--color); color: white; outline: 1px solid var(--color); }
3030
a { color: white; }
3131
.other { --color: grey; } /* default/other */

0 commit comments

Comments
 (0)