Difference between revisions of "MediaWiki:Common.css"
From RiversWiki
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; | 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 { |
float: right; | float: right; | ||
− | } | + | } |
− | /* Menu riversowe - testy?? */ | + | |
− | table.riversmenu { | + | |
− | + | /* Menu riversowe - testy?? */ | |
− | + | table.riversmenu { | |
− | + | background-color: #CCCCFF; | |
− | + | color: #660000; | |
− | + | text-align: center; | |
− | + | border: 1px solid #660000; | |
− | + | padding: 1px; | |
− | + | font-size: 100%; | |
− | + | border-spacing: 0; | |
− | } | + | margin: 0 0 1em 1em; clear: right; |
− | table.riversmenu th, table.riversmenu td { | + | margin-left:70px; |
+ | } | ||
+ | table.riversmenu th, table.riversmenu td { | ||
padding: 0.3ex 1ex; | padding: 0.3ex 1ex; | ||
border: none; | border: none; | ||
− | } | + | } |
− | table.riversmenu th { | + | table.riversmenu th { |
text-align: center; | text-align: center; | ||
background-color: #660000; | background-color: #660000; | ||
color: #CCCCFF; | color: #CCCCFF; | ||
font-size: 115%; | font-size: 115%; | ||
− | } | + | } |
− | + | ||
− | + | ||
− | table.stubtab { | + | /* Ramka - stub */ |
+ | table.stubtab { | ||
background-color: #CCCCFF; | background-color: #CCCCFF; | ||
color: #660000; | color: #660000; | ||
Line 46: | Line 49: | ||
border-spacing: 0; | border-spacing: 0; | ||
margin: 1em auto 1em 1em; clear: left; | margin: 1em auto 1em 1em; clear: left; | ||
− | } | + | } |
− | table.stubtab th, table.stubtab td { | + | table.stubtab th, table.stubtab td { |
− | + | padding: 0.3ex 1ex; | |
− | + | border: none; | |
− | } | + | } |
− | table.stubtab th { | + | table.stubtab th { |
text-align: center; | text-align: center; | ||
background-color: #660000; | background-color: #660000; | ||
color: #CCCCFF; | color: #CCCCFF; | ||
font-size: 115%; | font-size: 115%; | ||
− | } | + | } |
Revision as of 11:31, 23 September 2008
/* CSS placed here will be applied to all skins */ /* displayed formula, formula number */ div.texdisplay { 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 { float: right; } /* Menu riversowe - testy?? */ table.riversmenu { background-color: #CCCCFF; color: #660000; text-align: center; border: 1px solid #660000; padding: 1px; font-size: 100%; border-spacing: 0; margin: 0 0 1em 1em; clear: right; margin-left:70px; } table.riversmenu th, table.riversmenu td { padding: 0.3ex 1ex; border: none; } table.riversmenu th { text-align: center; background-color: #660000; color: #CCCCFF; font-size: 115%; } /* Ramka - stub */ table.stubtab { background-color: #CCCCFF; color: #660000; text-align: center; border: 1px dashed #660000; padding: 1px; font-size: 120%; border-spacing: 0; margin: 1em auto 1em 1em; clear: left; } table.stubtab th, table.stubtab td { padding: 0.3ex 1ex; border: none; } table.stubtab th { text-align: center; background-color: #660000; color: #CCCCFF; font-size: 115%; }