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
d001682
..
8e93114
100644
(file)
--- a/
static/gitweb.css
+++ b/
static/gitweb.css
@@
-409,6
+409,9
@@
th .header {
.readme img {
max-width: 100%;
max-height: auto;
.readme img {
max-width: 100%;
max-height: auto;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
}
.projects_list,
}
.projects_list,
@@
-779,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);
+}