Soldato
K. Any idea what the problem is? I could see if I can work out anything here.
/*
** OcUK colour scheme changer
** By Rob Miller
*/
* { color:#fff !important;}
textarea, input, body, .page, .thead, .tfoot, .alt2, .alt2Active, .panel { background:#222 !important; }
.alt1, .alt1Active, .panelsurround, .vbmenu_option { background:#333 !important; }
.vbmenu_control, .vbmenu_hilite, .tcat { background-color: #444 !important; }
.vbmenu_popup { border: 1px solid #ccc !important; }
/*
* The images and icons follow. Modify the URL of each one if you wish to host it yourself.
*/
img[src$="vBulletin_logo7.gif"] { background: url('http://ceefourbee.co.uk/ocuk-buttons/header.png'); width: 0; height: 0; overflow: hidden; padding: 84px 0 0 240px;}
img[src$="rating_1.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/rating_1.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 12px 0 0 60px;}
img[src$="rating_2.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/rating_2.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 12px 0 0 60px;}
img[src$="rating_3.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/rating_3.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 12px 0 0 60px;}
img[src$="rating_4.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/rating_4.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 12px 0 0 60px;}
img[src$="rating_5.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/rating_5.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 12px 0 0 60px;}
img[src$="forum_new.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/new-posts.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="forum_old.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/old-posts.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="forum_old_lock.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/old-posts-locked.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="user_offline.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/user-offline.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="user_online.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/user-online.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="multipage.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/multipage.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="sticky.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/sticky.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="lastpost.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/last-post.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="firstnew.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapsed.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="menu_open.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapsed.png') no-repeat bottom; width: 0; height: 0; overflow: hidden; padding-left: 16px; margin-top: 3px; padding-top: 16px;}
img[src$="collapse_thead_collapsed.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapsed.png') no-repeat; width: 0; height: 0; overflow: hidden; padding-left: 16px;padding-top: 16px;}
img[src$="collapse_tcat_collapsed.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapsed.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="collapse_thead.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapse.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="collapse_tcat.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapse.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="edit.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/edit-post.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 67px;}
img[src$="quote.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/quote-post.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 67px;}
img[src$="trust.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/users-trust.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 67px;}
img[src$="reply.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/reply-to-post.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 19px 0 0 99px;}
img[src$="newthread.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/start-new-thread.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 19px 0 0 99px;}
Applying the Stylesheets
- Create a your CSS file with the changes you want to apply to the site. Save it somewhere on your computer and name it with the title of the site and a .css extension. You'll probably want to create a special folder on your hard drive for all your user stylesheets.
- Go to the site you're applying the style to in Opera
- Right click on the page or press F12 and choose "Edit Site Preferences"
- Go to the "display" tab
- From the "My style sheet" box, use the "choose" button to browse you hard drive and find the file you just created.
- Press "ok". Your changes should appear immediately
@-moz-document domain(forums.overclockers.co.uk) {
/*
** OcUK colour scheme changer
** By Rob Miller
*/
* { color:#fff !important;}
textarea, input, body, .page, .thead, .tfoot, .alt2, .alt2Active, .panel { background:#222 !important; }
.alt1, .alt1Active, .panelsurround, .vbmenu_option { background:#333 !important; }
.vbmenu_control, .vbmenu_hilite, .tcat { background-color: #444 !important; }
.vbmenu_popup { border: 1px solid #ccc !important; }
/*
* The images and icons follow. Modify the URL of each one if you wish to host it yourself.
*/
img[src$="vBulletin_logo7.gif"] { background: url('http://ceefourbee.co.uk/ocuk-buttons/header.png'); width: 0; height: 0; overflow: hidden; padding: 84px 0 0 240px;}
img[src$="im_msn.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/msn.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 17px 0 0 17px;}
img[src$="thread_lock_new.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/new-thread-locked.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="thread_hot_lock.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/hot-thread-locked.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="thread_dot_hot.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/hot-dot-thread.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="thread_new.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/thread-new.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="thread.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/thread.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="thread_lock.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/thread-locked.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="thread_hot.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/hot-thread.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="thread_dot.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/thread-dot.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="rating_1.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/rating_1.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 12px 0 0 60px;}
img[src$="rating_2.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/rating_2.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 12px 0 0 60px;}
img[src$="rating_3.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/rating_3.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 12px 0 0 60px;}
img[src$="rating_4.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/rating_4.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 12px 0 0 60px;}
img[src$="rating_5.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/rating_5.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 12px 0 0 60px;}
img[src$="forum_new.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/new-posts.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="forum_old.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/old-posts.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="forum_old_lock.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/old-posts-locked.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="user_offline.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/user-offline.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="user_online.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/user-online.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="multipage.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/multipage.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="sticky.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/sticky.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="lastpost.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/last-post.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="firstnew.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapsed.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="menu_open.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapsed.png') no-repeat bottom; width: 0; height: 0; overflow: hidden; padding-left: 16px; margin-top: 3px; padding-top: 16px;}
img[src$="sortasc.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapsed.png') no-repeat bottom; width: 0; height: 0; overflow: hidden; padding-left: 16px; padding-top: 16px;}
img[src$="sortdesc.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapse.png') no-repeat; width: 0; height: 0; overflow: hidden; padding-left: 16px;padding-top: 16px;}
img[src$="collapse_thead_collapsed.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapsed.png') no-repeat; width: 0; height: 0; overflow: hidden; padding-left: 16px;padding-top: 16px;}
img[src$="collapse_tcat_collapsed.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapsed.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="collapse_thead.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapse.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="collapse_tcat.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/collapse.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
img[src$="edit.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/edit-post.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 67px;}
img[src$="quote.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/quote-post.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 67px;}
img[src$="trust.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/users-trust.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 67px;}
img[src$="reply.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/reply-to-post.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 19px 0 0 99px;}
img[src$="newthread.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/start-new-thread.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 19px 0 0 99px;}
}
img[src$="vBulletin_logo7.gif"] { background: url('http://[B]yourdoman.tld[/B]/ocuk-buttons/header.png'); width: 0; height: 0; overflow: hidden; padding: 84px 0 0 240px;}
img[src$="im_msn.gif"]{background: url('http://[B]yourdoman.tld[/B]/ocuk-buttons/msn.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 17px 0 0 17px;}
img[src$="thread_lock_new.gif"]{background: url('http://[B]yourdoman.tld[/B]/ocuk-buttons/new-thread-locked.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 16px;}
I haven't changed them since last night.MarcLister said:The buttons seem to be cached OK now. Did you update the buttons in your last post?
img[src$="threadclosed.gif"]{background: url('http://ceefourbee.co.uk/ocuk-buttons/thread-closed.png') no-repeat; width: 0; height: 0; overflow: hidden; padding: 19px 0 0 99px;}
Yeah. It's handy for little icons and the like as it can potentially save a load of extra HTTP requests for only a marginal increase in CSS filesize.Mr_L said:I've not seen base64 before, it looks very interesting.
img[src$="quote.gif"]{background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAAQAgMAAAAwviq5AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAMUExURQAAAP/+/hUVFTMzM1NMD7kAAAAEdFJOU////wBAKqn0AAAAeElEQVQYlWP4jwb+MFBN5B93tx53wwb9H9wP9jEd2A8U+REk4BEkyur/MeioToioPVDkI4uAI0tLiz6IZmrZDxM5chSoRsAj+Mh/uMgR/Y/cAh4sYJEfQP1BIDX2rYpBYJF/LA/2cT96oP9j/4Md3I/A7nlEDV8AALVI1raprzKCAAAAAElFTkSuQmCC') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 67px;}
img[src$="images/buttons/quote.gif"]{background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAAQAgMAAAAwviq5AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAMUExURQAAAP/+/hUVFTMzM1NMD7kAAAAEdFJOU////wBAKqn0AAAAeElEQVQYlWP4jwb+MFBN5B93tx53wwb9H9wP9jEd2A8U+REk4BEkyur/MeioToioPVDkI4uAI0tLiz6IZmrZDxM5chSoRsAj+Mh/uMgR/Y/cAh4sYJEfQP1BIDX2rYpBYJF/LA/2cT96oP9j/4Md3I/A7nlEDV8AALVI1raprzKCAAAAAElFTkSuQmCC') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 67px;}
.vbmenu_popup { border: 1px solid #ccc !important; }
.bigusername { font-weight: bold !important; }
img[src$="buttons/quote.gif"]{background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAAQAgMAAAAwviq5AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAMUExURQAAAP/+/hUVFTMzM1NMD7kAAAAEdFJOU////wBAKqn0AAAAeElEQVQYlWP4jwb+MFBN5B93tx53wwb9H9wP9jEd2A8U+REk4BEkyur/MeioToioPVDkI4uAI0tLiz6IZmrZDxM5chSoRsAj+Mh/uMgR/Y/cAh4sYJEfQP1BIDX2rYpBYJF/LA/2cT96oP9j/4Md3I/A7nlEDV8AALVI1raprzKCAAAAAElFTkSuQmCC') no-repeat; width: 0; height: 0; overflow: hidden; padding: 16px 0 0 67px;}
* { color:#fff !important;}
* { color:#[B]RRGGBB[/B] !important;}
<snip>