diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2010-08-18 12:21:04 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2010-11-18 16:43:55 +0000 |
commit | aad7c820d60586ba0fadb3d82321316fd948964a (patch) | |
tree | 522750a16bb877a9f1089a25b614efaccf26b690 /doc | |
parent | a554717e5aed851770e3f3f11cc275fc6054b061 (diff) |
Enclose legal information in a subtle box.
This helps to visually distinguish between this meta-data and the
overview of the specification, which is particularly important in the
MPRIS spec. since they have actual documentation in the introduction.
Hey maybe we should do that too.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/templates/index.html | 16 | ||||
-rw-r--r-- | doc/templates/style.css | 8 |
2 files changed, 16 insertions, 8 deletions
diff --git a/doc/templates/index.html b/doc/templates/index.html index b50067ba..7c03fe6c 100644 --- a/doc/templates/index.html +++ b/doc/templates/index.html @@ -17,14 +17,16 @@ <div class="main"> <h3 class="version">Version $spec.version</h3> - <p class="copyrights"> - #echo '<br/>'.join($spec.copyrights) - </p> - - <div class="license"> - #for $para in $spec.license - <p>$para</p> + <div class="legal"> + <ul class="copyrights"> + #for c in $spec.copyrights + <li>$c</li> #end for + </ul> + + #for $para in $spec.license + <p>$para</p> + #end for </div> <a name="interfaces"></a> diff --git a/doc/templates/style.css b/doc/templates/style.css index c5cde5f2..16d9f382 100644 --- a/doc/templates/style.css +++ b/doc/templates/style.css @@ -141,12 +141,18 @@ div.access { margin-left: 1ex; } -div.summary { +div.summary, div.legal { padding: 0.5ex; background-color: #eeeeec; border: 1px solid #d3d7cf; } +div.legal ul { + list-style: none; + padding-left: 0; + margin-left: 0; +} + table.summary { margin: 1ex; font-size: small; |