| tstyle: center menu and make title smaller - stagit - static git page generator | |
| git clone git://src.adamsgaard.dk/stagit | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit 86c970e1ecbe8a0c4c2e4c6dc12b38d03a4cc3cd | |
| parent 55b823b226194cd25864f1b61bc5b4f343e4e822 | |
| Author: Hiltjo Posthuma <[email protected]> | |
| Date: Mon, 7 Dec 2015 21:19:30 +0100 | |
| style: center menu and make title smaller | |
| Diffstat: | |
| M style.css | 4 ++-- | |
| M urmoms.c | 4 ++-- | |
| 2 files changed, 4 insertions(+), 4 deletions(-) | |
| --- | |
| diff --git a/style.css b/style.css | |
| t@@ -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 { | |
| diff --git a/urmoms.c b/urmoms.c | |
| t@@ -31,7 +31,7 @@ writeheader(FILE *fp) | |
| fprintf(fp, "<link rel=\"alternate\" type=\"application/atom+xml\" tit… | |
| name, relpath); | |
| fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle… | |
| - 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=\"… | |
| relpath, name, description); | |
| fprintf(fp, "<a href=\"%slog.html\">Log</a> | ", relpath); | |
| t@@ -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>", relpa… | |
| - fputs("\n<hr/>\n<pre>", fp); | |
| + fputs("\n</center>\n<hr/>\n<pre>", fp); | |
| return 0; | |
| } |