X-Git-Url: http://git.subgeniuskitty.com/gitweb-sgk/.git/blobdiff_plain/3d4c5e32db61adc0761069aa63c37d0e4ee7648a..4dcd50cd53223f7c8a40aa231af23995abe1c3a1:/static/gitweb.css diff --git a/static/gitweb.css b/static/gitweb.css index 5b5451b..8e93114 100644 --- 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; + white-space: pre-wrap; + word-break: keep-all; } .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%; @@ -772,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); +}