Difference between revisions of "MediaWiki:Common.css"
From WikiROMS
Jump to navigationJump to search(3 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 { | ||
margin: 3px; padding: 3px; | position: relative; | ||
margin: 3px; | |||
padding: 3px; | |||
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; | |||
} | margin-top: -10px; | ||
position: absolute; | |||
top: 50%; | |||
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;
}*/