User:Simone/Monobook.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
Documentation for this user script can be added at User:Simone/Monobook. |
/*************************************************************
* 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 *
**********************************/