From 79f679da9483c12979500dd48bc096d33af9ca6f Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Tue, 11 Jul 2017 12:29:17 +0200 Subject: 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 --- doc/global/template/style/offline-simple.css | 4 +++- doc/global/template/style/offline.css | 3 +++ doc/global/template/style/online.css | 10 ++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) (limited to 'doc') 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 { -- cgit v1.2.3