com web/shared: Add default table styling: styles/defaults.css
| From: | Hannes Magnusson | Date: | Mon, 30 Dec 2013 05:44:51 +0000 |
| Subject: | com web/shared: Add default table styling: styles/defaults.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17909@lists.php.net to get a copy of this message | ||
Commit: 8c7a8668bbc81de93ee2f1065f65cbb0269c9a0d
Author: Hannes Magnusson <bjori@mongodb.com> 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 {