From c339ab02c2db423125f6b3c1a19606cd5a4c793e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 08:30:39 +0800 Subject: [PATCH] reop_index.html, style.css: padding-wrapper --- static/style.css | 14 ++++++++++++-- templates/repo_index.html | 9 ++++++++- diff --git a/static/style.css b/static/style.css index 533cee1022b220d5c59985861ab99b637b6553e7..461286a184c8aaeb29309651abb67a944f9733db 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 13bac721b2894847075cb5da6b2bb1b6efb9c1e8..776b84e4cfc71085ce4a3629ba3792b751911c2c 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,10 +51,15 @@ {{- end }}
Mode Name Size
+
+
+
+
{{ .readme -}} +
-- 2.48.1