git: rework diff to fetch initial commit
1 file changed, 36 insertions(+), 1 deletion(-)
changed files
M static/style.css → static/style.css
@@ -147,7 +147,9 @@ white-space: pre-wrap; } .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 @@ .commit-email { color: var(--gray); } +.commit-email:before { + content: '<'; +} + +.commit-email:after { + content: '>'; +} + .commit pre { padding-bottom: 1rem; white-space: pre-wrap;@@ -182,6 +192,31 @@ } .diff-noop { 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) {