MediaWiki:Common.css

Материал из Свободная энциклопедия Урала
Перейти к: навигация, поиск
/** Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Оформление таблиц */
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}

h3, h4, h5, h6 { 
font-weight: 400; !important
}

/*
 
 <source lang="css">

 *    Стили, начинающиеся с div#p-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 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;
}

/*
 *     добавление стиля для показа содержания внутри информационной панели
 *

.tocinsummary *,
.tocinsummary *#toc,
.tocinsummary * *,
.tocinsummary * * * {
  border: none;
  background: transparent;
  width: 100%;
} */

/* </source> */
/***** Overcome mediawiki bug whereby the WikiEdit sprite is a no-show *****/
.wikiEditor-toolbar-spritedButton {
   background-image: linear-gradient(transparent, transparent), url("/extensions/WikiEditor/modules/images/toolbar/button-sprite.svg?v=001") !important;
   background-position: 0px 0px; /* This gets over-ridden with inline style to move sprite into view of relevant part */
   background-repeat: no-repeat !important;
}
Источник — «http://xn----8sbanercnjfnpns8bzb7hyb.xn--p1ai/index.php?title=MediaWiki:Common.css&oldid=164667»