UVLDoc: Minor style improvements

This commit is contained in:
Steven Barth 2008-09-11 21:45:29 +00:00
parent 55cf7dbf34
commit e0cfb49235
2 changed files with 10 additions and 2 deletions

View file

@ -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 %>

View file

@ -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;