diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-12-22 15:20:02 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-12-22 15:20:31 +0100 |
commit | 4bcc1f5adbe604917c1005028808c29bf48dea69 (patch) | |
tree | 3aa478fea8b05a5995cc709b390cdbd7b8d1db2b /view | |
parent | d7f65ca125ee6020928a48220055f637d8ca5000 (diff) | |
download | volse-hubzilla-4bcc1f5adbe604917c1005028808c29bf48dea69.tar.gz volse-hubzilla-4bcc1f5adbe604917c1005028808c29bf48dea69.tar.bz2 volse-hubzilla-4bcc1f5adbe604917c1005028808c29bf48dea69.zip |
move style info into css file
Diffstat (limited to 'view')
-rw-r--r-- | view/css/mod_help.css | 29 | ||||
-rw-r--r-- | view/tpl/help.tpl | 18 |
2 files changed, 38 insertions, 9 deletions
diff --git a/view/css/mod_help.css b/view/css/mod_help.css new file mode 100644 index 000000000..f59a40894 --- /dev/null +++ b/view/css/mod_help.css @@ -0,0 +1,29 @@ +.doco-list-group-item > a { + font-weight: bold; +} + +.sub-menu { + margin: 3px 0px 10px 10px; +} + +#doco-content h3 { + border-bottom: #ccc 3px solid; + padding-bottom: 0.3em; +} + +#doco-content h4 { + text-decoration: underline; +} + +#doco-content h5 { + text-decoration: underline; +} + +#region_1 .widget ul ul { + list-style-type: none; +} + +.toc-content li, + #doco-top-toc li { + padding: 3px 0px; +} diff --git a/view/tpl/help.tpl b/view/tpl/help.tpl index 494869683..10e0a4957 100644 --- a/view/tpl/help.tpl +++ b/view/tpl/help.tpl @@ -1,19 +1,20 @@ <div id="help-content" class="generic-content-wrapper"> <div class="section-title-wrapper"> - <h2>{{$title}}: {{$heading}}</h2> + <h2>{{$title}}: {{$heading}}</h2> </div> <div class="section-content-wrapper" id="doco-content"> - <h3 id="doco-top-toc-heading"><span class="fakelink" onclick="docoTocToggle(); return false;"> - <i class="fakelink fa fa-caret-right" id="doco-toc-toggle"></i> - {{$tocHeading}} - </span></h3> - <ul id="doco-top-toc" style="margin-bottom: 1.5em; display: none;"></ul> - {{$content}} + <h3 id="doco-top-toc-heading"> + <span class="fakelink" onclick="docoTocToggle(); return false;"> + <i class="fakelink fa fa-caret-right" id="doco-toc-toggle"></i> + {{$tocHeading}} + </span> + </h3> + <ul id="doco-top-toc" style="margin-bottom: 1.5em; display: none;"></ul> + {{$content}} </div> </div> <script> - // Generate the table of contents in the side nav menu (see view/tpl/help.tpl) $(document).ready(function () { $('#doco-top-toc').toc({content: "#doco-content", headings: "h3,h4,h5,h6"}); @@ -29,5 +30,4 @@ return false; } - </script> |