style: center menu and make title smaller
M · style.css +2, -2 1@@ -24,8 +24,8 @@ table tr:hover td {
2 background-color: #ddd;
3 }
4
5-h1 {
6- font-size: 140%;
7+h1, h2, h3, h4, h5, h6 {
8+ font-size: 100%;
9 }
10
11 .desc {
M · urmoms.c
+2, -2 1@@ -31,7 +31,7 @@ writeheader(FILE *fp)
2 fprintf(fp, "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"%s Atom Feed\" href=\"%satom.xml\" />\n",
3 name, relpath);
4 fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
5- fputs("</head>\n<body>\n", fp);
6+ fputs("</head>\n<body>\n<center>\n", fp);
7 fprintf(fp, "<h1><img src=\"%slogo.png\" alt=\"\" /> %s <span class=\"desc\">%s</span></h1>\n",
8 relpath, name, description);
9 fprintf(fp, "<a href=\"%slog.html\">Log</a> | ", relpath);
10@@ -41,7 +41,7 @@ writeheader(FILE *fp)
11 fprintf(fp, " | <a href=\"%sreadme.html\">README</a>", relpath);
12 if (haslicense)
13 fprintf(fp, " | <a href=\"%slicense.html\">LICENSE</a>", relpath);
14- fputs("\n<hr/>\n<pre>", fp);
15+ fputs("\n</center>\n<hr/>\n<pre>", fp);
16
17 return 0;
18 }