Difference between revisions of "MediaWiki:Common.css"

Line 4: Line 4:
 
#content, #content table
 
#content, #content table
 
#p-cactions ul li a { background: #696969; }
 
#p-cactions ul li a { background: #696969; }
 +
 +
/* stop background image from scrolling with content area */
 +
body { background-attachment: fixed; }
 +
 +
/* replace the book in the background with something else */
 +
body { background: Purple; }
 +
 +
/* changes the background of pre areas  */
 +
pre { background: White }
  
 
/* change the logo */
 
/* change the logo */

Revision as of 18:16, 2 March 2016

/* 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: #696969; }

/* stop background image from scrolling with content area */
body { background-attachment: fixed; }

/* replace the book in the background with something else */
body { background: Purple; }

/* changes the background of pre areas  */
pre { background: White }

/* change the logo */
/* #p-logo a { background: url(http://www.compneurosci.com/images/bg_visual.jpg) 35% 50% no-repeat; }

/* change background of unselected tabs */
#p-cactions ul li a { background: #C7FDC7; }

/* change background of selected tabs */
#p-cactions ul li.selected a { background: white; }

/* change border background of selected tabs */
#p-cactions li.selected { border-color: #aaaaaa; }

/* 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: #0645ad; }
a:visited { color: #0b0080; }
a.new:link { color: #cc2200; }
a.new:visited { color: #a55858; }
a.extiw:link { color: #3366bb; } /* links to other Wikipedias */
a.extiw:visited { color: #3366bb; }
a.external:link { color: #3366bb; } /* external links */
a.external:visited { color: #3366bb; }

/* put scrollbar on pre sections instead of ugly cutoff/overlap in Firefox */
pre { overflow: auto; }