Difference between revisions of "MediaWiki:Monobook.css"

Jump to navigation Jump to search
m
no edit summary
m
m
 
(90 intermediate revisions by one other user not shown)
Line 1: Line 1:
/*
/* Lin's fancy-schmancy CSS hacks and whatnot. */
/* ORIGINAL CHARACTER DON'T STEAL              */


    Aetolia Wiki CSS Stylesheet, a modification of Monobook.css
h2 {
 
     overflow: hidden;
    By Lin.
 
*/
 
 
 
/* Override the site's font.
  Change background. */
body {
     background-image: none;
    background-color: #111;
 
    font-family: Verdana;
}
}


 
.portlet h5 {                        /* Changes the navigation labels to title case. */
 
     text-transform: capitalize;
/* Override heading style color. */
h1, h2, h3, h4, h5 {
    color: #ccc;
     margin-bottom: 0.3em;
}
}


.wikitable {
    border-left: none;              /* Clearing existing style elements. */
    border-right: none;


 
     border-top: 1px solid #798ca3;
/* Remove white space from the main content box. */
     border-bottom: 1px solid #798ca3;
#content {
     position: relative;
    z-index: 0;
 
    padding: 0px;
     border: none;
}
}


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


    color: #ccc;
    padding: 1em;
}
}


.wikitable th {                      /* Style for bold wikitable rows. */
    border-left: none;              /* Clearing existing style elements. */
    border-right: none;


    border-top: 1px solid #c0c3c7;
    border-bottom: 1px solid #c0c3c7;


/* Sidebars. */
    background-color: #f0f0f0;
#p-Navigation, #p-search, #p-tb, #p-Information, #p-General_Categories, #p-Organizations, #p-Lore {
  position: relative;
  left: 0px;
  font-family: Verdana;
  width: 12.2em;
  color: #ffffff;
 
  background: #262626;
}
}


#p-Navigation .pBody, #p-search .pBody, #p-tb .pBody, #p-Information .pBody, #p-General_Categories .pBody, #p-Organizations .pBody, #p-Lore .pBody {
.wikitable td {
  border: none;
    border: none;                   /* Clearing existing style elements. */
  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;
}
}


.syntax_text {
    font-family: Courier New;
    font-size: 12px;


    background-color: #c8c8c8;


/* Link colors and behaviour. */
     padding: 2px 4px 2px 4px
a, a:link, a:visited {
    color: #7eb3d7;
    text-decoration: none;
    border-bottom: 1px solid transparent;
 
    transition: all .75s;
     -webkit-transition: all .75s;
}
}


.external {
.syntax_text:hover {
     background: url('http://forums.aetolia.com/public/style_images/thoreau-dark/user_popup.png') center right no-repeat;
     font-family: Courier New;
    font-size: 12px;


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


     border-bottom: 1px solid transparent;
     text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px rgba(255, 255, 255, 0.55);


     transition: all 2s;
     padding: 2px 4px 2px 4px
    -webkit-transition: all .75s;
}
}


a:hover {
.rounded {
     color: #f00;
     -moz-border-radius: 5px;
    text-decoration: none;
     border-radius: 5px;
     border-bottom: 1px solid #f00;
}
}


.topRounded {
    -moz-border-top-left-radius: 5px;
    -moz-border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}


 
.bottomRounded {
/* Codeboxes. */
    -moz-border-bottom-left-radius: 5px;
.mw-code, .mw-css, pre {
     -moz-border-bottom-right-radius: 5px;
    font: 12px/18px "Monaco", "Courier New", "Courier", monospace;
     border-bottom-left-radius: 5px;
    color: #fff;
     border-bottom-right-radius: 5px;
     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;
}
}


 
#p-logo {
 
    z-index: 3;
/* Page title. Appears at the top of articles right beneath the page control buttons. */
    position: absolute; /*needed to use z-index */
#firstHeading {
    top: 0;
     background-color: #163960;
    left: 0;
     background-image: url('http://forums.aetolia.com/public/style_images/thoreau-dark/gradient_bg_dark.png');
    height: 155px;
     background-repeat: repeat-x;
    width: 12em;
     background-position: left top;
     overflow: visible;
 
     background-image: url('http://wiki.aetolia.com/mediawiki/images/c/c9/Logo.png');
    color: #fff;
     background-position: center;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, .75);
     background-repeat: no-repeat;
    font-size: 115%;
 
    margin: 0px;
    padding: 7px 0px 7px 15px;
 
    border: none;
}
}


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




/* Very specific site changes. */
/* Style declarations for portal tabs. */


/* Preview note (warns you that the current page is only a preview, until edits are saved.) */
#ptabs {
.previewnote {
  font-size:93%;
    color: rgb(255, 60, 60);
  font-weight:bold;
    text-indent: 0px;
  clear: left;
 
  margin: 0 0 3px 0;
    padding-bottom: 0.3em;
}
#firstHeading #ptabs { margin: 0 0.5em 0 1em !important; font-weight:normal !important; vertical-align: 3px}
#ptabs .activetab {
  padding:5px 10px 5px 10px;
  margin:0 3px 0 0;
  background:#E5E5E5;
  text-decoration:none;
  color:black;
}
#ptabs .inactivetab {
  padding:5px 10px 5px 10px;
  margin:0 3px 0 0;
  text-decoration:none;
  background:#F5F5F5;
  color:black;
}
#firstHeading #ptabs .activetab, #firstHeading #ptabs .inactivetab { padding: 1px 10px 1px 10px}
#ptabs .inactivetab:hover {
  background:#CCC;
  color:black;
}
}
#ptabs a:hover { text-decoration:none !important; }
#ptabs a span {white-space: nowrap}

Navigation menu