User:Canadabonk/sandbox.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 5:
background-color: #eee;
color: black;
padding:10px1em;
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%;">
<ptr><th>Light mode colors:</pth><th>Dark mode colors:</th><tr>
<tr><td style="width:50%;padding: 1em">
<p>Light mode colors:</p>
<pre class="lightmodevars">
</pre></td>
<td><p>Dark mode colorsstyle="padding:</p1em">
<pre class="darkmodevars">
</pre></td></tr></table>
250

edits