diff options
author | VirtualTam <virtualtam@flibidi.org> | 2014-12-02 21:00:52 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.org> | 2014-12-03 19:28:43 +0100 |
commit | c133612f32849b76785635efe19d4afedcfd0248 (patch) | |
tree | 0ecbebedef56698fa991a60196e06435d4e2f3d7 /tpl/tagcloud.html | |
parent | fdd8fb2be2c45bd810a2d8b55c1f2cbf7f655fe3 (diff) | |
download | Shaarli-c133612f32849b76785635efe19d4afedcfd0248.tar.gz Shaarli-c133612f32849b76785635efe19d4afedcfd0248.tar.zst Shaarli-c133612f32849b76785635efe19d4afedcfd0248.zip |
CSS: remove hardcoded style from templates
Fixes shaarli/Shaarli#29
Style elements refactored as follows:
- use existing ids and classes if possible,
- else, define new ones and stick with the existing naming convention,
- remove hardcoded style attributes from RainTPL templates.
Exception:
In tpl/tagcloud.html, the display size of each tag is computed at page
generation.
Signed-off-by: VirtualTam <virtualtam@flibidi.org>
Diffstat (limited to 'tpl/tagcloud.html')
-rw-r--r-- | tpl/tagcloud.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/tagcloud.html b/tpl/tagcloud.html index 0dd2c0d3..9418e248 100644 --- a/tpl/tagcloud.html +++ b/tpl/tagcloud.html | |||
@@ -6,10 +6,10 @@ | |||
6 | <center> | 6 | <center> |
7 | <div id="cloudtag"> | 7 | <div id="cloudtag"> |
8 | {loop="tags"} | 8 | {loop="tags"} |
9 | <span style="color:#99f; font-size:9pt; padding-left:5px; padding-right:2px;">{$value.count}</span><a href="?searchtags={$key|urlencode}" style="font-size:{$value.size}pt; font-weight:bold; color:black; text-decoration:none">{$key|htmlspecialchars}</a> | 9 | <span class="count">{$value.count}</span><a href="?searchtags={$key|urlencode}" style="font-size:{$value.size}pt;">{$key|htmlspecialchars}</a> |
10 | {/loop} | 10 | {/loop} |
11 | </div> | 11 | </div> |
12 | </center> | 12 | </center> |
13 | {include="page.footer"} | 13 | {include="page.footer"} |
14 | </body> | 14 | </body> |
15 | </html> \ No newline at end of file | 15 | </html> |