Vlad Riscutia avatar Vlad Riscutia committed a0feedb

Make sidebar drop below body when screen to small instead of hiding it. Update ForkMe image. Build Tinkerer website with Modern5 theme

Comments (0)

Files changed (4)

Add a comment to this file

blog/_static/fork_me.png

Old
Old image
New
New image
 
 disqus_shortname = 'tinkerer'                                   
 html_favicon = 'tinkerer.ico'           
-html_theme = "modern"
+html_theme = "modern5"
 rss_service = "http://feeds.feedburner.com/tinkerer"
 
 extensions = ['tinkerer.ext.blog', 'tinkerer.ext.disqus'] 

tinkerer/themes/boilerplate/layout.html

     <div class="main">
 {%- block content -%}
       <div class="content clearfix">
+      {%- block document -%}
+        <div class="documentwrapper">
+          {%- block relbar1 -%}{{ relbar() }}{% endblock -%}
+            <article class="document">
+              {% block body -%} {% endblock -%}
+            </article>
+          {%- block relbar2 -%}{{ relbar() }}{% endblock -%}
+        </div>
+      {%- endblock -%}
       {%- if render_sidebar -%}
         <aside class="sidebar">
           {%- if sidebars != None -%}
           {%- endif -%}
         </aside>
       {%- endif -%}
-      {%- block document -%}
-        <div class="documentwrapper">
-          {%- block relbar1 -%}{{ relbar() }}{% endblock -%}
-            <article class="document">
-              {% block body -%} {% endblock -%}
-            </article>
-          {%- block relbar2 -%}{{ relbar() }}{% endblock -%}
-        </div>
-      {%- endblock -%}
       </div>
 {%- endblock -%}
     </div>

tinkerer/themes/boilerplate/static/style.css

 
 div.related li { list-style-type: none; }
 
-aside.sidebar { display: none; }
-
 /* ==|== non-semantic helper classes ========================================
    Please define your styles before this section.
    ========================================================================== */
     /* Style adjustments for viewports 768px and over go here */
     li.quicklink { display: inline; float: right; }
 
-    div.documentwrapper { margin-right: 333px; } 
+    div.documentwrapper { float: left; margin-right: 333px; } 
     
-    aside.sidebar { display: block; float: right; margin-left: -333px; width: 333px; }
+    aside.sidebar { display: block; float: left; margin-left: -333px; width: 333px; }
 }
 
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.