MediaWiki:Common.css

Материал из Ролевая энциклопедии
Перейти к: навигация, поиск
/** Размещённый здесь CSS будет применяться ко всем темам оформления */

#mw-content-text p
{
    text-indent: 1.1em;
}

/* [[wikipedia:ru:MediaWiki:Common.css|Википедия:Оформление таблиц]] */
table.standard, table.wide
 {border:1px solid #AAA; border-collapse: collapse}
table.standard th, table.wide th, table.wikitable th
 {border:1px solid #AAA; padding-left:0.2em; padding-right:0.2em; background-color:#EEF}
table.standard td, table.wide td
 {border: 1px solid #AAA; padding-left:0.2em; padding-right:0.2em}
table.standard caption, table.wide caption, table.tiles caption
 {font-weight:bold; padding-top: 0.2em; padding-bottom:0.2em}
table.wide {width: 100%}
 
table.simple {border-color:#AAA; border-collapse:collapse}
table.simple th, table.simple td {border-color:#AAA; padding-left:0.2em; padding-right:0.2em}
 
table.tiles {border-collapse:separate; border-spacing:2px}
table.tiles th {padding-left:0.2em; padding-right:0.2em; background-color: #EEF}
table.tiles td {padding-left:0.2em; padding-right:0.2em; background-color: #F0F0F0}
 
table.graytable {background:#f0f0f0; padding:1em; width: 100%}
table.graytable caption {padding:0.5em 0 0 0; background:#f0f0f0; font-size:100%; font-weight:bold}
table.graytable caption span.subcaption {font-size:80%; font-weight:normal}
table.graytable th, table.graytable td {font-size:80%}
 
table.wikitable, table.prettytable 
 {margin:1em 1em 1em 0; background:#F9F9F9; border:1px solid #AAA; border-collapse:collapse}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td 
 {border:1px solid #AAA; padding:0.2em}
table.wikitable caption, table.prettytable caption 
 {margin-left:inherit; margin-right:inherit; font-size:larger; font-weight:bold}
table.prettytable th 
 {background:#f2f2f2}
 
tr.highlight th {background-color: #EEF}
tr.highlight td {background-color: #FFE}
tr.bright th   {background-color: #CCF}
tr.bright td   {background-color: #FFEECC}
tr.shadow th, tr.shadow td  {background-color: #F0F0F0}
tr.dark th, tr.dark td  {background-color: #CCC}
table th.highlight  {background-color: #EEF}
table td.highlight  {background-color: #FFE}
table th.bright  {background-color: #CCF}
table td.bright  {background-color: #FEC}
table th.shadow, table td.shadow  {background-color: #F0F0F0}
table th.dark, table td.dark  {background-color: #CCC}
table th.transparent, table td.transparent, .transparent {background-color: transparent}
 
table.toccolours th {background-color: #CCF}

#userSummaryButtonsA a {
  white-space:nowrap;
  background: #CFF;
  border: 1px solid #9DF;
  padding: 0px 2px;
  margin: 2px;
  cursor: pointer;
  font-size: 80%;
  line-height: 17px;
  color: #666;
}
#userSummaryButtonsA a:hover {
  background: #BFF;
  border: 2px solid #6CF;
  color: black;
  text-decoration: none
}

/* http://www.mediawiki.org/wiki/Manual:Collapsible_tables */
.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;
}

/* Infobox template style from http://ru.wikifur.com/wiki/MediaWiki:Common.css */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: right;
    clear: right;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox caption {
    font-size: larger;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
 
.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}
 
.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}
 
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    border-right: 1px solid #aaa;
}

table.navbox {
  background-color: #f9f9f9;
  border: 1px solid #aaa;
  clear: both;
  font-size: 90%;
  margin: 1em 0em 0em;
  padding: 2px;
  width: 100%;
}
table.navbox th {
  background-color: #ccf;
  padding-left: 1em;
  padding-right: 1em;
  text-align: right;
}
.newcategory
{
 background-color: pink;
}
.show_original
{
 font-size:0.8em;
 cursor:pointer;
}
.hidden_original
{
 display:none;
}
.original:hover .hidden_original
{
 display:block;
}

#mw-articlefeedbackv5
{
 width:0px;
 height:0px;
 opacity:0;
}

div#mw-panel
{
 width:150px;
}