Difference between revisions of "MediaWiki:Common.css"

Line 2: Line 2:
  
 
/* standard link colors */
 
/* standard link colors */
 +
head, style
 
a:link { color: White; }
 
a:link { color: White; }
 
a:visited { color: #DCDCDC; }
 
a:visited { color: #DCDCDC; }

Revision as of 20:12, 4 March 2016

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

/* standard link colors */
head, style
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; }


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

/* adjust colors */
head { color: white; }
body { background: black; }
h1 { color: white; }

#content { color: white; }
#mw-head { background: black; }
#mw-body { background: black; }
#ca-nstab-mediawiki { background: black; }
#ca-talk { background: black; }
#ca-view { background: black; }
li a { color: white; }
ul a { color; white; }
#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; }
#ca-viewsource { background: black; }
#ca-watch { background: black; }
#ca-nstab-special { background: black; }


/* change the logo */
#p-logo { background-image: url(/pics/gb.png) 35% 50% no-repeat; }

/* style the search box and the buttons below it */
.searchButton {
    background-color: #efefef;
    border: 1px outset;
}
#searchInput { border: 1px inset; }


/* 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 #545454;
}
/* Prevent sidewards scrolling in pre elements */
pre {
  overflow: auto;
  max-height: 25em;
}