MediaWiki:Common.css

From JaWiki (Jabber/XMPP wiki)
Revision as of 19:33, 22 May 2010 by Cblp.su (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 */

 /** <h2>This block is for Template:Library, Template:Client and so on ...</h2> */
 .iTable
 {
     float: right;
     clear: 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;
 }

 /** <h2>Several table styles from ru.wikipedia.org</h2> */
 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}

 /* <h2>Свистелки и всё такое</h2> */

 /** @brief <h3>лампочка на первой странице</h3>
  *  @author [[User:Cblp.su|Сыр Российский]]
  */
 .page-Frontpage #content
 {
     background: white URL(/images/2/29/Lightbulb.jpg) no-repeat right bottom;
 }

 /** @brief <h3>для более логичного отображения дискуссий, списков определений и врезок</h3>
  *  @author [[User:Cblp.su|Сыр Российский]]
  */
 dl
 {
     margin-bottom:  0;
 }
 dd
 {
     border-left:    dashed 1px #777;
     margin-left:    1.5em;
     padding-left:   1em;
 }

 /** @brief <h3>рамка с предупреждением — общая часть</h3>
  *  @author [[User:Cblp.su|Сыр Российский]]
  */
 .warn
 {
     margin-left:        10%;
     margin-right:       10%;
     border-style:       solid;
     border-color:       black;
     border-width:       1px;
     padding:            8pt;
     -moz-border-radius: 4pt;
 }

 /** @brief <h3>рамка с предупреждением — требуется объединение</h3>
  *  @author [[User:Cblp.su|Сыр Российский]]
  *
  *  для шаблона [[Template:Merge]]
  */
 .warn_merge
 {
     border-color: orange;
     background:   #FCA;
 }

 /** @brief <h3>расцвечивание [[список расширений|списка расширений]]</h3>
  *  @author [[User:Cblp.su|Сыр Российский]]
  */
 tr.status_Active td,
 tr.status_Final td
   { background: #dfd; }
 tr.status_Deferred td,
 tr.status_Deprecated td,
 tr.status_Obsolete td,
 tr.status_Rejected td,
 tr.status_Retracted td
   { background: #fdd; }
 tr.status_Draft td
   { background: #ffd; }

 /* <h2>Сворачивающиеся блоки</h2> */

 .collapseButton {		/* 'show'/'hide' buttons created dynamically by the        */
 	float: right;		/* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
 	font-weight: normal;	/* are styled here so they can be customised.              */
 	text-align: right;
 	width: auto;
 }