MediaWiki

Common.css

Revision as of 14:38, 26 January 2019 by Yug (talk | contribs)

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* SUPERSEDED Answer: How to add image with link in a sidebar - MediaWiki https://stackoverflow.com/a/53597787/8992875?stw=2 * /
#n-recordwizard> a:after {
  content: ' ';
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/1/1e/Breezeicons-status-22-mic-red-LinguaLibre.svg);
  position: absolute;
  width: 40px;
  height: 40px;
  /*left:-6px; /* :before * /
  top: -3px;
  background-repeat: no-repeat;
}
#n-recordwizard { 
    position:relative;
}
*/
#n-recordwizard > a /*[href$='/RecordWizard/'] */{
    background: #a3dbd7 url(https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Breezeicons-status-22-mic-red-LinguaLibre.svg/45px-Breezeicons-status-22-mic-red-LinguaLibre.svg.png) center right no-repeat;
    background-position: 100% -5px;
}
/* Zip icon test for datasets : not really elegant at this size and with this image ....
#n-menu-datasets > a {
    background: #a3dbd7 url(https://upload.wikimedia.org/wikipedia/commons/4/4c/Farm-Fresh_file_extension_zip.png) center right no-repeat;
    padding-right: 32px;
} */