Re: css (again)

[email protected] (Scott Mattocks) Wed, 12 Jul 2006 14:00:30 -0400
Newsgroups php.gtk.webmaster
Message-ID <[email protected]>
Steph Fox wrote:
> Do you have somewhere to test this before you put it live? I'm a bit 
> concerned about it appearing a mess on the live server, since it can 
> take a couple of hours to see a server refresh... that particular cell 
> contains a lot of different things in a lot of different places, which 
> is why I didn't notice the manual wasn't looking too great until just now.

I don't have a way to display it publicly very easily. To just test it 
locally, I had to build the phpweb version of the manual, link it to my 
php-gtk-web checkout, update include/layout.php, update .htaccess, 
update the particular doc page I was looking at and then make the 
changes to the stylesheet and shared-manual. I don't really want to (or 
have time to) do all that again on a public server.

I can send the patches to style.css and shared-manual.inc if you want. 
Then you can test it on your local environment. In fact, here they are.

Scott
shared-manual.inc.patch.txt (text/plain, 793 B)
Index: include/shared-manual.inc
===================================================================
RCS file: /repository/php-gtk-web/include/shared-manual.inc,v
retrieving revision 1.74
diff -u -r1.74 shared-manual.inc
--- include/shared-manual.inc	11 Jul 2006 08:10:16 -0000	1.74
+++ include/shared-manual.inc	12 Jul 2006 17:59:33 -0000
@@ -61,7 +61,7 @@
 			'<br /></td></tr>';
 	}
 
-	$SIDEBAR_DATA.= '<tr valign="top"><td><small>';
+	$SIDEBAR_DATA.= '<tr valign="top"><td id="docnav">';
 
 	for ($i = 0; $i < count($TOC); $i++) {
 		list($url, $title, $type) = $TOC[$i];
@@ -100,7 +100,7 @@
 			make_link($url, make_image($img, $title) . $title ) . 
 			'<br />';
 		}
-		$SIDEBAR_DATA.= '</small></td></tr>';
+		$SIDEBAR_DATA.= '</td></tr>';
 	}
 	$SIDEBAR_DATA.= '</table></form>';
 }
style.css.patch.txt (text/plain, 390 B)
Index: style.css
===================================================================
RCS file: /repository/php-gtk-web/style.css,v
retrieving revision 1.23
diff -u -r1.23 style.css
--- style.css	11 Jul 2006 12:45:46 -0000	1.23
+++ style.css	12 Jul 2006 17:59:49 -0000
@@ -52,6 +52,10 @@
 	padding: 5px;
 }
 
+#docnav {
+	font-size: 1em;
+}
+
 .sidebar p {
 	text-align: left !important;
 }