לדלג לתוכן

מדיה ויקי:Common.css: הבדלים בין גרסאות בדף

Make ".noJavascript" only hidden for modern JS browsers, and leave it visible in other cases. This way, we do not need MediaWiki:Noscript.css, which makes pages slower for everybody.
מ (בעצם נוגע לכל הקואורדינטות)
(Make ".noJavascript" only hidden for modern JS browsers, and leave it visible in other cases. This way, we do not need MediaWiki:Noscript.css, which makes pages slower for everybody.)
שורה 580: שורה 580:


/*  
/*  
create class named "noJavascript" with display:none.  
HTML elements with class named "noJavascript" get "display:none" in modern JS-enabled browsers.  
add to mediawiki:Noscript.css, "display: inherit" to this class, to override the "display: none" here, so elements with this class
Eelements with this class will still be seen by users surfing with JS disabled.  
will only be seen by users surfing with JS disabled.  
*/
*/
.noJavascript {
.client-js .noJavascript {
     display: none;
     display: none;
}
}
משתמש אלמוני