+ ⚠️ These styles may slightly change again before the 1.0.0 release ⚠️
+
+
+
Default table
+
+
+ Tables have no border, cell gap and other form of styling by default.
+ The cell's content are just aligned in the top of the cell.
+
+
+
+
Cell 1.1
+
Cell 1.2
+
Cell 1.3
+
+
+
Cell 2.1
+
Cell 2.2
+
Cell 2.3
+
+
+
Cell 3.1
+
+
+
+
+
Cell content alignment
+
+
+ The content of a table's cells can be uniformly changed via the
+ .table-v-center and .table-v-bottom classes.
+
+
+
+
Top (Default)
+
+
+
1.1
+
1.2
+
+
+
2.1
+
+
+
+
+
Middle
+
+
+
1.1
+
1.2
+
+
+
2.1
+
+
+
+
+
End
+
+
+
1.1
+
1.2
+
+
+
2.1
+
+
+
+
+
+
+
Cell padding
+
+ All of a given table's cells can be padded uniformly by using the
+ .table-p-X class where X
+ can be replaced by any of the standard sizes.
+ Usable sizes:
+ xxs, xs,
+ s, m,
+ l, xl
+
+
+
+
+
+
+
Cell 1.1
+
Cell 1.2
+
+
+
Cell 2.1
+
Cell 2.2
+
+
+ .table-p-xxs
+
+
+
+
+
Cell 1.1
+
Cell 1.2
+
+
+
Cell 2.1
+
Cell 2.2
+
+
+ .table-p-xs
+
+
+
+
+
Cell 1.1
+
Cell 1.2
+
+
+
Cell 2.1
+
Cell 2.2
+
+
+ .table-p-s
+
+
+
+
+
Cell 1.1
+
Cell 1.2
+
+
+
Cell 2.1
+
Cell 2.2
+
+
+ .table-p-m
+
+
+
+
+
Cell 1.1
+
Cell 1.2
+
+
+
Cell 2.1
+
Cell 2.2
+
+
+ .table-p-l
+
+
+
+
+
Cell 1.1
+
Cell 1.2
+
+
+
Cell 2.1
+
Cell 2.2
+
+
+ .table-p-xl
+
+
+
+
+
\ No newline at end of file
diff --git a/htdocs/parts/tables.php b/htdocs/parts/tables_site.php
similarity index 72%
rename from htdocs/parts/tables.php
rename to htdocs/parts/tables_site.php
index 9a30c18..b4988a9 100644
--- a/htdocs/parts/tables.php
+++ b/htdocs/parts/tables_site.php
@@ -5,7 +5,7 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
}
?>
-
+
Tables
@@ -17,27 +17,7 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
⚠️ These styles will change before the 1.0.0 release ⚠️
-
Unstyled table
-
-
- Unstyled tables have no cell gap, no border and no other form of styling.
-
-
-
-
Cell 1.1
-
Cell 1.2
-
-
-
Cell 2.1
-
Cell 2.2
-
-
-
- table>tr*2>td*2
-
-
-
-
Stylish table
+
Stylish table
Tables can quickly be styled by simply using the following classes:
@@ -68,7 +48,5 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
tr*2>td*2