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