commit - 7d452edae28d8e895b8f1ad5f46ab6995efd5f51
commit + c7defd5e675a349b4e1463d1cc3e126cde7c479a
blob - 53286955c6e930dc9224b573171c6073d81d8096
blob + 585aa4121d744e245fa149d939e1cab5ddd168a6
--- stagit-index.c
+++ stagit-index.c
"<title>", fp);
xmlencode(fp, description, strlen(description));
fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", relpath);
- fprintf(fp, "%s", "<style>\n"
- "*{box-sizing:border-box;}\n"
- "body{font-family:sans-serif;font-size:14px;margin:0;padding:10px;}\n"
- "h1{margin:0;}\n"
- "table{width:100%;}\n"
- "table#log tbody > tr td:first-of-type{min-width:120px;}\n"
- "pre{overflow:scroll;}\n"
- "@media(max-width:600px) {\n"
- " table tbody{display:block;}\n"
- " table thead{display:none;}\n"
- " table tbody tr{border-bottom:1px solid;display:flex;flex-wrap:wrap;padding:0 0 10px;}\n"
- " table tbody tr td{width:100%;}\n"
- "}\n"
-"</style>\n");
+ fprintf(fp, "%s", "<style>*{box-sizing:border-box;}body{font-family:sans-serif;font-size:14px;margin:0;padding:10px;}h1{margin:0;}#content{overflow-x:auto;}#content table{min-width:900px;width:100%;}pre{overflow:scroll;}</style>");
fputs("</head>\n<body>\n", fp);
fprintf(fp, "%s", "<table>\n<tr><td><span class=\"desc\">");
xmlencode(fp, description, strlen(description));
blob - e38e653277951eafb958af00eeec45652a588871
blob + aba5cfcc10a9554d7cfc878d88acb4052fbf7907
--- stagit.c
+++ stagit.c
fputs("<link rel=\"alternate\" type=\"application/atom+xml\" title=\"", fp);
xmlencode(fp, name, strlen(name));
fprintf(fp, " Atom Feed (tags)\" href=\"%stags.xml\" />\n", relpath);
- fprintf(fp, "%s", "<style>\n"
- "*{box-sizing:border-box;}\n"
- "body{font-family:sans-serif;font-size:14px;margin:0;padding:10px;}\n"
- "h1{margin:0;}\n"
- "table{width:100%;}\n"
- "table#log tbody > tr td:first-of-type{min-width:120px;}\n"
- "pre{overflow:scroll;}\n"
- "</style>\n");
+ fprintf(fp, "%s", "<style>*{box-sizing:border-box;}body{font-family:sans-serif;font-size:14px;margin:0;padding:10px;}h1{margin:0;}#content{overflow-x:auto;}#content table{min-width:900px;width:100%;}pre{overflow:scroll;}</style>");
fputs("</head>\n<body>\n<table>", fp);
fputs("<tr><td><h1>", fp);
xmlencode(fp, strippedname, strlen(strippedname));