summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2019-03-27 22:36:51 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2019-03-27 22:36:51 +0100
commitb3f06e563273e7be640387db9f35cf9dd0fbbe52 (patch)
tree33d6ec420cd155c3dd9654e6a70fa4860ade18dc
parente1fa76a498c7ba6bbe89f8b95f492c459413ad91 (diff)
Add background color to line number margin
-rw-r--r--pastepy/static/css/paste.css5
-rw-r--r--pastepy/static/css/paste.dark.css3
2 files changed, 5 insertions, 3 deletions
diff --git a/pastepy/static/css/paste.css b/pastepy/static/css/paste.css
index d6d1cde..5df8e83 100644
--- a/pastepy/static/css/paste.css
+++ b/pastepy/static/css/paste.css
@@ -1,7 +1,8 @@
.paste-header #info { color: #bbb; }
.paste-header #info #nick, .paste-header #info #syntax-type, .paste-header #info #date { color: #888; }
-.highlighttable .linenos { padding-right: .5em; }
-.highlighttable .linenos a { color: #999; }
+.highlighttable .linenodiv { background-color: #e7e7e7; }
+.highlighttable .linenos a { color: #666; }
+.highlighttable .linenos a::after { content: " "; }
.highlighttable .code { width: 100%; }
.highlighttable .selected { display: block; background-color: #cfc; }
.highlighttable .code { tab-size: 4; }
diff --git a/pastepy/static/css/paste.dark.css b/pastepy/static/css/paste.dark.css
index 2e8454b..9006543 100644
--- a/pastepy/static/css/paste.dark.css
+++ b/pastepy/static/css/paste.dark.css
@@ -1,7 +1,8 @@
.paste-header #info { color: #444; }
.paste-header #info #nick, .paste-header #info #syntax-type, .paste-header #info #date { color: #666; }
-.highlighttable .linenos { padding-right: .5em; }
+.highlighttable .linenodiv { background-color: #1a1a1a; }
.highlighttable .linenos a { color: #666; }
+.highlighttable .linenos a::after { content: " "; }
.highlighttable .code { width: 100%; }
.highlighttable .selected { display: block; background-color: #244; }
.highlighttable .code { tab-size: 4; }