aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/style.css19
-rwxr-xr-xgendoc.py2
-rwxr-xr-xlv2specgen/lv2specgen.py1
-rw-r--r--lv2specgen/template.html3
4 files changed, 11 insertions, 14 deletions
diff --git a/doc/style.css b/doc/style.css
index 6d6e090..230353c 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -51,16 +51,7 @@ h6 {
font-size: 100%;
font-weight: 450;
}
-#logoheader {
- background-color: #F3F3F3;
- border: 0;
- border-bottom: 1px solid #DDD;
- height: 84px;
- margin: 0;
- padding: 1px;
- z-index: 1;
-}
-#titleheader {
+#header {
background-color: #F3F3F3;
border: 0;
border-bottom: 1px solid #DDD;
@@ -70,9 +61,12 @@ h6 {
#title {
font-size: 200%;
font-weight: 700;
- margin: .25ex 0 .5ex 0;
+ margin: .25ex 0 .25ex 0;
padding: 0;
}
+#subtitle {
+ margin: 0 auto 2ex 0.5ex;
+}
#logo {
height: 63px;
margin-left: 1em;
@@ -480,7 +474,8 @@ td, th {
padding: 0.3ex 1em 0.3ex 1em;
}
#meta {
- margin-left: 0.5ex;
+ margin: 1ex 0 0 0.5ex;
+ font-size: small;
}
#meta tr td, #meta tr th {
padding-left: 0;
diff --git a/gendoc.py b/gendoc.py
index b6279f5..b22bca9 100755
--- a/gendoc.py
+++ b/gendoc.py
@@ -117,7 +117,7 @@ for dir in ['ext', 'extensions']:
<link rel="stylesheet" type="text/css" href="../../""" + STYLEURI + """\" />
</head>
<body>
-<div id="titleheader"><h1 id="title">LV2 Extension Index</h1></div>
+<div id="header"><h1 id="title">LV2 Extension Index</h1></div>
<div class="content">
<table summary="An index of LV2 extensions">
<tr><th>Name</th><th>Description</th><th>Version</th><th>Date</th></tr>\n"""
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 8138654..13422d2 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -934,6 +934,7 @@ def specgen(specloc, indir, docdir, style_uri, doc_base, doclinks, instances=Fal
termlist += docTerms('Instance', instalist, m)
template = template.replace('@NAME@', specProperty(m, spec_url, doap.name))
+ template = template.replace('@SUBTITLE@', specProperty(m, spec_url, doap.shortdesc))
template = template.replace('@URI@', spec_url)
template = template.replace('@PREFIX@', spec_pre)
if spec_pre == 'lv2':
diff --git a/lv2specgen/template.html b/lv2specgen/template.html
index d1a91ef..e5399c8 100644
--- a/lv2specgen/template.html
+++ b/lv2specgen/template.html
@@ -17,8 +17,9 @@
<body>
<!-- HEADER -->
- <div id="titleheader">
+ <div id="header">
<h1 id="title">@NAME@</h1>
+ <span id="subtitle">@SUBTITLE@</span>
<table id="meta">
<tr><th>URI</th><td><a href="@URI@">@URI@</a></td></tr>
<tr><th>Version</th><td>@REVISION@</td></tr>