Portal z wordpress na MyBB

Inne  Założony przez  revolveR.

wersja skryptu MyBB: Najnowsza
adres forum: b2d.xaa.pl i b2d.xaa.pl/forum
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Witam, chciałbym zrobić taki sam header czy li menu nagłówek cały i tak dalej jak jest na b2d.xaa.pl i z mojego portalu wordpress chcialbym by byl jeszcze taki sam ale na MyBB. Zamienilem caly header wzialem kod z wordpressa ( header ) i zamienilem na kod z MyBB. Teraz tylk ochodzi o styl, eiw iem za co zamienić, podam wam cały mój global i css z headeru.

Header jaki mam zamienic w global na MyBB:
#containerwrap {
  background: url(images/top.jpg) no-repeat scroll center 180px;
}
#topwrap {
  width: 100%;
  height: 175px;
  border-top: 5px solid #4488bb;
  background: #0e0e0e;
}
#mainwrap {
  margin: 30px auto 0;
  width: 960px;
}
#header {
  width: 960px;
  height: 125px;
  margin: 0 auto;
}
#blogtitle {
  text-transform: uppercase;
  float: left;
  padding-top: 47px;
}
.adv {
  float: right;
  margin: 33px 0px 0 0;
}


/* -------- START PAGE MENU -------- */

#top {
  clear: both;
  margin: 0 auto;
  width: 960px;
  height: 50px;
  background: #494949;
  position: relative;
  z-index: 999;
}
#top li {
  float: left;
  line-height: 50px;
  border-right: 1px solid #111111;
}
#top li a {
  float: left;
  display: block;
  padding: 0 25px;
  color: #f8f7f7;
  text-shadow: 1px 0 1px #000000;
  font-size: 13px;
  font-family: 'Antic Slab', serif;
}
#top li.current_page_item a, #top li:hover, #top li.current-menu-item {
  background: #2f2f2f;
  color: #fff;
}
#top li ul {
  background: #9c9c9c;
  width: 150px;
}
#top li ul li {
  border-bottom: 1px solid #262626;
  border-right: 0;
  line-height: 30px;
}
#top li ul li a {
  font-size: 11px;
  color: #fff;
  text-shadow: 1px 0 1px #26608b;
  font-family: Arial;
}
#top li ul li:hover a {
  color: #00080f;
}


/* -------- END PAGE MENU -------- */

Global.css na MyBB:
* {
    padding: 0;
    margin: 0;
}

body {
    background: #f5f5f5;
    color: #888;
    text-align: center;
    line-height: 1.4;
    
    font-family: Arial, Sans-Serif, Verdana;
    font-size: 13px;
}

.button {
    background: url(images/algid/lbutton_bg.png) repeat-x;
    color: #f5f5f5;
    border: none;
    padding: 6px;
    border-radius: 2px 2px 2px 2px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    
    font-family: Arial, Sans-Serif, Verdana;
    font-size: 11px;
}

.button:hover {
    background: #4c6626;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    cursor: pointer;
}

.quick_login {
    background: #0a0a0a url(images/algid/lbutton_bg.png) repeat-x;
    padding: 7px;
    border-radius: 4px 4px 4px 4px;
    float: left;
    display: block;
    margin-top: 9px;
    margin-right: 4px;
    border: solid 1px #115b8a;
    min-width: 110px;
    text-align: center;    
    font-size: 12px;
}

li{
list-style:none;
}

.quick_login:hover {
    background: #09273b;
}

.tops {
    background: url(images/algid/top_bg.png) repeat-x;
    margin: auto auto;
    border-radius: 0px 0px 3px 3px;
    height: 51px;
    border-left: solid 1px #10405e;
    border-right: solid 1px #10405e;
    box-shadow: 0px 1px 5px 2px #a0a0a0;
}

.tops a:link {
    color: #f5f5f5;
    text-decoration: none;
}

.tops a:visited {
    color: #f5f5f5;
    text-decoration: none;
}

.tops a:hover, active {
    color: #fff;
    text-decoration: none;
}

.logo {
    clear: both;
    padding:20px;
    margin-left:50px;
}

a:link {
    color: #0f547c;
    text-decoration: none;
}

a:visited {
    color: #105983;
    text-decoration: none;
}

a:hover, a:active {
    color: #136b9e;
    text-decoration: none;
}

#container {
    width: 92%;
    margin: auto auto;
    text-align: left;
}

#content {
    width: auto !important;
    box-shadow: 1px 1px 7px 6px #c4c4c4;
    padding: 12px;
}

.menu ul {
    color: #fff;
    text-align: right;
    
    font-weight: bold;
}

.menu ul a:link {
    color: #eee;
    padding: 20px;
    height: 51px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    
    text-decoration: none;
}

.menu ul a:visited {
    color: #eee;
    text-decoration: none;
}

.menu ul a:hover, .menu ul a:active {
    background: url(images/algid/menu_bg.png) repeat-x;
    color: #fff;
    text-decoration: none;
}

#panel {
    color: #f5f5f5;
    margin-left: 30px;
    position: relative;
    
    font-size: 11px;
}

#panel .remember_me input {
}

table {
    background: #f1f1f1 url(images/algid/trow_bg.png) repeat-x;;
    color: #333;
    font-family: Arial, Sans-Serif, Verdana;
    font-size: 13px;
}

.tborder {
    width: 100%;
    color: #333;
    margin: auto auto;
    box-shadow: 0px 0px 2px 3px #c4c4c4;
    border-radius: 3px 3px 3px 3px;
}

.thead {
    background: url(images/algid/top_bg.png) repeat-x;
    color: #ffffff;
    padding: 9px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
}

.thead a:link {
    color: #ffffff;
    text-decoration: none;
}

.thead a:visited {
    color: #ffffff;
    text-decoration: none;
}

.thead a:hover, .thead a:active {
    color: #ffffff;
    text-decoration: underline;
}

.tcat {
    background: #f5f5f5;
    color: #555;
    padding: 4px;
    border-bottom: solid 1px #c4c4c4;
    font-size: 12px;
}

.tcat a:link {
    color: #000000;
}

.tcat a:visited {
    color: #000000;
}

.tcat a:hover, .tcat a:active {
    color: #000000;
}

.trow1 {
    background: #f1f1f1 url(images/algid/trow_bg.png) repeat-x;
    border-top: solid 1px #fff;
    border-bottom: solid 1px #c4c4c4;
    padding:5px;
}

.trow2 {
    background: #f1f1f1 url(images/algid/trow_bg.png) repeat-x;
    border-top: solid 1px #fff;
    border-bottom: solid 1px #c4c4c4;
    padding:5px;
}

.trow3 {
    background: #fff;
    color: #666;
    padding: 15px;
    border: solid 2px #e1e1e1;
    
    font-size: 16px;
}

.trow_shaded {
    background: #ffdde0;
}

.trow_selected td {
    background: #FFFBD9;
}

.trow_sep {
    background: #e5e5e5;
    color: #666;
    padding:5px;
    font-size: 12px;
    font-weight: bold;
}

.tfoot {
    background: url(images/algid/top_bg.png) repeat-x;
    color: #ffffff;
    padding: 6px;
}

.tfoot a:link {
    color: #ffffff;
    text-decoration: none;
}

.tfoot a:visited {
    color: #ffffff;
    text-decoration: none;
}

.tfoot a:hover, .tfoot a:active {
    color: #ffffff;
    text-decoration: underline;
}

.bottommenu {
    background: url(images/algid/top_bg.png) repeat-x;
    color: #f5f5f5;
    padding: 16px;
    border-radius: 4px 4px 4px 4px;
}

.bottommenu a:link {
    background: #10405e;
    color: #f5f5f5;
    padding: 8px;
    border-radius: 4px 4px 4px 4px;
    margin: 4px;
    border: solid 1px #175f8b;
}

.bottommenu a:hover {
    background: url(images/algid/menu_bg.png) repeat-x;
    color: #fff;
}

.bottommenu a:visited {
    color: #fff;
    border: solid 1px #175f8b;
}

.navigation {
    background: #f1f1f1 url(images/algid/trow_bg.png) repeat-x;
    color: #777;
    padding: 12px;
    border: solid 1px #c4c4c4;
    margin-bottom: 12px;
    border-radius: 0px 0px 3px 3px;
    
    font-size: 11px;
    font-weight: bold;
}

.navigation a:link {
    color: #333;
    text-decoration: none;
}

.navigation a:visited {
    color: #333;
    text-decoration: none;
}

.navigation a:hover, .navigation a:active {
    color: #444;
    text-decoration: none;
}

.navigation .active {
    background: #e1e1e1;
    color: #5b6065;
    padding: 7px;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    text-shadow: 0 -1px 0 #eeeeee;
    
    font-size: 11px;
}

.smalltext {
    font-size: 11px;
}

.largetext {
    font-size: 16px;
    font-weight: bold;
}

input.textbox {
    background: #ffffff;
    color: #333;
    border: 1px solid #c4c4c4;
    border-radius: 3px 3px 3px 3px;
    padding: 5px;
}

textarea {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #999;
    padding: 4px;
    line-height: 1.4;
    border-radius: 3px 3px 3px 3px;
    font-family: Arial, Sans-Serif, Verdana;
    font-size: 13px;
}

select {
    background: #ffffff;
    border: 1px solid #999;
    padding: 3px;
    border-radius: 2px 2px 2px 2px;
    margin-top:5px;
    font-size: 11px;
}

.editor {
    background: #f1f1f1;
    border: 1px solid #ccc;
}

.editor_control_bar {
    background: #fff;
    border: 1px solid #0f5c8e;
}

.autocomplete {
    background: #fff;
    border: 1px solid #000;
    color: black;
}

.autocomplete_selected {
    background: #adcee7;
    color: #000;
}

.popup_menu {
    background: #ccc;
    border: 1px solid #000;
}

.popup_menu .popup_item {
    background: #fff;
    color: #000;
}

.popup_menu .popup_item:hover {
    background: #C7DBEE;
    color: #000;
}

.trow_reputation_positive {
    background: #ccffcc;
}

.trow_reputation_negative {
    background: #ffcccc;
}

.reputation_positive {
    background: #557f3a;
    color: #fff;
    padding: 5px;
    margin: 4px;
    border-radius: 2px 2px 2px 2px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.reputation_neutral {
    background: #666;
    color: #fff;
    padding: 5px;
    margin: 4px;
    border-radius: 2px 2px 2px 2px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.reputation_negative {
    background: #991e1e;
    color: #fff;
    padding: 5px;
    margin: 4px;
    border-radius: 2px 2px 2px 2px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.invalid_field {
    border: 1px solid #f30;
    color: #f30;
}

.valid_field {
    border: 1px solid #0c0;
}

.validation_error {
    background: url(images/invalid.gif) no-repeat center left;
    color: #f30;
    margin: 5px 0;
    padding: 5px;
    font-weight: bold;
    font-size: 11px;
    padding-left: 22px;
}

.validation_success {
    background: url(images/valid.gif) no-repeat center left;
    color: #00b200;
    margin: 5px 0;
    padding: 5px;
    font-weight: bold;
    font-size: 11px;
    padding-left: 22px;
}

.validation_loading {
    background: url(images/spinner.gif) no-repeat center left;
    color: #555;
    margin: 5px 0;
    padding: 5px;
    font-weight: bold;
    font-size: 11px;
    padding-left: 22px;
}

/* Additional CSS (Master) */
img {
    border: none;
}

.clear {
    clear: both;
}

.hidden {
    display: none;
    float: none;
    width: 1%;
}

.hiddenrow {
    display: none;
}

.selectall {
    background-color: #FFFBD9;
    font-weight: bold;
    text-align: center;
}

.float_left {
    float: left;
}

.float_right {
    float: right;
}

.menu ul {
    list-style: none;
    line-height: 51px;
    
    
    font-size: 11px;
}

.menu li {
    display: inline;
}

.menu img {
    padding-right: 5px;
    vertical-align: top;
}

#panel .links {
    color: #f5f5f5;
    margin: 0;
    float: right;
}

.expcolimage {
    float: right;
    width: auto;
    vertical-align: middle;
    margin-top: 3px;
}

img.attachment {
    border: 1px solid #E9E5D7;
    padding: 2px;
}

hr {
    background-color: #000000;
    color: #000000;
    height: 1px;
    border: 0px;
}

#copyright {
    width: 95%;
    font: 11px  Arial, Sans-Serif, Verdana;
    margin: 0;
    padding: 15px;
    float:left;
}

#debug {
    float: right;
    text-align: right;
    margin-top: 0;
}

blockquote {
    border: 1px solid #ccc;
    margin: 0;
    background: #fff;
    padding: 4px;
}

blockquote cite {
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    font-style: normal;
    display: block;
    margin: 4px 0;
}

blockquote cite span {
    float: right;
    font-weight: normal;
}

blockquote cite span.highlight {
    float: none;
    font-weight: bold;
    padding-bottom: 0;
}

.codeblock {
    background: #fff;
    border: 1px solid #ccc;
    padding: 4px;
}

.codeblock .title {
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    margin: 4px 0;
}

.codeblock code {
    overflow: auto;
    height: auto;
    max-height: 200px;
    display: block;
    font-family: Monaco, Consolas, Courier, monospace;
    font-size: 13px;
}

.subforumicon {
    border: 0;
    vertical-align: middle;
}

.separator {
    margin: 5px;
    padding: 0;
    height: 0px;
    font-size: 1px;
    list-style-type: none;
}

form {
    margin: 0;
    padding: 0;
}

.popup_menu .popup_item_container {
    margin: 1px;
    text-align: left;
}

.popup_menu .popup_item {
    display: block;
    padding: 3px;
    text-decoration: none;
    white-space: nowrap;
}

.popup_menu a.popup_item:hover {
    text-decoration: none;
}

.autocomplete {
    text-align: left;
}

.subject_new {
    font-weight: bold;
}

.highlight {
    background: #FFFFCC;
    padding-top: 3px;
    padding-bottom: 3px;
}

.pm_alert {
    background: #FFF6BF;
    border: 1px solid #FFD324;
    text-align: center;
    padding: 5px 20px;
    margin-bottom: 15px;
    font-size: 11px;
}

.red_alert {
    background: #FBE3E4;
    border: 1px solid #A5161A;
    color: #A5161A;
    text-align: center;
    padding: 5px 20px;
    margin-bottom: 15px;
    font-size: 11px;
}

.high_warning {
    color: #CC0000;
}

.moderate_warning {
    color: #F3611B;
}

.low_warning {
    color: #AE5700;
}

div.error {
    padding: 5px 10px;
    border-top: 2px solid #FFD324;
    border-bottom: 2px solid #FFD324;
    background: #FFF6BF;
    font-size: 12px;
}

div.error p {
    margin: 0;
    color: #000;
    font-weight: normal;
}

div.error p em {
    font-style: normal;
    font-weight: bold;
    padding-left: 24px;
    display: block;
    color: #C00;
    background: url(images/error.gif) no-repeat 0;
}

div.error ul {
    margin-left: 24px;
}

.online {
    color: #15A018;
}

.offline {
    color: #C7C7C7;
}

.pagination {
    padding-top: 15px;
    margin-bottom: 15px;
    
    font-size: 12px;
}

.pagination .pages {
    padding: 8px;
    
    font-weight: bold;
}

.pagination .pagination_current, .pagination a {
    background: #fff;
    padding: 6px 10px;
    margin-bottom: 5px;
    text-shadow: 0 -1px 0 #fff;
}

.pagination .pagination_current:hover, .pagination a:hover {
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.pagination a {
    border: 1px solid #c4c4c4;
    border-radius: 3px 3px 3px 3px;
}

.pagination .pagination_current {
    background: url(images/algid/top_bg.png) repeat-x;
    color: #fff;
    border-radius: 3px 3px 3px 3px;
    border: solid 1px #206399;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.pagination a:hover {
    background: url(images/algid/top_bg.png) repeat-x;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    
    text-decoration: none;
}

.tfoot .pagination, .tcat .pagination {
    padding-top: 0;
}

.thread_legend, .thread_legend dd {
    margin: 0;
    padding: 0;
}

.thread_legend dd {
    padding-bottom: 4px;
    margin-right: 15px;
}

.thread_legend img {
    margin-right: 4px;
    vertical-align: bottom;
}

.forum_legend, .forum_legend dt, .forum_legend dd {
    margin: 0;
    padding: 0;
}

.forum_legend dd {
    float: left;
    margin-right: 10px;
}

.forum_legend dt {
    margin-right: 10px;
    float: left;
}

.success_message {
    color: #00b200;
    font-weight: bold;
    font-size: 10px;
    margin-bottom: 10px;
}

.error_message {
    color: #C00;
    font-weight: bold;
    font-size: 10px;
    margin-bottom: 10px;
}

.post_body {
    padding: 5px;
}

.post_content {
    padding: 5px 10px;
}

.quick_jump {
    background: url(images/jump.gif) no-repeat 0;
    width: 13px;
    height: 13px;
    padding-left: 13px; /* amount of padding needed for image to fully show */
    vertical-align: middle;
    border: none;
}

.repbox {
    font-size:16px;
    font-weight: bold;
    padding:5px 7px 5px 7px;
}

._neutral {
    background-color:#FAFAFA;
    color: #999999;
    border:1px solid #CCCCCC;
}

._minus {
    background-color: #FDD2D1;
    color: #CB0200;
    border:1px solid #980201;
}

._plus {
    background-color:#E8FCDC;
    color: #008800;
    border:1px solid #008800;
}

.pagination_breadcrumb {
    background-color: #f5f5f5;
    border: 1px solid #fff;
    outline: 1px solid #ccc;
    padding: 5px;
    margin-top: 5px;
    font-weight: normal;
    white-space: nowrap;
}

.pagination_breadcrumb_link {
    vertical-align: middle;
    cursor: pointer;
}

.icon {
    position:relative;
    float:left;
    margin-left:10px;
}

#lean_overlay {
    background: #000;
    width: 100%;
    position: absolute;
    z-index: 100;
    top: 0px;
    left: 0px;
    min-height: 1600px;
    display: none;
}

.modal_close {
    background: url(images/algid/login_iconclose.png) no-repeat;
    width: 12px;;
    display: block;
    height: 12px;
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
}

.tinfo {
    background: url(images/algid/top_bg.png) repeat-x;
    border-radius: 2px 2px 0px 0px;
    border: solid 1px #104160;
    height: 51px;
}

.search {
    float: right;
    padding:6px;
}

.search input {
    background: #222;
    width: 250px;
    color: #a1a1a1;
    border: solid 1px #10527c;
    padding: 10px;
    border-radius: 3px 3px 3px 3px;
    float:left;
}

.search button {
    background: #222 url(images/algid/search_bg.png) no-repeat;
    border: solid 1px #10527c;
    border-radius: 3px 3px 3px 3px;
    float: right;
    height:38px;
    width:38px;
}

.search button:hover {
    background: #2b2b2b url(images/algid/search_bg2.png) no-repeat;
    cursor:pointer;
}

.social {
    float: left;
    padding:5px;
}

.social img {
    background: #222;
    padding: 5px;
    margin: 2px;
    border-radius: 3px 3px 3px 3px;
    border: solid 1px #175f8e;
}

.social img:hover {
    background: #292929;
}

.stats_left {
    width: 40%;
    float: left;
}

.stats_right {
    width: 40%;
    text-align: right;
}
Wklej po prostu na koniec globala bo klasy się nie powtarzają.
po dokładnym zamienieniu headerów i dodanie css na koncu global cały nagłówek sie rozjechał

b2d.xaa.pl/forum macie demko jak to wygląda, prosiłbym jeszcze o szybką pomoc gdyż mam do robienia tez portal :F



Użytkownicy przeglądający ten wątek:

1 gości