Difference between revisions of "MediaWiki:Common.css"

Line 16: Line 16:
 
#content, #content table
 
#content, #content table
 
#p-cactions ul li a { background: #545454; }
 
#p-cactions ul li a { background: #545454; }
#left-navigation ul li a { border-left: 0px solid #545454;
+
#left-navigation ul li { border-left: 0px solid #545454;
 
   border-right: 0px solid #545454; }
 
   border-right: 0px solid #545454; }
  

Revision as of 02:13, 5 March 2016

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

/* standard link colors */
a,
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; }
#left-navigation ul li { border-left: 0px solid #545454;
  border-right: 0px solid #545454; }


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

#content { color: white; 
  border-left: 1px solid #545454;
  border-bottom: 1px solid #545454;
}
#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; }
#ca-viewsource { background: black; }
#ca-watch { background: black; }
#ca-nstab-special { background: black; }
#ca-nstab-project { background: black; }
#ca-addsection { background: black; }
#ca-protect { background: black; }
.editOptions { background: #545454; }
#p-navigation-label { color: white; }
head li { border-right: 0px solid black }

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


/* 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-bottom-left-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: auto;
  /* Prevent content overlay when sidewards scrolling */
  background-color: Black;
  border-right: 2px solid #545454;
  border-left: 2px solid #545454;
  border-top: 2px solid #545454;
  border-bottom: 2px solid #545454;
}
/* Prevent sidewards scrolling in pre elements */
pre {
  overflow: auto;
  max-height: 25em;
}