stagit


stagit

~ Unnamed repository; edit this file 'description' to name the repository.
log | files | refs | archive | README | LICENSE

commit 8bf344e4e602d8fe6d4316289c18bb8ade1ebb67
parent 97f5b0fcf419f73211450755bc04f301ea13e872
Author: djnn <email@djnn.sh>
Date: Wed, 5 Nov 2025 22:23:48 +0100

test

Diffstat:
Massets/style.css | 6------
Mstagit.c | 2+-

2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/assets/style.css b/assets/style.css
@@ -59,7 +59,6 @@ td.num{text-align:right}
 #blob a:target{color:#eee}
 #content table td{vertical-align:top;white-space:nowrap}
 #index .category td {font-style: italic}
-#index .item-repo td:first-child{padding-left:1.5em}
 #footer{font-size:smaller;padding-top:10px}
 #files tbody tr:hover td, #index .item-repo:hover td, #log tbody tr:hover td{background-color:var(--row-hover)}
 #files tr td:nth-child(2), #index .item-repo td:nth-child(2), #log tr td:nth-child(2){white-space:normal}
@@ -82,11 +81,6 @@ pre a.h{color:#00cdcd}
 pre a.h:hover, pre a.i:hover, pre a.d:hover{text-decoration:none}
 pre:not(#readme){overflow-x:auto;border:1px solid var(--code-border);border-radius:4px;padding: 10px}
 
-/* repository list centering helper */
-.repo-list{max-width:800px;margin:2rem auto;display:flex;flex-direction:column;gap:0.5rem;padding:0 1rem}
-.repo-list ul{list-style:none;padding:0;margin:0;width:100%}
-.repo-list li{padding:0.75rem 1rem;background:var(--card-bg);border:1px solid var(--border);border-radius:6px;text-align:center}
-
 @media (max-width:640px){
   .container{padding:0.5rem}
   .repo-list{padding:0 0.5rem}
diff --git a/stagit.c b/stagit.c
@@ -928,7 +928,7 @@ writeblob(git_object *obj, const char *fpath, const char *filename, size_t files
 
     fp = efopen(fpath, "w");
     writeheader(fp, filename);
-    fputs("<table id=\"container\"><div class=\"container\"><p>", fp);
+    fputs("<div class=\"blob\"><p>", fp);
     xmlencode(fp, filename, strlen(filename));
     fprintf(fp, " <span class=\"desc\">(%zuB)</span>", filesize);
     fputs("</p></div>", fp);