From dc0aaf908e022e8375ed4131627e4e30f1e4b849 Mon Sep 17 00:00:00 2001 From: wjames5 Date: Tue, 4 Sep 2007 00:03:18 +0000 Subject: move tags styles to style sheet to avoid conflicts or work with ie7 fixes hack js (depending on how you see this all) --- templates/header_inc.tpl | 18 +----------------- templates/tags.css | 12 ++++++++++++ 2 files changed, 13 insertions(+), 17 deletions(-) create mode 100644 templates/tags.css (limited to 'templates') diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl index 6393df0..24ba4eb 100644 --- a/templates/header_inc.tpl +++ b/templates/header_inc.tpl @@ -1,21 +1,5 @@ {strip} {if $gBitSystem->isPackageActive( 'tags' )} - + {include file="bitpackage:tags/tags.css"} {/if} {/strip} diff --git a/templates/tags.css b/templates/tags.css new file mode 100644 index 0000000..74fcf11 --- /dev/null +++ b/templates/tags.css @@ -0,0 +1,12 @@ +#cloud {margin:0; padding:0;} +#cloud li {display:inline; margin:0 .5em 0 0;} +#cloud .tag1 a {font-size:0.7em; font-weight:100;} +#cloud .tag2 a {font-size:0.8em; font-weight:200;} +#cloud .tag3 a {font-size:0.9em; font-weight:300;} +#cloud .tag4 a {font-size:1.0em; font-weight:400;} +#cloud .tag5 a {font-size:1.2em; font-weight:500;} +#cloud .tag6 a {font-size:1.4em; font-weight:600;} +#cloud .tag7 a {font-size:1.6em; font-weight:700;} +#cloud .tag8 a {font-size:1.8em; font-weight:800;} +#cloud .tag9 a {font-size:2.2em; font-weight:900;} +#cloud .tag10 a {font-size:2.5em; font-weight:900;} \ No newline at end of file -- cgit v1.3