diff options
author | Topi Reinio <topi.reinio@qt.io> | 2017-07-11 12:29:17 +0200 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2017-08-15 09:40:13 +0000 |
commit | 79f679da9483c12979500dd48bc096d33af9ca6f (patch) | |
tree | 9346a038cea868ea027fcef5e7cec860a9e4c48f /doc/global | |
parent | 858634d5f4b0474f7298c571a21a0fdc4620eebf (diff) |
Doc: Add styling for function groups
Add CSS rules for grouped function documentation; that is, multiple
function signatures sharing the same documentation body.
Change-Id: I28de3805a8f5f972a59f6ea4ae32262ac36b69a6
Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'doc/global')
-rw-r--r-- | doc/global/template/style/offline-simple.css | 4 | ||||
-rw-r--r-- | doc/global/template/style/offline.css | 3 | ||||
-rw-r--r-- | doc/global/template/style/online.css | 10 |
3 files changed, 16 insertions, 1 deletions
diff --git a/doc/global/template/style/offline-simple.css b/doc/global/template/style/offline-simple.css index 043e42981d..82e99c42ac 100644 --- a/doc/global/template/style/offline-simple.css +++ b/doc/global/template/style/offline-simple.css @@ -77,7 +77,9 @@ h3.fn, span.fn { font-weight: 400; margin: 45px 0px 0px 6px; } - +.fngroup h3.fngroupitem { + margin-bottom: 5px; +} table { max-width: 80%; padding: 15px 45px 15px 15px; diff --git a/doc/global/template/style/offline.css b/doc/global/template/style/offline.css index a65cf48d91..13c942707a 100644 --- a/doc/global/template/style/offline.css +++ b/doc/global/template/style/offline.css @@ -384,6 +384,9 @@ h3.fn, span.fn { margin: 0px; margin-top: 45px; } +.fngroup h3.fngroupitem { + margin-bottom: 5px; +} h3.fn code { float: right; } diff --git a/doc/global/template/style/online.css b/doc/global/template/style/online.css index 2d758f5301..7d84863b74 100644 --- a/doc/global/template/style/online.css +++ b/doc/global/template/style/online.css @@ -933,6 +933,16 @@ h1,h2,h3,h4,h5,h6 { border-bottom:2px #eee solid; word-wrap:break-word } +.context .fngroup { + border-bottom:2px #eee solid; + padding-bottom:15px; + margin-bottom:1.5em +} +.context .fngroup h3.fngroupitem { + margin:0; + padding-bottom:0; + border:none +} .context h3.fn .name, .context h3 span.type, .qmlname span.name { |