aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-12-22 15:20:02 +0100
committerMario Vavti <mario@mariovavti.com>2016-12-22 15:20:02 +0100
commit3629468d475230b68a1dc01b2888371716aa8364 (patch)
treeedc353d790958e26ae8aa88812b6f84150927398
parentc5d6f58988de240eb86bb8079413aecd7a9d6455 (diff)
downloadvolse-hubzilla-3629468d475230b68a1dc01b2888371716aa8364.tar.gz
volse-hubzilla-3629468d475230b68a1dc01b2888371716aa8364.tar.bz2
volse-hubzilla-3629468d475230b68a1dc01b2888371716aa8364.zip
move style info into css file
-rw-r--r--doc/about/about_hubzilla.bb3
-rw-r--r--doc/toc.html32
-rw-r--r--view/css/mod_help.css29
-rw-r--r--view/tpl/help.tpl18
4 files changed, 39 insertions, 43 deletions
diff --git a/doc/about/about_hubzilla.bb b/doc/about/about_hubzilla.bb
index 1117fd25a..38b99f83d 100644
--- a/doc/about/about_hubzilla.bb
+++ b/doc/about/about_hubzilla.bb
@@ -1,4 +1,3 @@
-
[h3]Project Overview[/h3]
$Projectname is a decentralized community server providing communications, identity, and access control services which work together seamlessly across domains and connected websites. It allows anybody to publicly or [b]privately[/b] publish a range of web/media/personal content. The cross-domain privacy implementation is unique and somewhat revolutionary, as identity and access rights are negotiated by servers invisibly in the background.
@@ -469,4 +468,4 @@ even if we have had our occasional disagreements.
[li]Simó Albert i Beltran[/li]
[li]Manuel Reva[/li]
[li]Manuel Jiménez Friaza[/li]
-[/list] \ No newline at end of file
+[/list]
diff --git a/doc/toc.html b/doc/toc.html
index 6090c4ace..b8816ed91 100644
--- a/doc/toc.html
+++ b/doc/toc.html
@@ -1,35 +1,3 @@
-<style>
- .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;
- }
-</style>
-
<div class="" id="accordion">
<div class="panel">
<div class="">
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>