MediaWiki:Common.css

Материал из Provizorii
Перейти к: навигация, поиск

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

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl-F5 или Ctrl-R (⌘-R на Mac)
  • Google Chrome: Нажмите Ctrl-Shift-R (⌘-Shift-R на Mac)
  • Internet Explorer: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl-F5
  • Opera: Выберите очистку кэша в меню Инструменты → Настройки
/*<pre><nowiki>*/

span.u { text-decoration:underline; }

a.new, #quickbar a.new { 
        color: #000000;
}

a.new, #p-personal a.new {
	color: #000000;
}
a.new:visited, #p-personal a.new:visited {
	color: #000000;
}

div#p-summary p,
div#p-summary dl,
div.p-summary p,
div.p-summary dl {
  margin: 0;
}

div#p-summary dl,
div.p-summary dl {
  clear: both;
}

div#p-summary,
div#p-summary dl,
div#p-summary dt,
div#p-summary dd,
div#p-summary strong,
div.p-summary,
div.p-summary dl,
div.p-summary dt,
div.p-summary dd,
div.p-summary strong,
div.summarybox div.p-summary-title {
  line-height: 1.1;
}

div#p-summary dt,
div#p-summary dd,
div#p-summary div.p-summary-line,
div.p-summary dt,
div.p-summary dd,
div.p-summary div.p-summary-line,
div.summarybox div.p-summary-line {
  border-top: 1px solid #ddd;
  padding: 0.35em 0em 0.3em;
  display: block;
  position: relative;
  overflow: hidden;
}

div#p-summary,
div.p-summary {
  float: right;
  clear: right;
  width: 22.5em;
  background: white;
}

div#p-summary,
div.p-summary,
div.summarybox {
  padding: 0em 0.5em 0.5em 0.75em;
  margin: 0 0 1em 1em;
  border-left: 3px solid #ccc;
}

div#p-summary div.thumbinner,
div.p-summary div.thumbinner,
div.summarybox div.thumbinner {
  background: white;
  border-color: #ddd;
}

div#p-summary img.thumbimage,
div.p-summary img.thumbimage,
div.summarybox img.thumbimage {
  border: none;
}

div#p-summary div.magnify,
div.p-summary div.magnify,
div.summarybox div.magnify {
  display: none;
}

div#p-summary ol,
div.p-summary ol,
div.summarybox ol {
  margin-left: 2em;
}

div#p-summary p br,
div.p-summary p br {
  display: none;
}

div#p-summary dt,
div#p-summary div.p-summary-left,
div.p-summary dt,
div.p-summary div.p-summary-left {
  float: left;
  clear: both;
  width: 11em;
  font-weight: normal;
}

div#p-summary dd,
div#p-summary div.p-summary-right,
div.p-summary dd,
div.p-summary div.p-summary-right {
  float: right;
  clear: none;
  margin: 0;
  width: 11em;
}

div#p-summary strong,
div.p-summary strong {
  display: block; 
  clear: both;
  padding: 0.75em 0;
}

div#p-summary strong.p-summary-title,
div.p-summary strong.p-summary-title {
  padding: 0 0 0.25em;
  font-size: x-large;
}

div#p-summary div.p-summary-line,
div.p-summary div.p-summary-line {
  clear: both;
}

.p-summary-tools,
.p-summary-tools *,
.p-summary-tools a,
.p-summary-tools a:link,
.p-summary-tools a:active,
.p-summary-tools a:hover,
.p-summary-tools a:visited,
.p-summary-tools a:focus {
  color: #aaa;
  list-style-type: none;
  list-style-image: none;
  font-size: 9pt;
  font-weight: normal;
}

div.summarybox .p-summary-title a,
div.summarybox .p-summary-title a:link,
div.summarybox .p-summary-title a:active,
div.summarybox .p-summary-title a:hover,
div.summarybox .p-summary-title a:visited,
div.summarybox .p-summary-title a:focus {
  color: inherit;
}

.p-summary-tools ul {
  margin-left: 0.5em;
}

@import url('/index.php?title=MediaWiki:Newpagesblacklinks.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:Summary.css&action=raw&ctype=text/css');

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

/* Это для рамок-ссылок на Вики-сайты */
.wikipedia{padding:1em 0.7em 0.7em 58px;background:#fdfeff url('http://upload.wikimedia.org/wikipedia/commons/thumb/6/63/Wikipedia-logo.png/66px-Wikipedia-logo.png') -10px 4px no-repeat;}
.wikipedia:hover{background-color:#fafcff;border-color:#4050c0}
.ramka {background-color:#fdfdfd;border:medium solid #999;padding: 0.5em 1em 0.6em 1em;margin:0.4em auto 0.8em auto}
.ramka blockquote{background-color:transparent !important;border-left:none !important}
.lj_user a, .lj_comm a, .lj_synd a{text-decoration:underline;font:bold small Verdana;white-space:nowrap}
.lj_user:before, .lj_comm:before, .lj_synd:before {vertical-align:middle;margin-right:2px;text-decoration:none;}
.lj_user:before{content:url("http://upload.wikimedia.org/wikibooks/ru/5/5e/Lj_user.gif")}
.lj_comm:before{content:url("http://upload.wikimedia.org/wikibooks/ru/1/10/Lj_comm.gif")}
.lj_synd:before{content:url("http://upload.wikimedia.org/wikibooks/ru/5/57/Lj_syndicated.gif")}
.lj_user a.external, .lj_comm a.external, .lj_synd a.external {background:none !important;padding:0 !important}
.zvuk_link{padding-left:16px;background: transparent url("http://upload.wikimedia.org/wikipedia/commons/0/0b/Ltspkr.png") 0px 0px no-repeat;}
.console{width:70%;margin:0 auto;min-height:10em;background:black;color:white;padding:0.3em 0 0.3em 0.6em}
.console pre{color:inherit !important;color:white !important}

.epigraf{margin-left:54%;font-family:serif;max-width:38em;min-width:16em;margin-bottom:1em;}
.epigraf blockquote{font-style:italic;border:0;background:none;padding:0 0 0.1em 0;margin:0}
.epigraf blockquote p{padding:0.2em 0;margin:0}
.podpis{text-align:right;padding:0.2em 0 0.2em 0;margin:0 1em 0 0}

.hiddenStructure {display: none;speak: none}
.notice {margin: 1em 1em 1em 20%;padding: 0.2em}
#disambig {border-top: 3px double #cccccc;border-bottom: 3px double #cccccc}
#spoiler {border-top: 2px solid #ddd;border-bottom:2px solid #ddd}
.Talk-Notice {border: 1px solid #C0C090;background-color: #F8EABA;margin-bottom: 3px;width: 85%;border-spacing: 3px;margin-left: auto;margin-right: auto}
.Talk-Notice td {background: inherit}
.Use_Default_Date_Convention { display: inline; }
.Use_AD_and_BC { display: none; }
.Use_BCE_and_CE { display: none; }
.plainlinksneverexpand {background: none ! important;padding: 0 ! important;}
.plainlinksneverexpand .urlexpansion {display: none ! important;}
.plainlinksneverexpand a {background: none !important;padding: 0 !important;}
.plainlinksneverexpand a.external.text:after {display: none !important;}
.plainlinksneverexpand a.external.autonumber:after {display: none !important;}

#bodyContent .plainlinksneverexpand a {background: none !important;padding: 0 !important}

.messagebox {border:thin solid #aaaaaa;background-color:#f9f9f9;width:88%;margin:0.8em auto 1em auto;padding:.4em;vertical-align:middle;font-size: 90%}
.messagebox .floatleft{vertical-align:middle;clear:both;margin:2px;padding:0;}
.messagebox .image{margin:0;padding:0;}

.IPA {font-family: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans, Bitstream Cyberbit, Arial Unicode MS, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode;font-family /**/:inherit}
.Unicode {font-family: TITUS Cyberbit Basic, Code2000, Doulos SIL, Chrysanthi Unicode, Bitstream Cyberbit, Bitstream CyberBase, Bitstream Vera, Thryomanes, Gentium, GentiumAlt, Visual Geez Unicode, Lucida Grande, Arial Unicode MS, Lucida Sans Unicode, Microsoft Sans Serif;font-family /**/:inherit}
.polytonic {font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000;font-family /**/:inherit}
#wpSave {font-weight: bold}
blockquote {margin:0.7em 0 0.7em 5%;padding:0.7em 2% 0.7em 4%;background-color:#f5f5f5;}
p.istochnik_pred {margin:1em 0 0 5%; font-size:110%;}
p.istochnik_pred:after {content:':'}
p.istochnik_sled {margin:0 2em 0 0; text-align:right;}
p.istochnik_sled:before {content:'— '}

table.toccolours {text-align: center} /* может напортить! */
table.toccolours th {background-color: #ccccff}

#file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;}

.allpagesredirect { font-style: italic }

#bodyContent a[href$=".pdf"].external, 
#bodyContent a[href*=".pdf?"].external, 
#bodyContent a[href*=".pdf#"].external,
#bodyContent a[href$=".PDF"].external, 
#bodyContent a[href*=".PDF?"].external, 
#bodyContent a[href*=".PDF#"].external {background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat;padding-right: 16px;}

span.PDFlink a {background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important;padding-right: 17px !important;}

.clickable-image a:hover { text-decoration: none; }
sup.reference:target, ol.references li:target {background-color: #ffffcc;}
sup.reference:target {font-weight: bold;}

.audiolink a{background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png") center left no-repeat !important;padding-left: 16px !important;padding-right: 0 !important;}

body.page-Провизории.Ру #lastmod, 
body.page-Провизории.Ру #siteSub, 
body.page-Провизории.Ру #contentSub, 
body.page-Провизории.Ру h1.firstHeading {display: none !important;}

/* При просмотре сделать вкладку «править» жирной. */
#ca-edit a { font-weight: bold !important; }
 
/* {Навигационная таблица} */
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;
}
 
 
/*{Навигационная полоса}, {Hider}, ... */
div.Boxmerge,
div.NavFrame {
  margin: 0px;
  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-color: #fff;
  margin: 0px;
  padding: 2px;
  float: left;
}
div.NavFrame div.NavHead {
  height: 1.6em;
  font-weight: bold;
  font-size: 100%;
  background-color: #efefef;
  position:relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p  {
  font-size: 100%
}
div.NavEnd {
  margin: 0px;
  padding: 0px;
  line-height: 1px;
  clear: both;
}
div.NavShow, div.NavHide {
  display: none;
}
a.NavToggle {
  position:absolute;
  top:0px;
  right:3px;
  font-weight:normal;
  font-size:smaller;
}
 
@media print{
  .navbox, .NavFrame, .metadata, .dablink, .sisterproject, #catlinks   {display: none}
  .toccolours {border: 1px solid #aaa} /* border around nav templates */
}

/* Semantic Template */

div#p-info, div#p-info dl, div#p-info dt, div#p-info dd
{
    font-family: 'Times New Roman';
    font-size: 10pt;
    line-height: 1em;
}

div#p-info dt, div#p-info dd
{
    border-top: 1px solid #ddd;
    padding: 0.35em 0em 0.3em;
    display: block;
    position: relative;
}

div#p-info
{
    float: right;
    padding: 0.5em 1em;
    margin: 0 0 1em 1em;
    width: 20em;
    border-left: 3px solid green;
}

div#p-info dt
{
    float: left;
    clear: both;
    width: 9.5em;
    font-weight: normal;
}

div#p-info dd
{
    float: right;
    clear: none;
    margin: 0;
    width: 10em;
}

/* edit summary shortcut buttons */
#userSummaryButtonsA a {
 background: #C2F2FF;
 border: 1px solid #9BD5F5;
 padding: 0px 2px;
 margin: 2px;
 cursor: pointer;
 font-size: 80%;
 line-height: 17px;
 color: #5B5B5B
}
#userSummaryButtonsA a:hover {
 background: #B1EBFF;
 border: 1px solid #64BDF0;
 color: black;
 text-decoration: none
}

/* Цветастые номерки (+100...) */
.mw-plusminus-pos {
    color: #006400; /* darkgreen */
}

/* .mw-plusminus-null - регулирование красных номерков */

.mw-plusminus-neg {
    color: #8B0000; /* darkred */
}

.dablink {
    font-style: italic;
    padding-left: 2em;
}

.dablink i {
    font-style: normal;
}

/* Расстояние между тулбаром и окном правки */
#toolbar {
    margin-bottom: 6px;
}

.stickybox {
    margin-top: 1.5em;
}

.stickybox + .stickybox {
    margin-top: 0;
}

/* Often used classes */
 
table.ambox {
  width: auto;
  margin: 0 10%;
  border-collapse: collapse;
  background: #FBFBFB;
  border: 1px solid #AAAAAA;
  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-image {
  width: 52px;
  padding: 2px 0px 2px 0.5em;
  text-align: center;
}
table.ambox td.ambox-imageright {
  width: 52px;
  padding: 2px 4px 2px 0px;
  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-protection {
  border-left: 10px solid #BBBBAA
}
table.ambox.ambox-mini {
  float: right;
  clear: right;
  margin: 0 0 0.5em 1em;
  width: 20%;
}

a.new, #p-personal a.new {
	color: #000000;
}
a.new:visited, #p-personal a.new:visited {
	color: #000000;
}

a.new, #quickbar a.new { 
        color: #000000;
}

#p-googleadsense h5 {
        display: none;
}

#p-googleadsense .pBody {
    background: inherit;
    text-align:  center;
    border: none;
    padding: 0.75em 0 0.3em
}

/* [[Википедия:Оформление таблиц]] */
table.standard, table.wide
 {border:1px solid #AAAAAA; border-collapse: collapse}
table.standard th, table.wide th, table.wikitable th
 {border:1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em; background-color:#EEEEFF}
table.standard td, table.wide td
 {border: 1px solid #AAAAAA; 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:#AAAAAA; border-collapse:collapse}
table.simple th, table.simple td {border-color:#AAAAAA; 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: #EEEEFF}
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 #AAAAAA; border-collapse:collapse}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td 
 {border:1px solid #AAAAAA; 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: #EEEEFF}
tr.highlight td {background-color: #FFFFEE}
tr.bright th   {background-color: #CCCCFF}
tr.bright td   {background-color: #FFEECC}
tr.shadow th, tr.shadow td  {background-color: #F0F0F0}
tr.dark th, 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, table td.shadow  {background-color: #F0F0F0}
table th.dark, table td.dark  {background-color: #CCCCCC}
table th.transparent, table td.transparent, .transparent {background-color: transparent}
 
table.toccolours th {background-color: #ccccff}

/*</nowiki></pre>*/

/* Для прозы */
 
.indent p {text-indent: 0.7cm; margin-bottom: 0ex; margin-top: 0ex; text-align: justify;}
 
/* Класс text (из Wikilivres) */
 
div.text {
  width: 42em;
  text-align:justify;
  margin:0px auto;
  font-family: serif;
  font-size: 111%;
}
 
.text p {
  text-indent: 2em;
  line-height: normal;
}
 
.text sup { font-size: 80%;
}
 
.text pre {
  background-color: #ffffff;
  font-family: serif;
  line-height: 150%;
  border: 0px;
  padding-left: 2em;
  margin: 0;
  white-space: pre;
}
 
/* Дореформенная орѳографія */
 
.oldspell {font-family:'Palatino Linotype','Arial Unicode MS';}


/* Шаблон заголовка */
 
 table.headertemplate {width:100%; margin-bottom:5px; border:1px solid #ADA; background:#E4F2E4; text-align:center; font-size:0.9em;}
 
.headertemplate .header_backlink, .headertemplate .header_forelink {width:20%; font-size:0.9em;} 
 
.header_notes {width:100%; border-bottom:1px solid #A88; background:#FAFAFF; font-size:0.9em;}
 
.headertemplate .header_title {width: 60%; }
.headertemplate .header_backlink {text-align:left; }
.headertemplate .header_forelink {text-align:right; }
 

/* Verse */
 
.verse { padding-left: 5em }
 
.verse pre {
        margin: 0;
        margin-bottom: 0;
        margin-top: 0;
        font-size: 100%;
        font-family: sans-serif;
	border: 0;
	color: inherit;
	background-color: #ffffff;
	line-height: 150%;
}
 
.verse h2, .verse h3, .verse h4, .verse h5 {
	padding-left: 3em;
        text-align: left;
        padding-bottom: 0;
}
 
.verse p {
	padding-left: 1em;
        text-align: left;
}

li#ca-alternate { margin-right: 0.5em; }

#ctrlcopy {
	color:transparent;
        height:1px;
        overflow:hidden;
        position:absolute;
        width:1px;
}