X-Git-Url: http://git.subgeniuskitty.com/gitweb-sgk/.git/blobdiff_plain/d865f95de5b6df7f3a02b92b840a06e3be735628..HEAD:/static/gitweb.css diff --git a/static/gitweb.css b/static/gitweb.css index 9295eb2..8e93114 100644 --- a/static/gitweb.css +++ b/static/gitweb.css @@ -216,11 +216,18 @@ a.rss_logo:hover { width: 95%; margin: 0 auto 15px; background: -moz-linear-gradient(center top , #FFFFFF 0%, #F5F5F5 100%) repeat scroll 0 0 transparent; - border: 1px solid #DFDFDF; + border: 1px solid #d8d8d8; padding: 8px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; + font-size: 1.5em; +} + +.index_include pre { + border: 1px solid #d8d8d8; + margin: 1em 0 1em 2em; + padding: 0.5em; } /* Elements @@ -384,16 +391,29 @@ th .header { font-family: monospace; margin: 1em 0; white-space: pre; + background-color: #eaeaea; + padding: 1em; } .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%; @@ -762,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); +}