mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-13 23:35:30 +00:00
More style tweaking.
This commit is contained in:
parent
3c890fa238
commit
fe77bb9f69
@ -45,9 +45,8 @@ div.contents h2 {
|
||||
div.contents ul.contents {
|
||||
font-size: 80%;
|
||||
}
|
||||
.availability {
|
||||
}
|
||||
.class {
|
||||
border-bottom: solid 2px gray;
|
||||
}
|
||||
.constants {
|
||||
}
|
||||
@ -57,8 +56,10 @@ div.contents ul.contents {
|
||||
.discussion {
|
||||
}
|
||||
.enumeration {
|
||||
border-bottom: solid 2px gray;
|
||||
}
|
||||
.function {
|
||||
border-bottom: solid 2px gray;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.members {
|
||||
@ -68,10 +69,13 @@ div.contents ul.contents {
|
||||
.returnvalue {
|
||||
}
|
||||
.struct {
|
||||
border-bottom: solid 2px gray;
|
||||
}
|
||||
.typedef {
|
||||
border-bottom: solid 2px gray;
|
||||
}
|
||||
.union {
|
||||
border-bottom: solid 2px gray;
|
||||
}
|
||||
.variable {
|
||||
}
|
||||
@ -120,7 +124,7 @@ div.body dd {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
h1.title, h2.title, h3.title {
|
||||
border-bottom: solid 1px black;
|
||||
border-bottom: solid 2px black;
|
||||
}
|
||||
--></style>
|
||||
</head>
|
||||
|
24
mxmldoc.c
24
mxmldoc.c
@ -2734,8 +2734,9 @@ write_function(FILE *out, /* I - Output file */
|
||||
description = mxmlFindElement(function, function, "description", NULL,
|
||||
NULL, MXML_DESCEND_FIRST);
|
||||
|
||||
fprintf(out, "<h%d class=\"function\">%s<a name=\"%s\">%s</a></h%d>\n",
|
||||
level, get_comment_info(description), name, name, level);
|
||||
fprintf(out, "<h%d class=\"%s\">%s<a name=\"%s\">%s</a></h%d>\n",
|
||||
level, level == 3 ? "function" : "method",
|
||||
get_comment_info(description), name, name, level);
|
||||
|
||||
if (description)
|
||||
write_description(out, description, "p", 1);
|
||||
@ -3343,9 +3344,8 @@ write_html_head(FILE *out, /* I - Output file */
|
||||
"div.contents ul.contents {\n"
|
||||
" font-size: 80%;\n"
|
||||
"}\n"
|
||||
".availability {\n"
|
||||
"}\n"
|
||||
".class {\n"
|
||||
" border-bottom: solid 2px gray;\n"
|
||||
"}\n"
|
||||
".constants {\n"
|
||||
"}\n"
|
||||
@ -3355,21 +3355,28 @@ write_html_head(FILE *out, /* I - Output file */
|
||||
".discussion {\n"
|
||||
"}\n"
|
||||
".enumeration {\n"
|
||||
" border-bottom: solid 2px gray;\n"
|
||||
"}\n"
|
||||
".function {\n"
|
||||
" border-bottom: solid 2px gray;\n"
|
||||
" margin-bottom: 0;\n"
|
||||
"}\n"
|
||||
".members {\n"
|
||||
"}\n"
|
||||
".method {\n"
|
||||
"}\n"
|
||||
".parameters {\n"
|
||||
"}\n"
|
||||
".returnvalue {\n"
|
||||
"}\n"
|
||||
".struct {\n"
|
||||
" border-bottom: solid 2px gray;\n"
|
||||
"}\n"
|
||||
".typedef {\n"
|
||||
" border-bottom: solid 2px gray;\n"
|
||||
"}\n"
|
||||
".union {\n"
|
||||
" border-bottom: solid 2px gray;\n"
|
||||
"}\n"
|
||||
".variable {\n"
|
||||
"}\n"
|
||||
@ -3417,8 +3424,13 @@ write_html_head(FILE *out, /* I - Output file */
|
||||
"div.body dd {\n"
|
||||
" margin-bottom: 0.5em;\n"
|
||||
"}\n"
|
||||
"h1.title, h2.title, h3.title {\n"
|
||||
" border-bottom: solid 1px black;\n"
|
||||
"h1.title {\n"
|
||||
"}\n"
|
||||
"h2.title {\n"
|
||||
" border-bottom: solid 2px black;\n"
|
||||
"}\n"
|
||||
"h3.title {\n"
|
||||
" border-bottom: solid 2px black;\n"
|
||||
"}\n", out);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user