MediaWiki:Common.css

From JaWiki (Jabber/XMPP wiki)
Revision as of 18:22, 13 June 2007 by Juriks (Talk | contribs) (частично выровнял код + содержимое в ячейках выровнено по центру)

Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
 /** 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}