Different color themes for the board?

Post here if you have problems or suggestions. We will post announcements here.

Moderators: mpallett, bakerjw

Post Reply
User avatar
CMOS
Silent Operator
Posts: 88
Joined: Wed Apr 21, 2010 10:14 pm

Different color themes for the board?

Post by CMOS »

Is there a way to a user to change the color theme of the board? I find that the black text on grey-silver background is relatively hard to read. Likewise, white text on a grey-silver background isn't that easy either. I'd really like to be able to change the color scheme to a higher contrast.
Chris Bar
Silent Operator
Posts: 99
Joined: Wed Mar 24, 2010 4:12 pm
Location: Tennessee

Re: Different color themes for the board?

Post by Chris Bar »

OK, why no answer for the above question? Was looking for a way to change from a yellow highlight over white when I found this post with almost the same problem. Even changing from Windows colors to my own colors does not work either.
User avatar
doubloon
Silent But Deadly
Posts: 11897
Joined: Wed Dec 31, 2008 11:02 pm
Location: Houston-ish

Re: Different color themes for the board?

Post by doubloon »

Yes Virginia there is a GreaseMonkey

http://en.wikipedia.org/wiki/Greasemonkey

Looks like this with the script below applied
http://i.imgur.com/TvoQGwM.jpg

Code: Select all

// ==UserScript==
// @name           SilencerTalkLayout
// @description    override fugly CSS
// @include        http://www.silencertalk.com/*
// @include        http://silencertalk.com/*
// ==/UserScript==

GM_addGlobalStyle=function(css) { // Redefine GM_addGlobalStyle with a better routine
  var sel=document.createElement('style'); sel.setAttribute('type','text/css'); sel.appendChild(document.createTextNode(css));
  var hel=document.documentElement.firstChild; while(hel && hel.nodeName!='HEAD') { hel=hel.nextSibling; }
if(hel && hel.nodeName=='HEAD') { hel.appendChild(sel); } else { document.body.insertBefore(sel,document.body.firstChild); }
return sel;
}

stLinkBlank=function() {
  var stPostLink = document.getElementsByClassName('postlink');
  for (var i = 0; stPostLink[i]; i++)
  {
      stPostLink[i].target = '_blank';
  }
};

//*** Add css
GM_addGlobalStyle(''

+'html { font-size: 100%; }'

+' body { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; color: #000000; background-color: #fcfcfc; background-image: none ; font-size: 65%; margin: 0; }'

+' th { color: #ff4500; font-size: 1.1em; font-weight: bold; background-color: #a5a5a5; background-image: none; white-space: nowrap; padding: 7px 5px; }'

+' .cat { height: 28px; margin: 0; padding: 0; border: 0; background-color: #c5c5c5; background-image: none; text-indent: 4px; }'

+' .catdiv { height: 28px; margin: 0; padding: 0; border: 0; background: #c5c5c5 repeat-y scroll top left; }'

+' .rtl .catdiv { background: white repeat-y scroll top right; }'

+' .row1 { background-color: #f5f5f5; background-image: none ; padding: 4px; }'

+' .row2 { background-color: #f5f5f5; background-image: none ; padding: 4px; }'

+' .row3 { background-color: #f5f5f5; background-image: none ; padding: 4px; }'

+' .postbody { font-size: 1.3em; line-height: 1.4em; font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; color: #000000; }'

+' .postauthor { color: #ffd700; font-size: 1.5em; }'

+' .postlink:link { color: blue; }'

+' .postlink:hover { color: blue; font-weight: bold; }'

+' .quotetitle, .attachtitle { margin: 10px 5px 0 5px; padding: 4px; border-width: 1px 1px 0 1px; border-style: solid; border-color: #3f3f3f; color: #333333; background-color: #c5c5c5; font-size: 0.85em; font-weight: bold; }'

+' .quotecontent, .attachcontent { margin: 0 5px 10px 5px; padding: 5px; border-color: #3f3f3f; border-width: 0 1px 1px 1px; border-style: solid; font-weight: normal; font-size: 1em; line-height: 1.4em; font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; background-color: #e5e5e5; color: #444444; }'

+' textarea { background-color: #f5f5f5; color: #000000; font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; font-size: 1.3em; line-height: 1.4em; font-weight: normal; border: 1px solid #3f3f3f; padding: 2px; }'

+' .postauthor { color: #880000; }'

);

stLinkBlank ();
Last edited by doubloon on Sat May 21, 2016 3:46 pm, edited 1 time in total.
http://www.youtube.com/watch?v=BDtd2jNIwAU MUSAFAR!
http://www.youtube.com/watch?v=8CrOL-ydFMI This is Water DavidW
Complete Form 1s http://www.silencertalk.com/forum/viewtopic.php?f=10&t=79895
Chris Bar
Silent Operator
Posts: 99
Joined: Wed Mar 24, 2010 4:12 pm
Location: Tennessee

Re: Different color themes for the board?

Post by Chris Bar »

Thank you! At least a solution. Will need to add Firefox, but that is a can do. Was never involved in any kind of machine language or code design, so I feel stupid now, but think I can handle the above.
Again thanks.
Chris
User avatar
doubloon
Silent But Deadly
Posts: 11897
Joined: Wed Dec 31, 2008 11:02 pm
Location: Houston-ish

Re: Different color themes for the board?

Post by doubloon »

The code should be a cut and paste into the GreaseMonkey script setup.

With the code already handy I put the difficulty for configuring GreaseMonkey at about the same level as programming a VCR ... a device that is a cross between a toaster and a paper shredder used for delayed viewing of TV programs you didn't want to watch after you've already missed the program you wanted to watch.
http://www.youtube.com/watch?v=BDtd2jNIwAU MUSAFAR!
http://www.youtube.com/watch?v=8CrOL-ydFMI This is Water DavidW
Complete Form 1s http://www.silencertalk.com/forum/viewtopic.php?f=10&t=79895
User avatar
JJinParadise
Silent Operator
Posts: 61
Joined: Sat Mar 15, 2014 8:40 am
Location: NOVA

Re: Different color themes for the board?

Post by JJinParadise »

doubloon wrote:The code should be a cut and paste into the GreaseMonkey script setup.

Thanks, Works very well..
Go raibh tú leathuair ar Neamh sula mbeadh a fhios ag an diabhal go bhfuil tú marbh

"May you be a half hour in heaven before the devil knows you’re dead"
Post Reply