Difference between revisions of "MediaWiki:Common.css"

From WikiROMS
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/** CSS placed here will be applied to all skins */
/** CSS placed here will be applied to all skins */


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

Latest revision as of 18:57, 3 August 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;
}*/