MediaWiki:Gadget-sound-styles.css

From Calamity Mod Wiki
Jump to navigation Jump to search

CSS and Javascript changes must comply with the wiki design rules.


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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* Ported from https://terraria.gamepedia.com/MediaWiki:Gadget-sound-styles.css. */

/* These styles are applied before JS is loaded, to create the final layout
   to prevent any FOUC */
.client-js .sound {
  cursor: pointer;
}
.client-js .sound audio {
	display: none;
}

.client-js .sound-title::after {
	content: '';
	display: inline-block;
	width: 1.143em;
	height: 1.143em;
	margin-left: 0.286em;
	vertical-align: text-top;
}