aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-08-08 02:30:18 +0200
committerdavemds <dave@gurumeditation.it>2014-08-08 02:30:33 +0200
commit34c75a29f6ac5a4cbb669e5b3b74f1ddb6ae8423 (patch)
treef141679c8d55fed48285f70c116ba0bef9cb6a8b /doc
parentedcref: fix the base_scale property docs (diff)
downloadefl-34c75a29f6ac5a4cbb669e5b3b74f1ddb6ae8423.tar.gz
Edcref: and finally apply a cool style
Now the edc ref is decently readable
Diffstat (limited to 'doc')
-rw-r--r--doc/Doxyfile.in5
-rw-r--r--doc/e.css47
2 files changed, 47 insertions, 5 deletions
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index a1b2c0cbe3..f18cc4f77b 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -1709,15 +1709,16 @@ GENERATE_LEGEND = YES
DOT_CLEANUP = YES
# Aliases used by edcref
+
ALIASES = block="<tr><td class=\"block\"><b>"
ALIASES += context="</b></td><td class=\"context\" colspan=2>\code"
ALIASES += description="\endcode</td></tr><tr><td>&nbsp;</td><td class=\"description\" colspan=2>"
ALIASES += endblock="</td></tr>"
-ALIASES += property="<tr><td>&nbsp;</td><td><table class=\"edcref\" border=\"0\"><tr><td class=\"property\"><tt>"
+ALIASES += property="<tr><td>&nbsp;</td><td><table class=\"edcref_prop\" border=\"0\"><tr><td class=\"property\"><tt>"
ALIASES += parameters="</tt></td><td class=\"parameters\"><tt>"
ALIASES += effect="</tt></td></tr><tr><td>&nbsp;</td><td class=\"effect\">"
ALIASES += endproperty="</td></tr></table></td></tr>"
-ALIASES += edcsection{2}="<tr class=\"section\"><td class=\"section\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>"
+ALIASES += edcsection{2}="</table><table class=\"edcref\"><tr class=\"section\"><td class=\"section\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>"
ALIASES += edcsubsection{2}="<tr class=\"subsection\"><td class=\"subsection\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>"
# Aliases used by luaref
diff --git a/doc/e.css b/doc/e.css
index dd111c0d48..a34c7e70c6 100644
--- a/doc/e.css
+++ b/doc/e.css
@@ -954,16 +954,57 @@ dl.citelist dd {
text-shadow: 0px 1px 0px #cccccc;
}
+
/* EdcRef page specific styles */
+table.edcref {
+ border-collapse:collapse;
+ border: 1px solid #AAAAAA;
+ margin-bottom: 30px;
+}
+
+table.edcref td.section a {
+ font-size: 2.0em;
+}
+
+table.edcref td.subsection {
+ background-color: #EEEEEE;
+ border: 1px solid #AAAAAA;
+}
+
+table.edcref td.subsection a {
+ font-size: 1.5em;
+}
+
table.edcref td {
vertical-align: top;
}
-table.edcref td.property, table.edcref td.parameters {
- font-weight: bold;
+table.edcref .fragment {
+ width: 90%;
+ padding-top: 10px;
+ padding-left: 3px;
+ margin-right: 100px;
+ border: 1px solid #AAAAAA;
+ margin-top: 10px;
+ margin-bottom: 10px;
+ background-color: #F6F6F6;
}
+table.edcref td.description {
+ padding-right: 95px;
+}
+table.edcref td.property, table.edcref td.parameters {
+ font-weight: bold;
+ background-color: #DDDDDD;
+ border-top: 1px solid #AAAAAA;
+ padding: 2px;
+}
-
+table.edcref_prop {
+ width: 90%;
+ border-collapse:collapse;
+ border: 1px solid #AAAAAA;
+ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
+}