mygit

[UNMAINTAINED] A cgit/webgit alternative, written in Rust
Log | Files | Refs | README | LICENSE

commit a1b80af7a547071461f6b407c04dc040da10f211
parent fa8a4f6e8f9beb08c17c2ff1ebf3aebdaeccd0a0
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Mon, 22 Mar 2021 18:00:07 -0700

Clean up line links

Diffstat:
Mtemplates/static/style.css | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/templates/static/style.css b/templates/static/style.css @@ -41,8 +41,8 @@ a:visited { .line { display: inline-block; - width: 6em; - margin-right: .5em; + width: 4em; + margin-right: .7em; text-align: right; text-decoration: none; -webkit-touch-callout: none; /* iOS Safari */ @@ -53,6 +53,10 @@ a:visited { user-select: none; /* Non-prefixed version, currently */ } +:target { + background: #FFFACD; +} + .clone-url { font-family: "Roboto Mono", monospace; -webkit-user-select: all; /* Safari */ @@ -75,6 +79,8 @@ pre { line-height: 1.2; font-size: 1rem; overflow: auto; + margin: 0px; + padding: 0px; } tr:hover {