X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=style.css;h=c35d6e967a4909d04f917ea425ef8ecc539c8bc7;hb=503398bd5f325447f7d801306222e5fc142cacae;hp=04f07a7243b9fa3e7739765d329bcd743e58825b;hpb=c4f46c3f9ccded868ccc32b2aaac89cf40d9b196;p=stagit.git diff --git a/style.css b/style.css index 04f07a7..c35d6e9 100644 --- a/style.css +++ b/style.css @@ -35,14 +35,22 @@ a.line { text-decoration: none; } -.loc { - margin-left: 0.9em; +#blob { + display: block; + max-width: 100%; + overflow-x: scroll; } -.line { +.linenos { user-select: none; } +.linenos a { + margin-right: 0.9em; + user-select: none; + text-decoration: none; +} + #blob a { color: #777; } @@ -126,7 +134,7 @@ pre a.d:hover { } .url td:nth-child(2) span { - padding: 1px 5px 2px 5px; + padding: 1px 5px; background-color: #eee; border: 1px solid #ddd; border-radius: 5px;