Le 17 avril 2012 12:32, Pete Batard <p...@akeo.ie> a écrit :
> On 2012.04.17 08:19, Ludovic Rousseau wrote:
>> Where can I find the web main page source code?
>> Is it supposed to be in the git repository?
>
> I wanted to have it there, but Michael had reservations about it, so I
> put it on hold.

I also do not like to have web pages with the source code.

> I don't think it make much sense to create a separate git repo for what
> are essentially 2 files, especially as we may have to update the
> downloads link on each resource. The way I see it, it should either
> reside in the .private directory or in doc, with a preference for doc as
> someone who downloaded the tarball and who saw an /doc/index.html and
> opened it would get (hopefully) useful info.
>
>> My issues:
>> - the page is not valid according to http://validator.w3.org
>
> Not surprising as I'm no web developer. ;)
>
>> - I do not like the page width of 700px in the CSS style. The width
>> should be set/adapted by the browser. I imagine the page looks
>> terrible on a small screen like a smart phone.
>
> OK. Not sure how to do that, but if someone else wants to look into it,
> I'd be happy yo apply patches.

The patch is simple. Just remove the "width:700px;" in the CSS file.
Patch:
--- style.css.orig      2012-04-17 15:52:25.000000000 +0200
+++ style.css   2012-04-17 15:53:08.000000000 +0200
@@ -19,7 +19,7 @@
 .menu li ul a:hover {background:#949494; color:#000000; opacity:1.0;
filter:alpha(opacity=100);}
 .menu p {clear:left;}
 .menu #current {background:url(images/current-bg.gif) top left
repeat-x; color:#ffffff;}
-.main {margin:20px auto;  margin-left:8px; width:700px;}
-.header {margin:8px auto; margin-left:4px; width:700px; vertical-align:middle;}
+.main {margin:20px auto;  margin-left:8px; }
+.header {margin:8px auto; margin-left:4px; vertical-align:middle;}
 .footer {color:#999999; font-size: 0.9em; text-align:center;
padding-top:30px; width:700px;}
 .footer a {color:#ffaa44; background:inherit; text-decoration:none;}

-- 
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to