git-preview @ main

static git web frontend but with images and html previews + code truncation

css: single column index on small screens
Sun, 18 Dec 2022
2 files changed, 13 insertions(+), 15 deletions(-)
M static/style.css

@@ -41,7 +41,7 @@ padding: 0;

line-height: 160%; } -main h1, h2, h3, .small-heading { +main h1, h2, h3, strong { font-family: var(--display-font); font-weight: 500; }

@@ -97,26 +97,20 @@ border-bottom: 1.5px solid var(--gray);

}

… preview truncated

M templates/index.html

@@ -12,14 +12,9 @@ <h2>{{ .meta.Description }}</h2>

</header> <body> <main> - <div class="index-headings small-heading"> - <div>repository</div> - <div>description</div> - <div>idle</div> - </div> <div class="index"> {{ range .info }}

… preview truncated