]> Shamusworld >> Repos - ardour-manual/commitdiff
More CSS simplification, hopefully no visual change. Made the left bar active title...
authorEd Ward <edwsaintesprit@hotmail.com>
Tue, 26 Feb 2019 11:59:29 +0000 (12:59 +0100)
committerLen Ovens <len@ovenwerks.net>
Tue, 26 Feb 2019 16:36:33 +0000 (08:36 -0800)
build.py
onepage-template.txt
page-template.txt
source/css/app.css
source/css/luadoc.css

index ddfdfa3ed612eebf1750cb15de852dd2a5a64e38..376204959f810b72d7c5bfe126233c36b2346e01 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -332,7 +332,7 @@ def BuildList(lst, fs, pagePos, cList):
                elif (pagePos > curPos) and (pagePos < nextPos):
                        content = content + BuildList(cList[curPos], fs, pagePos, cList)
 
-       content = content + '</ul>\n'
+       content = content + '\n</ul>\n'
 
        return content
 
@@ -396,10 +396,10 @@ def BuildOnePageSidebar(fs):
 def CreateLinkSidebar(fs, pos, childList):
 
        # Build the list recursively from the top level nodes
-       #content = BuildList(FindTopLevelNodes(fs), fs, pos, childList)
        content = BuildList(FindTopLevelNodes(fs), fs, pos, childList)
        # Shove the TOC link and one file link at the top...
-       content = content[:7] + '<dt><dt><a href="/toc/">Table of Contents</a></dt><dd></dd>\n' + content[7:]
+       active = ' class=active' if pos<0 else ''
+       content = content.replace('<ul>','<ul><li' + active + '><a href="/toc/">Table of Contents</a></li>\n',1)
 
        return content
 
index 215e536b8aab05e404b984c9c0bb2942703a37a9..640d83c452e4b8eac5befe5ab156fdb0cea2d943 100644 (file)
                        </div> <!-- tree -->
 
                        <div class="span12" id="content">
-                               <div id="content-main">
 
-                                       {{ content }}
+                               {{ content }}
 
-                               </div> <!-- content-main -->
                        </div> <!-- content -->
                </div> <!-- row-fluid -->
        </div> <!-- container-fluid -->
index 06dd49d2d20076bbedaf8bfd68173a9a242b06f1..465ed98d238b8a41892c6a012fcf81038becd3a0 100644 (file)
                        <div class="span12" id="content">
 
                                {% breadcrumbs %}
+                               {% githubedit %}
 
-                               <div id="content-main">
+                               <h1 class="title">{{ page.title }}</h1>
 
-                                       {% githubedit %}
+                               {{ content }}
 
-                                       <h1 class="title">{{ page.title }}</h1>
+                               <div class="clearer"></div>
 
-                                       {{ content }}
+                               {% prevnext %}
 
-                                       <div class="clearer"></div>
-
-                                       {% prevnext %}
-
-                               </div> <!-- content-main -->
                        </div> <!-- content -->
                </div> <!-- row-fluid -->
        </div> <!-- container-fluid -->
index 9da882f7ba4bcafe294556f2e3c22fb9e7217dc6..2acd0724ec0238839ef262d8caf6b33e9621c7fe 100644 (file)
@@ -54,11 +54,11 @@ ul.inside li, ol.inside li {
 #tree a {
   display: inline !important;
   font-size: 0.88em;
-  font-weight: normal;
+  /*font-weight: normal;*/
   line-height: 2em;
   color: #E4E4E4;
   border-bottom: 1px solid transparent;
-  padding-bottom: .1ex;
+  /*padding-bottom: .1ex;*/
 }
 
 #tree a:hover {
@@ -68,8 +68,7 @@ ul.inside li, ol.inside li {
 
 #tree .active > a {
   display: inline;
-  color: #da0808;
-  border-bottom: 1px solid #FFF;
+  color: #FF8080;
 }
 
 #content {
@@ -78,11 +77,6 @@ ul.inside li, ol.inside li {
   line-height: 2em;
 }
 
-#content-main {
-  padding-top: 1ex;
-  padding-left: .5em;
-}
-
 #content h1,
 #content h2,
 #content h3,
@@ -98,7 +92,7 @@ ul.inside li, ol.inside li {
        clear:both;
 }
 
-#content h1.title {
+#content h1 {
   font-size: 1.8em;
   margin: 0 0 2ex 0;
   padding-bottom: .8ex;
@@ -367,33 +361,11 @@ samp:after {
   content:"\AB";
 }
 
-#subtopics ul {
-  font-weight:bold;
-}
-
 #content dfn {
   font-weight: bold;
   font-style: normal;
 }
 
-#content img.right {
-  margin: 0 0 1em 1em;
-  float:right;
-  clear:right;
-}
-
-#content img.left {
-  margin:0 1em 1em 0;
-  float:left;
-  clear:left;
-}
-
-#content img.center {
-  display: block;
-  margin:1em auto 1em auto;
-       clear: both;
-}
-
 #content img.mini {
   width:200px;
 }
@@ -415,12 +387,6 @@ samp:after {
   margin-bottom: 1em;
   border-style: solid;
   border-width: 1px 1px 1px 8px;
-  -webkit-border-radius: 4px;
-     -moz-border-radius: 4px;
-          border-radius: 4px;
-  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
-     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
-          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
 }
 
 #content code {
index b8a6777f49ad062390a174e3f825b573cae806bb..dec6a8985d1ac0dd47d220491768c2663c878810 100644 (file)
@@ -31,7 +31,7 @@ div.luafooter              { text-align:center; font-size:80%; color: #888; marg
 #luaref table.classmembers th      { text-align:left; border-bottom:1px solid black; padding-top:1em; }
 #luaref table.classmembers td.def  { text-align:right; padding-right:.5em;  white-space: nowrap; font-family:mono; }
 #luaref table.classmembers td.decl { text-align:left; padding-left:.5em; white-space: nowrap; font-family:mono;}
-#luaref table.classmembers td.doc  { text-align:left; padding-left:.6em; line-height: 1.2em; font-size:85%; }
+#luaref table.classmembers td.doc  { text-align:left; padding-left:.6em; font-size:85%; }
 #luaref table.classmembers td.doc div.dox { background-color:#eee; padding: .1em 1em; }
 #luaref table.classmembers td.doc p { margin: .5em 0; font-size:110%; }
 #luaref table.classmembers td.doc p.para-returns {font-size:inherit; }