Переделываю стандартный стиль через генератор стилей. При замене фона на полупрозрачный хотелось бы убрать белый фон и сделать его прозрачным, или хотя бы черным.
Вот код. В чем проблемы?
/* CS1 Background and text colours -------------------------------------------------------------*/ body {background-image: url("http://i030.radikal.ru/0910/a4/8d7e6998e79d.jpg"); background-attachment: fixed; } /* CS1.1 */ .punbb .section, .punbb .post-body, .punbb .post-links, .punbb .formal fieldset, #viewprofile li strong, #viewprofile li div, #setmods dd, .punbb .info-box, .punbb #pun-main .info-box .legend { background: url(http://firstucoz.ucoz.net/res/transparent.png) transparent !important; color: #ffc000; } .punbb td.tc2, .punbb td.tc3, .post-box, .punbb td.tcl, .punbb td.tc3 { background: transparent; } /* CS1.2 */ .punbb .main, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer { background: url(http://firstucoz.ucoz.net/res/transparent.png) transparent !important; color: #ffc000; } /* CS1.3 */ #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 { background-image : url(http://s07.radikal.ru/i180/0912/67/36a8dd2dbf72.jpg); color: #FFFFFF; font-weight: bold; font-style: normal; } /* CS1.4 */ #pun-title .title-logo {display: none;} #pun-title table {background-image: url(http://s004.radikal.ru/i205/1001/fe/1f81eed1fd0e.jpg); background-repeat : no-repeat; height : 200px;} color: #FFFFFF; } /* CS1.5 */ .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span { background: url(http://firstucoz.ucoz.net/res/transparent.png) transparent !important; color: #ffc000 } /* CS1.6 */ .punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl { background-color: #660000; color: #ffc000 } /* CS1.7 */ .punbb .quote-box, .punbb .code-box { background-color: #000000; color: #ffc000 } /* CS1.8 */ #pun-navlinks .container { background-image : url(http://s07.radikal.ru/i180/0912/67/36a8dd2dbf72.jpg); color: #FFFFFF; } .offline li.pa-online strong { font-weight: normal } .punbb textarea, .punbb select, .punbb input { background-color: #000000; color: #ffc000 } /* CS2 Border colours -------------------------------------------------------------*/ /* CS2.1 */ .punbb .container, .punbb .post-body, .post h3, #pun-title { border-color: #ffff00 #ffff00 #ffff00 #ffff00 } /* CS2.2 */ .punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post { border-color: #000000 } /* CS2.3 */ #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 { border-color: #ffc000; } /* 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: #ffff00; } /* CS2.5 */ .punbb th { border-color: #660000 } /* CS2.6 */ .punbb .quote-box, .punbb .code-box { border-color: #000000 #202020 #202020 #000000; } #pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span { border-color: #000000 } #pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend { border-color: #202020 } .punbb .divider { border-color: #000000 #202020 #202020 #202020 } .punbb .formal fieldset .post-box, .punbb .info-box { border: 1px solid #dedfdf } li.pa-online { border-left-color: #FFCC99; } .punbb .post-sig dt { border-top-color: #ffff00 !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: #ff9600; border-bottom: 0px none #000; text-decoration: underline; } .punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited { color: #ffc000 } /* 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: #B42000; border-bottom: 0px none #000; text-decoration: underline; } /* CS3.3 */ #pun-navlinks a { color: #FFFFFF; border-bottom: 0px none #000; text-decoration: none; text-align: center; } /* CS3.4 */ #pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active { color: #FFFFFF; font-weight: bold; font-style: normal; border-bottom: 0px none #000; text-decoration: underline; text-align: center; } #pun-pagelinks a:active, #pun-pagelinks a:focus { background-color: #333; color: #fff; } /* CS4 Post status icons -------------------------------------------------------------*/ div.icon {border-color: #0080D7 #0060B7 #0050A7 #0060B7} tr.iredirect div.icon {border-color: #CC3366 #CC3366 #CC3366 #CC3366} div.inew {border-color: #E6E6E6 #C6C6C6 #B6B6B6 #C6C6C6} #pun-main div.catleft, #pun-main div.catright {display: none}
Отредактировано Dr_Alessa (2010-01-15 11:54:12)