[vhffs-dev] [1220] Tag cloud now uses colors (ugly but they're here...)

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1220
Author:   beuss
Date:     2008-06-06 12:49:56 +0200 (Fri, 06 Jun 2008)

Log Message:
-----------
Tag cloud now uses colors (ugly but they're here...)

Modified Paths:
--------------
    trunk/vhffs-public/templates/index.tmpl
    trunk/vhffs-themes/vhffs/main.css


Modified: trunk/vhffs-public/templates/index.tmpl
===================================================================
--- trunk/vhffs-public/templates/index.tmpl	2008-06-05 22:42:40 UTC (rev 1219)
+++ trunk/vhffs-public/templates/index.tmpl	2008-06-06 10:49:56 UTC (rev 1220)
@@ -39,7 +39,7 @@
 	<h3><TMPL_I18N KEY="Most popular tags"></h3>
 	<TMPL_LOOP NAME="TOP_TAGS">
 		<span class="tag-<TMPL_VAR NAME="WEIGHT">">
-			<a href="#" title="<TMPL_VAR ESCAPE=1 NAME="CATEGORY_DESCRIPTION">"><TMPL_VAR NAME="CATEGORY_LABEL"></a>::<a href="#" title="<TMPL_VAR ESCAPE=1 NAME="TAG_DESCRIPTION">"><TMPL_VAR NAME="TAG_LABEL"></a>
+			<a href="#"> <span title="<TMPL_VAR ESCAPE=1 NAME="CATEGORY_DESCRIPTION">"><TMPL_VAR NAME="CATEGORY_LABEL"></span>::<span title="<TMPL_VAR ESCAPE=1 NAME="TAG_DESCRIPTION">"><TMPL_VAR NAME="TAG_LABEL"></span></a>
 		</span>
 	</TMPL_LOOP>
 	</TMPL_IF>
@@ -47,7 +47,7 @@
 	<h3><TMPL_I18N KEY="Random tags"></h3>
 	<TMPL_LOOP NAME="RANDOM_TAGS">
 		<span class="tag-<TMPL_VAR NAME="WEIGHT">">
-			<a href="#" title="<TMPL_VAR ESCAPE=1 NAME="CATEGORY_DESCRIPTION">"><TMPL_VAR NAME="CATEGORY_LABEL"></a>::<a href="#" title="<TMPL_VAR ESCAPE=1 NAME="TAG_DESCRIPTION">"><TMPL_VAR NAME="TAG_LABEL"></a>
+			<a href="#" ><span title="<TMPL_VAR ESCAPE=1 NAME="CATEGORY_DESCRIPTION">"><TMPL_VAR NAME="CATEGORY_LABEL"></span>::<span title="<TMPL_VAR ESCAPE=1 NAME="TAG_DESCRIPTION">"><TMPL_VAR NAME="TAG_LABEL"></span></a>
 		</span>
 	</TMPL_LOOP>
 	</TMPL_IF>

Modified: trunk/vhffs-themes/vhffs/main.css
===================================================================
--- trunk/vhffs-themes/vhffs/main.css	2008-06-05 22:42:40 UTC (rev 1219)
+++ trunk/vhffs-themes/vhffs/main.css	2008-06-06 10:49:56 UTC (rev 1220)
@@ -820,47 +820,55 @@
 }
 
 /* Tags */
-span.tag-10 {
+span.tag-10, span.tag-10 a {
 	font-weight: bold;
 	font-size: 15pt;
+	color: red;
 }
 
-span.tag-9 {
+span.tag-9, span.tag-9 a {
 	font-weight: bold;
 	font-size: 14.5pt;
+	color: red;
 }
 
-span.tag-8 {
+span.tag-8, span.tag-8 a {
 	font-weight: bold;
 	font-size: 14pt;
+	color: blue;
 }
 
-span.tag-7 {
+span.tag-7, span.tag-7 a {
 	font-weight: bold;
 	font-size: 13.5pt;
+	color: blue;
 }
 
-span.tag-6 {
+span.tag-6, span.tag-6 a {
 	font-weight: bold;
 	font-size: 13pt;
+	color: chocolate;
 }
 
-span.tag-5 {
+span.tag-5, span.tag-5 a {
 	font-size: 12.5pt;
+	color: chocolate;
 }
 
-span.tag-4 {
+span.tag-4, span.tag-4 a {
 	font-size: 12pt;
+	color: DimGrey;
 }
 
-span.tag-3 {
+span.tag-3, span.tag-3 a {
 	font-size: 11.5pt;
+	color: DimGrey;
 }
 
-span.tag-2 {
+span.tag-2, span.tag-2 a {
 	font-size: 11pt;
 }
 
-span.tag-1 {
+span.tag-1, span.tag-1 a {
 	font-size: 10.5pt;
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/