commit - fff5bd75b56312e28562c38a056e2bc8fbd2a218
commit + 7d452edae28d8e895b8f1ad5f46ab6995efd5f51
blob - 0dd3a46de775b523ffdbd7914d99866dae37b875
blob + 53286955c6e930dc9224b573171c6073d81d8096
--- 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>
- *{box-sizing:border-box;}
- body{font-family:sans-serif;font-size:14px;margin:0;padding:10px;}
- h1{margin:0;}
- table{width:100%;}
- table#log tbody > tr td:first-of-type{min-width:120px;}
- pre{overflow:scroll;}
- @media(max-width:600px) {
- table tbody{display:block;}
- table thead{display:none;}
- table tbody tr{border-bottom:1px solid;display:flex;flex-wrap:wrap;padding:0 0 10px;}
- table tbody tr td{width:100%;}
- }
- </style>");
+ 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");
fputs("</head>\n<body>\n", fp);
fprintf(fp, "%s", "<table>\n<tr><td><span class=\"desc\">");
xmlencode(fp, description, strlen(description));
blob - 71bfd32ce953d64cce67bd08a2c47fd1b6eaa90e
blob + e38e653277951eafb958af00eeec45652a588871
--- 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>
- *{box-sizing:border-box;}
- body{font-family:sans-serif;font-size:14px;margin:0;padding:10px;}
- h1{margin:0;}
- table{width:100%;}
- table#log tbody > tr td:first-of-type{min-width:120px;}
- pre{overflow:scroll;}
- </style>");
+ 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");
fputs("</head>\n<body>\n<table>", fp);
fputs("<tr><td><h1>", fp);
xmlencode(fp, strippedname, strlen(strippedname));