Skip navigation.

exploreopera

| Help

Sign up | Help

v.plonk!

don't feed the trolls

CSSing your my.opera site - part 2

,

As some people obviously liked my small CSS "lesson" and I found out another lovely update, I think it's time for another round of "CSSing your my.opera site". :lol:

The Tag Cloud
This time we update side look of the tag cloud to make it look more like being part of our design. It took me several minutes to figure out, why my original CSS didn't work. Just after I took a look into all used CSS files I finally got the idea. :idea:

The color for the Tag-Clouds is set for an id called "side" (it is not "tagcloud" or "pad" as you might expect it):
<div class="sidebox" id="tagcloud">
    <h2>Tags</h2>
    <div class="pad">
        <ul class="nobullets clearfix">
            <li class="size5"><a href="..." rel="tag">...</a></li>
            ...


So in general our code has to look like this:
#side .sizeX a {
    color: #YOUR_COLOR_AS_HEX_CODE;
    font-size: YOUR_FONT_SIZEpx;
}
#side .sizeX a:hover {
    color: #YOUR_HOVERCOLOR_AS_HEX_CODE;
}


We have 5 different sizes (size1 to size5) we can set. So the complete code (for my site) ends up like:
/* TAGCLOUD SIDEBAR */
#side .size1 a {
    color: #003053;
    font-size: 7px;
}
#side .size1 a:hover {
    color: #005ea1;
}
#side .size2 a {
    color: #003761;
    font-size: 10px;
}
#side .size2 a:hover {
    color: #0062ad;
}
#side .size3 a {
    color: #003e6e;
    font-size: 13px;
}
#side .size3 a:hover {
    color: #0069ba;
}
#side .size4 a {
    color: #00457a;
    font-size: 15px;
}
#side .size4 a:hover {
    color: #0071c7;
}
#side .size5 a {
    color: #004d87;
    font-size: 17px;
}
#side .size5 a:hover {
    color: #0078d4;
}

No magic this time, just a little bit of "undercover work". :sherlock:

we tinker a resin figurineCSSing your my.opera site - part 3

Comments

avatar
Good job dear friend! Thank you for posting ^^

By Tearx, # 3. March 2008, 16:46:09

avatar
It's not good when you send the private msg here in David page. You should send it directly to my inbox...dont u think so?
Anyway, nice to know u. ^^

By Tearx, # 7. March 2008, 13:18:48

avatar
Thanks Tearx... I got spammed. All first page blog posts got the same "comment" by "miss joy". I deleted all except for this one, so that your precious comment isn't taken out of context. flirt

So I suggest we ignore her (?) post.

Btw... I just saw I like to read Jack London? Now that's a cool coincidence, as I like his books too (see: my profile). :up:

By Schalandra, # 7. March 2008, 14:40:04

avatar
Yes, I have read some books of Jack London ...almost about the wolf and I like it. I have only his books and the Love Story book as English books. I'd like to have more but I dont have much time.
So which one u like of his bookS?

By Tearx, # 7. March 2008, 15:43:42

avatar
The Call of the Wild, The Seawolf, Whitefang and some short stories of which I don't know the exact name ("The Mexican Philippe Rivera", "The pearls of the Old Parlay" and especially "Love of life").

Concerning the taller novels I like "Call of the Wild" very much, but "Love of life" I like by far the most. Jack London's short stories are very intensive.

By Schalandra, # 7. March 2008, 16:48:22

avatar
I have read the Whitefang and The Call of the Wild...it's very nice story.

By Tearx, # 7. March 2008, 16:59:52

avatar
I would recommend to read "The Mexican Felipe Rivera" and "Love of life". They are far shorter than the usual stories by Jack London but very well written. :up:

By Schalandra, # 10. March 2008, 07:52:35

Write a comment

You must be logged in to write a comment. if you're not a registered member, please sign up.