Difference between revisions of "MediaWiki:Common.css"
From JaWiki (Jabber/XMPP wiki)
m (частично выровнял код + содержимое в ячейках выровнено по центру) |
|||
Line 2: | Line 2: | ||
/** This block is for Template:Library, Template:Client and so on ... */ | /** This block is for Template:Library, Template:Client and so on ... */ | ||
− | .iTable | + | .iTable |
− | .iHeader {color:#fff; background:#777; font-size:larger;} | + | { |
− | .iSection {text-align: center; font-weight:normal; background:#ccc; border: 1px solid #777;} | + | float: right; |
− | .iLine {vertical-align: top; font-size: smaller} | + | margin: 0 0 .5em 1em; |
− | .iParam {font-weight: bold; text-align: left} | + | width: 300px; |
− | .iValue {vertical-align: middle;} | + | background: #fff; |
+ | border-collapse: collapse; | ||
+ | border: 1px solid #777; | ||
+ | font-size: small; | ||
+ | line-height: 1.7; | ||
+ | } | ||
+ | .iHeader | ||
+ | { | ||
+ | color: #fff; | ||
+ | background: #777; | ||
+ | font-size: larger; | ||
+ | } | ||
+ | .iSection | ||
+ | { | ||
+ | text-align: center; | ||
+ | font-weight: normal; | ||
+ | background: #ccc; | ||
+ | border: 1px solid #777; | ||
+ | } | ||
+ | .iLine | ||
+ | { | ||
+ | vertical-align: top; | ||
+ | font-size: smaller; | ||
+ | } | ||
+ | .iParam | ||
+ | { | ||
+ | font-weight: bold; | ||
+ | text-align: left; | ||
+ | } | ||
+ | .iValue | ||
+ | { | ||
+ | vertical-align: middle; | ||
+ | } | ||
/** Several table styles from ru.wikipedia.org */ | /** Several table styles from ru.wikipedia.org */ | ||
Line 15: | Line 47: | ||
table.standard, table.wide, table.wikitable, table.standart {border: 1px solid rgb(170,170,170);border-collapse: collapse} | table.standard, table.wide, table.wikitable, table.standart {border: 1px solid rgb(170,170,170);border-collapse: collapse} | ||
table.standard th, table.wide th, table.wikitable th, table.standart th {border: 1px solid rgb(170,170,170);padding-left: 0.2em;padding-right: 0.2em;background-color: #EEEEFF} | table.standard th, table.wide th, table.wikitable th, table.standart th {border: 1px solid rgb(170,170,170);padding-left: 0.2em;padding-right: 0.2em;background-color: #EEEEFF} | ||
− | table.standard td, table.wide td, table.wikitable td, table.standart td {border: 1px solid rgb(170,170,170);padding-left: 0.2em;padding-right: 0.2em} | + | table.standard td, table.wide td, table.wikitable td, table.standart td |
− | table.standard caption, table.wide caption, table.wikitable caption, table.standart caption, table.tiles caption {font-weight: bold;padding-top: 0.2em;padding-bottom: 0.2em} | + | { |
+ | border: 1px solid rgb(170,170,170); | ||
+ | padding-left: 0.2em; | ||
+ | padding-right: 0.2em; | ||
+ | vertical-align: top; | ||
+ | } | ||
+ | table.standard caption, table.wide caption, table.wikitable caption, table.standart caption, table.tiles caption | ||
+ | { | ||
+ | font-weight: bold; | ||
+ | padding-top: 0.2em; | ||
+ | padding-bottom: 0.2em; | ||
+ | } | ||
table.wide {width: 100%} | table.wide {width: 100%} |
Revision as of 18:22, 13 June 2007
/** CSS placed here will be applied to all skins */ /** This block is for Template:Library, Template:Client and so on ... */ .iTable { float: right; margin: 0 0 .5em 1em; width: 300px; background: #fff; border-collapse: collapse; border: 1px solid #777; font-size: small; line-height: 1.7; } .iHeader { color: #fff; background: #777; font-size: larger; } .iSection { text-align: center; font-weight: normal; background: #ccc; border: 1px solid #777; } .iLine { vertical-align: top; font-size: smaller; } .iParam { font-weight: bold; text-align: left; } .iValue { vertical-align: middle; } /** Several table styles from ru.wikipedia.org */ table.simple {border-color: rgb(170,170,170); border-collapse: collapse} table.simple th, table.simple td {border-color: rgb(170,170,170); padding-left: 0.2em; padding-right: 0.2em} table.standard, table.wide, table.wikitable, table.standart {border: 1px solid rgb(170,170,170);border-collapse: collapse} table.standard th, table.wide th, table.wikitable th, table.standart th {border: 1px solid rgb(170,170,170);padding-left: 0.2em;padding-right: 0.2em;background-color: #EEEEFF} table.standard td, table.wide td, table.wikitable td, table.standart td { border: 1px solid rgb(170,170,170); padding-left: 0.2em; padding-right: 0.2em; vertical-align: top; } table.standard caption, table.wide caption, table.wikitable caption, table.standart caption, table.tiles caption { font-weight: bold; padding-top: 0.2em; padding-bottom: 0.2em; } table.wide {width: 100%} table.tiles {border-collapse: separate;border-spacing: 2px} table.tiles th {padding-left: 0.2em;padding-right: 0.2em;background-color: #EEEEFF} table.tiles td {padding-left: 0.2em;padding-right: 0.2em;background-color: #F0F0F0} tr.highlight th {background-color: #EEEEFF} tr.highlight td {background-color: #FFFFEE} tr.bright th {background-color: #CCCCFF} tr.bright td {background-color: #FFEECC} tr.shadow th {background-color: #F0F0F0} tr.shadow td {background-color: #F0F0F0} tr.dark th {background-color: #CCCCCC} tr.dark td {background-color: #CCCCCC} table th.highlight {background-color: #EEEEFF} table td.highlight {background-color: #FFFFEE} table th.bright {background-color: #CCCCFF} table td.bright {background-color: #FFEECC} table th.shadow {background-color: #F0F0F0} table td.shadow {background-color: #F0F0F0} table th.dark {background-color: #CCCCCC} table td.dark {background-color: #CCCCCC}