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
Enabling `*.go` files in the syntax highlighter.
[gitweb-sgk]
/
static
/
gitweb.css
diff --git
a/static/gitweb.css
b/static/gitweb.css
index
5b5451b
..
8e93114
100644
(file)
--- a/
static/gitweb.css
+++ b/
static/gitweb.css
@@
-398,12
+398,22
@@
th .header {
.readme tt, .readme code, .readme kbd, .readme samp {
font-family: monospace;
background-color: #eaeaea;
.readme tt, .readme code, .readme kbd, .readme samp {
font-family: monospace;
background-color: #eaeaea;
+ white-space: pre-wrap;
+ word-break: keep-all;
}
.readme blockquote {
margin: 1em;
}
}
.readme blockquote {
margin: 1em;
}
+.readme img {
+ max-width: 100%;
+ max-height: auto;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
.projects_list,
.tags {
width: 95%;
.projects_list,
.tags {
width: 95%;
@@
-772,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);
+}