MediaWiki talk:Common.css: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
(→‎Babel boxes: new section)
Line 3: Line 3:


:Really? H/o, Splarka just did some stuff, and I just did some stuff... I'll try to figure out where someone went wrong. --<span style="font-weight: bold;" title="GPT does not work for Wikia">NOTASTAFF</span> <b>[[User:Guesty-Persony-Thingy|<font color="000000">GPT</font>]]<sub>([[User talk:Guesty-Persony-Thingy|<font color="000000">talk</font>]])</sub><sup>([[Special:Contributions/Guesty-Persony-Thingy|<font color="000000">eating</font>]])</sup></b> 03:37, 25 August 2007 (UTC)
:Really? H/o, Splarka just did some stuff, and I just did some stuff... I'll try to figure out where someone went wrong. --<span style="font-weight: bold;" title="GPT does not work for Wikia">NOTASTAFF</span> <b>[[User:Guesty-Persony-Thingy|<font color="000000">GPT</font>]]<sub>([[User talk:Guesty-Persony-Thingy|<font color="000000">talk</font>]])</sub><sup>([[Special:Contributions/Guesty-Persony-Thingy|<font color="000000">eating</font>]])</sup></b> 03:37, 25 August 2007 (UTC)
== Babel boxes ==
Admins, I want to ask a favour. If you add the following code to the Common.css, it will mean that users can use babel boxes directly imported from the Central Wiki. Most of them currently cannot display properly. For example, <nowiki>{{Wikia:User en}}</nowiki> would produce:
{{Wikia:User en}}
(That's one that ''does'' work without the imported coding from Central Wikia.)
Here is the coding:
<pre>
/* Babel */
div.babelbox {
  float: right;
  margin-left: 1em;
  margin-bottom: 0.5em;
  width: 246px;
  border: 1px solid #99B3FF;
  padding: 2px 0 2px 0;
}
.lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
  margin: 2px 4px 2px 4px; /* t, l, b, r */
  width:238px;
  border-collapse: collapse;
}
td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
  text-align:center;
  font-size:14pt;
  width:45px;
  height:45px;
}
td.lang-descriptionN, td.lang-description0, td.lang-description1,
td.lang-description2, td.lang-description3 {
  font-size:8pt;
  padding:4pt;
  line-height:1.25em
}
.lang-block0 {
  border:1px solid #FFB3B3;
}
td.lang-code0 {
  background-color: #FFB3B3;
  color: black;
}
td.lang-description0 {
  background-color: #FFE0E8;
  color: black;
}
.lang-block1,  .lang-block2, .lang-block3  {
  border:1px solid #99B3FF;
}
td.lang-code1, td.lang-code2, td.lang-code3 {
  background-color: #99B3FF;
  color: black;
}
td.lang-description1,  td.lang-description2, td.lang-description3 {
  background-color: #E0E8FF;
  color: black;
}
.lang-blockN {
  border:1px solid #6EF7A7;
}
td.lang-codeN {
  background-color: #6EF7A7;
  color: black;
}
td.lang-descriptionN {
  background-color: #C5FCDC;
  color: black;
}
</pre>
Thanks. [[User:The 888th Avatar|<span style="color:blue;">The 888th Avatar</span>]] [[User_talk:The 888th Avatar|<sup><span style="color:blue;">(Talk)</span></sup>]] 05:28, 22 March 2009 (UTC)

Revision as of 01:28, March 22, 2009

What the deuce?

The background image is (obviously) gone after some edits were just made to this. I suggest reverting them. --DEMONSPAWNED 03:34, 25 August 2007 (UTC)

Really? H/o, Splarka just did some stuff, and I just did some stuff... I'll try to figure out where someone went wrong. --NOTASTAFF GPT(talk)(eating) 03:37, 25 August 2007 (UTC)

Babel boxes

Admins, I want to ask a favour. If you add the following code to the Common.css, it will mean that users can use babel boxes directly imported from the Central Wiki. Most of them currently cannot display properly. For example, {{Wikia:User en}} would produce:

{{Wikia:User en}}

(That's one that does work without the imported coding from Central Wikia.)

Here is the coding:


/* Babel */

div.babelbox {
   float: right;
   margin-left: 1em;
   margin-bottom: 0.5em;
   width: 246px;
   border: 1px solid #99B3FF;
   padding: 2px 0 2px 0;
}
.lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
   margin: 2px 4px 2px 4px; /* t, l, b, r */
   width:238px;
   border-collapse: collapse;
}
td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
   text-align:center;
   font-size:14pt;
   width:45px;
   height:45px;
}
td.lang-descriptionN, td.lang-description0, td.lang-description1,
td.lang-description2, td.lang-description3 {
  font-size:8pt;
  padding:4pt;
  line-height:1.25em
}

.lang-block0 {
   border:1px solid #FFB3B3;
}
td.lang-code0 {
  background-color: #FFB3B3;
  color: black;
}
td.lang-description0 {
  background-color: #FFE0E8;
  color: black;
}

.lang-block1,  .lang-block2, .lang-block3  {
   border:1px solid #99B3FF;
}
td.lang-code1, td.lang-code2, td.lang-code3 {
  background-color: #99B3FF;
  color: black;
}
td.lang-description1,  td.lang-description2, td.lang-description3 {
  background-color: #E0E8FF;
  color: black;
}

.lang-blockN {
   border:1px solid #6EF7A7;
}
td.lang-codeN {
  background-color: #6EF7A7;
  color: black;
}
td.lang-descriptionN {
  background-color: #C5FCDC;
  color: black;
}

Thanks. The 888th Avatar (Talk) 05:28, 22 March 2009 (UTC)