font/layer help [SOLVED]

Sep 20, 2009 11:29

hello, I'm using this layer for my stylesheet (Flexible Square).
layerinfo "type" = "theme";
layerinfo "name" = "Layer 1";

set tags_aware = true;
set text_meta_mood = "mood:";
set text_meta_music = "music:";
set text_meta_location = "location:";
set text_tags = "tags:";

# -----------------------------------
# METADATA
# -----------------------------------

function CommentInfo::print() {if (not $.enabled) { return; }
if ($.count > 0 or $.screened) {$this->print_readlink();
" or ";}
$this->print_postlink();}
function Entry::print_metadata()
{var string tags_sep= ", ";
var string show_tags_link= "none";
var bool show_loc_link = false;
var string alignment = "left";
var string[] metaorder= ["mood", "music", "location", "tags"];
var string{} metapics = { "mood" => "http://pics.livejournal.com/satsukick/pic/00009kf0",
"music" => "http://pics.livejournal.com/satsukick/pic/0000arer",
"location" => "http://pics.livejournal.com/satsukick/pic/00008bq5",
"tags" => "http://pics.livejournal.com/satsukick/pic/0000bwa9" };
var string currents = """

""";
var string currents_close = """
""";
var Link edit_tags= $this->get_link("edit_tags");
if ((size $.metadata > 0) or ((size $.tags > 0) and ($*tags_aware))) {var bool display_mood = false;
foreach var string moodtest ($metaorder) {if ($moodtest == "mood") { $display_mood = true; }}
if (defined $.mood_icon and $display_mood == true) {$currents = ($alignment == "left") ?
$currents + """
height="$.mood_icon.height" title="$.metadata{"mood"}" title="$.metadata{"mood"}" />""" :
$currents + """
""";}
foreach var string k ($metaorder) {var string text;
var string label;
if (($k == "tags") and (size $.tags > 0) and $*tags_aware) {$label = clean_url($metapics{$k}) != "" ? """title="$*text_tags" title="$*text_tags" border=0>""" : $*text_tags;
if (($show_tags_link == "edit") and ($edit_tags.url != "")) {# Edit Tags Page link
$label = """""" + $label + """""";}
elseif ($show_tags_link == "page") {$label = """base_url() + """/tag/ ">""" + $label + """""";}
elseif ($show_tags_link == "manage" and viewer_is_owner()) {$label = """tag_manage_url() + """ ">""" + $label +
"""
""";}
var bool addsep = false;
foreach var Tag t ($.tags) {if ($addsep) {$text = $text + $tags_sep + """""";}
else {$text = $text + """""";
$addsep = true;}}}
elseif (($k != "tags") and ($.metadata{$k} != "")) {$text = $.metadata{$k};
$label = clean_url($metapics{$k}) != "" ? """""" : lang_metadata_title($k);
if (not ($show_loc_link) and ($k == "location") and ($.metadata{"location"} != "")) {$text = striphtml($text);}}
else {continue;}
$currents = $currents + """
$label $text
""";}
if ($display_mood == true and defined $.mood_icon) {$currents = ($alignment == "left") ?
$currents + """
""" :
$currents + """
title="$.metadata{"mood"}" title="$.metadata{"mood"}" />
""";}
$currents = $currents + $currents_close;
println "$currents";}}

this is what my tags looked like before I've installed that layer.


however, that layer make it look like this.


as you can see, the "tags" font looks bigger than the "mood/music" font.
I want to make the "tags" font go back to its small size.
can somebody help me, please? thank you ^^ !!

metadata, solved

Previous post Next post
Up