doc: Documented htpipe.
[ashd.git] / src / htls.c
index d2db5f4..f51da93 100644 (file)
@@ -84,13 +84,14 @@ static void head(char *name, struct charbuf *dst)
     if(stylesheet) {
        bprintf(dst, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%s\" />\n", htmlquote(stylesheet));
     } else {
-       bprintf(dst, "<style>\n");
+       bprintf(dst, "<style type=\"text/css\">\n");
        bprintf(dst, "body {font-family: sans-serif; background: #eee;}\n");
        bprintf(dst, ".dirindex {background: white; padding: 1em; border: thin solid #ccc;}\n");
        bprintf(dst, ".dirindex table {border-collapse: collapse;}\n");
        bprintf(dst, ".dirindex td {padding: 0 1em;}\n");
        bprintf(dst, ".dentry:hover {background: #ddd;}\n");
        bprintf(dst, ".dir {background: #ddf;}\n");
+       bprintf(dst, ".dir .filename:before {content: \"\342\206\263 \"}\n");
        bprintf(dst, ".exec {background: #dfd;}\n");
        bprintf(dst, "</style>\n");
     }