com web/php: Make the standard table styling just support .sub and .subr globally, since it won't interfere with docs anyway.: styles/theme.css
| From: | Adam Harvey | Date: | Fri, 07 Sep 2012 08:34:51 +0000 |
| Subject: | com web/php: Make the standard table styling just support .sub and .subr globally, since it won't interfere with docs anyway.: styles/theme.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-14632@lists.php.net to get a copy of this message | ||
Commit: 88f056c803236a787eb30e66279670b51f72415b
Author: Adam Harvey <aharvey@php.net> Fri, 7 Sep 2012 16:34:51 +0800
Parents: 0f25c08b5e159a628115f79c6fdfb08d83295b0d
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=88f056c803236a787eb30e66279670b51f72415b
Log:
Make the standard table styling just support .sub and .subr globally, since it
won't interfere with docs anyway.
Changed paths:
M styles/theme.css
Diff:
diff --git a/styles/theme.css b/styles/theme.css
index c2bbf72..b7c1bf1 100755
--- a/styles/theme.css
+++ b/styles/theme.css
@@ -729,7 +729,7 @@ table.standard {
}
table.standard td, table.standard th {
- border: 1px solid #efefef;
+ border: 1px solid #ddd;
}
table.standard tr:nth-child(even) td {
@@ -748,24 +748,19 @@ table.standard td {
vertical-align: middle;
}
-/* Shims for the pages that relied on the old .sub behaviour for highlighting. */
-.table-sub-highlight table.standard td, .table-sub-highlight table.standard th {
- border: 1px solid #ddd;
-}
-
-.table-sub-highlight tr:nth-child(even) td.subr,
-.table-sub-highlight tr:nth-child(even) th.subr,
-.table-sub-highlight tr td.subr,
-.table-sub-highlight tr th.subr,
-.table-sub-highlight tr:nth-child(even) td.sub,
-.table-sub-highlight tr:nth-child(even) th.sub,
-.table-sub-highlight tr td.sub,
-.table-sub-highlight tr th.sub {
+table.standard tr:nth-child(even) td.subr,
+table.standard tr:nth-child(even) th.subr,
+table.standard tr td.subr,
+table.standard tr th.subr,
+table.standard tr:nth-child(even) td.sub,
+table.standard tr:nth-child(even) th.sub,
+table.standard tr td.sub,
+table.standard tr th.sub {
background: #eee;
}
-.table-sub-highlight td.subr,
-.table-sub-highlight th.subr {
+table.standard td.subr,
+table.standard th.subr {
text-align: right;
}