From: jxnshi Date: Thu, 9 Jan 2025 11:53:47 +0000 (+0000) Subject: Update gitweb style X-Git-Url: https://jxnshi.xyz/repos?a=commitdiff_plain;h=402c57ed520faf8d95f7dfc91c3f68ca00ef6272;p=jxnshi.xyz.git Update gitweb style --- diff --git a/public/layout.html b/public/layout.html index e95f0e4..16e7327 100644 --- a/public/layout.html +++ b/public/layout.html @@ -7,27 +7,25 @@ -
-
-
-
-

jxnshi.xyz

-
-
-

Projects

- -
+
+
+
+

jxnshi.xyz

+
+
+

Projects

+
- Lain -
-
-
- {s} -
+
+ Lain +
+
+
+ {s}
diff --git a/public/style.css b/public/style.css index 4e4dfa6..9b71f4f 100644 --- a/public/style.css +++ b/public/style.css @@ -13,12 +13,18 @@ body { display: flex; - justify-content: center; + flex-direction: column; + align-items: center; + gap: 20px; + background-color: black; background-image: url("/background.png"); background-size: 100% 1000px; + padding-bottom: 20px; padding-top: 20px; + + width: 100%; } header { @@ -65,14 +71,6 @@ a:hover { list-style: none; } -#main-div { - display: flex; - flex-direction: column; - align-items: center; - gap: 20px; - width: 100%; -} - #content-div { display: flex; flex-direction: column; @@ -114,3 +112,22 @@ a:hover { padding: 10px; border: 2px solid white; } + +/* Gitweb */ +.page_header { + display: flex; + gap: 5px; +} + +.project_list, +.page_body, +.page_body > .tree, +.history, +.projects_list, +.shortlog, +.heads +{ + background-color: black; + padding: 20px 100px; + width: 100%; +}