MediaWiki:Common.css

From railML 3 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.
/* CSS placed here will be applied to all skins */

/* https://www.mediawiki.org/wiki/Topic:Scrs9u3yo6gmv9p2 */
div.keywords {
  display: none;
}

.hfill {
   display: flex;
   justify-content: space-between;
}

/* To make images responsive */
/* https://www.mediawiki.org/wiki/Topic:Tuubagqalz9vk2m9 */
.res-img img {
	max-width:100%;
	height:auto;
}

/* Style for https://wiki3.railml.org/wiki/UC:Use_cases#How_to_interpret_the_status (Text from bottom to top) */
/* https://stackoverflow.com/a/40911154/8369029 */
.rotated {writing-mode: tb-rl;transform: rotate(-180deg);font-size:70%;}