summaryrefslogtreecommitdiffstats
path: root/doc/global/template
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2020-03-23 11:08:23 +0100
committerTopi Reinio <topi.reinio@qt.io>2020-03-26 15:28:31 +0100
commit0b5a1100ff5ab4fb696e0efc9bc5e8f266cf40ae (patch)
tree662ec88f9aa586c66d915c608d5a247f15aaee0a /doc/global/template
parent07558ae12d9b86bae9c5ee2b04414e6e34ec61b3 (diff)
Doc: Adjust offline style for the litehtml rendering engine
Qt Creator now has the option to use the litehtml backend as a replacement for the QTextBrowser-based help viewer. Fix a few issues that the offline style has with the litehtml renderer: - Fall back to using an unordered list for the navigation bar. - Remove the background image for #buildversion and adjust font size. - Adjust the generated padding around code snippets. Keep the script that switches the offline-simple.css style to the full offline style (offline.css) for JavaScript-enabled browsers. The litehtml backend in Qt Creator will handle this switch internally. With these changes, the generated offline documentation looks acceptable when rendered with QTextBrowser, litehtml, or desktop web browsers. Fixes: QTBUG-82567 Change-Id: I86b179b1985b7ef54feddab30cb227b28021efe5 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'doc/global/template')
-rw-r--r--doc/global/template/style/offline.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/global/template/style/offline.css b/doc/global/template/style/offline.css
index 13c942707a..f99369a096 100644
--- a/doc/global/template/style/offline.css
+++ b/doc/global/template/style/offline.css
@@ -297,11 +297,14 @@ table.buildversion {
#buildversion {
font-style: italic;
- font-size: small;
float: right;
margin-right: 5px;
}
+#buildversion a {
+ background: none;
+}
+
/*
/* table of content