# HG changeset patch # User Alexander Plavin # Date 1372933183 -14400 # Node ID 41c4bdd1d585a9196bd6c668fd9fce5e67a1028a # Parent 7f0a307443661f36fcfd3c41b6ca67e976329333 hgweb: color line which is linked to in file source view Browser compatibility (':target' selector used): IE 8+, FF 3.5+, Safari 3.1+, Opera 9.5+, Chromium 4+, all popular mobile browsers. diff -r 7f0a30744366 -r 41c4bdd1d585 mercurial/templates/static/style-paper.css --- a/mercurial/templates/static/style-paper.css Thu Jul 04 14:19:13 2013 +0400 +++ b/mercurial/templates/static/style-paper.css Thu Jul 04 14:19:43 2013 +0400 @@ -240,6 +240,10 @@ .sourcelines > span:nth-child(4n+1) { background-color: #f0f0f0; } .sourcelines > span:nth-child(4n+3) { background-color: white; } +.sourcelines > span:target { + background-color: #ffff99; +} + .sourcelines > a { display: inline-block; position: absolute;