Revision: 6445
http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6445&view=rev
Author: vargenau
Date: 2009-01-24 11:40:07 +0000 (Sat, 24 Jan 2009)
Log Message:
-----------
boxed and bordered tables
Modified Paths:
--------------
trunk/themes/SpaceWiki/SpaceWiki.css
Modified: trunk/themes/SpaceWiki/SpaceWiki.css
===================================================================
--- trunk/themes/SpaceWiki/SpaceWiki.css 2009-01-24 11:37:17 UTC (rev 6444)
+++ trunk/themes/SpaceWiki/SpaceWiki.css 2009-01-24 11:40:07 UTC (rev 6445)
@@ -596,6 +596,46 @@
font-weight: normal;
}
+/*
+ * 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-width: 1px;
+ border-style: solid;
+ border-collapse: collapse;
+ vertical-align: top;
+}
+
+table.boxed td, table.bordered td,
+table.boxed th, table.bordered th {
+ padding-left: 5px;
+ padding-right: 5px;
+ padding-top: 0px;
+ padding-bottom: 0px;
+}
+
+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;
+}
+
/* For emacs users
*
* Local Variables:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|