Bruger:Nico/monobook.css

Fra Wikipedia, den frie encyklopædi

Bemærk, efter at have gemt, er du nødt til at tømme din browsers cache for at kunne se ændringerne. Mozilla/Safari/Konqueror: hold shifttasten nede og klik på reload eller tryk på control-shift-r, Internet Explorer: ctrl-f5, Opera: f5.

/*** Forsøg på at rykke de personlige indstillinger sidemenu**/

/* Transform the user toolbar into a sidebox */
#p-personal {
    position:relative;
    z-index:3;
    width: 11.6em;
}

#p-personal .pBody {
    width: 10.7em;
    border: none;
    margin: 0 0 0.1em 0em;
    float: none;
    overflow: hidden;
    font-size: 95%;
    background: White;
    border-collapse: collapse;
    border: 1px solid #aaaaaa;
    padding: 0 0.8em 0.3em .5em;
}

#p-personal ul {
    line-height: 1.5em;
    list-style-type: square;
    list-style-image: url("/style/monobook/bullet.gif");

    font-size:95%;
    margin: 0 0 0 1.5em;
    padding:0;
    text-align:left;
    text-transform: none;
}

#p-personal li {
    display: list-item;
    padding:0;
    margin: 0 0 0 0;
    margin-bottom: 0.1em;
}

/* suppress the person icon by your username */
/* needed if not already in place */
li#pt-userpage { background: none }



/******************************************************************/
/* moving catlinks to the right                                   */
/******************************************************************/

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

/* format the catlinks itself */
p.catlinks {
  color: #000000;
  font-family: Verdana,sans-serif;
  font-size:75%;
  line-height: 1.4em;
  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:#000000;
}


/* This is to keep track of who is using the Live Preview: [[User:Pilaf/livepreview.js]] */

/* start tooltip code  */

div.info {
  z-index:24;                      /*required */
  position:relative;               /*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  */