diff options
-rw-r--r-- | inc/shaarli.css | 1 | ||||
-rw-r--r-- | index.php | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/inc/shaarli.css b/inc/shaarli.css index e7396ccb..d52de925 100644 --- a/inc/shaarli.css +++ b/inc/shaarli.css | |||
@@ -562,7 +562,6 @@ a.qrcode img { | |||
562 | } | 562 | } |
563 | 563 | ||
564 | #cloudtag a { | 564 | #cloudtag a { |
565 | font-weight:bold; | ||
566 | color: black; | 565 | color: black; |
567 | text-decoration: none; | 566 | text-decoration: none; |
568 | } | 567 | } |
@@ -1251,8 +1251,9 @@ function renderPage() | |||
1251 | ksort($tags); | 1251 | ksort($tags); |
1252 | $tagList=array(); | 1252 | $tagList=array(); |
1253 | foreach($tags as $key=>$value) | 1253 | foreach($tags as $key=>$value) |
1254 | // Tag font size scaling: default 15 and 30 logarithm bases affect scaling, 22 and 6 are arbitrary font sizes for max and min sizes. | ||
1254 | { | 1255 | { |
1255 | $tagList[$key] = array('count'=>$value,'size'=>max(40*$value/$maxcount,8)); | 1256 | $tagList[$key] = array('count'=>$value,'size'=>log($value, 15) / log($maxcount, 30) * (22-6) + 6); |
1256 | } | 1257 | } |
1257 | $PAGE = new pageBuilder; | 1258 | $PAGE = new pageBuilder; |
1258 | $PAGE->assign('linkcount',count($LINKSDB)); | 1259 | $PAGE->assign('linkcount',count($LINKSDB)); |