2012-12-22, 07:57 PM
Problem with: PostBit username
Problem: I am trying to resize the post bit username, yet no matter what class I set it too, it wont resize. I've tried remaking the code, talking to another coder more fluent with mybb, but nothing. It'd be awesome if i could get some help with this one
http://dev.of-ruin.com/showthread.php?tid=14 (The PostBit)
The PostBit:
Themes:
Problem: I am trying to resize the post bit username, yet no matter what class I set it too, it wont resize. I've tried remaking the code, talking to another coder more fluent with mybb, but nothing. It'd be awesome if i could get some help with this one
http://dev.of-ruin.com/showthread.php?tid=14 (The PostBit)
The PostBit:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tr>
<td class="{$altbg}" width="100%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<strong><span class="majortitle"><div class="majortitle">{$post['profilelink']}</div></span></strong>
<span class="smalltext">
{$post['usertitle']}<br />
{$post['groupimage']}
{$post['useravatar']}<br>
{$post['user_details']}<!-- ProfileFields -->{$post['profilefields']}<!-- /ProfileFields -->
</span>
</td>
<td class="{$altbg}" valign="top">
<table width="100%">
<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
<br />
<div id="pid_{$post['pid']}" class="post_body">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
{$post['iplogged']}
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
<td class="{$altbg}" style="vertical-align: middle;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
<td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
</tr>
</table>
</td>
</tr>
</table>
Themes:
body {
background: #444 url(http://i47.tinypic.com/300s3dt.png) repeat top;
color: #aa88bb;
font-family: Verdana, Arial, Sans-Serif;
font-size: 10px;
text-align: center; /* IE 5 fix */
line-height: 1.4;
}
a:link {
color: #345945;
text-decoration: none;
font-size: 12px;
}
a:visited {
color: #345945;
text-decoration: none;
font-size: 12px;
}
a:hover, a:active {
color: #14231b;
text-decoration: none;
font-size: 12px;
}
#container {
background: #272928;
color: #000000;
border: 0px solid #000;
margin: 0px;
}
#content {
/* FIX: Make internet explorer wrap correctly */
width: auto !important;
}
.menu ul {
color: #000000;
font-weight: bold;
text-align: right;
padding: 0px;
}
.menu ul a:link {
color: #000000;
text-transform: Capitalize;
}
.menu ul a:visited {
color: #000000;
text-transform: Capitalize;
}
.menu ul a:hover, .menu ul a:active {
color: #4874a3;
text-transform: Capitalize;
}
#panel {
background: #efefef;
color: #000000;
font-size: 11px;
border: 0px solid #D4D4D4;
padding: 8px;
}
#panel .remember_me input {
vertical-align: middle;
margin-top: -1px;
}
table {
color: #2e3931;
font-family: Verdana, Arial, Sans-Serif;
font-size: 10px;
}
.tborder {
background: #272928;
width: 100%;
border: 0px solid #0F5C8E;
}
.thead {
background: #575a59;
color: #7d8985;
font-size: 12px;
}
.thead a:link {
color: #7d8985;
text-transform: uppercase;
font-size: 12px;
}
.thead a:visited {
color: #7d8985;
text-transform: uppercase;
font-size: 12px;
}
.thead a:hover, .thead a:active {
color: #7d8985;
text-transform: uppercase;
font-size: 12px;
}
.tcat {
background: #b5b5a5;
color: #345945;
font-size: 9px;
}
.tcat a:link {
color: #345945;
text-transform: uppercase
}
.tcat a:visited {
color: #345945;
text-transform: uppercase
}
.tcat a:hover, .tcat a:active {
color: #14231b;
text-transform: uppercase
}
.trow1 {
background: #94a48d;
}
.trow2 {
background: #94a48d;
}
.trow_shaded {
background: #94a48d;
}
.trow_selected td {
background: #94a48d;
}
.trow_sep {
background: #575a59;
color: #7d8985;
font-size: 10px;
font-weight: none;
}
.tfoot {
background: #575a59;
color: #818584;
}
.tfoot a:link {
color: #818584;
text-transform: Capitalize;
}
.tfoot a:visited {
color: #818584;
text-transform: Capitalize;
}
.tfoot a:hover, .tfoot a:active {
color: #6e7170;
text-transform: Capitalize;
}
.bottommenu {
background: #efefef;
color: #000000;
border: 0px solid #4874a3;
padding: 10px;
}
.linkage {
color: #14231b;
text-decoration: none;
font-size: 13px;
}
.linkage a:link {
color: #345945;
text-transform: none;
font-size: 13px;
}
.linkage a:visited {
color: #345945;
text-transform: none;
font-size: 13px;
}
.linkage a:hover, a:active {
color: #14231b;
text-transform: none;
font-size: 13px;
}
.smalltext {
color: #14231b;
text-decoration: none;
font-size: 10px;
}
.smalltext a:link {
color: #345945;
text-transform: none;
font-size: 10px;
}
.smalltext a:visited {
color: #345945;
text-transform: none;
font-size: 10px;
}
.smalltext a:hover, a:active {
color: #14231b;
text-transform: none;
font-size: 10px;
}
.threadlable {
color: #14231b;
text-transform: capitalize;
font-size: 15px;
letter-spacing:5px;
}
.threadlable a:link {
color: #14231b;
text-transform: uppercase;
font-size: 20px;
}
.threadlable a:visited {
color: #14231b;
text-transform: uppercase;
font-size: 20px;
}
.threadlable a:hover, a:active {
color: #345945;
text-transform: uppercase;
font-size: 20px;
}
.minilable {
color: #45483e;
text-transform: uppercase;
font-size: 12px;
letter-spacing:1px;
}
.minilable a:link {
color: #45483e;
text-transform: uppercase;
font-size: 12px;
}
.minilable a:visited {
color: #45483e;
text-transform: uppercase;
font-size: 12px;
}
.minilable a:hover, a:active {
color: #14231b;
text-transform: uppercase;
font-size: 12px;
}
.largetext {
font-size: 16px;
font-weight: bold;
}
select {
background: #ffffff;
border: 1px solid #0f5c8e;
}
.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 {
color: green;
}
.reputation_neutral {
color: #444;
}
.reputation_negative {
color: red;
}
.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;
margin: 0;
}
.menu li {
display: inline;
padding-left: 0px;
}
.menu img {
padding-right: 5px;
vertical-align: top;
}
#panel .links {
margin: 0;
float: right;
}
.expcolimage {
float: right;
width: auto;
vertical-align: middle;
margin-top: 3px;
}
img.attachment {
border: 1px solid #E9E5D7;
padding: 2px;
}
#copyright {
font: 11px Verdana, Arial, Sans-Serif;
margin: 0;
padding: 10px 0 0 0;
}
#debug {
float: right;
text-align: right;
margin-top: 0;
}
input.textbox {
background: #9ead98;
color: #000000;
border: 1px solid #a9b6a3;
padding: 0px;
}
textarea {
background: #9ead98;
color: #161d1d;
border: 1px solid #a9b6a3;
padding: 0px;
font-family: Verdana, Arial, Sans-Serif;
font-size: 12px;
}
blockquote {
border: 1px solid #9ead98;
margin: 0;
background: #a9b6a3;
padding: 0px;
}
blockquote cite {
font-weight: none;
border-bottom: 1px solid #9ead98;
font-style: normal;
display: block;
margin: 0px 0;
}
blockquote cite span {
float: right;
font-weight: normal;
}
blockquote cite span.highlight {
float: none;
font-weight: bold;
padding-bottom: 0;
}
.codeblock {
background: #a9b6a3;
border: 1px solid #9ead98;
padding: 0px;
}
.codeblock .title {
border-bottom: 1px solid #9ead98 ;
font-weight: none;
margin: 0px 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: none;
}
.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: 0px;
}
.online {
color: #15A018;
}
.offline {
color: #C7C7C7;
}
.pagination {
font-size: 11px;
padding-top: 10px;
margin-bottom: 5px;
}
.tfoot .pagination, .tcat .pagination {
padding-top: 0;
}
.pagination .pages {
font-weight: bold;
}
.pagination .pagination_current, .pagination a {
padding: 2px 6px;
margin-bottom: 3px;
}
.pagination a {
border: 1px solid #81A2C4;
}
.pagination .pagination_current {
background: #F5F5F5;
border: 1px solid #81A2C4;
font-weight: bold;
color: #000;
}
.pagination a:hover {
background: #F5F5F5;
text-decoration: none;
}
.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;
}
.sidebarcontent {
background: #94a48d;
}
.sidebarcontent a:link {
color: #566855;
text-transform: capitalize;
font-size:10px;
}
.sidebarcontent a:visited {
color: #566855;
text-transform: capitalize;
font-size:10px;
}
.sidebarcontent a:hover {
color: #151c1a;
text-transform: capitalize;
font-size:10px;
}
.majortitle {
color:#394a4a; letter-spacing:2px; padding:2px; font-size:20px; font-family:"Times New Roman"; text-transform:capitalize; font-weight: normal; text-align:center; margin:1px 1px -3px 1px;border:0px; background:none;
}
.majortitle a:link, .majortitle a:visited, .majortitle a:active, {
color: #cbd8ba
}
.majortitle a:hover {
color: #cbd8ba; text-decoration:none;
}
.supertitle {
color:#cecebd; letter-spacing:4px; padding:2px; font-size:40px; font-family:Times; text-transform:capitalize; text-align:right; border:0px; background:none;
}
.supertitle a:link, .supertitle a:visited, .supertitle a:active, {
ccolor:#cecebd; letter-spacing:4px; padding:2px; font-size:40px; font-family:Times; text-transform:capitalize; text-align:right; border:0px; background:none;
}
.supertitle a:hover {
color:#cecebd; letter-spacing:4px; padding:2px; font-size:40px; font-family:Times; text-transform:capitalize; text-align:right; border:0px; background:none;
}
.anothertitle {
color:#394a4a; letter-spacing:4px; padding:2px; font-size:20px; font-family:"Times New Roman"; text-transform:uppercase; text-align:right; border:0px; background:none;
}
.title4 {
color:#394a4a; letter-spacing:4px; padding:2px; font-size:15px; font-family:"Times New Roman"; text-transform:uppercase; text-align:right; border:0px; background:none;
}
.mainimage {
max-width: 250px;
max-height: 300px;
border:3px solid #151c1a;
opacity:0.4;
filter:alpha(opacity=40);
-webkit-transition: opacity 1s ease-in-out;
-moz-transition: opacity 1s ease-in-out;
-o-transition: opacity 1s ease-in-out;
-ms-transition: opacity 1s ease-in-out;
transition: opacity 1s ease-in-out;
}
.mainimage:hover {
opacity:1
}
.ppicture {
max-width: 750px;
max-height: 300px;
border:0px solid #151c1a;
display: block;
margin-left: auto;
margin-right: auto;
opacity:0.4;
filter:alpha(opacity=40);
-webkit-transition: opacity 1s ease-in-out;
-moz-transition: opacity 1s ease-in-out;
-o-transition: opacity 1s ease-in-out;
-ms-transition: opacity 1s ease-in-out;
transition: opacity 1s ease-in-out;
}
.ppicture:hover {
opacity:1
}
.mediumtitle {
color:#566855; letter-spacing:4px; padding:2px; font-size:18px; font-family:"Times New Roman"; text-transform:capitalize; font-weight: normal; text-align:center; margin:1px 1px -3px 1px;border:0px; background:none;
}
.mediumtitle a:link {
color: #566855;
text-transform: capitalize;
}
.mediumtitle a:visited {
color: #566855;
text-transform: capitalize;
}
.mediumtitle a:hover {
color: #151c1a;
text-transform: capitalize;
}
HR {
width:100%;
background:#537565;
border: 0;
height:2px;
}
#navstrip, .navstrip { font-family:Times New Roman; font-weight: ; color:#345945; padding:0px 5 0px 5px; margin-top:2px; background: #b5b5a5;text-transform:capitalize; border:0px;text-decoration:none; font-size:12px; letter-spacing:2px;}
#navstrip img {display:none;}
.navstrip a:link {
color: #345945;
text-transform: capitalize;
}
.navstrip a:visited {
color: #345945;
text-transform: capitalize;
}
.navstrip a:hover {
color: #345945;
text-transform: capitalize;
}
.desc {font-size:9px; display:block;margin:0px; padding:2px; background: #94a48d;border:0px solid #151c1a; color:#14231b;}
.windowbg {font-size:9px; background: #94a48d;border:0px solid #151c1a; color:#566855;}
.tablefill { border:1px solid #151c1a;background: #94a48d; padding:6px; }
.subtitle {font-size:13px; display:block;margin:0px; padding:2px; background: #575a59; border:0px solid #151c1a; color:#7d8985;}
.titlemedium {font-family:tahoma; font-weight:; color:#eee; padding:0px 0px 0px 0px; margin:0px; background: #575a59;text-transform:capitalize; border:0px;text-decoration:none; font-size:10px;}
.fonttext {
color: #394a4a;
font-size: 30px;
text-transform: Uppercase;
letter-spacing: 2px;
font-weight: none
}
.thingers {
background: #b5b5a5;
color: #345945;
font-size: 15px;
width:25%;
}
.header3 {
background: #b5b5a5;
color: #345945;
font-size: 15px;
width:90%;
}
.header4 {
background: #b5b5a5;
color: #345945;
font-size: 15px;
width:90%;
text-align:center;
display: block;
margin-left: auto;
margin-right: auto
}
.header2 {
background: #575a59;
color: #7d8985;
font-size: 15px;
width:90%;
text-align:center;
}
.tab2 {
background: #cad2c6;
color: #345945;
font-size: 12px;
padding: 5px;
width:100px;
border-top: 4px solid #b0bcaa;
border-left: 4px solid #b0bcaa;
border-right: 4px solid #bdc7b8;
border-bottom: 4px solid #bdc7b8;
text-align:center;
padding: 5px;
}
.tab1 {
background: #87997f;
color: #345945;
font-size: 12px;
padding: 5px;
width:100px;
border-top: 3px solid #6e7f66;
border-left: 3px solid #6e7f66;
border-right: 3px solid #7a8e71;
border-bottom: 3px solid #7a8e71;
text-align:center;
padding: 5px;
}
.tableborder { background: #537565;border:0px solid #;padding:0px; margin:0px; -moz-border-radius:10px;}