diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-18 10:42:29 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-18 10:42:53 +0530 |
commit | 60298a69538ccdda417613a09e5acbd917bfc53a (patch) | |
tree | 799e52039fca1d7a15138d315b7b1b60d47ba46c /static/style.css | |
parent | e4d12fc667c9830dd5f08f827b2a70adff58a09b (diff) | |
download | legit-60298a69538ccdda417613a09e5acbd917bfc53a.tar.gz legit-60298a69538ccdda417613a09e5acbd917bfc53a.tar.bz2 legit-60298a69538ccdda417613a09e5acbd917bfc53a.zip |
git: rework diff to fetch initial commit
Diffstat (limited to '')
-rw-r--r-- | static/style.css | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css index 0b0664f..340635e 100644 --- a/static/style.css +++ b/static/style.css @@ -147,7 +147,9 @@ a:hover { } .diff { - padding-top: 1rem; + margin: 1rem 0 1rem 0; + padding: 1rem 0 1rem 0; + border-bottom: 1.5px solid var(--medium-gray); } .diff pre { @@ -162,6 +164,14 @@ a:hover { color: var(--gray); } +.commit-email:before { + content: '<'; +} + +.commit-email:after { + content: '>'; +} + .commit pre { padding-bottom: 1rem; white-space: pre-wrap; @@ -184,6 +194,31 @@ a:hover { color: var(--gray); } +.ref { + font-family: var(--display-font); + font-size: 14px; + color: var(--gray); + display: inline-block; + padding-top: 0.7em; +} + +.refs { + display: grid; + grid-template-columns: 1fr 1fr; + align-items: center; +} + +.line-numbers { + white-space: pre-line; +} + +.file-wrapper { + display: flex; + flex-direction: row; + grid-template-columns: 1rem minmax(0, 1fr); + gap: 1rem; +} + @media (max-width: 600px) { .index { grid-row-gap: 0.8em; |