This commit is contained in:
parent
6ec477a9b5
commit
a25ab6dd69
2 changed files with 31 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ void default_body(FILE* out, const char* top, xl_node_t* element, const char* in
|
|||
if(id != NULL) {
|
||||
sprintf(tag, "<div class=\"section\" id=\"%s\">%s</div>", id, title);
|
||||
|
||||
sprintf(tag + strlen(tag), "<table border=\"0\" width=\"100%%\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"sectionsep\"></td></tr></table>");
|
||||
sprintf(tag + strlen(tag), "<table border=\"0\" width=\"100%%\" height=\"1\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"sectionsep\"></td></tr></table>");
|
||||
}
|
||||
} else if(strcmp(element->name, "fixme") == 0 || /**/
|
||||
strcmp(element->name, "warning") == 0 || /**/
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ void dark_stylesheet(FILE* out, const char* top) {
|
|||
fprintf(out, " font-size: 9pt;\n");
|
||||
fprintf(out, "}\n");
|
||||
fprintf(out, "\n");
|
||||
fprintf(out, ".smalltext {\n");
|
||||
fprintf(out, ".smalltext, .linkgroup, .linkgrouptitle {\n");
|
||||
fprintf(out, " font-size: 8pt;\n");
|
||||
fprintf(out, "}\n");
|
||||
fprintf(out, "\n");
|
||||
|
|
@ -22,6 +22,14 @@ void dark_stylesheet(FILE* out, const char* top) {
|
|||
fprintf(out, " background: #666666;\n");
|
||||
fprintf(out, "}\n");
|
||||
fprintf(out, "\n");
|
||||
fprintf(out, ".linkgroup {\n");
|
||||
fprintf(out, " padding-left: 12px;\n");
|
||||
fprintf(out, "}\n");
|
||||
fprintf(out, "\n");
|
||||
fprintf(out, ".linkgrouptitle {\n");
|
||||
fprintf(out, " font-weight: bold;\n");
|
||||
fprintf(out, "}\n");
|
||||
fprintf(out, "\n");
|
||||
fprintf(out, "a {\n");
|
||||
fprintf(out, " text-decoration: none;\n");
|
||||
fprintf(out, " color: #cccccc;\n");
|
||||
|
|
@ -118,6 +126,27 @@ void dark_body(FILE* out, const char* top, const char* title, xl_node_t* body, c
|
|||
fprintf(out, " <div class=\"smalltext\">© %s</div>\n", holder);
|
||||
fprintf(out, " </td>\n");
|
||||
fprintf(out, " </tr>\n");
|
||||
fprintf(out, " <tr>\n");
|
||||
fprintf(out, " <td>\n");
|
||||
fprintf(out, " <table border=\"0\" width=\"100%%\" height=\"1\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"sectionsep\"></td></tr></table>");
|
||||
fprintf(out, " </td>\n");
|
||||
fprintf(out, " </tr>\n");
|
||||
fprintf(out, " <tr>\n");
|
||||
fprintf(out, " <td align=\"left\">\n");
|
||||
if((nodes = xl_get_path(skinconf->root, "nav")) != NULL) {
|
||||
int i;
|
||||
|
||||
child = nodes[0]->first_child;
|
||||
while(child != NULL) {
|
||||
default_nav(out, top, child, input, 8);
|
||||
|
||||
child = child->next;
|
||||
}
|
||||
|
||||
free(nodes);
|
||||
}
|
||||
fprintf(out, " </td>\n");
|
||||
fprintf(out, " </tr>\n");
|
||||
fprintf(out, " </table>\n");
|
||||
fprintf(out, " </td>\n");
|
||||
fprintf(out, " <td width=\"1\" bgcolor=\"#666666\"></td>\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue