Re: [PATCH 0/4 v4] minor gitweb modifications
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jan 2, 2011, 17:53 UTC
- Message-ID
- <20110102175314.GB13358@burratino>
- In-Reply-To
- <1293985641.15404.11.camel@kheops>
Sylvain Rabot wrote:
> On Sat, 2011-01-01 at 04:41 -0600, Jonathan Nieder wrote:
Show 13 quoted lines
>> <tr id="metadata_owner"> >> <td class="metadata_tag">owner</td> >> <td>UNKNOWN</td> >> </tr> >> ... >> >> The idea was that the rows are already labelled for use by css, so to >> make this stylable all we need to do is use a class for the first >> column. This way if some site operator wants the first column >> *always* be bold then that is easy to do. > > So your idea is to use the same class for all this kind of tables' first > column ?
Yes, or more generally to find a way to make the first column always stylable. Actually
tr#metadata_desc > td:first-child {
...
}already does the trick (or
table.projects_list > tr > td:first-child {
...
}for style that should apply to all first columns) but I haven't checked how widely supported first-child is.