Commit 2cda28eb authored by Thomas BOUTROUE's avatar Thomas BOUTROUE

Use CSS for TOC title instead of inline code

parent 3908f611
Pipeline #575 passed with stage
in 7 seconds
<style type="text/css">
/* DON'T REMOVE THIS BLOCK */
* { font-family: "Ubuntu"; }
pre, code, pre *, code * { font-family: "Ubuntu Mono"; }
p, p *, #TOC, #TOC *, pre, code, pre *, code * { font-size: 12pt; }
......@@ -16,6 +15,7 @@
.anchor { position: relative; display: block; height: 0; width: 0; }
a { color: darkblue; }
a code { border: 1px solid darkblue; color: darkblue; }
#TOC:before { display: block; margin: 10px; font-weight: bold; content: "Table of contents:" ; }
</style>
......@@ -25,11 +25,7 @@ QML-2-HTML Server
_This application has been developed to allow creating an MVC website using the QML syntax, in order to produce classic HTML for web-browsers._
**Table of contents :**
<div id="TOC">
/* DON'T REMOVE THIS BLOCK */
</div>
<div id="TOC"></div>
## Base principles
......@@ -388,7 +384,6 @@ NoOutputScript {
```
<script type="text/javascript">
/* DON'T REMOVE THIS BLOCK */
var toc = [];
var minHeadLevel = 2;
var maxHeadLevel = 4;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment