MediaWiki:Mobile.css

From Encyclopedia Humanica
Revision as of 18:58, 9 June 2020 by Eh-admin (talk | contribs) (Created page with "→‎CSS placed here will affect users of the mobile site: .mobile-float-reset { float: none !important; width: 100% !important; } /* Floating table headers for Wikimedia_Hac...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the mobile site */
.mobile-float-reset { float: none !important; width: 100% !important; }

/* Floating table headers for Wikimedia_Hackathon_2018/Program */
@supports (position:sticky) or (position:-webkit-sticky) {
	/*.wikitable.sticky {*/
	/*	max-height: 90vh;*/
	/*	overflow: auto; !important;*/
	/*}*/
	/*.wikitable.sticky > * > tr.sticky > th {*/
	/*    position: -webkit-sticky;*/
	/*    position: sticky;*/
	/*    top: 0;*/
	/*}*/
	/*.wikitable.sticky > * > tr:not(.sticky) > th:first-child {
	    position: -webkit-sticky;
	    position: sticky;
	    left: 0;
	}*/
}