MediaWiki:Common.css

Материал из Ртищевской краеведческой энциклопедии
Перейти к навигации Перейти к поиску

Замечание. Возможно, после сохранения вам придётся очистить кэш своего браузера, чтобы увидеть изменения.

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl-F5 или Ctrl-R (⌘-R на Mac)
  • Google Chrome: Нажмите Ctrl-Shift-R (⌘-Shift-R на Mac)
  • Internet Explorer: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl-F5
  • Opera: Перейдите в Menu → Настройки (Opera → Настройки на Mac), а затем Безопасность → Очистить историю посещений → Кэшированные изображения и файлы
/* {Навигационная таблица} */
table.navbox {
  background: #f9f9f9;
  border: 1px solid #aaa;
  clear: both;
  font-size: 90%;
  margin: 1em 0em 0em;
  padding: 2px;
  width: 100%;
}
table.navbox th {
  background: #ccf;
  padding-left: 1em;
  padding-right: 1em;
  text-align: right;
}
table.navbox th.navbox-title {
  text-align: center;
}

/* Оформление таблиц */
table.standard, table.wide, table.prettytable
 {border:1px solid #aaa; border-collapse: collapse}
table.standard th, table.wide th, table.prettytable th
 {border:1px solid #aaa; padding-left:0.2em; padding-right:0.2em; background:#eef}
table.standard td, table.wide td, table.prettytable 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:#eef}
table.tiles td {padding-left:0.2em; padding-right:0.2em; background:#f0f0f0}
 
table.graytable {background:#f0f0f0; padding:1em; width: 100%}
table.graytable caption {padding-top:0.5em; background:#f0f0f0; font-weight:bold}
table.graytable caption span.subcaption {font-size:80%; font-weight:normal}
table.graytable th, table.graytable td {font-size:80%}
 
 
tr.highlight th, table tr th.highlight {background:#eef}
tr.highlight td, table tr td.highlight {background:#ffe; font-weight:normal}
tr.bright th, table tr th.bright {background:#ccf}
tr.bright td, table tr td.bright {background:#fec}
tr.shadow th, tr.shadow td, table tr th.shadow, table tr td.shadow   {background:#f0f0f0}
tr.dark th, tr.dark td, table tr th.dark, table tr td.dark {background:#ccc}
.transparent {background:transparent !important}
 
table.toccolours th {background:#ccf}
 
/* geography infoboxes, e.g. countries, national subdivisions, cities, etc. */
.infobox.geography {
	border: 1px solid #ccd2d9;
	text-align: left;
	border-collapse: collapse;
	line-height: 1.2em;
	font-size: 90%;
}
 
.infobox.geography td,
.infobox.geography th {
	border-top: solid 1px #ccd2d9;
	padding: 0.4em 0.2em 0.4em 0.8em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
	border-top: solid 1px #ccd2d9;
	padding: 0.4em 0.2em 0.2em 0.8em;
}
 
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
	border: 0;
	padding: 0 0.2em 0.2em 0.8em;
}
 
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
	border-top: 0;
	border-bottom: solid 1px #ccd2d9;
	padding: 0 0.2em 0.4em 0.8em;
}
 
.infobox.geography .maptable td,
.infobox.geography .maptable th {
	border: 0;
	padding: 0 0 0 0;
}
 
table.toccolours caption { font-weight: bold; }
table.toccolours tr.hrow th { background-color: #e0e6e9; }
tr.odd { background-color: inherit; }
tr.even { background-color: #eceff3; }
 
/*{Навигационная полоса}, {Hider}, ... */
div.Boxmerge,
div.NavFrame {
 margin:0;
 padding:2px;
 border:1px solid #aaa;
 text-align:center;
 border-collapse:collapse;
 font-size:95%;
}
div.Boxmerge div.NavFrame {
 border-style:none;
 border-style:hidden;
}
div.NavFrame + div.NavFrame {
 border-top-style:none;
 border-top-style:hidden;
}
div.NavPic {
 background:#fff;
 margin:0;
 padding:2px;
 float:left;
}
div.NavFrame div.NavHead {
 height:1.6em;
 font-weight:bold;
 font-size:100%;
 background:#efefef;
 position:relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
 font-size: 100%
}
div.NavEnd {
 margin:0;
 padding:0;
 line-height:1px;
 clear:both;
}
a.NavToggle {
 float:right;
 top:0;
 right:11px;
 font-weight:normal;
 font-size:smaller;
}
 
 
.messagebox.standard-talk {
  border: 1px solid #c0c090;
  background: #f8eaba
}
.messagebox .floatleft {
  vertical-align: middle;
  clear: both;
  margin: 2px;
  padding: 0
}
.messagebox .image {
  margin: 0;
  padding: 0
}
 
.infobox {
  border: 1px solid #aaa;
  background: #f9f9f9;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding:.4em;
  float: right;
  clear: right;
  font-size: 90%;
  width: 18em;
  vertical-align: middle;
}

.infoboxl {
  border: 1px solid #aaa;
  background: #f9f9f9;
  margin-bottom: 0.5em;
  margin-right: 1em;
  padding:.4em;
  float: left;
  clear: left;
  font-size: 90%;
  width: 18em;
  vertical-align: middle;
}

.infobox td, .infobox th {vertical-align:top}
table.infobox td p {margin:0} /* temporarily for [[Template:Карточка]]*/
 
.notice {
  text-align: justify;
  margin: 1em 0.5em;
  padding: 0.5em;
}
 
.messagebox {
  border: thin solid #aaa;
  background: #f9f9f9;
  width: 88%;
  margin: 0 auto 1em auto;
  padding:.4em;
  vertical-align: middle;
  font-size: 90%
}
 
blockquote {
  margin:0.7em 0 0.7em 5%;
  padding:0.7em 2% 0.7em 4%;
  background:#F5F5F5;
}
 
/* CSS placed here will be applied to all skins */
table.wikitable { 
 
 margin: 1em 1em 1em 0;
 
background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; 
 
} .wikitable th, .wikitable td { 
 
 border: 1px #aaa solid;
 
padding: 0.2em; 
 
} .wikitable th { 
 
 background: #f2f2f2;
 
text-align: center; 
 
} .wikitable caption { 
 
 font-weight: bold;
 
} 
 
/** Collapsible tables ********************************************************* 
 
 *
*  Description: Allows tables to be collapsed, showing only the header. See
*			   http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
*  Maintainers: [[en:User:R. Koot]]
*/
 
 
table.collapsed tr.collapsible { display: none; } 
 
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */ float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js|MediaWiki:Common.js]] */ font-weight: normal; /* are styled here so they can be customised. */ text-align: right; width: auto; } 
 
* Styling for links generated by [[MediaWiki:Edittools]]
 
.mw-charinsert-buttons { 
 
        margin-top: 10px;
 
border: 1px solid #aaaaaa; padding: 1px; text-align: center; font-size: 110%; 
 
} .mw-charinsert-buttons a { 
 
        color: black;
 
background-color: #cde !important; font-weight: bold; font-size: .9em; text-decoration: none; border: thin #069 outset; padding: 0 .1em .1em; 
 
} .mw-charinsert-buttons a:hover, .mw-charinsert-buttons a:active { 
 
        background-color: #bcd;
 
border-style: inset; 
 
} .client-js .mw-edittools-section { 
 
        display: inline;
 
} .client-js .mw-edittools-section input[type="button"] { 
 
        font-size: 0.9em;
 
padding-left: 1px; padding-right: 1px; margin-left: 1px; 
 
} 
 
/* Audio and Video Player */
.mw-tmh-player.audio {
	width: 80px;
}
.mw-tmh-play, a.mw-tmh-play {
	width: 80px;
	max-height: 70px;
	border-radius: 10px;
	opacity: 0.6;
	color: black;
	background: black;
}
.mw-tmh-player.audio > .mw-tmh-play {
	color: black;
}
.mw-tmh-play-icon {
	color: black;
}
.mw-tmh-player.video {
	text-align: center;
}
.mw-tmh-player.video > .mw-tmh-play {
	top: 10px;
	opacity: 0.6;
}

/* fix for line-breaking references */
sup, sub {line-height:1em}
 
.plainlinksneverexpand, .plainlinksneverexpand a
  {background:none !important; padding:0 !important}
.plainlinksneverexpand a.external.text:after,
.plainlinksneverexpand a.external.autonumber:after,
.plainlinksneverexpand .urlexpansion
  {display:none !important}
 
.clickable-image a:hover {text-decoration: none}
 
.printonly {display:none}
 
.dablink, .rellink {font-style:italic; padding-left:1.6em}
 
/* These mbox-small classes must be placed after all other 
   ambox/tmbox/ombox etc classes. "body.mediawiki" is so 
   they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small {   /* For the "small=yes" option. */
    /* @noflip */
    clear: right;
    /* @noflip */
    float: right;
    /* @noflip */
    margin: 4px 0 4px 1em;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
body.mediawiki table.mbox-small-left {   /* For the "small=left" option. */
    /* @noflip */
    margin: 4px 1em 4px 0;
    width: 238px;
    border-collapse: collapse;
    font-size: 88%;
    line-height: 1.25em;
}
 
.infobox {
  border: 1px solid #aaa;
  background: #f9f9f9;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding:.4em;
  float: right;
  clear: right;
  font-size: 90%;
  width: 18em;
  vertical-align: middle;
}
.infobox td, .infobox th {vertical-align:top}
table.infobox td p {margin:0} /* temporarily for [[Template:Карточка]]*/
 
.notice {
  text-align: justify;
  margin: 1em 0.5em;
  padding: 0.5em;
}
 
.messagebox {
  border: thin solid #aaa;
  background: #f9f9f9;
  width: 88%;
  margin: 0 auto 1em auto;
  padding:.4em;
  vertical-align: middle;
  font-size: 90%
}
 
blockquote {
  margin:0.7em 0 0.7em 5%;
  padding:0.7em 2% 0.7em 4%;
  background:#F5F5F5;
}
 
ol.references {font-size:100%}
.references-small {font-size:90%}
/* highlight focused footnotes and references in some browsers */
sup.reference:target, ol.references li:target, .highlight-target:target, cite:target, span.citation:target {background:#DEF}
sup.reference:target {font-weight:bold}
/* scrollable references */
.references-scroll {
 overflow: auto;
 padding: 3px;
}
 
/* {ambox} */
table.ambox {
  width: auto;
  margin: 0 10%;
  border-collapse: collapse;
  background:#FBFBFB;
  border: 1px solid #aaa;
  border-left: 10px solid #1E90FF
}
table.ambox th, table.ambox td {
  padding: 0.25em 0.5em;
}
table.ambox td.ambox-widthhack {
  padding: 0;
}
table.ambox td.ambox-text {
  width:100%;
}
table.ambox td.ambox-text .ambox-text-small {
  font-size:smaller;
}
table.ambox td.ambox-image {
  width: 52px;
  padding: 2px 0 2px 0.5em;
  text-align: center;
}
table.ambox td.ambox-imageright {
  width: 52px;
  padding: 2px 4px 2px 0;
  text-align: center;
}
table.ambox td.ambox-image div,
table.ambox td.ambox-imageright div {width:52px} /* Фикс для изображений разной ширины */
table.ambox-delete,
table.ambox-serious {
  border-left: 10px solid #B22222
}
table.ambox-content {
  border-left: 10px solid #F28500
}
table.ambox-style {
  border-left: 10px solid #F4C430
}
table.ambox-good {
  border-left: 10px solid #66CC44
}
table.ambox-discussion {
  border-left: 10px solid #339966
}
table.ambox-notice {
  border-left: 10px solid #1E90ff
}
table.ambox-merge {
  border-left: 10px solid #9932CC
}
table.ambox.ambox-mini {
  float: right;
  clear: right;
  margin: 0 0 0.5em 1em;
  width: 20%;
}
         #siteSub {

            display: inline; 
            font-size: 90%; 
            font-weight: normal; 

        }