From da4df73ad770c30b2e6c5d2606e11ed7dc291cd0 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 30 Sep 2011 17:02:19 +0200 Subject: highlight complete line; not only line number Signed-off-by: Florian Pritz --- application/views/file/html_header.php | 29 +++++++++++++++++++++++++++++ data/paste.css | 9 +++++++++ 2 files changed, 38 insertions(+) diff --git a/application/views/file/html_header.php b/application/views/file/html_header.php index 52ffab007..f57884643 100644 --- a/application/views/file/html_header.php +++ b/application/views/file/html_header.php @@ -17,5 +17,34 @@ Render Markdown + diff --git a/data/paste.css b/data/paste.css index 2a5ce55f7..f511c54fe 100644 --- a/data/paste.css +++ b/data/paste.css @@ -14,6 +14,15 @@ body { .numbers a:target { background: yellow; } +div#highlight_line { + background: yellow; + display: inline; + position: absolute; + z-index: -1; + left: 0; + width: 100%; + +} .content { padding-left:3px; -- cgit v1.2.3-24-g4f1b