stagit

My fork of stagit

git clone git://git.shimmy1996.com/stagit.git
commit f10a60a628f79ebed51753780a6e86eda4a8e228
parent fab82352bd4b124cd0a056d91c186a6d7fcd6851
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sat,  4 Apr 2020 13:47:42 -0500

Remove description class

Diffstat:
Mstagit-index.c | 2+-
Mstagit.c | 2+-
Mstyle.css | 4----
3 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/stagit-index.c b/stagit-index.c
@@ -74,7 +74,7 @@ writeheader(FILE *fp)
 	fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
 	fputs("</head>\n<body>\n", fp);
     fprintf(fp, "<h1>%s</h1>\n", title);
-    fprintf(fp, "<p class=\"desc\">");
+    fprintf(fp, "<p>");
 	xmlencode(fp, description, strlen(description));
 	fputs("</p>\n"
 		"<hr/>\n<div id=\"content\">\n"
diff --git a/stagit.c b/stagit.c
@@ -478,7 +478,7 @@ writeheader(FILE *fp, const char *title)
 		        relpath, license);
 	fputs("</nav>\n<h1>", fp);
 	xmlencode(fp, strippedname, strlen(strippedname));
-	fputs("</h1><p class=\"desc\">", fp);
+	fputs("</h1><p>", fp);
 	xmlencode(fp, description, strlen(description));
 	fputs("<p>", fp);
 	if (cloneurl[0]) {
diff --git a/style.css b/style.css
@@ -56,10 +56,6 @@ td.num {
 	text-align: right;
 }
 
-.desc {
-	color: #777;
-}
-
 hr {
 	border: 0;
 	border-top: 1px solid #777;