X-Git-Url: http://git.subgeniuskitty.com/gitweb-sgk/.git/blobdiff_plain/351afc3b4e8e110872d5d0a741293ee258b3a5ad..4dcd50cd53223f7c8a40aa231af23995abe1c3a1:/static/gitweb.css diff --git a/static/gitweb.css b/static/gitweb.css index 48cf972..8e93114 100644 --- a/static/gitweb.css +++ b/static/gitweb.css @@ -398,6 +398,8 @@ th .header { .readme tt, .readme code, .readme kbd, .readme samp { font-family: monospace; background-color: #eaeaea; + white-space: pre-wrap; + word-break: keep-all; } .readme blockquote { @@ -407,6 +409,9 @@ th .header { .readme img { max-width: 100%; max-height: auto; + display: block; + margin-left: auto; + margin-right: auto; } .projects_list, @@ -777,3 +782,9 @@ td.pre, div.pre, div.diff { .kwb { color:#6b3099; } .kwc { color:#d4663d; } .kwd { color:#2928ff; } + +/* Unselectable line numbers for easier copy+paste. */ + +[unselectable-linenr]::before { + content: attr(unselectable-linenr); +}