Difference between revisions of "MediaWiki:Monobook.css"

From AetoliaWiki
Jump to navigation Jump to search
m
m
 
(63 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: url('http://wiki.aetolia.com/mediawiki/images/d/d8/Wikiback.png');
    background-repeat: none;
    background-position: top left;
    background-color: #111;
 
    font-family: Verdana;
}
 
 
 
/* Override heading style color. */
h1, h2, h3, h4, h5 {
     color: #ccc;
    margin-bottom: 0.3em;
}
}


 
.portlet h5 {                        /* Changes the navigation labels to title case. */
 
     text-transform: capitalize;
/* Remove white space from the main content box. */
#content {
    position: relative;
    z-index: 0;
 
     background-color: #262626;
 
    padding: 30px 0px 5px 0px;
    border: none;
    margin: 0px;
}
}


/* Emulate normal padding in the body content box instead,
.wikitable {
  fix background color. */
     border-left: none;               /* Clearing existing style elements. */
#bodyContent {
     border-right: none;
     background-color: #404040;
 
     color: #ccc;


     padding: 1px 5px 10px 180px;
     border-top: 1px solid #798ca3;
    border-bottom: 1px solid #798ca3;
}
}


#column-one {
.wikitable tr {
    padding-top: 170px;
}


#column-content {
    padding-top: 130px;
}
}


.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;
.portlet {
     position: relative;
    top: 28px;
    border: none;
    align: left;
}
}


#searchInput {
.wikitable td {
     background: #404040 url(http://forums.aetolia.com/public/style_images/thoreau-dark/magnifier.png) no-repeat 4px 3px;
     border: none;                    /* Clearing existing style elements. */
 
    padding: 2px 2px 2px 21px;
    border: 1px solid #191919;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
 
    color: #fff;
}
}


.portlet h5 {
.syntax_text {
     font-size: 100%;
     font-family: Courier New;
     text-transform: none;
     font-size: 12px;
    color: #fff;


     padding: 7px 0px 7px 15px;
     background-color: #c8c8c8;
}


.portlet li, .portlet ul {
     padding: 2px 4px 2px 4px
     list-style-image: url('http://forums.aetolia.com/public/style_images/thoreau-dark/bullet_black.png');
}
}


#p-Navigation, #p-search, #p-tb, #p-Information, #p-General_Categories, #p-Organizations, #p-Lore {
.syntax_text:hover {
     position: relative;
     font-family: Courier New;
     left: 0px;
     font-size: 12px;
    width: 12.2em;


     background-color: #163960;
     background-color: #e2e2b8;
    background-image: url('http://forums.aetolia.com/public/style_images/thoreau-dark/gradient_bg_dark.png');
    background-repeat: repeat-x;
    background-position: left top;
}


#p-Navigation .pBody, #p-search .pBody, #p-tb .pBody, #p-Information .pBody, #p-General_Categories .pBody, #p-Organizations .pBody, #p-Lore .pBody {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px rgba(255, 255, 255, 0.55);
    background-color: #262626;


     border: none;
     padding: 2px 4px 2px 4px
}
}


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


.external {
.topRounded {
     background: url('http://forums.aetolia.com/public/style_images/thoreau-dark/user_popup.png') center right no-repeat;
     -moz-border-top-left-radius: 5px;
 
     -moz-border-top-right-radius: 5px;
    color: #7eb3d7;
     border-top-left-radius: 5px;
     text-decoration: none;
     border-top-right-radius: 5px;
 
     border-bottom: 1px solid transparent;
 
    transition: all 2s;
     -webkit-transition: all .75s;
}
}


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


 
#p-logo {
 
    z-index: 3;
/* Codeboxes. */
    position: absolute; /*needed to use z-index */
.mw-code, .mw-css, pre {
    top: 0;
     font: 12px/18px "Monaco", "Courier New", "Courier", monospace;
     left: 0;
     color: #fff;
     height: 155px;
     text-shadow: 0px 1px 1px rgba(0, 0, 0, .75);
     width: 12em;
 
    overflow: visible;
     background-color: rgba(0, 0, 0, .5);
     background-image: url('http://wiki.aetolia.com/mediawiki/images/c/c9/Logo.png');
     border: none;
     background-position: center;
     border-radius: 10px;
     background-repeat: no-repeat;
    -moz-border-radius: 10px;
}
}


 
#p-logo a, #plogo-a:hover {
 
     display: none;
/* Editing bar. */
#p-cactions {
     position: absolute;
    top: 80px;
    left: 13.6em;
    width: none;
    padding-left: 0px;
}
}


#p-cactions li {
    padding: 0px;
    margin: 0px;


    border: none;
}


#p-cactions li.selected {
/* Style declarations for portal tabs. */
    border: #ff00ff;


    padding: 0px;
#ptabs {
  font-size:93%;
  font-weight:bold;
  clear: left;
  margin: 0 0 3px 0;
}
}
 
#firstHeading #ptabs { margin: 0 0.5em 0 1em !important; font-weight:normal !important; vertical-align: 3px}
 
#ptabs .activetab {
 
  padding:5px 10px 5px 10px;
/* Page title. Appears at the top of articles right beneath the page control buttons. */
  margin:0 3px 0 0;
#firstHeading {
  background:#E5E5E5;
    background-color: #163960;
  text-decoration:none;
    background-image: url('http://forums.aetolia.com/public/style_images/thoreau-dark/gradient_bg_dark.png');
  color:black;
    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;
}
}
 
#ptabs .inactivetab {
 
  padding:5px 10px 5px 10px;
 
  margin:0 3px 0 0;
/* Hide clutter. */
  text-decoration:none;
#f-poweredbyico, #f-copyrightico, #footer li, #p-cactions .hiddenStructure, #p-cactions h5, #p-logo {
  background:#F5F5F5;
    display: none;
  color:black;
}
}
 
#firstHeading #ptabs .activetab, #firstHeading #ptabs .inactivetab { padding: 1px 10px 1px 10px}
 
#ptabs .inactivetab:hover {
 
  background:#CCC;
/* Very specific site changes. */
  color:black;
 
/* 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;
}
}
#ptabs a:hover { text-decoration:none !important; }
#ptabs a span {white-space: nowrap}

Latest revision as of 16:01, 10 May 2014

/* Lin's fancy-schmancy CSS hacks and whatnot. */
/* ORIGINAL CHARACTER DON'T STEAL              */

h2 {
    overflow: hidden;
}

.portlet h5 {                        /* Changes the navigation labels to title case. */
    text-transform: capitalize;
}

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

    border-top: 1px solid #798ca3;
    border-bottom: 1px solid #798ca3;
}

.wikitable tr {

}

.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;

    background-color: #f0f0f0;
}

.wikitable td {
    border: none;                    /* Clearing existing style elements. */
}

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

    background-color: #c8c8c8;

    padding: 2px 4px 2px 4px
}

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

    background-color: #e2e2b8;

    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px rgba(255, 255, 255, 0.55);

    padding: 2px 4px 2px 4px
}

.rounded {
    -moz-border-radius: 5px;
    border-radius: 5px;
}

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

.bottomRounded {
    -moz-border-bottom-left-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#p-logo {
    z-index: 3;
    position: absolute; /*needed to use z-index */
    top: 0;
    left: 0;
    height: 155px;
    width: 12em;
    overflow: visible;
    background-image: url('http://wiki.aetolia.com/mediawiki/images/c/c9/Logo.png');
    background-position: center;
    background-repeat: no-repeat;
}

#p-logo a, #plogo-a:hover {
    display: none;
}



/* Style declarations for portal tabs. */

#ptabs {
  font-size:93%;
  font-weight:bold;
  clear: left;
  margin: 0 0 3px 0;
}
#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}