MediaWiki talk:Centralnotice-shared-common-style-2010
CSS causing all https-links on all wmf-wiki pages to not have a lock icon[edit]
{{editprotected}}
This piece of code:
/* Suppress lock icon for secure links */ #content a[href^="https://"], .link-https { background-image: none !important; padding: 0 !important; }
is overriding local wiki's stylesheets to show an external-link icon or a lock-icon. Please change it to this asap:
/* Suppress lock icon for secure links in the banner */ #centralNotice a[href^="https://"], .link-https { background-image: none !important; padding: 0 !important;
}
–Krinkletalk 05:37, 27 November 2010 (UTC)
- Hey Krinkle. I think this should actually go on MediaWiki:Centralnotice-shared-common-style-2010. I let our team know about this issue and we're probably going to have a chance to test out this code and deploy it tomorrow morning (PST). Right now, I actually see the lock on meta so could you send me some screenshots along with your browser type/version via email? Thanks. Azariv 09:01, 27 November 2010 (UTC)
- Hi Azariv,
- The bug is still present. On any wmf-wiki page with a https link the lock is gone because the fundraiser/centralNotice css is overriding it with a wrong css-hook that applies to the entire page (#content instead of #siteNotice or (more precise) #centralNotice). I took a screenshot of this page. In this shot it's clear that the css-rule is overriding the original one. In another shot I've disabled centralNotice's style in the Web Inspector to show that then background-image lock icon style applies again. –Krinkletalk 16:17, 27 November 2010 (UTC)
- PS:Moved this from MediaWiki talk:Centralnotice-template-2010 JA1 Banner3 to MediaWiki talk:Centralnotice-shared-common-style-2010. –Krinkletalk 16:19, 27 November 2010 (UTC)
Done - Hoo man (talk) 17:17, 27 November 2010 (UTC)
RTL[edit]
please put this somewhere in css. thanks
.rtl #nextChapter-logo {
left: auto;
right: 25px;
}
.rtl #nextChapter div#cn-toggle-box {
right: auto;
left: 6px;
}
.rtl #nextChapter .trans-box {
padding-right: 0;
padding-left: 6px;
}