projects
/
gitweb-sgk
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Line numbers are no longer selectable by default, easing copy+paste of code snippets.
[gitweb-sgk]
/
static
/
gitweb.css
diff --git
a/static/gitweb.css
b/static/gitweb.css
index
44ce42b
..
8e93114
100644
(file)
--- a/
static/gitweb.css
+++ b/
static/gitweb.css
@@
-782,3
+782,9
@@
td.pre, div.pre, div.diff {
.kwb { color:#6b3099; }
.kwc { color:#d4663d; }
.kwd { color:#2928ff; }
.kwb { color:#6b3099; }
.kwc { color:#d4663d; }
.kwd { color:#2928ff; }
+
+/* Unselectable line numbers for easier copy+paste. */
+
+[unselectable-linenr]::before {
+ content: attr(unselectable-linenr);
+}