From e0cfb49235b5890b24dbfcafeb5c7805327d6403 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 11 Sep 2008 21:45:29 +0000 Subject: [PATCH] UVLDoc: Minor style improvements --- libs/uvldoc/luasrc/uvldoc/proto/xhtml/section.xml | 4 ++-- libs/uvldoc/luasrc/uvldoc/proto/xhtml/uvldoc.css | 8 ++++++++ 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 92625bc8a..8f1ca931d 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 %> <% end %> -

Overview:

+

Variable Overview:

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

<%=k-%> <%-if v.title then%> - <%=v.title%><%end%>

-
<%=v.description%>
+
<%=v.description%>
Attributes:
    <% 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 2d9d3954d..32a5e96b5 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; -- 2.25.1