diff --git a/doc/global/qt-html-templates-offline-simple.qdocconf b/doc/global/qt-html-templates-offline-simple.qdocconf index cd924c64e3a..4a65cc3c570 100644 --- a/doc/global/qt-html-templates-offline-simple.qdocconf +++ b/doc/global/qt-html-templates-offline-simple.qdocconf @@ -25,6 +25,9 @@ HTML.postpostheader = \ "
\n" \ "
\n" +HTML.navigationseparator = \ + "\n" + # Add some padding around code snippets, as we cannot # currectly style them for QTextBrowser using only CSS. codeindent = 2 diff --git a/doc/global/template/style/offline-simple.css b/doc/global/template/style/offline-simple.css index 3e1c5277611..b11cb6a137e 100644 --- a/doc/global/template/style/offline-simple.css +++ b/doc/global/template/style/offline-simple.css @@ -136,12 +136,12 @@ code { p.naviNextPrevious { text-align: right; - margin-right: 40px; + margin-right: 20px; } -q.prevPage, a.nextPage { - margin-left: 30px; - } +span.naviSeparator { + white-space: pre; +} .toc h3 { margin: 0px 0px 10px 6px; diff --git a/doc/global/template/style/offline.css b/doc/global/template/style/offline.css index 1936b16bda1..123d7532906 100644 --- a/doc/global/template/style/offline.css +++ b/doc/global/template/style/offline.css @@ -192,6 +192,7 @@ Top navigation margin-left: 30px; } +.naviSeparator { display: none } /* ----------- footer and license