Utilizator:Cornel/monobook.css
Notă: După salvare, trebuie să treceți peste cache-ul browser-ului pentru a vedea modificările.
- Mozilla, Google Chrome, Safari, Konqueror: țineți apăsat Shift în timp ce apăsați butonul Reload (sau apăsați Ctrl-Shift-R).
- Internet Explorer: apăsați Ctrl-F5.
- Opera: apăsați F5.
/*
* Copy-and-paste from http://it.wikipedia.org/wiki/MediaWiki:Monobook.css
*/
/*
* Stili per i box che si visualizzano al passaggio del mouse
* Licenza: GFDL e Creative Commons Attribution 2.5
*/
.HopContent
{
display:none;
}
.HopFrame:hover .HopContent
{
display:block;
}
/*
* Copy-and-paste from http://it.wikipedia.org/wiki/MediaWiki:Monobook.css ends here
*/
/*
* Copy-and-paste from http://ro.wikipedia.org/wiki/Utilizator:Strainu/search-dia.js
*/
hookEvent('load', goodSearch);
function goodSearch()
{
var fd_form=document.getElementById('searchform');
if (fd_form) {
fd_form.onsubmit=function() {
var ta=document.getElementById('searchInput');
if (!ta) {
return true;
}
var orig=ta.value;
ta.value=ta.value.replace(/ș/g, 'ş');
ta.value=ta.value.replace(/ț/g, 'ţ');
ta.value=ta.value.replace(/Ș/g, 'Ş');
ta.value=ta.value.replace(/Ț/g, 'Ţ');
return true;
}
}
/*
* Copy-and-paste from http://ro.wikipedia.org/wiki/Utilizator:Strainu/search-dia.js ends here
*/
/*
* Copy-and-paste from http://en.wikipedia.org/wiki/MediaWiki:Common.js
*/
/** Interwiki links to featured articles ***************************************
*
* Description: Highlights interwiki links to featured articles (or
* equivalents) by changing the bullet before the interwiki link
* into a star.
* Maintainers: [[User:R. Koot]]
*/
/*
* function LinkFA()
* {
* if ( document.getElementById( "p-lang" ) ) {
* var InterwikiLinks = document.getElementById( "p-lang" ).getElementsByTagName( "li" );
*
* for ( var i = 0; i < InterwikiLinks.length; i++ ) {
* if ( document.getElementById( InterwikiLinks[i].className + "-fa" ) ) {
* InterwikiLinks[i].className += " FA"
* InterwikiLinks[i].title = "This is a featured article in another language.";
* }
* }
* }
* }
*
* addOnloadHook( LinkFA )
*/
/*
* Copy-and-paste from http://en.wikipedia.org/wiki/MediaWiki:Common.js ends here
*/
/*
* Copy-and-paste from http://en.wikipedia.org/wiki/MediaWiki:Monobook.css
*/
/*
* .portlet li {
* list-style-image: url("http://upload.wikimedia.org/wikipedia/en/1/18/Monobook-bullet.png");
* }
*
* li.FA {
* list-style-image: url("http://upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png");
*/
/*
* Copy-and-paste from http://en.wikipedia.org/wiki/MediaWiki:Monobook.css ends here
*/
/*
* Copy-and-paste from http://ro.wikipedia.org/wiki/MediaWiki:Common.js
*/
/*
* function addLoadEvent(func)
* {
* if (window.addEventListener)
* window.addEventListener("load", func, false);
* else if (window.attachEvent)
* window.attachEvent("onload", func);
* }
*
* function LegAF()
* {
* // iterate over all <span>-elements
* for(var i=0; a = document.getElementsByTagName("span")[i]; i++) {
* // if found a AF span
* if(a.className == "AF") {
* // iterate over all <li>-elements
* for(var j=0; b = document.getElementsByTagName("li")[j]; j++) {
* // if found a AF link
* if(b.className == "interwiki-" + a.id) {
* b.style.padding = "0 0 0 16px";
* b.style.backgroundImage = "url('http://upload.wikimedia.org/wikipedia/ro/5/53/Pictograma-LegAF.png')";
* b.style.backgroundRepeat = "no-repeat";
* b.title = "Acest articol este considerat a fi de calitate";
* }
* }
* }
* // if found a AB span
* else if(a.className == "AB") {
*
* // iterate over all <li>-elements
* for(var j=0; b = document.getElementsByTagName("li")[j]; j++) {
* // if found a AB link
* if(b.className == "interwiki-" + a.id) {
* b.style.padding = "0 0 0 16px";
* b.style.backgroundImage = "url('http://upload.wikimedia.org/wikipedia/commons/thumb/9/94/Symbol_support_vote.svg/16px-Symbol_support_vote.svg.png')";
* b.style.backgroundRepeat = "no-repeat";
* b.title = "Acest articol este considerat a fi bun";
* }
* }
* }
* }
* }
*
* addLoadEvent(LegAF);
*/
/*
* Copy-and-paste from http://ro.wikipedia.org/wiki/MediaWiki:Common.js ends here
*/