summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-11 21:45:29 +0000
committerSteven Barth <steven@midlink.org>2008-09-11 21:45:29 +0000
commite0cfb49235b5890b24dbfcafeb5c7805327d6403 (patch)
treee219b68df8ad5bc01aae8c91941edd5cfb96f753
parent55cf7dbf347a9b48e911b1b4d47997aa513f5d7b (diff)
UVLDoc: Minor style improvements
-rw-r--r--libs/uvldoc/luasrc/uvldoc/proto/xhtml/section.xml4
-rw-r--r--libs/uvldoc/luasrc/uvldoc/proto/xhtml/uvldoc.css8
2 files changed, 10 insertions, 2 deletions
diff --git a/libs/uvldoc/luasrc/uvldoc/proto/xhtml/section.xml b/libs/uvldoc/luasrc/uvldoc/proto/xhtml/section.xml
index 92625bc8a5..8f1ca931de 100644
--- a/libs/uvldoc/luasrc/uvldoc/proto/xhtml/section.xml
+++ b/libs/uvldoc/luasrc/uvldoc/proto/xhtml/section.xml
@@ -112,7 +112,7 @@ if section.named then %>
</ul>
<% end %>
-<h3 class="section-variables">Overview:</h3>
+<h3 class="section-variables">Variable Overview:</h3>
<table class="section-variables-index">
<% for k, v in luci.util.kspairs(package.variables[type]) do
if v.required then%>
@@ -141,8 +141,8 @@ if (i==0) == v.required then
<a name="variable.<%=k%>" />
<h4 class="variable-title"><%=k-%>
<%-if v.title then%><dfn> - <%=v.title%></dfn><%end%></h4>
- <div class="variable-description"><%=v.description%></div>
<div class="variable-declaration">
+ <div class="variable-description"><%=v.description%></div>
<h5 class="variable-attributes">Attributes:</h5>
<ul class="varaible-attributes-index">
<% if v.required then %>
diff --git a/libs/uvldoc/luasrc/uvldoc/proto/xhtml/uvldoc.css b/libs/uvldoc/luasrc/uvldoc/proto/xhtml/uvldoc.css
index 2d9d3954d0..32a5e96b55 100644
--- a/libs/uvldoc/luasrc/uvldoc/proto/xhtml/uvldoc.css
+++ b/libs/uvldoc/luasrc/uvldoc/proto/xhtml/uvldoc.css
@@ -67,10 +67,18 @@ div.variable-declaration {
padding-left: 2em;
}
+div.variable-description {
+ margin-bottom: 1em;
+}
+
h3.section-variables {
margin-top: 2em;
}
+h4.variable-title {
+ margin-bottom: 0;
+}
+
div#menu {
float: left;
background-color: #f0f0ff;