Difference between revisions of "MediaWiki:Common.css"
From WikiROMS
Jump to navigationJump to searchLine 3: | Line 3: | ||
/* 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; | |||
} | } |
Revision as of 15:07, 23 July 2008
/** 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;
}