MediaWiki:Common.css

Материал из Энциклопедия StarCraft
Перейти к навигацииПерейти к поиску

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

  • 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), а затем Безопасность → Очистить историю посещений → Кэшированные изображения и файлы
/* <nowiki> Размещённый здесь CSS будет применяться ко всем темам оформления */

.page-Заглавная_страница firstHeading { display: none; }

.page-Заглавная_страница .mw-allpages-table-chunk a { font-weight: bold; }
.page-Заглавная_страница .mw-allpages-table-chunk .allpagesredirect a { font-weight: normal; }

.hidden { visibility: hidden; display: none; }
.ihidden { background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat; }

.control-terran,.control-protoss,.control-zerg,.mineral,.gas { font-weight: bold; }
.control-terran:after,.control-protoss:after,.control-zerg:after,.mineral:after,.gas:after { margin-left: 3px; }
.control-terran:after { content: url("//i.starcraft-wiki.ru/7/79/Tcontrol.png"); }
.control-protoss:after { content: url("//i.starcraft-wiki.ru/a/a1/Pcontrol.png"); }
.control-zerg:after { content: url("//i.starcraft-wiki.ru/a/a4/Zcontrol.png"); }
.mineral:after { content: url("//i.starcraft-wiki.ru/6/69/Mineral.png"); }
.gas:after { content: url("//i.starcraft-wiki.ru/7/78/Gas.png"); }

li#pt-userpage,	li#pt-anonuserpage
{
    background: url("//i.starcraft-wiki.ru/a/a4/Zcontrol.png") top left no-repeat;
}
#header-username:before { content: url("//i.starcraft-wiki.ru/a/a4/Zcontrol.png"); }

/* стиль шаблонов summary */
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,
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-line #Tnavbar {
  text-align: right;
  float     : right;
}
div#p-summary,
div.p-summary {
  float: right;
  clear: right;
  width: 22.5em;
  background: white;
}
div.wide#p-summary,
div.p-summary.wide {
  width: 100%;
}
div#p-summary,
div.p-summary,
div.summarybox {
  padding: 0.3em 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: transparent;
  border-color: #ddd;
}
div#p-summary img.thumbimage,
div.p-summary img.thumbimage,
div.summarybox img.thumbimage {
  border: none;
}
div#p-summary thumbcaption,
div.p-summary thumbcaption,
div.summarybox thumbcaption {
  text-align: inherit;
}
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,
div#p-summary ul,
div.p-summary ul,
div.summarybox ul {
  margin-left: 1.5em;
  margin-top : 0;
  padding-top: 0;
}
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.wide#p-summary dd,
div.wide#p-summary div.p-summary-right,
div.wide.p-summary dd,
div.wide.p-summary div.p-summary-right {
  width: auto;
}
div#p-summary strong,
div.p-summary strong {
}
div#p-summary strong.summarySection,
div.p-summary strong.summarySection {
  display: block; 
  clear: both;
  padding: 0.75em 0 0.5em;
  line-height: 1.1;
}
div#p-summary strong.p-summary-title,
div.p-summary strong.p-summary-title {
  display: block; 
  font-size: large;
  padding: 0.25ex 0 0.25ex 0;
  width: 100%;
}
div#p-summary div.p-summary-line,
div.p-summary div.p-summary-line {
  clear: both;
}
.p-summary-tools {
  margin-top: 0;
}
.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: smaller;
  /* 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,
.p-summary-tools ol {
  margin-left: 0.5em;
}
.tocinsummary *,
.tocinsummary *#toc,
.tocinsummary * *,
.tocinsummary * * * {
  border: none;
  background: transparent;
  width: 100%;
}
div.summarybox input,
div.summarybox select {
  margin: 0;
  width: 100%;
  border: #C0FFFF solid thin;
  background: #E0FFFF;
  color: #006060;
}
div.summarybox input {
  font-family: monospace;
}
div.summarybox select {
}
.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.org */
.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;
}
.infobox td, .infobox th {vertical-align:top}

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> */