aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Bertogli <albertito@blitiri.com.ar>2017-08-27 15:46:52 +0200
committerAlberto Bertogli <albertito@blitiri.com.ar>2017-08-27 16:29:10 +0200
commitc96d0dbea6f233125aa2f18984db44412901a0a3 (patch)
tree71d71aae09a1e880983ee738aca728bb8af02d65
parent9c8a6d2408ea3d3ea241767444a5921144867e7e (diff)
downloadgit-arr-fork-c96d0dbea6f233125aa2f18984db44412901a0a3.zip
style: Make line numbers grey
When using pygments, make the line numbers grey. This was the intention all along, but the <a> style overrides the <div> style and the grey colour does not take effect. This patch fixes the problem by setting the style specifically to <a> within the line numbers div.
-rw-r--r--static/git-arr.css4
1 files changed, 3 insertions, 1 deletions
diff --git a/static/git-arr.css b/static/git-arr.css
index 2a0f7c1..7fc6efd 100644
--- a/static/git-arr.css
+++ b/static/git-arr.css
@@ -183,9 +183,11 @@ table.blob-binary tr.etc {
/* Pygments overrides. */
div.linenodiv {
padding-right: 0.5em;
- color: gray;
font-size: medium;
}
+div.linenodiv a {
+ color: gray;
+}
div.source_code {
background: inherit;
font-size: medium;