stagit

My fork of stagit

git clone git://git.shimmy1996.com/stagit.git
commit a7b8427aa338c9fc4be163c9d4e64c9dc2533f72
parent 300ac97e3544bb86237a81fea92a579e2140cdf3
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
@@ -372,7 +372,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;