As per a previous post, I've gone and made some minor changes to the way that the newest nodes are shown. Prior to this change, your browser would get a class of "node-from-#####" where ##### is the node ID of the author of the node. Now, every alternate entry will get a class of "NN-highlight".
Note: this class matches the class of the CB. If you want hilighting to be different in CB vs newest nodes, you'll need to embed your CSS a bit differently. I think ".cb_table .highlight" will work for the CB, leaving ".highlight" to work for both or, if overridden for the CB, only for the newest nodes.
Old (slightly reformatted):
New (again, slightly reformatted):<table><tr class="node-from-391408"><td><a href="?node_id=543621">Puzz +le: Longest Increasing Sequence</a></td> <td>by <a href="?node_id=391408">TedPride</a></td></tr> <tr class="node-from-507927"><td><a href="?node_id=543595">calculating + the bpm of a song in mp3 format</a></td> <td>by <a href="?node_id=507927">keiusui</a></td></tr>
What we've done is move the node-from-##### class into the td's so that we can give the highlight class to the tr's.<table><tr><td class="node-from-391408"><a href="?node_id=543621">Puzz +le: Longest Increasing Sequence</a></td> <td class="node-from-391408">by <a href="?node_id=391408">TedPride</a +></td></tr> <tr class="NN-highlight"><td class="node-from-507927"><a href="?node_i +d=543595">calculating the bpm of a song in mp3 format</a></td> <td class="node-from-507927">by <a href="?node_id=507927">keiusui</a> +</td></tr>
How to take advantage: update your CSS to highlight these highlight rows the way you want. By default, you won't see any difference, unless you've already done this for the CB. See Recent changes to the color schemes for information on how/when the CB got this feature.
(Update: demerphq promised to apply the patch after seeing this note - so you may not see this change yet.)
Update: We've changed the class to NN-highlight due to the complaints (thanks, Corion). So now the people who want the highlighting will need to add this to their CSS manually.
|
---|