Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved MyBB Forum Announcement Bar
#1
Not Solved
Hello!

I recently decided to add announcements to my forum. Ones that are similiar to the ones used by MyBB (the coloured ones at the index)

[Image: KD09pJe.png]

I got them working with the Announcement plugin, but I'm wondering, what are the HTML colour codes used for the:
Yellow background & borders
Green background & borders
Blue background & borders
Red background & borders
(I know there isn't a red one but I can't seem to perfect mine, really bad with HTML colours..)

Thanks all.
#2
Not Solved
http://www.colorpicker.com/ - there are many many sites and applications like this where you can easily get color codes. Just search. Also you can check the colors on any page with tools like Firebug.
#3
Not Solved
These are the style declarations for the bars:

Class: alert (Yellow)

.alert {
background: #FFF6BF;
border-top: 2px solid #FFD324;
border-bottom: 2px solid #FFD324;
}

Class: notice (Blue)

.notice {
background: #ADCBE7;
border-top: 2px solid #0F5C8E;
border-bottom: 2px solid #0F5C8E;
}

Class: notice2 (Green)

.notice2 {
background: #D6ECA6;
border-top: 2px solid #8DC93E;
border-bottom: 2px solid #8DC93E;
}

For RED you can use:
Class: notice3 (Red)

.notice3 {
background: #FFC5C5;
border-top: 2px solid #FF5959;
border-bottom: 2px solid #FF5959;
}

... and the common declarations (for all):

.alert, .notice, .notice2, .notice3 {
text-align: center;
margin: 10px auto;
padding: 5px 20px;
}
#4
Not Solved
Thanks!


Forum Jump:


Users browsing this thread: 1 Guest(s)