Ставим картинки (есть новые сообщения,нет новых и т.д.)
1.Вот наш стиль.Он уже с шапкой и с фоном
Код:/* CS1 Background and text colours
-------------------------------------------------------------*/
body {
background-image: url("http://abstract-girls.ucoz.ru/_fr/0/69740064.gif");
}
/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
background-color: #FF66FF;
color: #000000;
}
/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
background-color: #FF99FF;
color: #000000;
}
/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
background-color: #FF66FF;
color: #003300;
font-weight: normal;
font-style: italic;
}
/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
background-color: #FF99FF;
color: #333333;
}
/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
background-color: #FF99FF;
color: #000000
}
/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl {
background-color: #FF99CC;
color: #000000
}
/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
background-color: #EF56EF;
color: #000000
}
/* CS1.8 */
#pun-navlinks .container {
background-color: #FFCCFF;
color: #EAFFFF;
}
.offline li.pa-online strong {
font-weight: normal
}
.punbb textarea, .punbb select, .punbb input {
background-color: #FF99FF;
color: #000000
}
/* CS2 Border colours
-------------------------------------------------------------*/
/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
border-color: #FF00CC #FF00CC #FF00CC #FF00CC
}
/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
border-color: #EF89EF
}
/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
border-color: #FF66FF;
}
/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
border-color: #FF00CC;
}
/* CS2.5 */
.punbb th {
border-color: #FF99CC
}
/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
border-color: #DF46DF #FF86FF #FF86FF #DF46DF;
}
#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
border-color: #DF46DF
}
#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
border-color: #FF86FF
}
.punbb .divider {
border-color: #DF46DF #FF86FF #FF86FF #FF86FF
}
.punbb .formal fieldset .post-box, .punbb .info-box {
border: 1px solid #dedfdf
}
li.pa-online {
border-left-color: #FFCCFF;
}
.punbb .post-sig dt {
border-top-color: #FF00CC !important;
}
/* CS3 Links
-------------------------------------------------------------*/
/* CS3.1 */
.punbb a, .punbb a:link, .punbb a:visited,
.punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited {
color: #003473;
font-style: italic;
border-bottom: 0px none #000;
text-decoration: underline;
}
.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
color: #000000
}
/* CS3.2 */
.punbb a:hover, .punbb a:focus, .punbb a:active, .punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {
color: #2078B7;
border-bottom: 0px none #000;
text-decoration: underline;
}
/* CS3.3 */
#pun-navlinks a {
color: #EAFFFF;
border-bottom: 0px none #000;
text-decoration: none;
}
/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
color: #EAFFFF;
font-weight: normal;
font-style: normal;
border-bottom: 0px none #000;
text-decoration: underline;
}
#pun-pagelinks a:active, #pun-pagelinks a:focus {
background-color: #333;
color: #fff;
}
/* CS4 Post status icons
-------------------------------------------------------------*/
div.icon {border-color: #FF0000 #DF0000 #CF0000 #DF0000}
tr.iredirect div.icon {border-color: #FF99FF #FF99FF #FF99FF #FF99FF}
div.inew {border-color: #FF99CC #DF79AC #CF699C #DF79AC}
#pun-main div.catleft, #pun-main div.catright {display: none}
2.Доходим до самого низа и видим
/* CS4 Post status icons
-------------------------------------------------------------*/
div.icon {border-color: #FF0000 #DF0000 #CF0000 #DF0000}
tr.iredirect div.icon {border-color: #FF99FF #FF99FF #FF99FF #FF99FF}
div.inew {border-color: #FF99CC #DF79AC #CF699C #DF79AC}
#pun-main div.catleft, #pun-main div.catright {display: none}
Вместо этого мы должны вставить это
/* CS4 Post status icons
-------------------------------------------------------------*/
#pun-main div.catleft, #pun-main div.catright {display: none}
div.icon {
background: url(ссылка нет сообщений) no-repeat;
}
tr.inew div.icon {
background: url(ссылка есть сообщения) no-repeat;
}
tr.iclosed div.icon {
background: url(картинка) no-repeat;
}
tr.iredirect div.icon {
background: url(картинка) no-repeat;
}
tr.isticky div.icon {
background: url(картинка) no-repeat;
}
Вместо слов ставим адреса картинок которые у вас будут и у нас получится вот такой стиль:
Код:/* CS1 Background and text colours
-------------------------------------------------------------*/
body {
background-image: url("http://abstract-girls.ucoz.ru/_fr/0/69740064.gif");
}
/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
background-color: #FF66FF;
color: #000000;
}
/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
background-color: #FF99FF;
color: #000000;
}
/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
background-color: #FF66FF;
color: #003300;
font-weight: normal;
font-style: italic;
}
/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
background-color: #FF99FF;
color: #333333;
}
/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
background-color: #FF99FF;
color: #000000
}
/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl {
background-color: #FF99CC;
color: #000000
}
/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
background-color: #EF56EF;
color: #000000
}
/* CS1.8 */
#pun-navlinks .container {
background-color: #FFCCFF;
color: #EAFFFF;
}
.offline li.pa-online strong {
font-weight: normal
}
.punbb textarea, .punbb select, .punbb input {
background-color: #FF99FF;
color: #000000
}
/* CS2 Border colours
-------------------------------------------------------------*/
/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
border-color: #FF00CC #FF00CC #FF00CC #FF00CC
}
/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
border-color: #EF89EF
}
/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
border-color: #FF66FF;
}
/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
border-color: #FF00CC;
}
/* CS2.5 */
.punbb th {
border-color: #FF99CC
}
/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
border-color: #DF46DF #FF86FF #FF86FF #DF46DF;
}
#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
border-color: #DF46DF
}
#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
border-color: #FF86FF
}
.punbb .divider {
border-color: #DF46DF #FF86FF #FF86FF #FF86FF
}
.punbb .formal fieldset .post-box, .punbb .info-box {
border: 1px solid #dedfdf
}
li.pa-online {
border-left-color: #FFCCFF;
}
.punbb .post-sig dt {
border-top-color: #FF00CC !important;
}
/* CS3 Links
-------------------------------------------------------------*/
/* CS3.1 */
.punbb a, .punbb a:link, .punbb a:visited,
.punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited {
color: #003473;
font-style: italic;
border-bottom: 0px none #000;
text-decoration: underline;
}
.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
color: #000000
}
/* CS3.2 */
.punbb a:hover, .punbb a:focus, .punbb a:active, .punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {
color: #2078B7;
border-bottom: 0px none #000;
text-decoration: underline;
}
/* CS3.3 */
#pun-navlinks a {
color: #EAFFFF;
border-bottom: 0px none #000;
text-decoration: none;
}
/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
color: #EAFFFF;
font-weight: normal;
font-style: normal;
border-bottom: 0px none #000;
text-decoration: underline;
}
#pun-pagelinks a:active, #pun-pagelinks a:focus {
background-color: #333;
color: #fff;
}
/* CS4 Post status icons
-------------------------------------------------------------*/
#pun-main div.catleft, #pun-main div.catright {display: none}
div.icon {
background: url(ссылка нет сообщений) no-repeat;
}
tr.inew div.icon {
background: url(ссылка есть сообщения) no-repeat;
}
tr.iclosed div.icon {
background: url(картинка) no-repeat;
}
tr.iredirect div.icon {
background: url(картинка) no-repeat;
}
tr.isticky div.icon {
background: url(картинка) no-repeat;
}
#pun-main div.catleft, #pun-main div.catright {display: none}