Rather than have my posts in the ‘forum upgrade’ thread turn into a massive threadjack.
For many of us the new forum skin is… well… problematic at best, a disaster at worst. Many of us saw this coming with the announcement of upgrading to vBull 4, and it would be a shame to see such a healthy community flushed just because the people who wrote the default skin for vBulletin have zero business writing HTML, CSS or Javascript.
So… since they’re busy trying to just get the new forum stabilized what can we as users do? As a Opera user, my answer is quite simple. Disable javascript and use user.css to correct all the layout problems.
What layout problems you ask? Fixed width that’s uselessly small on my desktop, uselessly large on my netbook, and isn’t even useful ‘half-width’ at 1920? PX metric fonts that are useless for large font/120dpi users? Changing the zoom or width breaking multiple elements site-wide?
Here’s the user.css I’ve come up with for Opera. Only really tested at large fonts/120 dpi but there’s no reason it shouldn’t work well at normal font size since again, it’s all done with %/em.
* {
font-size:100% !important;
line-height:140% !important;
font-family:arial,helvetica,sans-serif !important;
}
code,
pre,
pre span {
font:90%/130% "lucida console","courier new",monospace !important;
}
body {
font-size:85% !important;
line-height:140% !important; /* always restate */
}
html,
body,
#vbulletin_html {
width:100% !important;
padding:0 !important;
margin:0 !important;
}
.pagination span,
.pagination a {
top:0 !important;
vertical-align:top !important;
}
.pagination img {
top:0 !important;
vertical-align:middle !important;
}
#globalsearch {
width:auto !important;
padding-top:0.2em !important;
}
#globalsearch * {
float:none !important;
display:inline !important;
margin:0 2px !important;
vertical-align:middle !important;
}
#globalsearch span {
padding:0 !important;
margin:0 !important;
}
#globalsearch form {
right:0 !important;
}
#navtabs,
#navtabs * {
height:auto !important;
}
#navtabs a {
top:0 !important;
padding:0.25em 0.5em !important;
}
#navtabs a.popupctrl {
padding-right:16px !important;
}
#nrreview li.postbit:nth-child(2n+1),
#threads li.threadbit:nth-child(2n+1) {
background:#F4F8FF !important;
}
#nrreview li {
padding:0 0.5em 0.5em !important;
margin:0 !important;
}
#nrreview .header {
padding:0.5em 0 !important;
font-weight:bold;
}
.posthead {
padding:0.25em 0 !important;
}
.postrow {
padding:0.5em !important;
}
.userinfo {
width:184px !important;
padding:0.5em 0 !important;
margin-left:8px !important;
}
.username_container {
padding-bottom:0 !important;
}
.usertitle,
.rank {
padding-bottom:0.5em !important;
}
.username span {
word-wrap:break-word !important;
padding-left:16px !important; /* fixes centering */
}
.userinfo_extra * {
float:none !important;
display:block !important;
text-align:center !important;
line-height:120% !important;
word-wrap:break-word !important;
color:#444 !important;
}
.userinfo_extra dt {
font-weight:bold;
padding-top:0.5em !important;
}
.userinfo_extra dt:after {
display:none !important;
}
.blockrow {
background:none !important;
}
.section {
box-shadow:inset 0 0 32px #E0E8F0;
}
.section,
.blockbody {
border-radius:0 0 12px 12px;
}
h3.blockhead {
border-radius:12px 12px 0 0 !important;
}
.body_wrapper {
margin:0 0.5em !important;
}
.popupbody {
top:1.5em !important;
border-radius:0 0.5em 0.5em 0.5em !important;
box-shadow:2px 2px 2px #999;
}
li.popupmenu:hover a.popupctrl {
color:#000 !important;
background-color:#E8E8E8 !important;
border-radius:0.5em 0.5em 0 0 !important;
text-shadow:1px 1px 1px #FFF;
}
.popuphover a,
.popupbody a {
border-radius:0.5em !important;
}
#threads h3 a {
font-weight:normal !important;
color:#678 !important;
}
#threads .new h3 a {
font-weight:bold !important;
color:#58B !important;
}
It not only fixes all those issues mentioned above, I also took the time to pretty things up a bit with some CSS3 and redoing most of the paddings/margins… it even adds alternating line color highlighting on major lists, and puts back in the support for post you’ve already read to not be bold.
For those of you not familiar with user.css and Opera – save the above to a file called “sitepoint.css” (name really doesn’t matter, I like to name them what they are), right click anywhere on these forums there’s no content and choose “site preferences”. Under the scripting tab, turn javascript off for a WONDERFUL speed boost – then under the “display” tab point “my stylesheet” at the file you saved the above CSS as. Refresh and poof, you get the modified layout.
The above code may or may not work in other browsers with user.css support. (you might want to add the -moz and -webkit prefixes to the CSS3 while at it)…