MediaWiki:Gadget-catchcalc.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Pixelmon catch-rate calculator gadget styling. */
#catch-calculator { margin: 0.5em 0 1em; }
.ccalc-form {
display: flex;
flex-wrap: wrap;
gap: 0.75em 1.25em;
align-items: flex-end;
padding: 0.75em 1em;
background: #f8f9fa;
border: 1px solid #c8ccd1;
border-radius: 4px;
}
.ccalc-field { display: flex; flex-direction: column; gap: 0.2em; }
.ccalc-label { font-weight: bold; font-size: 0.85em; }
.ccalc-input, .ccalc-num { padding: 0.25em 0.4em; border: 1px solid #a2a9b1; border-radius: 2px; }
.ccalc-num { width: 4.5em; }
.ccalc-range { vertical-align: middle; }
.ccalc-hpval { font-variant-numeric: tabular-nums; margin-left: 0.4em; }
.ccalc-toggles-wrap { margin: 0.75em 0; }
.ccalc-toggles { display: flex; flex-wrap: wrap; gap: 0.3em 1.5em; margin-top: 0.3em; }
.ccalc-toggle { font-size: 0.9em; white-space: nowrap; }
.ccalc-meta { margin: 0.75em 0 0.25em; font-style: italic; color: #54595d; }
.ccalc-table { width: 100%; }
.ccalc-table td:nth-child( 2 ), .ccalc-table td:nth-child( 3 ), .ccalc-table td:nth-child( 4 ) {
text-align: center;
font-variant-numeric: tabular-nums;
}
.ccalc-table tr.ccalc-guaranteed td { background: #d5fdd5; }
.ccalc-hint, .ccalc-meta { font-size: 0.95em; }
/* Hidden until the gadget has rendered, to avoid a flash of the raw fallback. */
#catch-calculator.ccalc-ready .ccalc-fallback { display: none; }
/* Pixelrus dark catch calculator theme */
#catch-calculator {
color: #F7EFFB;
}
#catch-calculator .ccalc-form {
background: #210B2E;
color: #F7EFFB;
border-color: #59306A;
border-top: 3px solid #D00080;
border-radius: 8px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
#catch-calculator .ccalc-label,
#catch-calculator .ccalc-toggle,
#catch-calculator .ccalc-hpval {
color: #F7EFFB;
}
#catch-calculator .ccalc-input,
#catch-calculator .ccalc-num {
background: #180722;
color: #F7EFFB;
border-color: #59306A;
}
#catch-calculator .ccalc-input:focus,
#catch-calculator .ccalc-num:focus {
outline: none;
border-color: #F05BB9;
box-shadow: 0 0 0 3px rgba(208, 0, 128, 0.25);
}
#catch-calculator .ccalc-range,
#catch-calculator input[type="checkbox"] {
accent-color: #D00080;
}
#catch-calculator .ccalc-meta,
#catch-calculator .ccalc-hint {
color: #CDBBD7;
}
#catch-calculator .ccalc-table {
background: #210B2E;
color: #F7EFFB;
border-color: #59306A;
}
#catch-calculator .ccalc-table td {
background: #2B103A;
color: #F7EFFB;
border-color: #59306A;
}
#catch-calculator .ccalc-table th {
background: linear-gradient(110deg, #52004C, #310043);
color: #FFFFFF;
border-color: #59306A;
}
#catch-calculator .ccalc-table tr.ccalc-guaranteed td {
background: #173B2A;
color: #D9FFE8;
border-color: #347A55;
}
/* End Pixelrus dark catch calculator theme */