tagcloud tweaks
This commit is contained in:
parent
5a85096d77
commit
e6eee5ba92
@ -152,7 +152,7 @@ function tagadelic($uid, $count = 0, $authors = '', $flags = 0, $restrict = 0, $
|
||||
$range = max(.01, $max - $min) * 1.0001;
|
||||
|
||||
for($x = 0; $x < count($tags); $x ++) {
|
||||
$tags[$x][2] = 1 + floor(7 * ($tags[$x][1] - $min) / $range);
|
||||
$tags[$x][2] = 1 + floor(9 * ($tags[$x][1] - $min) / $range);
|
||||
}
|
||||
|
||||
return $tags;
|
||||
@ -199,7 +199,7 @@ function dir_tagadelic($count = 0) {
|
||||
$range = max(.01, $max - $min) * 1.0001;
|
||||
|
||||
for($x = 0; $x < count($tags); $x ++) {
|
||||
$tags[$x][2] = 1 + floor(5 * ($tags[$x][1] - $min) / $range);
|
||||
$tags[$x][2] = 1 + floor(9 * ($tags[$x][1] - $min) / $range);
|
||||
}
|
||||
|
||||
return $tags;
|
||||
|
@ -1 +1 @@
|
||||
2015-03-01.958
|
||||
2015-03-02.959
|
||||
|
@ -1459,50 +1459,50 @@ header {
|
||||
.shared_header img { margin-right: 10px; }
|
||||
|
||||
.tag1 {
|
||||
font-size : 1.0em !important;
|
||||
font-size : 0.9em !important;
|
||||
}
|
||||
.tag2 {
|
||||
font-size : 1.2em !important;
|
||||
font-size : 1.0em !important;
|
||||
}
|
||||
|
||||
|
||||
.tag3 {
|
||||
font-size : 1.4em !important;
|
||||
font-size : 1.1em !important;
|
||||
}
|
||||
|
||||
|
||||
.tag4 {
|
||||
font-size : 1.6em !important;
|
||||
font-size : 1.2em !important;
|
||||
}
|
||||
|
||||
|
||||
.tag5 {
|
||||
font-size : 1.8em !important;
|
||||
font-size : 1.3em !important;
|
||||
}
|
||||
|
||||
|
||||
.tag6 {
|
||||
font-size : 2.0em !important;
|
||||
font-size : 1.4em !important;
|
||||
}
|
||||
|
||||
|
||||
.tag7 {
|
||||
font-size : 2.2em !important;
|
||||
font-size : 1.5em !important;
|
||||
}
|
||||
|
||||
|
||||
.tag8 {
|
||||
font-size : 2.4em !important;
|
||||
font-size : 1.6em !important;
|
||||
}
|
||||
|
||||
|
||||
.tag9 {
|
||||
font-size : 2.6em !important;
|
||||
font-size : 1.7em !important;
|
||||
}
|
||||
|
||||
|
||||
.tag10 {
|
||||
font-size : 2.8em !important;
|
||||
font-size : 1.8em !important;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user