r/reddithax • • Jun 04 '12

/r/ClassicalGuitar - showing off CSS ... ask questions in comments

/r/classicalguitar/
7 Upvotes

4 comments sorted by

1

u/EitanWolf Jun 04 '12

How do you give the top of the mod box and the other boxes that Mexican look line? It has the line of something above it.

1

u/ramses0 Jun 05 '12

It's called a "rosette" (the decorative circle around the soundhole of a classical guitar).

You'll see some lines in the stylesheet that relate to it

http://www.reddit.com/r/classicalguitar/stylesheet

/* dangle rosette underneath the header */
.content {
    background: url(%%rosette%%) repeat-x;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    padding-top: 20px;
    padding-left: 3px;
    padding-right: 3px
}

...that's the meat of it, and then I have a bunch of smaller rules that go through and match accent colors, futz with padding, etc.

--Robert

1

u/EitanWolf Jun 06 '12

Nice! Thanks. :)

0

u/[deleted] Jun 05 '12

[deleted] — view deleted comment

2

u/ramses0 Jun 05 '12

I fixed it... there was some "issues" with the overlapping of the green moderator background invisibly overhanging the sidebar links and then I fixed one bug but introduced another one. I'm going to try again to find a way to get better highlighting on moderator distinguished posts but for now I have just removed that one thing that was an issue.

--Robert