diff --git a/htdocs/index.php b/htdocs/index.php index 4818cd0..e3d7691 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -106,6 +106,9 @@ + + + diff --git a/htdocs/parts/sidebar.php b/htdocs/parts/sidebar.php index 0d16f63..908bfb5 100644 --- a/htdocs/parts/sidebar.php +++ b/htdocs/parts/sidebar.php @@ -88,6 +88,13 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {

+ +

+ + Tables +

+
+
diff --git a/htdocs/parts/tables.php b/htdocs/parts/tables.php new file mode 100644 index 0000000..a068114 --- /dev/null +++ b/htdocs/parts/tables.php @@ -0,0 +1,66 @@ + + + +
+

Tables + +

+
+
+

Unstyled table

+

+ Unstyled tables have no cell gap, no border and no other form of styling. +

+ + + + + + + + + +
Cell 1.1Cell 1.2
Cell 2.1Cell 2.2
+ + table>tr*2>td*2 + + +

Stylish table

+

+ Tables can quickly be styled by simply using the following classes: +

+ + + + + + + + + + + + + + +
Head 1Head 2
Cell 1.1Cell 1.2
Cell 2.1Cell 2.2
+ + + table.stylish.table-p-s.border
+   th>td*2
+   tr*2>td*2 +
+ + + +
\ No newline at end of file diff --git a/scss/site/table.scss b/scss/site/table.scss index f1d4c93..c1ed917 100644 --- a/scss/site/table.scss +++ b/scss/site/table.scss @@ -48,6 +48,7 @@ table.stylish { } } +// FIXME: Move this out in its own alignment section... // Centers the cells' content vertically .table-v-center { tr, td {