User:Iriman/common.css

From OpenStreetMap Wiki
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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* user interface */
html:lang(fa) body,
html:lang(fa) .mw-editsection,

/* content */
#mw-content-text:lang(fa),
#mw-content-text:lang(fa) h1,
#mw-content-text:lang(fa) h2 {
	font-family: Tahoma,sans-serif;
}


.mw-content-rtl .wikitable td ul,
.mw-content-rtl .wikitable td ol,
.mw-content-rtl .wikitable td dl {
	text-align: left; /* I didn't get why this changes to "right" on page load? */
}

/*.wikitable {overflow-x:auto; display:block;}*/

/* useful for long tables */
.wikitable th {position: sticky; top: 0;}