MediaWiki:Monobook.css

From AetoliaWiki
Revision as of 02:42, 30 September 2011 by Lin (talk | contribs)
Jump to navigation Jump to search

Note: After saving, 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.
/*

    Aetolia Wiki CSS Stylesheet, a modification of Monobook.css

    By Lin.

*/



/* Override the site's font.
   Change background. */
body {
    background-image: none;
    background-color: #111;

    font-family: Verdana;
}



/* Override heading style color. */
h1, h2, h3, h4, h5 {
    color: #ccc;
    margin-bottom: 0.3em;
}



/* Remove white space from the main content box. */
#content {
    position: relative;
    z-index: 0;

    padding: 0px;
    border: none;
}

/* Emulate normal padding in the body content box instead,
   fix background color. */
#bodyContent {
    background-color: #404040;

    color: #ccc;

    padding: 1em;
}



/* Sidebars. */
#p-Navigation, #p-search, #p-tb, #p-Information, #p-General_Categories, #p-Organizations, #p-Lore {
  position: relative;
  left: 4px;
  font-family: Verdana;
  width: 146px;
  color: #ffffff;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  -moz-border-radius: 12px;
  border: 1px solid rgba(120, 170, 255, 0.15);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);

  background: rgba(0, 15, 35, 0.4);
}

#p-Navigation .pBody, #p-search .pBody, #p-tb .pBody, #p-Information .pBody, #p-General_Categories .pBody, #p-Organizations .pBody, #p-Lore .pBody {
  border: none;
  font-size: 90%;
  border-bottom-right-radius: 12px;
  -moz-border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  -moz-border-bottom-left-radius: 12px;
  box-shadow: 0px 0x 2px rgba(0, 0, 0, 0.5);

  background-color: #262626;
}



/* Link colors and behaviour. */
a, a:link, a:visited {
    color: #7eb3d7;
    text-decoration: none;
    border-bottom: 1px solid transparent;

    transition: all .75s;
    -webkit-transition: all .75s;
}

.external {
    background: url('http://forums.aetolia.com/public/style_images/thoreau-dark/user_popup.png') center right no-repeat;

    color: #7eb3d7;
    text-decoration: none;

    border-bottom: 1px solid transparent;

    transition: all 2s;
    -webkit-transition: all .75s;
}

a:hover {
    color: #f00;
    text-decoration: none;
    border-bottom: 1px solid #f00;
}



/* Codeboxes. */
.mw-code, .mw-css, pre {
    font: 12px/18px "Monaco", "Courier New", "Courier", monospace;
    color: #fff;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, .75);

    background-color: rgba(0, 0, 0, .5);
    border: none;
    border-radius: 10px;
    -moz-border-radius: 10px;
}



/* Page title. Appears at the top of articles right beneath the page control buttons. */
#firstHeading {
    background-color: #163960;
    background-image: url('http://forums.aetolia.com/public/style_images/thoreau-dark/gradient_bg_dark.png');
    background-repeat: repeat-x;
    background-position: left top;

    color: #fff;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, .75);
    font-size: 115%;

    margin: 0px;
    padding: 7px 0px 7px 15px;

    border: none;
}



/* Hide clutter. */
#f-poweredbyico, #f-copyrightico, #footer li, #p-cactions .hiddenStructure, #p-cactions h5, #p-logo {
    display: none;
}



/* Very specific site changes. */

/* Preview note (warns you that the current page is only a preview, until edits are saved.) */
.previewnote {
    color: rgb(255, 60, 60);
    text-indent: 0px;

    padding-bottom: 0.3em;
}