Difference between revisions of "MediaWiki:Common.css"

From Open Cosmos :: Documentation
Jump to: navigation, search
 
(No difference)

Latest revision as of 03:48, 13 December 2015

/* 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;
}