User:TheStick/monobook.css

From Homestar Runner Wiki

< User:TheStick
Revision as of 21:59, 7 September 2007 by TheStick (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Mozilla / Firefox: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac)
  • Safari: press Cmd-Option-E
  • IE: hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Konqueror: simply click the Reload button, or press F5
  • Opera users may need to completely clear their cache in Tools→Preferences.
/* [[User:Techgeekmbg/monobook.css|Link to the template]] */

 /* change the logo */
 #p-logo a {
    background: url(http://www.hrwiki.org/images/c/c9/Homestarpedia.png) 1% 2% no-repeat !important;
 }


 /* Styling links to the Fanstuff Wiki */
 #bodyContent a[href ^="http://fanstuff.hrwiki.org"],
 #article a[href ^="http://fanstuff.hrwiki.org"]

 {

   background: url(http://fanstuff.hrwiki.org/favicon.ico) center left no-repeat !important;
   padding-left: 20px !important;
   padding-right: 0px !important;

 }

 /* blinking rollback link, to help with carelessness */ 
 #bodyContent a[href *="rollback"] {
    text-decoration: blink !important;
    color: #000 !important;
    background-color: #ccc !important;
    border: 1px dashed #000 !important;
 }


 .MainPageWhatsNewBox h3, .MainPageWikiStuffBox h3 {
    margin: 0 -.3em;
    padding: .3em;
    font-size: 120%;
    color: #FFF;
    background: url(/skins/common/images/header-background-redfade.gif) repeat-x top #012B60;
    border: none;
 }

 .MainPageKnowledgeBaseBox h3 {
    margin: 0 -.3em;
    padding: .3em;
    font-size: 120%;
    color: #FFF;
    background: url(/skins/common/images/header-background-bluefade.gif) repeat-x top #500401;
    border: none;
 }
 h3, h4, h6 {
    color: black;
    margin: 0px;
    text-decoration: underline;
 }

 h1 {
    color: blue;
    margin: 0px;
 }

 h5 {
    color: green;
    margin: 0px;
 }

 a { color: #000; }

 a:visited { color: #000; }

 a:active { color: #000; }

 a.new, #p-personal a.new { color: #000; text-decoration: blink; }

 a.new:visited, #p-personal a.new:visited { color:#000; text-decoration: blink; }

 :link.external, :link.extiw { color:#000; }

 a.interwiki { color:#000; }

 :link[href ="http://www.homestarrunner.com "] { color:#000; }

     /* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
     #p-cactions ul li, #p-cactions ul li a {  
       -moz-border-radius-topleft: 1em;
       -moz-border-radius-topright: 1em;
     }
     #content { 
       -moz-border-radius-topleft: 1em;
       -moz-border-radius-topright: 1em;
       -moz-border-radius-bottomleft: 1em;
       -moz-border-radius-bottomright: 1em;
     }
     div.pBody {
       -moz-border-radius-topleft: 1em;
       -moz-border-radius-topright: 1em;
       -moz-border-radius-bottomleft: 1em;
       -moz-border-radius-bottomright: 1em;
     }
    
     /* same following the css3 draft specs, any browsers supporting this? */
     #p-cactions ul li, #p-cactions ul li a {  
       border-radius-topleft: 1em;
       border-radius-topright: 1em;
     }
     #content { 
       border-radius-topleft: 1em;
       border-radius-topright: 1em;
       border-radius-bottomleft: 1em;
       border-radius-bottomright: 1em;
     }
     div.pBody {
       border-radius-topleft: 1em;
       border-radius-topright: 1em;
       border-radius-bottomleft: 1em;
       border-radius-bottomright: 1em;
     }
 
 #p-nav, #footer { opacity:0.50; }
 
 body { background: white; }

 #footer {
   margin-left: 13.6em;
   border-left: 1px solid #fabd23;
   border-right: 1px solid #fabd23;
   -moz-border-radius-bottomleft: 12px;
   -moz-border-radius-bottomright: 12px;
   -moz-border-radius-topleft: 12px;
   -moz-border-radius-topright: 12px;
 
 #p-logo, #p-nav, #p-navigation, #p-search, #p-tb, #p-lang, #p-interaction {
   position: fixed;

     /* suppress the person icon by your username */
     li#pt-userpage { background: none }
 
 #mytabs { 
   width: 100%;
   font-size: smaller;
   position: static;
 }
 #mytabs h5 { display: none }
 #mytabs ul { margin: 0; }
 #mytabs li { display: inline; }
 #mytabs li a {
   padding: 0 0.4em;
   border-left: 1px solid Grey;
 }

 /* Transform the user toolbar into a sidebox */
 #p-personal {
     position:relative;
     z-index:3;
     width: 11.6em;
     margin: 0 0 0.5em 0em;
 }

 #p-personal .pBody {
     border: none;
     margin: 0 0 0.5em 0em;
     float: none;
     overflow: hidden;
     background: White;
     border-collapse: collapse;
     border: 1px solid #aaaaaa;
     padding: 0 0.8em 0.3em 0.5em;
 }

 #p-personal ul {
     line-height: 1.5em;
     list-style-type: square;
     list-style-image: url("/stylesheets/monobook/bullet.gif");
     margin: 0.3em 0 0 1.5em;
     padding:0;
     text-align:left;
     text-transform: none;
 }

 #p-personal li {
     display: list-item;
     padding:0;
     margin: 0 0 0 0;
     margin-bottom: 0.1em;

 }

 /* supress the person icon by your username */
 li#pt-userpage { background: none }


 /* bottom tab styling (not for IE currently) */
 #mytabs {
     margin: -0.5em 0 0  11.5em;
     white-space:nowrap;
     line-height: 1.1em;
     overflow: visible;
     border-collapse: collapse;
     padding: 0 0 0 1em;
     list-style: none;
     font-size: 95%;
 }
 #mytabs .hiddenStructure { display: none; }
 #mytabs li {
     display: inline;
     border: 1px solid #aaaaaa;
     border-top: none;
     padding: 0.1em 0 0 0;
     margin: 0 0.3em 0 0;
     overflow: visible;
     background: #BBBBBB;   

 }
 #mytabs li.selected {
     background: #FFFFFF;
     border-color: #fabd23;
     padding: 0.2em 0 0 0;
 }
 #mytabs ul li a { background: white; }
 #mytabs ul li.selected a { background: white;}  

 #mytabs li a { 

     color: #00f;
     border: none;
     padding: 0.3em 0.8em 0 0.8em;
     text-decoration: none;
     text-transform: lowercase;
     position: relative;
     margin: 0;
 }
 #mytabs li.selected a { z-index: 3; }
 #mytabs .new a { color:#ba0000; }
 #mytabs li a:hover { z-index: 0; text-decoration: none; }
 #mytabs li.selected a:hover { z-index: 3; }
 #mytabs h5 { display: none; }
 #mytabs li.istalk { margin-right: 0; }
 #mytabs li.istalk a { padding-right: 0.5em; }
 #mytabs-ca-addsection a { 
     padding-left: 0.4em;
     padding-right: 0.4em;
 }
 /* offsets to distinguish the tab groups */
 li#mytabs-ca-talk { margin-right: 1.6em; }
 li#mytabs-ca-watch { margin-left: 1.6em; } 

 /* Styling links to Homestar Runner */
 #n-officialsite a,
 #bodyContent a[href ^="http://podstar.homestarrunner.com/"],
 #article a[href ^="http://podstar.homestarrunner.com/"]
 {
    background: url(/skins/monobook/hr-trans-blacker4.png) center left no-repeat !important;
    padding-left: 23px !important;
    padding-right: 0px !important;
 }