mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Add a class that allows us to simulate the old .sub and .subr behaviour on
pages where it's appropriate to do so.
This commit is contained in:
@@ -748,6 +748,28 @@ 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 {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.table-sub-highlight td.subr,
|
||||
.table-sub-highlight th.subr {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* News styles. */
|
||||
.newsImage img {
|
||||
padding-left: 1em;
|
||||
padding-bottom: 1em;
|
||||
|
||||
Reference in New Issue
Block a user