MyBB Community Forums

Full Version: Notice and Alert CSS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have no idea whether anybody else has noticed this, but the "Alert" and "Notice" (the news-bars at the top of the myBB index) don't have borders on the right and left sides?...

A suggestion to change:

	border-top: 2px solid #FFD324;
	border-bottom: 2px solid #FFD324;

to

	border: 2px solid #FFD324;

And vice versa with the notice? Looks better (imho) and less coding too... albeit milliseconds loading time...
It's supposed to be like that. I think they would have caught it. Wink
They want it to look more like a banner and less like a box.
They were designed like that Wink
Is this ??

.alert {
	background: #FFF6BF;
	border-top: 2px solid #FFD324;
	border-bottom: 2px solid #FFD324;
	text-align: center;
	margin: 10px auto;
	padding: 5px 20px;
}

.notice {
	background: #ADCBE7;
	border-top: 2px solid #0F5C8E;
	border-bottom: 2px solid #0F5C8E;
	text-align: center;
	margin: 10px auto;
	padding: 5px 20px;
}

.notice2 {
	background: #D6ECA6;
	border-top: 2px solid #8DC93E;
	border-bottom: 2px solid #8DC93E;
	text-align: center;
	margin: 10px auto;
	padding: 5px 20px;
}
@SoniQuake, that's just the CSS for them.

And, I think they look better without the side borders. Smile
(2008-09-01, 09:33 PM)Tomm M Wrote: [ -> ]And vice versa with the notice? Looks better (imho) and less coding too... albeit milliseconds loading time...

Stylesheets are cached, so that millisecond really won't matter after the first visit.
I would personally go with a 1px border all around, it'll look a lot better, but the current is fairly exceptional.
No. It looks great the way it is Smile
Agreed, besides the bars would look like PM notices with 1px border all around Toungue
Pages: 1 2