Difference between revisions of "MediaWiki:Common.css"

(Replaced content with "CSS placed here will be applied to all skins: ")
 
(142 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 
/* make the background behind the content area and the tabs a light grey */
 
#content, #content table
 
#p-cactions ul li a { background: #545454; }
 
 
/* stop background image from scrolling with content area */
 
/*body { background-attachment: fixed; }
 
 
/* replace the book in the background with something else */
 
body { background: black; }
 
#content { color: white; }
 
#mw-head { background: black; }
 
#mw-body { background: black; }
 
#ca-nstab-mediawiki { background: black; }
 
#ca-talk { background: black; }
 
#ca-view { background: black; }
 
#ca-edit { background: black; }
 
#ca-history { background: black; }
 
.ca-history a { color: white; }
 
#ca-unwatch { background: black; }
 
#ca-delete { background: black; }
 
#ca-move { background: black; }
 
#ca-nstab-main { background: black; }
 
 
 
/* change header colors
 
/*.header_outer { background: red; }
 
/*.header_container { background: purple; }
 
/*.header { background: yellow; }
 
/*#header { background: green; }
 
 
/* changes the background of pre areas  */
 
/*pre { background: green; }
 
 
/* change the logo */
 
/* #p-logo a { background: url(http://www.compneurosci.com/images/bg_visual.jpg) 35% 50% no-repeat; }
 
 
/* style the search box and the buttons below it */
 
.searchButton {
 
    background-color: #efefef;
 
    border: 1px outset;
 
}
 
#searchInput { border: 1px inset; }
 
 
/* standard link colors */
 
a:link { color: White; }
 
a:visited { color: #DCDCDC; }
 
a.new:link { color: White; }
 
a.new:visited { color: #DCDCDC; }
 
a.extiw:link { color: White; } /* links to other Wikipedias */
 
a.extiw:visited { color: #DCDCDC; }
 
a.external:link { color: White; } /* external links */
 
a.external:visited { color: #DCDCDC; }
 
 
/* put scrollbar on pre sections instead of ugly cutoff/overlap in Firefox */
 
pre { overflow: auto; }
 
 
/* make a few corners round */
 
/*#p-cactions ul li, #p-cactions ul li a {
 
/*  border-top-left-radius: 1em;
 
/*  border-top-right-radius: 1em;
 
/*}
 
/*#content {
 
/*  border-top-left-radius: 1em;
 
/*  border-bottom-left-radius: 1em;
 
/*}
 
/*.pBody {
 
/*  border-top-right-radius: 1em;
 
/*  border-bottom-right-radius: 1em;
 
/*}
 
 
 
/* Fix sidebar */
 
div#mw-panel { position: fixed;
 
  overflow: auto;
 
  top: 100px;
 
  bottom: 0px;
 
  height: 100%;
 
  /* Prevent content overlay when sidewards scrolling */
 
  background-color: Black;
 
  border-right: 1px solid #A7D7F9;
 
}
 
/* Prevent sidewards scrolling in pre elements */
 
pre {
 
  overflow: auto;
 
  max-height: 25em;
 
}
 
 
 
/* =============================================================
 
/* Infobox template style */
 
.infobox {
 
    border: 1px solid #aaa;
 
    background-color: #f9f9f9;
 
    color: black;
 
    margin: 0.5em 0 0.5em 1em;
 
    padding: 0.2em;
 
    /* @noflip */
 
    float: right;
 
    /* @noflip */
 
    clear: right;
 
    text-align: left;
 
    font-size: 88%;
 
    line-height: 1.5em;
 
}
 
.infobox caption {
 
    font-size: 125%;
 
    font-weight: bold;
 
}
 
.infobox td,
 
.infobox th {
 
    vertical-align: top;
 
}
 
.infobox.bordered {
 
    border-collapse: collapse;
 
}
 
.infobox.bordered td,
 
.infobox.bordered th {
 
    border: 1px solid #aaa;
 
}
 
.infobox.bordered .borderless td,
 
.infobox.bordered .borderless th {
 
    border: 0;
 
}
 
 
.infobox.sisterproject {
 
    width: 20em;
 
    font-size: 90%;
 
}
 
 
.infobox.standard-talk {
 
    border: 1px solid #c0c090;
 
    background-color: #f8eaba;
 
}
 
.infobox.standard-talk.bordered td,
 
.infobox.standard-talk.bordered th {
 
    border: 1px solid #c0c090;
 
}
 
 
/* styles for bordered infobox with merged rows */
 
.infobox.bordered .mergedtoprow td,
 
.infobox.bordered .mergedtoprow th {
 
    border: 0;
 
    border-top: 1px solid #aaa;
 
    border-right: 1px solid #aaa;
 
}
 
 
.infobox.bordered .mergedrow td,
 
.infobox.bordered .mergedrow th {
 
    border: 0;
 
    border-right: 1px solid #aaa;
 
}
 

Latest revision as of 15:12, 9 March 2016

/* CSS placed here will be applied to all skins */