User:Canadabonk/sandbox.js: Difference between revisions
no edit summary
Canadabonk (talk | contribs) No edit summary |
Canadabonk (talk | contribs) No edit summary |
||
Line 5:
background-color: #eee;
color: black;
padding:
color-scheme:light;
border:1px solid lightgrey;
}
#cosmostweaks-coloreditor th {
Line 89 ⟶ 90:
Paste the resulting code into your "Mediawiki:Gadget-cosmostweaks.css" to apply it.<br>
This tool can only work with hexcodes (like "#000000"). Swap them out for RGBA values with opacity in the CSS page, if desired.</p>
<table style="margin:auto">
<tr><td></td><th>Light mode</th><th>Dark mode</th></tr>
${CSSvarsRows()}
</table>
<table style="width:100%;">
<tr><td style="width:50%;padding: 1em">
▲ <p>Light mode colors:</p>
<pre class="lightmodevars">
</pre></td>
<td
<pre class="darkmodevars">
</pre></td></tr></table>
|