From c339ab02c2db423125f6b3c1a19606cd5a4c793e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 08:30:39 +0800 Subject: reop_index.html, style.css: padding-wrapper --- static/style.css | 14 ++++++++++++-- templates/repo_index.html | 9 ++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/static/style.css b/static/style.css index 533cee1..461286a 100644 --- a/static/style.css +++ b/static/style.css @@ -1,3 +1,13 @@ -.commit-id { - font-family: monospace; +html { + font-family: sans-serif; +} + +.padding-wrapper { + padding: 0 1rem; + max-width: 50em; + margin: 0 auto; +} + +#readme, #file-tree { + width: 100%; } diff --git a/templates/repo_index.html b/templates/repo_index.html index 13bac72..776b84e 100644 --- a/templates/repo_index.html +++ b/templates/repo_index.html @@ -6,6 +6,7 @@ {{ .project_name }}/repos/{{ .repo_name }} +
@@ -30,10 +31,11 @@ {{- end }}
+
+
- @@ -49,11 +51,16 @@ {{- end }}
Mode Name Size
+
+
+
+
{{ .readme -}}
+
{{- end -}} -- cgit v1.2.3