Jump to content

User:Simone/Monobook.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.
/*************************************************************
 *  barra menu a "dropdown" fissa per stile monobook,  v0.2  *
 * fixed position dropdown menu bar for monobook style, v0.2 *
 *            by  [[it:Utente:Leonard Vertighel]]            *
 *************************************************************/
/******************************************************
 * Testato con Opera 7.54/Linux e Firefox 1.0/Linux   *
 * Non funziona con MSIE!                             *
 * Tested with Opera 7.54/Linux and Firefox 1.0/Linux *
 * Doesn't work with MSIE!                            *
 ******************************************************/
#p-nav, #p-search, #p-personal, #p-tb, #p-cactions {
  font-size: 95%;
  background: White;
  border-collapse: collapse;
  border: 1px solid #aaaaaa;
  padding: 0 0.8em 0.3em 0.5em;
  width:11.6em;
  z-index:3;
}
#p-nav .pBody, #p-search .pBody, #p-personal .pBody, #p-tb .pBody, #p-cactions .pBody {
  font-size:100%;
  border:none;
  padding:none;
}
#p-nav h5, #p-search h5, #p-personal h5, #p-tb h5, #p-cactions h5 {
  display:inline;
}
#p-nav li, #p-search li, #p-personal li, #p-tb li, #p-cactions li {
  white-space:nowrap;
}
#p-personal ul {
  line-height: 1.5em;
  list-style:square outside url("bullet.gif"); /* non va? */
  padding:0;
  margin:0;
  text-align:left;
}
#p-personal li {
  display:block;
  padding:0;
  margin:0;
  line-height: 1.5em;
}
#p-personal li a {
    background:white;
}
#p-nav {
  position:fixed;
  top:0;
  left:13em;
}
#p-nav .pBody {
  display:none;
}
#p-nav:hover .pBody {
  display:block;
}
#p-search {
  position:fixed;
  top:0;
  left:26em;
}
#p-search .pBody {
  display:none;
}
#p-search:hover .pBody {
  display:block;
}
#p-tb {
  position:fixed;
  top:0;
  left:39em;
}
#p-tb .pBody {
  display:none;
}
#p-tb:hover .pBody {
  display:block;
}
#p-personal {
  position:fixed;
  top:0;
  left:52em;
}
#p-personal .pBody {
  display:none;
}
#p-personal:hover .pBody {
  display:block;
}
#p-cactions {
  position:fixed;
  top:0;
  left:65em;
  line-height: 1.5em;
  padding:0;
  margin:0;
}
#p-cactions ul {
  display:none;
}
#p-cactions:hover ul {
  display:block;
}
#p-cactions ul {
  list-style:square outside url("bullet.gif"); /* non va? */
}
#p-cactions li {
  display:block;
  border:none;
  padding:0;
  margin:0;
}
#p-cactions li.selected {
  border:none;
  padding:0;
}
#p-cactions li a {
  padding:0;
  position:static;
}
#p-cactions li.istalk a { padding:0; }
#p-cactions #ca-addsection a { 
  padding:0;
}
li#ca-talk, li#ca-watch, li#ca-watch { margin:0; }

/**********************************
 * Fine barra menu / end menu bar *
 **********************************/