~gabriel1984sibiu/minitube/qt5.6

« back to all changes in this revision

Viewing changes to doc/global/qt-html-templates-offline-simple.qdocconf

  • Committer: Grevutiu Gabriel
  • Date: 2017-06-13 08:43:17 UTC
  • Revision ID: gabriel1984sibiu@gmail.com-20170613084317-ek0zqe0u9g3ocvi8
OriginalĀ upstreamĀ code

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Specify a custom CSS file used by this template
 
2
HTML.stylesheets  += template/style/offline-simple.css
 
3
qhp.extraFiles    += style/offline-simple.css
 
4
 
 
5
# Override the header styles
 
6
HTML.headerstyles  = \
 
7
    "  <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline-simple.css\" />\n" \
 
8
    "  <script type=\"text/javascript\">\n" \
 
9
    "    window.onload = function(){document.getElementsByTagName(\"link\").item(0).setAttribute(\"href\", \"style/offline.css\");};\n" \
 
10
    "  </script>\n"
 
11
 
 
12
HTML.postheader = \
 
13
    "<body>\n" \
 
14
    "<div class=\"header\" id=\"qtdocheader\">\n"\
 
15
    "  <div class=\"main\">\n" \
 
16
    "    <div class=\"main-rounded\">\n" \
 
17
    "      <div class=\"navigationbar\">\n" \
 
18
    "        <table><tr>\n"
 
19
 
 
20
HTML.postpostheader = \
 
21
    "        </tr></table>\n"\
 
22
    "      </div>\n" \
 
23
    "    </div>\n" \
 
24
    "<div class=\"content\">\n" \
 
25
    "<div class=\"line\">\n" \
 
26
    "<div class=\"content mainContent\">\n"
 
27
 
 
28
HTML.navigationseparator = \
 
29
    "<span class=\"naviSeparator\">  &#9702;  </span>\n"
 
30
 
 
31
# Add some padding around code snippets, as we cannot
 
32
# currectly style them for QTextBrowser using only CSS.
 
33
codeindent         = 2
 
34
codeprefix         = "\n\n"
 
35
codesuffix         = "\n\n"