diff --git a/pages/repo.go b/pages/repo.go index e79ccb0..6a3a361 100644 --- a/pages/repo.go +++ b/pages/repo.go @@ -125,6 +125,7 @@ func HandleRepo(c *fiber.Ctx) error { tstring := el.ChildAttr("relative-time", "datetime") if tstring != "" { tstring = strings.ReplaceAll(tstring, "T", "、") + tstring = strings.ReplaceAll(tstring, "Z", "") tstring = strings.Split(tstring, "+")[0] tstrings := strings.Split(tstring, "-") tstring = tstrings[0] + "-" + tstrings[1] + "-" + tstrings[2] diff --git a/public/css/global.css b/public/css/global.css index 15290e3..235d42a 100644 --- a/public/css/global.css +++ b/public/css/global.css @@ -1,5 +1,6 @@ :root { --text: #fcfcfc; + --mainbg: #933984; --background: #4b1a4f; --secondary-background: #31363b; --background-darker: #2f1b2e; @@ -28,7 +29,11 @@ body { } main { - margin: 0 24vw; + margin: 0 10vw; + padding: 10px; + background-color: var(--mainbg); + border: 1px solid #ed7ced; + border-radius: 4px; } .navbar {