1

Topic: modify border

This is my last question of the day. Promised, after this one I go to sleep.
In the css, I can't find where to define the border color of the zone where you have "Announcement" or "admin menu" or "plugins" or "forum rules". It seems to be the same css for all these.
I've tested many things but I can't find where it is.

Can you help me?

Ludo,

2

Re: modify border

It is the same css for all of them, it's .box. If you want to set them individually you have to define your own rules. For example DIV#announcement DIV.box {BORDER-COLOR: #ccc}

3 (edited by Ludo 2005-01-12 19:04)

Re: modify border

I put that in cs_css:
/* 3.1 All external borders (H1 is the board title) */

DIV.box {BORDER-COLOR: #FFCE01}

/* 3.2 Makes the top border of posts match the colour used for post headers */

DIV.blockpost DIV.box {BORDER-COLOR: #FFCE01 #FFCE01 #FFCE01}

/* 3.3 Table internal borders. By default TH is same as background so border is invisible */

.pun TD {BORDER-COLOR: #FFCE01}
.pun TH {BORDER-COLOR: #FFCE01}

/* 3.4 Creates the inset border for quote boxes, code boxes and form info boxes */

.pun BLOCKQUOTE, DIV.codebox, DIV.forminfo, DIV.blockpost LABEL {BORDER-COLOR: #FFCE01}

and see what it gives at http://www.oyre.net/forum . Announcement and the others are not bordered with FFCE01

I made a mistake?

Ludo,

4

Re: modify border

Sorry, I misunderstood. You want a border around the headers (h2).

In Oxygen.css, Mercury.css etc

.pun H2 {BORDER-STYLE: solid}
.pun H2 {BORDER-WIDTH: 1px}
.pun H2 {BORDER-BOTTOM: none}

In the colour stylesheets

.pun H2 {BORDER-COLOR: #whatever}

There is another way of doing it which is to put the borders on .block, .blockpost, .blocktable and .blockform and remove them from .box.

5

Re: modify border

You're so cool Paul!!! smile
It works, thank you

Ludo,