Moodtheme problems

Jun 18, 2013 16:26

Sorry to be bothered but I have problems with my mood theme, it is too in the left. Can anyone help?

Stylesheet:
/*--------------------------

CSS by endearest @ livejournal . com
Made for Biliki // Shareable
Flexi Squares
28/04/2012

--------------------------*/

body { background-color:#12caff; color:#777; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; font-size:7.5pt; letter-spacing:+1px; line-height:120%;margin-top:50px;}
a, a:link, a:visited { color:#fc69bc; text-decoration:none!important;}
a:hover { color:#ff9c00;}
.entry_text a { color:#ff9c00;}
.entry_text a:hover { color:#fc69bc0;}
p, td, {}
blockquote, .entry_text img { max-width:575px; border: dotted 1px #dddddd!important; padding:10px;}
#content { width:700px;margin-left:auto; margin-right:auto;}
#maincontent {margin-right:35px; margin-top:10px; }
#sidebar {width:122px; float:right; margin-top:0; margin-right:-100px;}
#header {display:none;}
.headerimage {
position: relative;
background-image: url('http://i1327.photobucket.com/albums/u661/juneghosts/H_KC_for_juneghost_A_by_F7_zpsfe7f8d82.png');
background-repeat: none !important;
margin-left: auto;
margin-right: auto;
width: 850px;
height: 315px;

}
div#header a, div#header a:link, div#header a:visited, {}
div#footer a, div#footer a:link, div#footer a:visited {}
div#header a:hover, div#footer a:hover {}
.title {display:none;}
.subtitle{display:none;}
.navheader a {color:#ffffff;}
ul.navheader{font-size:8pt; text-transform:uppercase; letter-spacing:+2px; color:#ffffff; }
ul.navheader li { list-style:none; display:inline-block; padding:0 40px;}
.subcontent { background-color:#FFF;}
.entry { text-align: justify;}
.entry_text { min-height:70px; margin:10px; padding:5px 20px 0 20px; }
.userpic, .userpicfriends {position: relative;float: left;z-index: 15; padding:10px; border: dotted 1px #FFF; background-color:transparent!important; margin-right:10px; margin-left:-135px; margin-bottom:10px; text-align:center; color:transparent!important;}
.userpic a font, .userpicfriends a font {color:#ffffff!important;}
.date { font-size:5.5pt; color:#bbb; text-transform:uppercase; padding-top:5px; letter-spacing:+2px;}
.subject, .subject a, .subject a:link, .subject a:visited { font-family:Georgia, "Times New Roman", Times, serif; font-weight:normal; font-size:9pt; letter-spacing:+2px;padding-bottom:5px; font-weight:500; text-transform:lowercase; font-style:italic;}
.subject a:hover {}
.datesubject { border-top: dotted 1px #12caff; text-align:center; padding:0 17px;}
.comments {text-align:right; color:transparent!important; padding: 10px 20px 10px 10px; border-bottom:dotted 1px #12caff;}
div.comments a, div.comments a:link, div.comments a:visited{}
div.comments a:hover {}
.separator{}
.defaultuserpic { padding:0;}
.defaultuserpic img {padding:10px; border: dotted 1px #fff;}
.sbarheader, .sbartitle {display:none;}
.sbarbody {padding:0;margin:0;}
.sbarbody2 {color:#777; text-align:justify; border-top: dotted 1px #12caff;border-bottom: dotted 1px #12caff; background-color:#FFF; padding:5px;}
div#sidebar a, div#sidebar a:link, div#sidebar a:visited{}
div#sidebar a:hover {}
.sbarcalendar, #sidebar_summary, #sidebar_tags, #sidebar_calendar { display: none;}
ul.sbarlist { padding:0;margin-top:10px; list-style:none; text-align:right; display:block; background-color:#fff; }
li.sbaritem { border-top:dotted 1px #12caff; padding:2px; max-width:120px;border-bottom: dotted 1px #12caff; }
li.sbartitle {}
#footer {z-index: 100; clear: both; text-align:center; background-color:#fff; padding:5px 0; width:665px;border-top: dotted 1px #12caff;border-bottom: dotted 1px #12caff; margin-top:-10px; }
ul.navfooter{ text-transform:uppercase; letter-spacing:+2px; font-size:5.5pt;}
ul.navfooter li {list-style:none; display:inline; padding:0 5px; }
.clearfoot {}
.datesubjectcomment {padding:8px 5px; font-size:8pt; text-transform:uppercase; margin-left:10px;}
.userpiccomment { float:left; padding:10px 10px 10px 0px; background-color:#fff; margin-left:-5px; margin-top:-10px;}
.box { background-color:#ffffff; border-bottom:dotted 1px #12caff; border-top:dotted 1px #12caff; }
input, textarea {}
textarea.textbox {}
.reply {}
.replytosubject {}
.commentreply { min-height:50px; margin-left:130px; padding:10px; text-align:justify;}
.commentbox {border-bottom:dotted 1px #12caff; padding:10px;}
.datesubjectcomment a:link, .datesubjectcomment a:visited { }
.datesubjectcomment a:hover {}
.commentboxpartial {}
.commentinfo {}
.skiplinks { text-align:center; text-transform:uppercase; color:#ccc; margin-top:-35px;}
.skiplinks a {color:#FFF;}
.clear {}

img[src="http://l-stat.livejournal.com/img/btn_del.gif"],
img[src="http://l-stat.livejournal.com/img/btn_spam.gif"], img[src="http://l-stat.livejournal.com/img/btn_scr.gif"],img[src="http://l-stat.livejournal.com/img/btn_unscr.gif"],img[src="http://l-stat.livejournal.com/img/btn_freeze.gif"],img[src="http://l-stat.livejournal.com/img/btn_unfreeze.gif"],img[src="http://l-stat.livejournal.com/img/btn_track.gif"],img[src="http://l-stat.livejournal.com/img/btn_tracking.gif"],img[src="http://l-stat.livejournal.com/img/btn_edit.gif"],img[src="http://l-stat.livejournal.com/img/openid-profile.gif"],img[src="http://l-stat.livejournal.com/img/help.gif"]{height:0;width:0;background:url(http://ohbambi.net/ohcodey/max/icons/160.png);padding:0 0 10px 10px !important;}

.ljuser img {
width: 0!important;
height: 0!important;
background-repeat: no-repeat!important;
background-color: transparent!important;
background-image: url()!important;
padding: 0!important;
}

.ljuser img[src="http://l-stat.livejournal.com/img/userinfo.gif"] {
background-color:transparent!important;
background-image: url()!important;
background-repeat: no-repeat!important;
padding: 0!important;
}

.ljuser img[src="http://l-stat.livejournal.com/img/community.gif"] {
background-color:transparent!important;
background-image: url()!important;
background-repeat: no-repeat!important;
padding: 0;
}

.subject img[src="http://l-stat.livejournal.com/img/icon_protected.gif"]{
width: 0;
height: 0;
padding: 0;
background: url(http://i48.tinypic.com/9bhrnl.jpg);
}

.subject img[src="http://l-stat.livejournal.com/img/icon_private.gif"]{
width: 0;
height: 0;
padding: 16px 16px 0px 0px;
background: url(http://i47.tinypic.com/53nvki.jpg);
}
.ljuser a, .ljuser a:hover{
font-weight:normal;
letter-spacing:+1px;
text-transform:uppercase;
font-size:8pt;
color:#ffe400;
text-decoration:none;
}
#qrformdiv table{border:0!important;}
#qrformdiv table td select{border:0;width:50%;background-color:#fff;color:#222;font-size:10px;}
#qrformdiv table td select:hover{background-color:#fff94d;}
#qrformdiv table td input{padding:0;}
#qrformdiv table td select option{background-color:#fff;}

Layer:
layerinfo "type" = "theme";
layerinfo "name" = "";

set text_meta_mood = "Current Mood:";
set text_meta_music = "Current Music:";
set text_meta_location = "Current Location:";
set text_meta_groups = "Entry Security Groups:";
set text_tags = "Tags:";

set tags_aware = true;

function Entry::print_metadata()
{
# ---------------------------------------------------- CUSTOMIZATION ---------------------------------------------------- #

var string tags_sep = ", "; # text for tags separator, ", " for "tag, tag, tag"

var string show_tags_link = "none"; # set to "edit" if you want the tags label to act as an 'edit tags' link
# set to "page" if you want the tags label to link to the poster's tag page
# set to "manage" to link to the Tags Management page
# set to "none" to delinkify the tags label completely

var bool show_loc_link = false; # set to true to display the Google Map link

var bool show_groups_link = false; # set to true to display the custom friends group link

var bool show_music_link = true; # set to false to hide the last.fm link to the artist/song pages

var string label_security = "Security"; # set label text for security

var bool print_table = true; # set to false to display the mood icon inline with the mood text (default FS style)

var string alignment = "left"; # set the side of the mood icon (left or right of the currents) - only if printed in table

# set the order in which you want mood, music, location, tags, security and custom friends group to appear
# any metadata you want to hide journalwide, delete from this list
var string[] metaorder = ["mood", "music", "tags", "location", "security", "groups"];

# optional:
# put in the URLs to the pics you want to use instead of the currents' text labels
# if you leave it blank, the text label will be used instead
var string{} metapics = { "mood" => "IMAGE URL",
"music" => "IMAGE URL",
"location" => "IMAGE URL",
"tags" => "IMAGE URL",
"security" => "IMAGE URL",
"groups" => "IMAGE URL" };

# optional:
# texts to use instead of standard LJ security texts
var string{} securitytexts = { "public" => "public",
"protected" => "friends-locked",
"custom" => "group-locked",
"private" => "private" };

# ---------------------------------------------------- CUSTOMIZATION END ---------------------------------------------------- #

var string currents = """
"""; # here all metadata will be added to print currents container
var Link edit_tags = $this->get_link("edit_tags"); # helper var to see if remote user can edit tags
var bool print = false; # helper var to figure out if the table needs printing
var bool display_mood = false; # helper var to figure out if we're printing a mood icon

foreach var string i ($metaorder) {
# figuring out if we need to print even if no metadata or tags are present because of entry security
if ($i == "security") { $print = true; }
# display mood and moodicon?
if ($i == "mood") { $display_mood = true; }
}

if ((size $.metadata > 0) or ((size $.tags > 0) and $*tags_aware) or $print) {

# table and mood icon
if (defined $.mood_icon and $display_mood and $print_table) {
$currents = ($alignment == "left") ?
$currents + """
$.metadata{""" :
$currents + """
""";
}

# step through metadata in the order the user wants
foreach var string k ($metaorder) {

var string text; # the actual value of the metadata
var string label; # the label of the metadata as set in the wizard or set-statements

# handling tags metadata
if ($k == "tags" and (size $.tags > 0) and $*tags_aware) {

# label as image or text
$label = clean_url($metapics{$k}) != "" ? """$*text_tags""" : $*text_tags;

# optional linkage around tags label
if ($show_tags_link == "edit" and $edit_tags.url != "") { # Edit Tags Page link
$label = """""" + $label + """""";
}
elseif ($show_tags_link == "page") { # Visible Tags Page link
$label = """base_url() + """/tag/ ">""" + $label + """""";
}
elseif ($show_tags_link == "manage" and viewer_is_owner()) { # Tags Management Page link
$label = """tag_manage_url() + """ ">""" + $label + """""";
}

# build tag list
var bool addsep = false;
foreach var Tag t ($.tags) {
if ($addsep) {
$text = $text + $tags_sep + """""";
}
else {
$text = $text + """""";
$addsep = true;
}
}
} #end tags

# handling entry security
elseif ($k == "security") {

# entries without particular security are called 'public'
$text = $.security == "" ? "public" : $.security;
$text = $securitytexts{$text};

# label as image or text
$label = clean_url($metapics{$k}) != "" ? "\""" : $label_security;
}

# handling all other metadata
elseif ($k != "tags" and $k != "security" and $k != "" and $.metadata{$k} != "") {

# metadata value
$text = $.metadata{$k};

# label as image or text
$label = clean_url($metapics{$k}) != "" ? "\""" : lang_metadata_title($k);

# strip location/music/groups link
if ((not ($show_loc_link) and ($k == "location"))
or (not ($show_music_link) and ($k == "music"))
or (not ($show_groups_link) and ($k == "groups"))) {
$text = striphtml($text);
}

# inline mood image
if (not ($print_table) and $k == "mood" and defined $.mood_icon) {
$text = """$.metadata{""" + $text;
}

} #end metadata

# skipping empty metadata
else { continue; }

# assemble the individual currents
$currents = $currents + """
$label $text
""";

} # end foreach

# table and mood icon
if ($display_mood and defined $.mood_icon and $print_table) {
$currents = ($alignment == "left") ?
$currents + """
""" :
$currents + """
$.metadata{
""";
}

# close currents container and print
println $currents + """
""";
}
}

metadata

Previous post Next post
Up