MediaWiki:Common.js/calc.css

/* Whole calculator form */ .jcTable { --calc-header-background: #221b1b; --calc-label-background: #0d0606; --calc-button-background: var(--theme-accent-color); --calc-background: var(--theme-page-background-color--secondary); --calc-border: #221b1b; border-spacing: 0.1em; border-collapse: separate; border-color:var(--theme-accent-color) !important; }

/* Submit cell formatting */ .jcTable .jcSubmit.noselect { vertical-align: bottom; cursor: pointer; font-weight: 600; transition-duration: 0.3s; border: 1px solid white; }

.jcTable .jcSubmit:hover { box-shadow: 0 0 1px #aaaaaa; background: #ed8e5f; }

/* Table cell styling */ .jcTable .jcTable-toprow a { float: right; font-size: 0.5em; margin-left: 1em; color: white; }

.jcTable .jcTable-toprow{ background: var(--calc-header-background); border-color:var(--calc-border) !important; } .jcTable .jcTable-cell-normal, .jcTable .jcResult{ background: var(--calc-label-background); border-color:var(--calc-border) !important; } .jcTable .jcSubmit{ background:var(--calc-button-background); border-color:var(--calc-border) !important; }

/* Param cell styling */ .jcTable input, .jcTable select { background-color: transparent; padding: 0.3em; border:none; color: white; }

/* Inner result cell styling */ .jcTable .jcResult .mw-parser-output { font-family: Courier, monospace; padding: 0 2em; }

/* Select drop-down styling */ select option { color: #FFF; background-color: var(--calc-background); }