Jump to content
MediaWiki

MediaWiki:Gadget-Global-Calculator.css

From mediawiki.org

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
 /**
  * On-Wiki calculator script. See [[Template:Calculator]]. Created by [[User:Bawolff]]
  * License: Creative Commons Attribution-ShareAlike 3.0 and 4.0 International Public License
  * Canonical source: https://mdwiki.org/wiki/MediaWiki:Gadget-calculator.css
  */

 /* Minerva has some confusing styling of input boxes */
 body.skin-minervainput.calculator-field-live:not(.cdx-text-input__input):not(.cdx-checkbox__input):not(.cdx-radio__input){
 background:revert;
 border:revert;
 }

 @mediascreen{
 /* Allow people to make fallback content */
 html.client-js.calculatorgadget-enabled{
 display:revert!important;
 }
 html.client-js.calculatorgadget-fallback{
 display:none;
 }
 }

AltStyle によって変換されたページ (->オリジナル) /