[Scummvm-cvs-logs] SF.net SVN: scummvm: [25993] web/trunk

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Mar 5 14:05:24 CET 2007


Revision: 25993
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25993&view=rev
Author:   fingolfin
Date:     2007-03-05 05:05:24 -0800 (Mon, 05 Mar 2007)

Log Message:
-----------
Make the first letter in the list of screenshots categories bold via CSS

Modified Paths:
--------------
    web/trunk/include/scr-categories.php
    web/trunk/screenshots.css
    web/trunk/style.css

Modified: web/trunk/include/scr-categories.php
===================================================================
--- web/trunk/include/scr-categories.php	2007-03-05 11:44:18 UTC (rev 25992)
+++ web/trunk/include/scr-categories.php	2007-03-05 13:05:24 UTC (rev 25993)
@@ -56,7 +56,7 @@
     foreach($this->_list as $cat) {
       echo "<tr><td class='cat-bullet'><img src='$file_root/images/".$cat['filename'].
       	"' alt=\"\"></td><td class='cat-link'><a href=\"?cat1=".$this->_catnum."&cat2=".$cat['catnum']."&view=-1\">".
-      	"<b>{$cat['description'][0]}</b>".substr($cat['description'], 1).
+      	$cat['description'].
       	"</a> <font class='cat-count'>(".$scrcatnums[$this->_catnum][$cat['catnum']]." shots)</font></td></tr>\n";
     }
     echo "</table>\n";

Modified: web/trunk/screenshots.css
===================================================================
--- web/trunk/screenshots.css	2007-03-05 11:44:18 UTC (rev 25992)
+++ web/trunk/screenshots.css	2007-03-05 13:05:24 UTC (rev 25993)
@@ -24,3 +24,11 @@
 	background-position: top right;
 	padding: 0 20px 0 20px;
 }
+
+.par-item .cat-link:first-letter {
+	font-weight:bold;
+}
+
+.par-item .cat-link a:first-letter {
+	font-weight:bold;
+}

Modified: web/trunk/style.css
===================================================================
--- web/trunk/style.css	2007-03-05 11:44:18 UTC (rev 25992)
+++ web/trunk/style.css	2007-03-05 13:05:24 UTC (rev 25993)
@@ -83,6 +83,10 @@
 	font-weight:bold;
 }
 
+.menu li a:first-letter {
+	font-weight:bold;
+}
+
 .menu a {
 	color: #fff;
 	text-decoration: none;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list