Commit:    8c7a8668bbc81de93ee2f1065f65cbb0269c9a0d
Author:    Hannes Magnusson <[email protected]>         Sun, 29 Dec 2013 
21:44:51 -0800
Parents:   090c7baac8a9c56f6bd21ab1beff56310dca276f
Branches:  master

Link:       
http://git.php.net/?p=web/shared.git;a=commitdiff;h=8c7a8668bbc81de93ee2f1065f65cbb0269c9a0d

Log:
Add default table styling

Changed paths:
  M  styles/defaults.css


Diff:
diff --git a/styles/defaults.css b/styles/defaults.css
index d4fde64..9adc145 100644
--- a/styles/defaults.css
+++ b/styles/defaults.css
@@ -166,6 +166,34 @@ section.mainscreen {
 
   color: #660000;
 }
+/* {{{ Default table styling */
+table {
+  border-spacing: 0;
+  width: 100%;
+  padding-right: 80px;
+}
+tbody tr:nth-child(odd) {
+  background-color: #bbd;
+}
+tbody tr:nth-child(even) {
+  background-color: #E3E3F1;
+}
+thead tr,
+tfoot tr {
+       background-color: #99c;
+}
+thead th {
+       border-bottom: 2px solid #669;
+}
+tfoot th {
+       border-top: 2px solid #669;
+}
+td,
+th {
+  padding: 5px;
+  margin: 0px;
+}
+/* }}} */
 
 /* {{{ Responsive styles */
 #mainmenu-toggle-overlay, #mainmenu-toggle {


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to