summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2007-09-04 00:03:18 +0000
committerwjames5 <will@tekimaki.com>2007-09-04 00:03:18 +0000
commitdc0aaf908e022e8375ed4131627e4e30f1e4b849 (patch)
tree0ff64456888340f7626053f3dd8161c416895e57 /templates
parent3f07b2c396b7c8d59e6f2e34409865bcfabd400d (diff)
downloadtags-dc0aaf908e022e8375ed4131627e4e30f1e4b849.tar.gz
tags-dc0aaf908e022e8375ed4131627e4e30f1e4b849.tar.bz2
tags-dc0aaf908e022e8375ed4131627e4e30f1e4b849.zip
move tags styles to style sheet to avoid conflicts or work with ie7 fixes hack js (depending on how you see this all)
Diffstat (limited to 'templates')
-rw-r--r--templates/header_inc.tpl18
-rw-r--r--templates/tags.css12
2 files changed, 13 insertions, 17 deletions
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' )}
- <style type="text/css">
- {* {include file="bitpackage:tags/tags_css.tpl"} *}
- {literal}
- #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;}
- {/literal}
- </style>
+ {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