Difference between revisions of "MediaWiki:Common.css"

From WikiROMS
Jump to navigationJump to search
Line 16: Line 16:
   top: 50%;
   top: 50%;
   right: 0;
   right: 0;
}
body {
  font: x-small sans-serif;
  background: #f9f9f9 url('https://www.myroms.org/wiki/skins/monobook/bg.jpg') 0 0 no-repeat;
  color: black;
  margin: 0;
  padding: 0;
  height: 100%;
  max-height: 100%;
  width: 100%;
  overflow: hidden;
}
}

Revision as of 15:08, 23 July 2015

/** CSS placed here will be applied to all skins */

/* displayed formula, formula number */
div.texdisplay {
   position: relative;
   margin: 3px;
   padding: 3px;
   background-color: transparent;
   text-align:center;
}
/* change to float:left if you want formula numbers appear on the left */
div.texdisplay span.dispno {
   height: 20px;
   margin-top: -10px;
   position: absolute;
   top: 50%;
   right: 0;
}