From: <lep...@us...> - 2006-06-30 08:51:22
|
Revision: 6997 Author: lephilousophe Date: 2006-06-30 01:51:16 -0700 (Fri, 30 Jun 2006) ViewCVS: http://svn.sourceforge.net/amsn/?rev=6997&view=rev Log Message: ----------- Fix the bad anchors and simplify the layout... Lines are larger to take less space in height... Modified Paths: -------------- trunk/www/plugins.css trunk/www/plugins.php trunk/www/skins.css trunk/www/skins.php Modified: trunk/www/plugins.css =================================================================== --- trunk/www/plugins.css 2006-06-30 08:19:04 UTC (rev 6996) +++ trunk/www/plugins.css 2006-06-30 08:51:16 UTC (rev 6997) @@ -1,25 +1,12 @@ -table.plugins +ul.plugins { - width: 500px; - margin: 1em 5px 1em 5px; - padding: 5px 5px 5px 5px; - /*border: 1px dotted #bbb;*/ - color: #000; - background: transparent; - font: 80%; - display: inline; - float: center; -} - -td -{ - text-align: left; - vertical-align: top; margin: 0px; - padding: 0px + padding: 0px; + background: #6e8cbf; + list-style: none } -table.plugins img +ul.plugins img { width: 200px; height: 200px; @@ -29,19 +16,9 @@ background: #ececec } -table.plugins ul +ul.plugins li { - width: 300px; - float: left; - margin: 0px; - padding: 0px; - background: #6e8cbf; - list-style: none -} -table.plugins li -{ - margin: 0px; padding: 5px 2px 5px 3px } Modified: trunk/www/plugins.php =================================================================== --- trunk/www/plugins.php 2006-06-30 08:19:04 UTC (rev 6996) +++ trunk/www/plugins.php 2006-06-30 08:51:16 UTC (rev 6997) @@ -41,44 +41,39 @@ mysql_data_seek($q, 0); while ($plugin = mysql_fetch_assoc($q)) { ?> -<a name="<?php echo $plugin['id']?>" /> -<table class="plugins"> - <tbody><tr> - <td> - <ul> - <li class="plugintitle"><?php echo $plugin['name'] ?></li> - <li class="lg"><?php echo $plugin['desc'] ?></li> - <li class="dg">Created by: <?php echo $plugin['author'] ?></li> - <li class="lg">Version: <?php echo $plugin['version'] ?></li> - <li class="dg">Platform/OS: <?php echo $plugin['platform'] ?></li> - <li class="lg">Requires: <?php echo $plugin['requires'] ?></li> +<a name="<?php echo $plugin['id']?>"> + <ul class="plugins"> + <li class="plugintitle"><?php echo $plugin['name'] ?></li> + <li class="lg"><?php echo $plugin['desc'] ?></li> + <li class="dg">Created by: <?php echo $plugin['author'] ?></li> + <li class="lg">Version: <?php echo $plugin['version'] ?></li> + <li class="dg">Platform/OS: <?php echo $plugin['platform'] ?></li> + <li class="lg">Requires: <?php echo $plugin['requires'] ?></li> <?php if ($plugin['screen']>0) { ?> - <li class="dg"><a href="http://amsn.sourceforge.net/wiki/show_image.php?id=<?php echo $plugin['screen']?>"><strong>Screenshot</strong></a></li> + <li class="dg"><a href="http://amsn.sourceforge.net/wiki/show_image.php?id=<?php echo $plugin['screen']?>"><strong>Screenshot</strong></a></li> <?php } else { ?> - <li class="dg"><strong>No screenshot</strong></li> + <li class="dg"><strong>No screenshot</strong></li> <?php } if ($plugin['url']!='') { ?> - <li class="lg"><a href="http://prdownloads.sourceforge.net/amsn/<?php echo $plugin['url']?>"><strong>Download this plugin</strong></a></li> + <li class="lg"><a href="http://prdownloads.sourceforge.net/amsn/<?php echo $plugin['url']?>"><strong>Download this plugin</strong></a></li> <?php } else { ?> - <li class="lg"><strong>Download comming soon!</strong></li> + <li class="lg"><strong>Download comming soon!</strong></li> <?php } ?> - </ul> - </td> - </tr></tbody> -</table> + </ul> +</a> <br /> <?php } Modified: trunk/www/skins.css =================================================================== --- trunk/www/skins.css 2006-06-30 08:19:04 UTC (rev 6996) +++ trunk/www/skins.css 2006-06-30 08:51:16 UTC (rev 6997) @@ -1,25 +1,12 @@ -table.skins +ul.skins { - width: 500px; - margin: 10px 5px 10px 5px; - padding: 5px 5px 5px 5px; - /*border: 1px dotted #bbb;*/ - color: #000; - background: transparent; - font: 80%; - float: center; - display: inline; -} - -td -{ - text-align: left; - vertical-align: top; margin: 0px; - padding: 0px + padding: 0px; + background: #6e8cbf; + list-style: none } -table.skins img +ul.skins img { width: 200px; height: 200px; @@ -29,19 +16,9 @@ background: #ececec } -table.skins ul +ul.skins li { - width: 300px; - float: left; - margin: 0px; - padding: 0px; - background: #6e8cbf; - list-style: none -} -table.skins li -{ - margin: 0px; padding: 5px 2px 5px 3px } Modified: trunk/www/skins.php =================================================================== --- trunk/www/skins.php 2006-06-30 08:19:04 UTC (rev 6996) +++ trunk/www/skins.php 2006-06-30 08:51:16 UTC (rev 6997) @@ -45,40 +45,34 @@ while ($skin = mysql_fetch_assoc($q)) { ?> <a name="<?php echo $skin['id']?>" /> -<table class="skins"> - <tbody><tr> - <td> - <ul> - <li class="skintitle"><?php echo $skin['name'] ?></li> - <li class="lg"><?php echo $skin['desc'] ?></li> - <li class="dg">Created by: <?php echo $skin['author'] ?></li> + <ul class="skins"> + <li class="skintitle"><?php echo $skin['name'] ?></li> + <li class="lg"><?php echo $skin['desc'] ?></li> + <li class="dg">Created by: <?php echo $skin['author'] ?></li> <?php if ($skin['screen']>0) { ?> - <li class="lg"><a href="http://amsn.sourceforge.net/wiki/show_image.php?id=<?php echo $skin['screen']?>"><strong>Screenshot</strong></a></li> + <li class="lg"><a href="http://amsn.sourceforge.net/wiki/show_image.php?id=<?php echo $skin['screen']?>"><strong>Screenshot</strong></a></li> <?php } else { ?> - <li class="lg"><strong>No screenshot</strong></li> + <li class="lg"><strong>No screenshot</strong></li> <?php } if ($skin['url']!='') { ?> - <li class="dg"><a href="http://prdownloads.sourceforge.net/amsn/<?php echo $skin['url']?>"><strong>Download this skin</strong></a></li> + <li class="dg"><a href="http://prdownloads.sourceforge.net/amsn/<?php echo $skin['url']?>"><strong>Download this skin</strong></a></li> <?php } else { ?> - <li class="dg"><strong>Download comming soon!</strong></li> + <li class="dg"><strong>Download comming soon!</strong></li> <?php } ?> - </ul> - </td> - </tr></tbody> -</table> + </ul> <br /> <?php } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |