Добрый день, форумчане! На ucoz у меня есть форум, но там его содержание без рекламы обходится довольно дорого. Я решил создать форум в mybb и перенести стиль с ucozовского форума на mybbовский, но получилась какая-то чушь, страница попросту куда-то съехала
Код:/* General Style */ body {background:#000000; margin:0px; padding:0px;} #wrap {background: url('/.s/t/823/1.gif') repeat-x #04040c; text-align: center;} #contanier {width: 1000px; margin-left: auto; margin-right: auto; background: url('/.s/t/823/2.jpg') no-repeat #000000; padding: 0; text-align: left;} table.main-table {border: 0px; padding: 0px; border-collapse: collapse; width: 980px; margin: 0px; border-spacing: 0px;} td.data-block {height: 50px; text-align: left; padding: 5px 10px; vertical-align: top; color: #652305;} td.login-block {height: 50px; text-align: right; padding: 5px 0px; vertical-align: top; color: #652305;} td.side-block {width: 280px; vertical-align: top; border-spacing: 0px; padding: 20px 0 0 0;} td.content-block {width: 700px; vertical-align: top; border-spacing: 0px; padding-left: 10px;} h1.logo {margin: 130px 10px 20px 0; text-align: right; color: #fdffed; font-size: 25pt; font-weight: normal; border: none; background: none;} div.text-block {background: #fdffed; border: 20px solid #fdffed; width: 660px; } .footer {border: 0px; padding: 0px; border-collapse: collapse; width: 100%; margin: 0px; border-spacing: 0px; background: url('/.s/t/823/3.gif') repeat-x #251613; height: 80px;} .footer td {text-align: center; padding-top: 15px;} h1.module-name {color: #da4d0e; font-size: 18pt; font-weight: normal; border-bottom: 1px dashed #d3d5c6; padding: 5px 10px; background: #f1f3e2; margin: 0 0 10px 0;} .boxTable {width:100%;padding:0;margin:5px 0px;text-align:center;} .boxTable th {font-size:9pt;color:#000000;padding-bottom: 12px; vertical-align: middle;margin:0px;text-align:center; height: 45px; background: url('/.s/t/823/4.gif') center top no-repeat;} .boxContent {margin-left:auto;margin-right:auto;width:100%;padding:5px 15px;text-align:left;} .center {text-align:center;} a:link {text-decoration:none; color:#F65400;} a:active {text-decoration:none; color:#F65400;} a:visited {text-decoration:none; color:#F65400;} a:hover {text-decoration:underline; color:#959595;} .navBar a:link {text-decoration:underline; color:#FFFFFF;} .navBar a:active {text-decoration:underline; color:#FFFFFF;} .navBar a:visited {text-decoration:underline; color:#FFFFFF;} .navBar a:hover {text-decoration:none; color:#000000;} td, body {font-family:verdana,arial,helvetica; font-size:8pt;color:#757575;} form {padding:0px;margin:0px;} input,textarea,select {vertical-align:middle; font-size:8pt; font-family:verdana,arial,helvetica;} .copy {font-size:7pt;} a.noun:link {text-decoration:underline; color:#9D9D9D;} a.noun:active {text-decoration:underline; color:#9D9D9D;} a.noun:visited {text-decoration:underline; color:#9D9D9D;} a.noun:hover {text-decoration:none; color:#CCCCCC;} hr {color:#d3d5c6;height:1px;background:#d3d5c6;border: none;} label {cursor:pointer;cursor:hand} .blocktitle {font-family:Verdana,Sans-Serif;color:#C24747;font-size:12px;} a.menu1:link {text-decoration:underline; color:#f1f3e2} a.menu1:active {text-decoration:underline; color:#f1f3e2} a.menu1:visited {text-decoration:underline; color:#f1f3e2} a.menu1:hover {text-decoration:underline; color:#949F94} .menuTd {padding-left:12px;padding-right:10px; background: url('/.s/t/823/5.gif') no-repeat 0px 3px;} .mframe {border-left:1px solid #E5E7EA; border-right:1px solid #E5E7EA;} .colgray {border-right:1px solid #E5E7EA;} .colwhite {border-right:1px solid #f1f3e2;} .msep {border-top:1px solid #f1f3e2;} /* ------------- */ /* Menus */ ul.uz, ul.uMenuRoot {list-style: none; margin: 0 0 0 0; padding-left: 0px;} li.menus {margin: 0; padding: 0 0 0 11px; background: url('/.s/t/823/6.gif') no-repeat 0px 3px; margin-bottom: .6em;} /* ----- */ /* Site Menus */ .uMenuH li {float:left;padding:0 5px;} .uMenuV .uMenuItem {font-weight:normal;} .uMenuV li a:link {text-decoration:none; color:#FFFFFF} .uMenuV li a:active {text-decoration:none; color:#FFFFFF} .uMenuV li a:visited {text-decoration:none; color:#FFFFFF} .uMenuV li a:hover {text-decoration:none; color:#fd9933} .uMenuV .uMenuItemA {font-weight:bold;} .uMenuV a.uMenuItemA:link {text-decoration:none; color:#fd9933;} .uMenuV a.uMenuItemA:visited {text-decoration:none; color:#fd9933;} .uMenuV a.uMenuItemA:hover {text-decoration:underline; color:#CCCCCC;} .uMenuV .uMenuArrow {position:absolute;width:10px;height:10px;right:0;top:3px;background:url('/.s/img/wd/1/ar1.gif') no-repeat 0 0;} .uMenuV li {margin: 0 0 0 10px; padding: 0 3px 2px 3px; text-align: center; background: #000000; margin-bottom: .6em; opacity:.75; filter: alpha(opacity=75); -moz-opacity: 0.75; width: 200px; text-transform: lowercase; font-size: 9pt;} /* --------- */ /* Module Part Menu */ .catsTd {padding: 0 0 6px 11px; background: url('/.s/t/823/6.gif') no-repeat 0px 3px;} .catName {font-family:verdana,Tahoma,Arial,Sans-Serif;font-size:11px;} .catNameActive {font-family:verdana,Tahoma,Arial,Sans-Serif;font-size:11px;} .catNumData {font-size:7pt;color:#7B7B7B;} .catDescr {font-size:7pt; padding-left:10px;} a.catName:link {text-decoration:underline; color:#9D9D9D;} a.catName:visited {text-decoration:underline; color:#9D9D9D;} a.catName:hover {text-decoration:none; color:#F65400;} a.catName:active {text-decoration:underline; color:#9D9D9D;} a.catNameActive:link {text-decoration:none; color:#9D9D9D;} a.catNameActive:visited {text-decoration:none; color:#9D9D9D;} a.catNameActive:hover {text-decoration:underline; color:#F65400;} a.catNameActive:active {text-decoration:none; color:#9D9D9D;} /* ----------------- */ /* Entries Style */ .eBlock {} .eTitle {font-family:Verdana,Arial,Sans-Serif;font-size:13px;font-weight:bold;color:#F65400; padding: 0 0 0 14px; background: url('/.s/t/823/7.gif') no-repeat 0px 2px;} .eTitle a:link {text-decoration:underline; color:#F65400;} .eTitle a:visited {text-decoration:underline; color:#F65400;} .eTitle a:hover {text-decoration:underline; color:#959595;} .eTitle a:active {text-decoration:underline; color:#000000;} .eMessage {text-align:justify;padding:10px !important; margin-left: 50px;} .eText {text-align:justify;padding:10px !important;} .eDetails {border-top: 1px dashed #d3d5c6; padding: 5px; background: #f1f3e2;text-align:left;font-size:7pt;} .eDetails1 {border-top: 1px dashed #d3d5c6; padding: 5px; background: #f1f3e2; text-align:left;font-size:8pt;} .eDetails2 {border-top: 1px dashed #d3d5c6; padding: 5px; background: #f1f3e2;text-align:left;font-size:8pt;} .eRating {font-size:7pt;} .eAttach {margin: 16px 0 0 0; padding: 0 0 0 15px; background: url('/.s/t/823/8.gif') no-repeat 0px 0px;} /* ------------- */ /* Entry Manage Table */ .manTable {} .manTdError {color:#FF0000;} .manTd1 {} .manTd2 {} .manTd3 {} .manTdSep {} .manHr {} .manTdBrief {} .manTdText {} .manTdFiles {} .manFlFile {} .manTdBut {} .manFlSbm {} .manFlRst {} .manFlCnt {} /* ------------------ */ /* Comments Style */ .cAnswer {padding-left:15px;padding-top:4px;font-style:italic;} .cBlock1 {border-top: 1px dashed #d3d5c6; padding: 10px; background: #f1f3e2;} .cBlock2 {border-top: 1px dashed #d3d5c6; padding: 10px; background: #f1f3e2;} /* -------------- */ /* Comments Form Style */ .commTable {} .commTd1 {color:#000000;} .commTd2 {} .commFl {color:#F65400;width:100%;} .smiles {border:1px inset;background:#FFFFFF;} .commReg {padding: 10 0 10 0px; text-align:center;} .commError {color:#FF0000;} .securityCode {color:#F65400;} /* ------------------- */ /* Archive Menu */ .archUl {list-style: none; margin:0; padding-left:0;} .archLi {padding: 0 0 3px 10px; background: url('/.s/t/823/9.gif') no-repeat 0px 4px; font-family:Tahoma,Arial,Sans-Serif;} a.archLink:link {text-decoration:underline; color:#F65400;} a.archLink:visited {text-decoration:underline; color:#F65400;} a.archLink:hover {text-decoration:none; color:#000000;} a.archLink:active {text-decoration:none; color:#000000;} /* ------------ */ /* Archive Style */ .archiveCalendars {text-align:center;color:#0000FF;} .archiveDateTitle {font-weight:bold;color:#F65400;padding-top:15px;} .archEntryHr {width:250px;color:#f1f3e2;} .archiveeTitle li {margin-left: 15px; padding: 0 0 0 15px; background: url('/.s/t/823/10.gif') no-repeat 0px 4px; margin-bottom: .6em;} .archiveEntryTime {width:65px;font-style:italic;} .archiveEntryComms {font-size:9px;color:#C3C3C3;} a.archiveDateTitleLink:link {text-decoration:none; color:#F65400} a.archiveDateTitleLink:visited {text-decoration:none; color:#F65400} a.archiveDateTitleLink:hover {text-decoration:underline; color:#F65400} a.archiveDateTitleLink:active {text-decoration:underline; color:#F65400} .archiveNoEntry {text-align:center;color:#0000FF;} /* ------------- */ /* Calendar Style */ .calTable {margin-left: auto; margin-right: auto;} .calMonth {} div.text-block .calWday {color:#000000; width:18px;} div.text-block .calWdaySe {color:#000000; width:18px;font-weight:bold;} div.text-block .calWdaySu {width:18px; font-weight:bold;color:#F65400;} .calWday {color:#fdffed; width:18px;} .calWdaySe {color:#fdffed; width:18px;font-weight:bold;} .calWdaySu {width:18px; font-weight:bold;color:#F65400;} .calMday {} .calMdayA {background:#F65400;font-weight:bold;color:#fdffed;} .calMdayIs {font-weight:bold;} .calMdayIsA {border:1px solid #F65400; background:#282F39;font-weight:bold;} div.text-block a.calMonthLink:link {color: #7e7f76;font-weight:bold;} div.text-block a.calMonthLink:visited {color: #7e7f76;font-weight:bold;} div.text-block a.calMonthLink:hover {color: #7e7f76;font-weight:bold;} div.text-block a.calMonthLink:active {color: #7e7f76;font-weight:bold;} a.calMonthLink:link {text-decoration:none; color:#ADADAD;} a.calMonthLink:visited {text-decoration:none; color:#ADADAD;} a.calMonthLink:hover {text-decoration:underline; color:#ADADAD;} a.calMonthLink:active {text-decoration:none; color:#ADADAD;} a.calMdayLink:link {text-decoration:none; color:#F65400;} a.calMdayLink:visited {text-decoration:none; color:#F65400;} a.calMdayLink:hover {text-decoration:underline; color:#F65400;} a.calMdayLink:active {text-decoration:underline; color:#ADADAD;} /* -------------- */ /* Poll styles */ .pollBut {width:110px;} .pollBody {padding:7px; margin:0px; background:#FFFFFF} .textResults {background:#EBE0E0} .textResultsTd {background:#FFFFFF} .pollNow {border-bottom:1px solid #EBE0E0; border-left:1px solid #EBE0E0; border-right:1px solid #EBE0E0;} .pollNowTd {} .totalVotesTable {border-bottom:1px solid #EBE0E0; border-left:1px solid #EBE0E0; border-right:1px solid #EBE0E0;} .totalVotesTd {background:#FFFFFF;} /* ---------- */ /* User Group Marks */ a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:blue;} a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:orange;} a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:green;} /* ---------------- */ /* Other Styles */ .replaceTable {height:100px;width:300px;color:#FFFFFF;} .replaceBody {background: url('/.s/t/823/1.gif') repeat-x #04040c;} .legendTd {font-size:7pt;} /* ------------ */ /* ===== forum Start ===== */ /* General forum Table View */ .gTable {background:#d3d5c6} .gTableTop {padding:2px;padding-left:30px;font-size:10pt;font-weight:bold;background:url('/.s/t/823/11.gif') repeat-x #F8702A; color:#FFFFFF;height:35px;} .gTableSubTop {padding:2px;background: #444444;color:#FFFFFF;height:20px;font-size:10px;} .gTableBody {padding:2px;background:#f1f3e2;} .gTableBody1 {padding:2px;background:#FFFFFF;} .gTableBottom {padding:2px;background:#f1f3e2;} .gTableLeft {padding:2px;background:#f1f3e2;font-weight:bold;color:#F65400} .gTableRight {padding:2px;background:#f1f3e2} .gTableError {padding:2px;background:#f1f3e2;color:#FF0000;} /* ------------------------ */ /* Forums Styles */ .forumNameTd,.forumLastPostTd {padding:2px;background:#FFFFFF} .forumIcoTd,.forumThreadTd,.forumPostTd {padding:2px;background:#f1f3e2} .forumLastPostTd,.forumArchive {padding:2px;font-size:7pt;} a.catLink:link {text-decoration:none; color:#FFFFFF;} a.catLink:visited {text-decoration:none; color:#FFFFFF;} a.catLink:hover {text-decoration:underline; color:#000000;} a.catLink:active {text-decoration:underline; color:#FFFFFF;} .lastPostGuest,.lastPostUser,.threadAuthor {font-weight:bold} .archivedForum{font-size:7pt;color:#FF0000;font-weight:bold;} /* ------------- */ /* forum Titles & other */ .forum {font-weight:bold;font-size:9pt;} .forumDescr,.forumModer {color:#858585;font-size:7pt;} .forumViewed {font-size:9px;} a.forum:link, a.lastPostUserLink:link, a.forumLastPostLink:link, a.threadAuthorLink:link {text-decoration:none; color:#F65400;} a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {text-decoration:none; color:#F65400;} a.forum:hover, a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {text-decoration:underline; color:#B56C6C;} a.forum:active, a.lastPostUserLink:active, a.forumLastPostLink:active, a.threadAuthorLink:active {text-decoration:underline; color:#F65400;} /* -------------------- */ /* forum Navigation Bar */ .forumNamesBar {font-weight:bold;font-size:7pt;} .forumBarKw {font-weight:normal;} /* -------------------- */ /* forum Fast Navigation Blocks */ .fastNav,.fastSearch,.fastLoginForm {font-size:7pt;} /* ---------------------------- */ /* forum Fast Navigation Menu */ .fastNavMain {background:#F0C6C6;} .fastNavCat {background:#F9E6E6;} .fastNavCatA {background:#F9E6E6;color:#0000FF} .fastNavForumA {color:#0000FF} /* -------------------------- */ /* forum Page switches */ .switches {background:#FFFFFF;} .pagesInfo {background:#FFFFFF;padding-right:10px;font-size:7pt;} .switch {background:#FFFFFF;width:15px;font-size:7pt;} .switchActive {background: #F65400;font-weight:bold;color:#FFFFFF;width:15px} a.switchDigit:link,a.switchBack:link,a.switchNext:link {text-decoration:none; color:#000000;} a.switchDigit:visited,a.switchBack:visited,a.switchNext:visited {text-decoration:none; color:#000000;} a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover {text-decoration:underline; color:#FF0000;} a.switchDigit:active,a.switchBack:active,a.switchNext:active {text-decoration:underline; color:#FF0000;} /* ------------------- */ /* forum Threads Style */ .threadNametd,.threadAuthTd,.threadLastPostTd {padding:2px;padding:2px;background:#FFFFFF} .threadIcoTd,.threadPostTd,.threadViewTd {padding:2px;background:#f1f3e2} .threadLastPostTd {padding:2px;font-size:7pt;} .threadDescr {color:#858585;font-size:7pt;} .threadNoticeLink {font-weight:bold;} .threadsType {padding:2px;background:#d1d3c4;height:20px;font-weight:bold;font-size:7pt;color:#EC0301;padding-left:40px; } .threadsDetails {padding:2px;background:#d1d3c4;height:20px;color:#000000;} .forumOnlineBar {padding:2px;background: #d1d3c4;color:#000000;height:20px;font-size:10px;} a.threadPinnedLink:link {text-decoration:none; color:#0000FF;} a.threadPinnedLink:visited {text-decoration:none; color:#0000FF;} a.threadPinnedLink:hover {text-decoration:none; color:#FF0000;} a.threadPinnedLink:active {text-decoration:underline; color:#FF0000;} a.threadLink:link {text-decoration:none; color:#F65400;} a.threadLink:visited {text-decoration:none; color:#F65400;} a.threadLink:hover {text-decoration:underline; color:#000000;} a.threadLink:active {text-decoration:underline; color:#000000;} .postpSwithces {font-size:7pt;} .thDescr {font-weight:normal;} .threadFrmBlock {font-size:7pt;text-align:right;} /* ------------------- */ /* forum Posts View */ .postTable {background:#FFFFFF;} .postPoll {background:#FFFFFF;text-align:center;} .postFirst {background:#FDF4F4;border-bottom:3px solid #282F39;} .postRest1 {background:#F7EEEE;} .postRest2 {background:#FDF4F4;} .postSeparator {height:3px;background:#F65400;} .postTdTop {background: #444444;color:#FFFFFF;height:20px;color:#FFFFFF;} .postBottom {background: #f1f3e2;height:20px} .postUser {font-weight:bold;} .postTdInfo {text-align:center;padding:5px;background:#f1f3e2} .postRankName {margin-top:5px;} .postRankIco {margin-bottom:5px;margin-bottom:5px;} .reputation {margin-top:5px;} .signatureHr {margin-top:20px;color:#A82F38;} .posttdMessage {padding:5px;background:#FFFFFF} .pollQuestion {text-align:center;font-weight:bold;} .pollButtons,.pollTotal {text-align:center;} .pollSubmitBut,.pollreSultsBut {width:140px;font-size:7pt;} .pollSubmit {font-weight:bold;} .pollEnd {text-align:center;height:30px;} .codeMessage {background:#FFFFFF;font-size:9px;} .quoteMessage {background:#FFFFFF;font-size:9px;} .signatureView {font-size:7pt;} .edited {padding-top:30px;font-size:7pt;text-align:right;color:gray;} .editedBy {font-weight:bold;font-size:8pt;} .statusBlock {padding-top:3px;} .statusOnline {color:#0000FF;} .statusOffline {color:#FF0000;} /* ------------------ */ /* forum AllInOne Fast Add */ .newThreadBlock {background: #F9F9F9;border: 1px solid #B2B2B2;} .newPollBlock {background: #F9F9F9;border: 1px solid #B2B2B2;} .newThreadItem {padding: 0 0 0 8px; background: url('/.s/t/823/12.gif') no-repeat 0px 4px;} .newPollItem {padding: 0 0 0 8px; background: url('/.s/t/823/12.gif') no-repeat 0px 4px;} /* ----------------------- */ /* forum Post Form */ .pollBut, .loginButton, .searchSbmFl, .commSbmFl, .signButton {font-size:7pt;background: #F65400;color:#FFFFFF;border:1px outset #FFFFFF;} .codeButtons {font-size:7pt;background: #F65400;color:#FFFFFF;border:1px outset #FFFFFF;} .codeCloseAll font-size:7pt;background: #F65400;color:#FFFFFF;border:1px outset #FFFFFF;font-weight:bold;} .postNameFl,.postDescrFl {width:400px} .postPollFl,.postQuestionFl {width:400px} .postResultFl {width:50px} .postAnswerFl {width:300px} .postTextFl {width:550px;height:150px} .postUserFl {width:300px} .pollHelp {font-weight:normal;font-size:7pt;padding-top:3px;} .smilesPart {padding-top:5px;text-align:center} /* ----------------- */ /* ====== forum End ====== */
Отредактировано Док (Пт, 6 Апр 2012 16:49:28)