Difference between revisions of "MediaWiki:Common.css"
From RiversWiki
(New page: →CSS placed here will be applied to all skins: →displayed formula, formula number: div.texdisplay { margin: 3px; padding: 3px; background-color: transparent; text-align:c...) |
|||
(15 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
/* 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 */ | ||
+ | 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%; | ||
+ | } | ||
+ | /* tabelki */ | ||
+ | table.rtable { | ||
+ | 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.rtable th, table.riversmenu td { | ||
+ | padding: 0.3ex 1ex; | ||
+ | border: none; | ||
+ | } | ||
+ | table.rtable th { | ||
+ | text-align: center; | ||
+ | background-color: #C6AEC7; | ||
+ | color: #CCCCFF; | ||
+ | font-size: 100%; | ||
+ | font-weight: bold; | ||
+ | } |
Latest revision as of 11:50, 24 November 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 */ 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%; } /* tabelki */ table.rtable { 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.rtable th, table.riversmenu td { padding: 0.3ex 1ex; border: none; } table.rtable th { text-align: center; background-color: #C6AEC7; color: #CCCCFF; font-size: 100%; font-weight: bold; }