User:Bardic Wizard/common.css

From Wikipedia

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* make the background behind the content area and the tabs a light grey */
#content, #content table
#p-cactions ul li a { background: #f5f5f5; }

body {background-color:#f9ccd7;}
/*Potential values:
#ffdedc
#fb9898
#5ec697
#f9ccd7
#c388a7
#71032b
#83ffa1
#D4E4F7
#236AB9
#D61A46 
#FDDC22
#340913
#690064
#cc0066
#990066

Code for something, not sure yet
div {
    background: linear-gradient(to bottom, #33ccff 0%, #ff99cc 100%);
}
div {
    background: linear-gradient(to top, #ff0066 0%, #ffff00 100%);
}
div {
    background: linear-gradient(to top, #ff0066 0%, #ffcc00 100%);
}

*/

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


/* suppress the person icon by your username*/ 
li#pt-userpage { background: none }




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

* tab bottom not removed on hover *
#p-cactions li a:hover { z-index: 0; text-decoration: none; }
#p-cactions li.selected a:hover { z-index: 3; }
*/
/* style the search box and the buttons below it */
.searchButton {
    background-color: #efefef;
    border: 1px outset;
}
#searchInput { border: 1px inset; }
/*links*/
.new {color:#c00a3c;}
.mw-redirect { color:#0e9470;}
.mw-redirect:visited {color:deeppink;}
.mw-disambig {color:orange;}
.mw-disambig:visited {color:lightcoral;}
.template-ping {background-color:aqua; color:black;}

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



/* center/centre the title of each page */
.firstHeading { text-align: center; 
color:blue; }

/* Double-redirect warning */
div.redirectMsg a.mw-redirect:after {
  content: ' <double redirect>';
  color: Red;
  font-style: italic;
}



/* Display persondata boxes in articles */
table.persondata { display:table; }




/* Save space in list of templates displayed at end of page when editing */
:templatesUsed ul, :templatesUsed li {display: inline; padding-right: 5px;}
/* 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: 0px;
  bottom: 0px;
  height: 100%;
  /* Prevent content overlay when sidewards scrolling */
  background-color: #F6F6F6;
  border-right: 1px solid #A7D7F9;
}
/* Prevent sidewards scrolling in pre elements */
pre {
  overflow: auto;
  max-height: 25em;
}
/* if it is linking to commons gadget enabled this works but not really I don't think. Came from [[w:en:WP:VPT]]
:link[class*="image"][href*="commons"]
{ 
    border:5px solid black !important;
}*/
img[src*="/upload.wikimedia.org/wikipedia/commons/"] { border:5px solid black !important; }

/* move the catlinks box maybe later*
#catlinks {  
  right:1em; 
  top:-0.25em;
  max-width: 50%; * this limits the box size, but doesn't set strictly *
  float: right;
  margin: 0.5em;
  padding: 0.2em;
}

* format the catlinks itself *
p.catlinks {
  font-size:67%;
  text-align:left;
  text-indent:0;
  text-transform: none;
  white-space:normal;
  margin: 0.2em;
}*/

/******************************************************************/
/* moving catlinks to the right    pretty much same thing as above*/
/******************************************************************/

/* move the catlinks box *
#catlinks {
  position:absolute;
  z-index:1;
*  border: 1px solid #aaaaaa;
  background: #fafaff; *
  right:1em;
  top:-0.25em;
  width:10.5em;
  float:right;
  margin: 0.2em;
  padding:0.2em;
}

* format the catlinks itself *
p.catlinks {
  color: #aaaaaa;
  font-family: Verdana,sans-serif;
  font-size:67%;
  line-height: 1.5em;
  text-align:left;
  text-indent:0;
  text-transform: none;
  white-space:normal;
  margin: 0.2em;
}
*/
#p-personal h5 {
    display: inline;
}

/* format links in the catlinks (as distinguished from ":" and "|") 
p.catlinks a {
  color:#888888;
}*/
/* Flag bad code for cleanup */
tt { color: DarkRed; background: red; }


.mw-uctop {
    display:none
}
li.mw-contributions-current::after {
    font-style:normal;
    font-weight:bold;
    content:" (current)";
}