]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
authorJoey Hess <joey@kitenet.net>
Thu, 10 Jun 2010 18:15:10 +0000 (14:15 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 10 Jun 2010 18:15:10 +0000 (14:15 -0400)
debian/changelog
doc/style.css
templates/autotag.tmpl
templates/editpage.tmpl
templates/page.tmpl

index 96188c093b2dd144d53a366716bc770f24ba6ad6..f7810c66f7731b2040b8eb3ce979dda154d4271b 100644 (file)
@@ -9,6 +9,10 @@ ikiwiki (3.20100609) unstable; urgency=low
   * Fix display of sidebar when previewing page edit. (Thanks, privat)
   * relativedate: Fix problem with localised dates not working.
   * editpage: Avoid storing accidental state changes when previewing pages.
+  * page.tmpl: Add a div around the sidebar, page content, and comments,
+    to aide in styling.
+  * style.css: Improvements to make floating sidebar fit better on
+    pages with inlines.
 
  -- Joey Hess <joeyh@debian.org>  Mon, 31 May 2010 20:44:17 -0400
 
index 2cd7a9652f983d3601bc11e191bdf26b41f1e5f0..d88c93778dec38754d994fcfd6517c61fa5a5b56 100644 (file)
@@ -110,7 +110,12 @@ nav {
 }
 
 #editcontent {
-       width: 100%;
+       width: 98%;
+}
+
+.editcontentdiv {
+       width: auto;
+       overflow: auto;
 }
 
 img {
@@ -121,8 +126,8 @@ div.recentchanges {
        border-style: solid;
        border-width: 1px;
        overflow: auto;
-       clear: both;
-       width: 100%;
+       width: auto;
+       clear: none;
        background: #eee;
        color: black !important;
 }
@@ -176,6 +181,7 @@ div.recentchanges {
 .inlinepage {
        padding: 10px 10px;
        border: 1px solid #aaa;
+       overflow: auto;
 }
 
 .pagedate,
index 6bc809d22f9e510fe296c9b427bd8aca6bd86b2c..9162e9e8d331ec9bb913b01453fab4b5af8f6723 100644 (file)
@@ -1,4 +1,4 @@
-[[!meta title="tag <TMPL_VAR TAGNAME>"]]
+[[!meta title="pages tagged <TMPL_VAR TAGNAME>"]]
 
 [[!inline pages="tagged(<TMPL_VAR TAG>)" actions="no" archive="yes"
 feedshow=10]]
index 118ca455046ad414f1e41366d7fbb16b33e984e4..36076cb3534bfb269e2cb174784be90ceee88deb 100644 (file)
@@ -17,7 +17,9 @@
 <TMPL_VAR FIELD-TYPE>
 </TMPL_IF>
 <li>
+<div class="editcontentdiv">
 <TMPL_VAR FIELD-EDITCONTENT><br />
+</div>
 </li>
 <TMPL_IF NAME="CAN_COMMIT">
 <li>
index 235b693fe29315fd29ec5b5232bc4709f72a0c82..24db9a594b164d6d4bf22ab7dc2bfa0bf2ace4e9 100644 (file)
 
 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
 
+<div id="pagebody">
+
 <TMPL_IF SIDEBAR>
 <TMPL_IF HTML5><aside class="sidebar"><TMPL_ELSE><div class="sidebar"></TMPL_IF>
 <TMPL_VAR SIDEBAR>
 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
 </TMPL_IF>
 
+</div>
+
 <TMPL_IF HTML5><footer id="footer" class="pagefooter"><TMPL_ELSE><div id="footer" class="pagefooter"></TMPL_IF>
 <TMPL_UNLESS DYNAMIC>
 <TMPL_IF HTML5><nav id="pageinfo"><TMPL_ELSE><div id="pageinfo"></TMPL_IF>