MediaWiki talk:Wikia.css

Uberfuzzy's Comments?
Is the css for these going to be removed it may confuse some users --Tama 63  18:12, September 9, 2011 (UTC)


 * Yeah, ill take Fuzzy out. Probably not needed but still.--

Usage for my wiki
Hi,

I want to ask if I can use this for my wiki:

/* Interlanguage link footer */ .mainpage .WikiaArticleInterlang h3, .mw-special-Contact div.WikiaArticleInterlang h3, .mw-special-Forum div.WikiaArticleInterlang h3 { font-size: 18px; height: 55px; margin-left: 90px; font-weight: bolder; } .mainpage .WikiaArticleInterlang h3, .mw-special-Forum div.WikiaArticleInterlang h3 { padding-top: 20px; } .mw-special-Contact div.WikiaArticleInterlang h3 { padding-top: 11px } div.WikiaArticleInterlang { display:none; } .mw-special-Contact div.WikiaArticleInterlang, .mw-special-Forum div.WikiaArticleInterlang { display:block; } .mainpage .WikiaArticleInterlang, .mw-special-Contact div.WikiaArticleInterlang, .mw-special-Forum div.WikiaArticleInterlang { background: url('http://images.wikia.com/es/images/b/be/Banderas_-_interlanguages.gif') no-repeat 10px, -moz-linear-gradient(top,rgba(242,242,242,0) 50%,#f2f2f2 100%); background: url('http://images.wikia.com/es/images/b/be/Banderas_-_interlanguages.gif') no-repeat 10px, -webkit-gradient(linear,0% 0%,0% 100%,color-stop(50%,rgba(242,242,242,0)),color-stop(100%,#f2f2f2)); background: url('http://images.wikia.com/es/images/b/be/Banderas_-_interlanguages.gif') no-repeat 10px, -o-linear-gradient(top,rgba(242,242,242,0) 50%,#f2f2f2 100%); background: url('http://images.wikia.com/es/images/b/be/Banderas_-_interlanguages.gif') no-repeat 10px, -ms-linear-gradient(top,rgba(242,242,242,0) 50%,#f2f2f2 100%); border: 1px solid #D9D9D9; height: 60px; margin: 0; margin-top: 10px; } .mw-special-Forum #forum-display { clear: both; margin: 0 10px; } .mw-special-Forum #mw-content-text { margin-bottom: 15px; } .mainpage .WikiaArticleInterlang ul, .mw-special-Forum div.WikiaArticleInterlang ul { font-size: 14px; padding-top: 24px; } .mw-special-Contact div.WikiaArticleInterlang ul { font-size: 14px; padding-top: 16px; } .mainpage .WikiaArticleInterlang ul li:first-child, .mw-special-Contact div.WikiaArticleInterlang ul li:first-child, .mw-special-Forum div.WikiaArticleInterlang ul li:first-child { padding-left: 10px; }

Yours

 Suriyaa iSC  My Talk   Announcements  14:31, June 8, 2014 (UTC)

What is the purpose of .i18ndoc ?
Hi!

(By the way, on this talk page, the "Add topic" button and the "Edit section" link end up removing the current content. I had to use the "Edit" function instead.)

When editing MediaWiki:Wikia.css in a wiki where that page has never been changed (in this case http://tlj.wikia.com/wiki/MediaWiki:Wikia.css - however, in the meantime, the css there does exist), the MediaWiki instance automatically adds the following content. The initial edit of the page shows this as added even before the first save, implying that the page was technically blank before the initial edit:

.i18ndoc { background-color: #FFF77D; border-bottom: 1px solid lightgrey; font-family: monospace; font-size: 8pt; height: 140px; overflow: auto; padding: 3px; }

What is the purpose of this? I have searched the community wiki here and found no hit for "i18ndoc". I have also used independent search engines and found some evidence that the lack of documentation confuses other editors, too: "nobody ... know(s) what it modifies. ... I assume it modifies nothing at all." When something like this is automatically added, I would at least expect a comment to explain the purpose, and ideally link to some documentation that explains further why this is needed and what would happen if this was removed or changed.

I have no idea how many Wikia admins edit their CSS, but I assume that every one that does is affected by this. One of the reasons why the automatically inserted code is annoying is that the editor flags two of those lines:

--Lachnummer (talk) 11:37, January 2, 2016 (UTC)
 * Line 3: Expected end of value but found 'lightgrey'. (Sounds like an error.) Using height with border-bottom can sometimes make elements larger than you expect. (Sounds like an info or warning.)
 * Line 8: Using height with padding can sometimes make elements larger than you expect. (Sounds like an info or warning.)