User:Digiku/monobook.css

From SRB2 Wiki
Jump to navigation Jump to search

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

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Jumplist Extender Website CSS
   Replace ns-2 with ns-4
*/

/* Blank background */
.mediawiki { background-image: none; background-color: white; }

/* ---------------- */

/* Jumplist Extender Logo on top */ 
/* Consider making it smaller */

.mediawiki #p-logo { 
    display: block; 
    width: 100%;
    height: 85px;
    margin-top: 25px;
} /* Stretches logo div to 100% */
.mediawiki #p-logo a {
    width: 100%;
    height: 85px;
    background-position: center top !important;
} /* Moves logo to center. Unfortunately, cannot limit a to image. */

/* ---------------- */

/* Tab Styling -- Hide in main, show everywhere else */

.ns-4 #p-cactions .pBody { display: none; } /* No tabs, main */
#p-cactions .pBody { margin-top: 90px; }
.mediawiki #p-cactions .pBody ul li a { 
    z-index: 4; 
    background-color: rgba(255,255,255,0.85);
    border-top: 1px rgb(170,170,170) solid; 
} /* Forces all tabs above content; sets border */
.mediawiki #p-cactions .pBody ul li { border: 0; }
.mediawiki #p-cactions .pBody ul li.selected a { border-top: 1px rgb(250, 189, 35) solid; z-index: 4;}

.ns-4 #p-personal { display: none; } /* Hides login for main */

/* ---------------- */

/* Menu Styling -- Hide menus, style */
.mediawiki #column-one { padding-top: 112px; } /* Move menu up, flush with content top */
.mediawiki #p-Navigation .pBody { margin-top: -.5em; } /* Moves navigation menu up -- only way possible */

.ns-4 #p-Wiki, .ns-4 #p-tb { display: none; } /* Hides extraneous menu elements, main */
/*.mediawiki #p-Navigation li { display: none; } // In Wiki, hide main menu elements //
.mediawiki #n-Home { display: list-item; }*/
.mediawiki #n-Donate { font-weight: bold; display: list-item; } /* ...except for "Home" and "Donate" */
.ns-4 #p-Navigation li { display: list-item; } /* For main section, display everything */

.mediawiki .portlet .pBody { border: none; } /* Make borderless */
.mediawiki #p-search .pBody { padding-top: 0; } /* Search box is neater */
.mediawiki #p-Navigation h5, .mediawiki #p-search h5 { display: none; } /* Hide navi headers for nav and search */
/*.mediawiki #p-Navigation { background-image: url("http://jumplist.gsdn-media.com/w/j7emonobook_border.png"); background-repeat: no-repeat; background-position: right bottom; }*/
.mediawiki .pBody { background-color: transparent; } /* Add fading border to nav menu */
.mediawiki #content { 
    background-image: url("http://jumplist.gsdn-media.com/w/j7emonobook_border.png"); 
    background-repeat: no-repeat; 
    background-position: left top; 
}

.mediawiki .portlet ul {
    list-style-type: none; 
    list-style-image: none; 
    margin-left: 0; 
    font-size: medium; 
    line-height: 2em;
} /* Style menu text */

.mediawiki .portlet h5 { 
    font-size: medium; 
    font-weight: bold; 
    border-bottom: 1px rgb(170, 170, 170) solid; 
    display: block; 
    margin-left: -.2em; 
    padding-bottom: .2em;
    text-transform: capitalize;
}

/* ---------------- */

/* Content styling -- Remove borders, style menu, etc. */
.mediawiki { font-family: Calibri, Verdana, Arial, sans-serif; } 
.mediawiki #content { font-size: medium; margin-left: 9em; } /* Font size medium; fixes left margin */
.mediawiki #content { 
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
    border-top: 3px black solid;
}

.ns-4 #content { border: none; }

.mediawiki #content { margin-top: 115px; } /* Moves content down */
.ns-4 #content #firstHeading, .ns-4 #content h1:nth-of-type(1), .ns-4 #content h2:nth-of-type(1), .mediawiki #content h3:nth-of-type(1) { padding-top: 0; }
.mediawiki #content { background-color: transparent; } /* IE7, lets tabs show */

.ns-4 #content #firstHeading { display: none; } /* Hides title heading, main */
.ns-4 h1, .ns-4 h2, .ns-4 h3, .ns-4 h4, .ns-4 h5, .ns-4 h6 { border-bottom: none; } /* Hides border for headers, main */
.ns-4 #bodyContent h1, .ns-4 #bodyContent h2 { margin-bottom: .3em; }
.ns-4 #bodyContent h2 { font-size: 166%; }
.ns-4 #bodyContent h3 { font-size: 125%; }

.ns-4 #toc { display: none; }

/* ---------------- */

/* Footer styling -- Remove borders, move copyright ico to left */
.mediawiki #footer #f-list { display: none; }
.mediawiki #footer {border: none; margin-top: 0;}
.mediawiki #footer #f-copyrightico,
    .mediawiki #footer #f-poweredbyico
    { float: right; padding-bottom: .5em; }