diff --git a/mercurial/templates/monoblue/map b/mercurial/templates/monoblue/map --- a/mercurial/templates/monoblue/map +++ b/mercurial/templates/monoblue/map @@ -89,7 +89,7 @@ filediff = filediff.tmpl filecomparison = filecomparison.tmpl filelog = filelog.tmpl fileline = ' - {strip(line|escape, '\r\n')}' + {strip(line|escape, '\r\n')}' annotateline = ' @@ -102,13 +102,13 @@ annotateline = ' {line|escape} ' difflineplus = ' - {strip(line|escape, '\r\n')}' + {strip(line|escape, '\r\n')}' difflineminus = ' - {strip(line|escape, '\r\n')}' + {strip(line|escape, '\r\n')}' difflineat = ' - {strip(line|escape, '\r\n')}' + {strip(line|escape, '\r\n')}' diffline = ' - {strip(line|escape, '\r\n')}' + {strip(line|escape, '\r\n')}' comparisonblock =' diff --git a/mercurial/templates/static/style-monoblue.css b/mercurial/templates/static/style-monoblue.css --- a/mercurial/templates/static/style-monoblue.css +++ b/mercurial/templates/static/style-monoblue.css @@ -300,11 +300,13 @@ pre.sourcelines > a { height: 1em; padding: 0.15em; } -pre.sourcelines.stripes > :nth-child(4n+1) { background-color: #F1F6F7; } -pre.sourcelines.stripes > :nth-child(4n+3) { background-color: #FFFFFF; } -pre.sourcelines.stripes > :nth-child(4n+1):hover, -pre.sourcelines.stripes > :nth-child(4n+3):hover { background-color: #D5E1E6; } -tr:target td, +pre.sourcelines.stripes > :nth-child(4n+2) { background-color: #F1F6F7; } +pre.sourcelines.stripes > :nth-child(4n+4) { background-color: #FFFFFF; } +pre.sourcelines.stripes > :nth-child(4n+2):hover, +pre.sourcelines.stripes > :nth-child(4n+4):hover, +pre.sourcelines.stripes > :nth-child(4n+1):hover + :nth-child(4n+2), +pre.sourcelines.stripes > :nth-child(4n+3):hover + :nth-child(4n+4) { background-color: #D5E1E6; } + pre.sourcelines > span:target, pre.sourcelines.stripes > span:target { background-color: #bfdfff;