diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2010-09-30 16:46:09 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2010-09-30 16:46:09 +0100 |
commit | 00836c57c70ff194ead9f060f658abd78170038d (patch) | |
tree | de89b007e7efca0527a58d36a1e0c77dfa627b6b /doc | |
parent | f3ef868ebd07b4034546b2bd48bb198fc2c34ba5 (diff) |
Genericise added/changed/deprecated CSS
Diffstat (limited to 'doc')
-rw-r--r-- | doc/templates/interface.html | 2 | ||||
-rw-r--r-- | doc/templates/style.css | 23 |
2 files changed, 13 insertions, 12 deletions
diff --git a/doc/templates/interface.html b/doc/templates/interface.html index 56eb5b49..49a8db2e 100644 --- a/doc/templates/interface.html +++ b/doc/templates/interface.html @@ -160,7 +160,7 @@ #end if #if $interface.causes_havoc - <div class="havoc"><span class="warning">WARNING:</span> + <div class="annotation havoc"><span class="warning">WARNING:</span> This interface is $interface.causes_havoc and is likely to cause havoc to your API/ABI if bindings are generated. Do not include this interface in libraries that care about compatibility. diff --git a/doc/templates/style.css b/doc/templates/style.css index 5e00ca41..7615e0a1 100644 --- a/doc/templates/style.css +++ b/doc/templates/style.css @@ -177,39 +177,40 @@ div.docstring { margin: 1ex; } -div.added { - border-left: 2px solid #4e9a06; +div.annotation { + border-left: 2px solid; margin: 1ex; padding-left: 1ex; } +div.annotation span.version, span.warning { + font-weight: bold; +} + +div.added { + border-left-color: #4e9a06; +} + div.added span.version { color: #4e9a06; - font-weight: bold; } div.changed { - border-left: 2px solid #8f5902; - margin: 1ex; - padding-left: 1ex; + border-left-color: #8f5902; } div.changed span.version { color: #8f5902; - font-weight: bold; } div.deprecated, div.havoc { - border-left: 2px solid #a40000; - margin: 1ex; - padding-left: 1ex; + border-left-color: #a40000; } div.deprecated span.version, span.warning { color: #a40000; - font-weight: bold; } div.rationale { |