From 60298a69538ccdda417613a09e5acbd917bfc53a Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Sun, 18 Dec 2022 10:42:29 +0530 Subject: git: rework diff to fetch initial commit --- static/style.css | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'static') 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; -- cgit