]> git.armaanb.net Git - stagit.git/commitdiff
style: center menu and make title smaller
authorHiltjo Posthuma <hiltjo@codemadness.org>
Mon, 7 Dec 2015 20:19:30 +0000 (21:19 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Mon, 7 Dec 2015 20:19:30 +0000 (21:19 +0100)
style.css
urmoms.c

index 2481dec67b8f045279e9e0d4e80e9402919858cb..2639ba2890e6e32a4f89c0233fc69378f8a7ada7 100644 (file)
--- a/style.css
+++ b/style.css
@@ -24,8 +24,8 @@ table tr:hover td {
        background-color: #ddd;
 }
 
-h1 {
-       font-size: 140%;
+h1, h2, h3, h4, h5, h6 {
+       font-size: 100%;
 }
 
 .desc {
index 64a7737351b7a67481dbe66da701d5f85302575c..37f5446c5b90b5d0f8b97150bd11076619e77337 100644 (file)
--- a/urmoms.c
+++ b/urmoms.c
@@ -31,7 +31,7 @@ writeheader(FILE *fp)
        fprintf(fp, "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"%s Atom Feed\" href=\"%satom.xml\" />\n",
                name, relpath);
        fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
-       fputs("</head>\n<body>\n", fp);
+       fputs("</head>\n<body>\n<center>\n", fp);
        fprintf(fp, "<h1><img src=\"%slogo.png\" alt=\"\" /> %s <span class=\"desc\">%s</span></h1>\n",
                relpath, name, description);
        fprintf(fp, "<a href=\"%slog.html\">Log</a> | ", relpath);
@@ -41,7 +41,7 @@ writeheader(FILE *fp)
                fprintf(fp, " | <a href=\"%sreadme.html\">README</a>", relpath);
        if (haslicense)
                fprintf(fp, " | <a href=\"%slicense.html\">LICENSE</a>", relpath);
-       fputs("\n<hr/>\n<pre>", fp);
+       fputs("\n</center>\n<hr/>\n<pre>", fp);
 
        return 0;
 }