RI blue theme

Moderators: Elvis, DrVolin, Jeff

RI blue theme

Postby monster » Sat Jan 31, 2009 2:16 am

So, I just discovered that firefox lets you create your own styles for specific websites. You control this through the userContent.css file.

userContent.css is located the "chrome" folder in your Firefox profile. To find it, look somewhere like
C:\Documents and Settings\<user>\Application Data\Mozilla\Firefox\Profiles\<string of numbers>\chrome


(You may need to rename it from userContent-example.css because that's its default name.)

Blue theme preview:

Image

To give the RI forum a blue theme, copy this code into your userContent.css file:

Code: Select all
@-moz-document url-prefix(http://www.rigorousintuition.ca/board/) {
       
   /*
     The original webmasterbucket Theme for phpBB version 2+
     Created by subBlue design
     http://www.subBlue.com
   */


    /* General page style. The scroll bar colours only visible in IE5.5+ */
   body {
      background-color: #001630 !important;
      background-image: url(http://www.rigorousintuition.ca/board/templates/webmasterbucket/images/background.jpg) !important;
   }
   
   /* Added by me */
   table[background='templates/webmasterbucket/images/cellpic3.gif'] {
      background-image: url(http://img145.imageshack.us/img145/2081/cellpic3lw6.jpg) !important;
   }

   /* General font families for common tags */
   font,th,td,p {
      font-family: Verdana, Arial, Helvetica, sans-serif !important;
      color: #453B5E !important;
   }
   a:link,a:active,a:visited { color : #003366 !important; }
   a:hover      { text-decoration: underline !important; color : #0066CC !important; }
   hr   { height: 0px !important; border: solid #D1D7DC 0px !important; border-top-width: 0px !important;}


   /* This is the border line & background colour round the entire page */
   .bodyline   { border: 0px #98AAB1 solid !important; }

   /* This is the outline round the main forum tables */
   .forumline   { background-color: #FFFFFF !important; border: 0px #006699 solid !important; }


   /* Main table cell colours and backgrounds */
   td.row1   {
      background-color: #EEF3F6 !important;
   }
   td.row2   { background-color: #EEF3F6 !important; }
   td.row3   { background-color: #EEF3F6 !important; }


   /*
     This is for the table cell above the Topics, Post & Last posts on the index.php page
     By default this is the fading out gradiated silver background.
     However, you could replace this with a bitmap specific for each forum
   */
   td.rowpic {
         background-color: #003366 !important;
         /*background-image: url(images/cellpic2.jpg) !important;*/
         background-image: url(http://img220.imageshack.us/img220/6062/cellpic1th3.jpg) !important;
         background-repeat: repeat-x !important;
   }

   /* Header cells - the blue and silver gradient backgrounds */
   th   {
      color: #003366 !important; font-size: 12px !important; font-weight : bold !important;
      background-color: #006699 !important; height: 25px !important;
      /*background-image: url(images/cellpic3.gif) !important;*/
      background-image: url(http://img145.imageshack.us/img145/2081/cellpic3lw6.jpg) !important;
   }

   td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
            /*background-image: url(images/cellpic1.gif) !important;*/
            background-image: url(http://img220.imageshack.us/img220/6062/cellpic1th3.jpg) !important;
            background-color:#F4F7FD !important; border-style: none !important; height: 28px !important;
   }


   /*
     Setting additional nice inner borders for the main table cells.
     The names indicate which sides the border will be on.
     Don't worry if you don't understand this, just ignore it :-)
   */
   td.cat,td.catHead,td.catBottom {
      height: 29px !important;
      border-width: 0px 0px 0px 0px !important;
   }
   th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
      font-weight: bold !important; border: #FFFFFF !important; border-style: none !important; height: 28px !important; }
   td.row3Right,td.spaceRow {
      background-color: #EEF3F6 !important; border: #000000 !important; border-style: solid !important; }

   th.thHead,td.catHead { font-size: 12px !important; border-width: 0px 0px 0px 1px !important; }
   th.thSides,td.catSides,td.spaceRow    { border-width: 0px 0px 0px 0px !important; }
   th.thRight,td.catRight,td.row3Right    { border-width: 0px 0px 0px 0px !important; }
   th.thLeft,td.catLeft     { border-width: 0px 0px 0px 1px !important; }
   th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px !important; }
   th.thTop    { border-width: 0px 0px 0px 0px !important; }
   th.thCornerL { border-width: 1px 0px 0px 1px !important; }
   th.thCornerR { border-width: 1px 1px 0px 0px !important; }


   /* The largest text used in the index page title and toptic title etc. */
   .maintitle,h1,h2   {
            font-weight: bold !important; font-size: 22px !important; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif !important;
            text-decoration: none !important; line-height : 120% !important; color : #003366 !important;
   }


   /* General text */
   .gen { font-size : 12px !important; }
   .genmed { font-size : 11px !important; }
   .gensmall { font-size : 10px !important; }
   .gen,.genmed,.gensmall { color : #003366 !important; }
   a.gen,a.genmed,a.gensmall { color: #003366 !important; text-decoration: none !important; }
   a.gen:hover,a.genmed:hover,a.gensmall:hover   { color: #003366 !important; text-decoration: underline !important; }


   /* The register, login, search etc links at the top of the page */
   .mainmenu      { font-size : 12px !important; color : #003366}
   a.mainmenu      { text-decoration: none !important; color : #003366 !important;  }
   a.mainmenu:hover{ text-decoration: underline !important; color : #F0F7FF !important; }


   /* Forum category titles */
   .cattitle      {
      font-weight: bold !important;
      font-size: 14px !important;
      letter-spacing: 1px !important;
      color : #000000 !important;
      font-family: Arial !important;
   }
   a.cattitle      { text-decoration: none !important; color : #003366 !important; }
   a.cattitle:hover{ text-decoration: underline !important; }


   /* Forum title: Text and link to the forums used in: index.php */
   .forumlink      { font-weight: bold !important; font-size: 14px !important; color : #003366 !important; }
   a.forumlink    { text-decoration: none !important; color : #003366 !important; }
   a.forumlink:hover{ text-decoration: underline !important; color : #0066CC !important; }


   /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
   .nav         { font-weight: bold !important; font-size: 11px !important; color : #000000 !important;}
   a.nav         { text-decoration: none !important; color : #003366 !important; }
   a.nav:hover      { text-decoration: underline !important; }


   /* titles for the topics: could specify viewed link colour too */
   .topictitle         { font-weight: bold !important; font-size: 11px !important; color : #000000 !important; }
   a.topictitle:link   { text-decoration: none !important; color : #003366 !important; }
   a.topictitle:visited { text-decoration: none !important; color : #003366 !important; }
   a.topictitle:hover   { text-decoration: underline !important; color : #0066CC !important; }


   /* Name of poster in viewmsg.php and viewtopic.php and other places */
   .name         { font-size : 11px !important; color : #003366 !important;}

   /* Location, number of posts, post date etc */
   .postdetails      { font-size : 10px !important; color : #003366 !important; }


   /* The content of the posts (body of text) */
   .postbody { font-size : 12px !important;}
   .postbody a { text-decoration: none !important; color : #0000FF !important;}
   a.postlink:link   { text-decoration: none !important; color : #0000FF !important;}
   a.postlink:visited { text-decoration: none !important; color : #0000FF !important; }
   a.postlink:hover { text-decoration: underline !important; color : #0000FF !important;}


   /* Quote & Code blocks */
   .code {
      font-family: Courier, 'Courier New', sans-serif !important; font-size: 11px !important; color: #80AA00 !important;
      background-color: #003366 !important; border: 1px solid #CBE4FA}

   .quote {
      font-family: Verdana, Arial, Helvetica, sans-serif !important; font-size: 11px !important; color: #4655AF !important; line-height: 125% !important;
      background-color: #FFFFFF !important; border: #D1D7DC !important; border-style: solid !important;
      border-left-width: 1px !important; border-top-width: 1px !important; border-right-width: 1px !important; border-bottom-width: 1px
   }


   /* Copyright and bottom info */
   .copyright      { font-size: 10px !important; font-family: Verdana, Arial, Helvetica, sans-serif !important; color: #003366 !important; letter-spacing: -1px !important;}
   a.copyright      { color: #003366 !important; text-decoration: none !important;}
   a.copyright:hover { color: #0066CC !important; text-decoration: underline !important;}


   /* Form elements */
   input,textarea, select {
      color : #000000 !important;
      font: normal 11px Verdana, Arial, Helvetica, sans-serif !important;
      border-color : #000000 !important;
   }

   /* The text input fields background colour */
   input.post, textarea.post, select {
      background-color : #003366 !important;
   }

   input { text-indent : 2px !important; }

   /* The buttons used for bbCode styling in message post */
   input.button {
      background-color : #EFEFEF !important;
      color : #000000 !important;
      font-size: 11px !important; font-family: Verdana, Arial, Helvetica, sans-serif !important;
   }

   /* The main submit button option */
   input.mainoption {
      background-color : #EEF3F6 !important;
      font-weight : bold !important;
   }

   /* None-bold submit button */
   input.liteoption {
      background-color : #EEF3F6 !important;
      font-weight : normal !important;
   }

   /* This is the line in the posting page which shows the rollover
     help line. This is actually a text box, but if set to be the same
     colour as the background no one will know  !important;)
   */
   .helpline { background-color: #DEE3E7 !important; border-style: none !important; }


   /* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
   @import url("formIE.css") !important;
       
}



And obviously, the fun part is not just using my theme but making your own (please post it if you do!)

(And to pimp RI out even further, see my Greasemonkey script to embed videos, add avatars, etc.)

Note: make sure you are on http://www.rigorousintuition.ca instead of http://rigorousintuition.ca - include the "www".
"I’ve just completed Mike’s Nature trick of adding in the real temps to each series for the last 20 years (ie from 1981 onwards) amd from 1961 for Keith’s to hide the decline."
User avatar
monster
 
Posts: 1712
Joined: Thu Aug 11, 2005 4:55 pm
Location: Everywhere
Blog: View Blog (0)

Return to The Lounge & Member News

Who is online

Users browsing this forum: No registered users and 6 guests