MediaWiki:Common.css

From railML 2 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;
}

div.user {
  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;
}

/* Farben bei Syntaxhighlight */
/* vgl. https://www.mediawiki.org/w/index.php?title=Topic:Vjttqs8vp9q2gn9q&topic_showPostId=vjvfpc91soz0drz6#flow-post-vjvfpc91soz0drz6 */
.syntaxhighlight-custom-color pre { background-color: black; }
.syntaxhighlight-custom-color pre > font { color: red; }