[Fusionforge-commits] r19172 - trunk/src/www/themes/css

Marc-Etienne VARGENAU vargenau at fusionforge.org
Fri Feb 14 17:04:47 CET 2014


Author: vargenau
Date: 2014-02-14 17:04:47 +0100 (Fri, 14 Feb 2014)
New Revision: 19172

Modified:
   trunk/src/www/themes/css/fusionforge.css
Log:
table class="boxed", table class="bordered"

Modified: trunk/src/www/themes/css/fusionforge.css
===================================================================
--- trunk/src/www/themes/css/fusionforge.css	2014-02-14 13:26:36 UTC (rev 19171)
+++ trunk/src/www/themes/css/fusionforge.css	2014-02-14 16:04:47 UTC (rev 19172)
@@ -1020,3 +1020,38 @@
 	background: #28b8c0;
 	height: 10px;
 }
+
+/*
+ * table class="boxed"
+ * will put a border around the table (but not around the cells)
+ *
+ * table class="bordered"
+ * will put a border around the table and the cells
+ *
+ * In both cases, the caption will be bold and centered under the table
+ *
+ * In both cases, the headers (th) will have a "#d8d8d8" background
+ */
+
+table.boxed, table.bordered, table.bordered th, table.bordered td {
+    border: 1px solid;
+    border-collapse: collapse;
+    vertical-align: top;
+}
+
+table.boxed td, table.bordered td,
+table.boxed th, table.bordered th {
+    padding: 0 5px;
+}
+
+table.boxed caption, table.bordered caption {
+    text-align: center;
+    font-weight: bold;
+    caption-side: bottom;
+    padding-top: 0.8em;
+}
+
+table.boxed th, table.bordered th {
+    font-weight: bold;
+    background-color: #d8d8d8;
+}




More information about the Fusionforge-commits mailing list