UVLDoc: Minor style improvements
This commit is contained in:
parent
55cf7dbf34
commit
e0cfb49235
2 changed files with 10 additions and 2 deletions
|
@ -112,7 +112,7 @@ if section.named then %>
|
||||||
</ul>
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<h3 class="section-variables">Overview:</h3>
|
<h3 class="section-variables">Variable Overview:</h3>
|
||||||
<table class="section-variables-index">
|
<table class="section-variables-index">
|
||||||
<% for k, v in luci.util.kspairs(package.variables[type]) do
|
<% for k, v in luci.util.kspairs(package.variables[type]) do
|
||||||
if v.required then%>
|
if v.required then%>
|
||||||
|
@ -141,8 +141,8 @@ if (i==0) == v.required then
|
||||||
<a name="variable.<%=k%>" />
|
<a name="variable.<%=k%>" />
|
||||||
<h4 class="variable-title"><%=k-%>
|
<h4 class="variable-title"><%=k-%>
|
||||||
<%-if v.title then%><dfn> - <%=v.title%></dfn><%end%></h4>
|
<%-if v.title then%><dfn> - <%=v.title%></dfn><%end%></h4>
|
||||||
<div class="variable-description"><%=v.description%></div>
|
|
||||||
<div class="variable-declaration">
|
<div class="variable-declaration">
|
||||||
|
<div class="variable-description"><%=v.description%></div>
|
||||||
<h5 class="variable-attributes">Attributes:</h5>
|
<h5 class="variable-attributes">Attributes:</h5>
|
||||||
<ul class="varaible-attributes-index">
|
<ul class="varaible-attributes-index">
|
||||||
<% if v.required then %>
|
<% if v.required then %>
|
||||||
|
|
|
@ -67,10 +67,18 @@ div.variable-declaration {
|
||||||
padding-left: 2em;
|
padding-left: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.variable-description {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
h3.section-variables {
|
h3.section-variables {
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h4.variable-title {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
div#menu {
|
div#menu {
|
||||||
float: left;
|
float: left;
|
||||||
background-color: #f0f0ff;
|
background-color: #f0f0ff;
|
||||||
|
|
Loading…
Reference in a new issue