?

Log in

No account? Create an account
Finally figured out how to get elysias_dad's journal looking the… - love like me ・ 日記
non solum memento mori, memento vivere sed etiam
気持: HAPPY!
Finally figured out how to get elysias_dad's journal looking the way I want it. I still haven't done all I want to do, but I got the link colors looking decent, which was WAY more trouble than it should have been. I wish the people who code these styles would quit trying to find ways to automatically determine link colors and just let us set the damn things ourselves without having to go through an obstacle course of overrides.

First, I added the following lines to my theme layer (you could also stick them in your user layer, but that gets overwritten every time you use the normal customization wizard):

set link_color = "#b5d9d9";
set vlink_color = "#448888";

Those aren't the colors I ended up using, but they'll do for an example. Then I pasted the following, also in the theme layer:

function color_link_colors(Color bg) : Color[]
{
  var Color link = $*link_color->clone();
  var Color visited = $*vlink_color->clone();

  return [$bg, $link, $visited];
}

Basically, this just castrates the function that does that shitty automatic determination thing (Please do not point out to me that the next step makes this unnecessary. I don't want to hear it).

And finally, I overrode print_stylesheet (meaning I copied everything under "function print_stylesheet" from the source code, pasted it into the theme layer, and hit "compile"), deleting the only call to this function I could find in the source, meaning I deleted the following line:

    var Color[] sidebar_links = color_link_colors($*strong_bgcolor);

...and I changed this bit:

.BoxSidebar table a {
    background-color: $*strong_bgcolor;
    color: $*link_color;
}
.BoxSidebar table a:visited {
    background-color: $*strong_bgcolor;
    color: $*vlink_color;
}

...and I added this bit (I think this is everything I added ^^;;):

.BoxContents a {
    color: #337777;
}
.BoxContents a:visited {
    color: #115555;
}
a {
    color: $*link_color;
}
a:visited {
    color: $*vlink_color;
}
.EntryComments a {
    color: $*link_color;
}
.EntryComments a:visited {
    color: $*vlink_color;
}
.HeaderNavMenu li a:visited {
    color: $*strong_fgcolor;
    text-decoration: none;
}
.HeaderNavSubMenu li a:visited {
    color: $*neutral_fgcolor;
    text-decoration: none;
}

Oh, and this stuff only works for paid accounts. Free accounts don't have access to the layer browser with all its nifty customization possibilities. ^_^

And as much as I'm loving the current RP scene with teruteruboozu, there's no effing way we're going to finish it before the next big group scene, which is supposed to happen after the scene after the one we're still in the middle of (assuming people still want to play out Ed and Al coming looking for Roy and finding the group). The log file is something like 24.5KB already, and I estimate the scene at about 2/3 done, depending on how things go...

But I have a shiny thing *points to new car sitting outside*, and I'm gonna graduate after this semester, so I am happy, dammit. You hear me? HAPPY!!!!
Link Previous Entry Share Next Entry
Comments
teruteruboozu From: teruteruboozu Date: Friday 13th August 2004 15.14 (UTC) (Link)
Gwah. XDD It's really long...but it's good! I think it's worth it. I think we've been working on ours...for...a week now? We've been making good time, considering how difficult the stuff we're writing is.

*loves on* <33

*goes off to post scenes and update shtuff*
valamelmeo From: valamelmeo Date: Friday 13th August 2004 23.01 (UTC) (Link)
You do realize that the 24.5K is only the actual RP, and not the full log of everything we said, don't you?

...I still haven't managed to come up with what to say next. I'm so completely pwned by the last thing you said. ^^;;
2つのコメントを見るコメントをする