Difference between revisions of "MediaWiki:Common.css"
From JaWiki (Jabber/XMPP wiki)
m (частично выровнял код + содержимое в ячейках выровнено по центру) |
m |
||
| Line 42: | Line 42: | ||
/** Several table styles from ru.wikipedia.org */ | /** Several table styles from ru.wikipedia.org */ | ||
| − | table.simple {border-color: rgb(170,170,170); border-collapse: collapse} | + | 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.simple th, table.simple td {border-color: rgb(170,170,170); padding-left: 0.2em; padding-right: 0.2em} | ||
| Line 83: | Line 87: | ||
table th.dark {background-color: #CCCCCC} | table th.dark {background-color: #CCCCCC} | ||
table td.dark {background-color: #CCCCCC} | table td.dark {background-color: #CCCCCC} | ||
| + | |||
| + | .page-Frontpage #content | ||
| + | { | ||
| + | background: URL(http://wiki.jrudevels.org/images/2/29/Lightbulb.jpg) no-repeat right bottom; | ||
| + | } | ||
Revision as of 15:33, 14 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}
.page-Frontpage #content
{
background: URL(http://wiki.jrudevels.org/images/2/29/Lightbulb.jpg) no-repeat right bottom;
}