Jump to content

User:Error/standard.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* put scrollbar on pre sections instead of ugly cutoff/overlap in firefox */
pre { overflow: auto; }

/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topleft: 1em;
  -moz-border-radius-topright: 1em;
}
#content { 
  -moz-border-radius-topleft: 1em; 
  -moz-border-radius-bottomleft: 1em;
}
div.pBody {
  -moz-border-radius-topright: 1em;
  -moz-border-radius-bottomright: 1em;
}

/* start tooltip code  */

div.info {
  position:relative; /*required */
  z-index:24; /*required */
  background-color:yellow; /*use any color you like */
  cursor:help /*optional, or use another cursor */
}

div.info:hover {
  z-index:25; /*required */
  background-color:pink /*use any color you like */
}

div.info:hover div.urlexpansion {
  display:block; /*required */
  position:absolute; /*required */
  /*border and size specifications, change as you like */
  top:2em;
  left:2em;
  width:15em;
  /* colors, change as you like */
  border:1px solid #0cf;
  background-color:#cff;
  color:#000;
}

/* end tooltip code  */

/* The number of bytes changed in watchlists. */
.mw-plusminus-pos {color: green;}
.mw-plusminus-neg {color: red;}
.mw-plusminus-null {color: black;}

/* I use red for standard links */
a.new:link { color: #00b404; } /* green */
a.new:visited { color: #005004; }  /* dark green */