MediaWiki:Common.css

From Open Cosmos :: Documentation
Revision as of 03:48, 13 December 2015 by Mark (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */

.centered {
  margin: 1em auto;
  padding: 0 4em;
  text-align: center;
}

.centered>* {
  display: inline-block;
}

.flex-gallery {
  display: inline-flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: flex-start;
}

.flex-gallery>* {
  width:auto;
  height:auto;
  float:none;
  display:block;
  margin: 1em;
}

.thumbinner .flex-gallery .thumbinner {
  border: 0;
}

span.mono {
  white-space: pre;
  font-family: monospace;
}



h1:after,
h2:after,
h3:after,
h4:after,
h5:after,
h6:after,
.clearfix:after {
	display: block;
	content: '';
	clear: both;
	overflow: hidden;
	height: 0;
	line-height: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.clearfix {
    zoom: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear:both !important;
}