# MediaWiki:Gadget-OldDiff.css

From faraghaib
Jump to navigation Jump to search

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.

    /*  _____________________________________________________________________________
     * |                                                                             |
     * |                    === WARNING: GLOBAL GADGET FILE ===                      |
     * |                  Changes to this page affect many users.                    |
     * | Please discuss changes on the talk page or on [[WT:Gadget]] before editing. |
     * |_____________________________________________________________________________|
     *
     * Display diffs with the old yellow/green colors and design.
     */

    table.diff td {
        padding: 0;
    }

    td.diff-marker {
        color: black;
        font-size: 1em;
        font-weight: normal;
    }

    td.diff-context,
    td.diff-deletedline,
    td.diff-addedline {
        border: none;
        border-radius: 0;
    }

    td.diff-context {
        background-color: #eee;
    }

    td.diff-deletedline {
        background-color: #ffa;
    }

    td.diff-addedline {
        background-color: #cfc;
    }

    td.diff-deletedline .diffchange,
    td.diff-addedline .diffchange {
        background: transparent;
        color: red;
    }

Retrieved from "https://en.faraghaib.ir/w/index.php?title=MediaWiki:Gadget-OldDiff.css&oldid=160"