MediaWiki:Common.css

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

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

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
  • Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
  • Internet Explorer / Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
  • Opera: Нажмите Ctrl+F5.
/** Размещённый здесь CSS будет применяться ко всем темам оформления */
#userSummaryButtonsA a { margin-right: 0.5em; cursor: pointer; }

/* system */
.p120 { font-size: 120% }
body.page-Заглавная_страница #t-cite,
body.page-Заглавная_страница #footer-info-lastmod, 
body.page-Заглавная_страница #siteSub, 
body.page-Заглавная_страница #contentSub, 
body.page-Заглавная_страница .action-view h1.firstHeading {
  display: none !important;
}

/* table’s class="infobox" */
.infobox {
  border: 1px solid #aaa;
  background: #f9f9f9;
  margin-bottom: .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 }
.infobox td p:first-child { margin-top:0; }
.infobox td p:last-child { margin-bottom:0; }

/* {{word sense}} */
.disambig-item { clear: both }
.disambig-item-d { float: left; padding-top: 4px; }
.disambig-item-img { width: 80px; border: 4px double lightBlue; margin-right:5px; }
.disambig-item-img a { border: none !important }
.disambig-item-text { margin-left: 93px; padding: .6em inherit inherit 1em; overflow: hidden }
.disambig-item-definition { font-style: italic; margin-top: .4em }

h1.glavheader { font-size: 350%; margin-bottom: 4px; font-family: Candara, sans-serif }

/* Шаблоны Summary */

/* summary карточка */

div.p-summary {
	width:320px!important;
	float:right;
	clear:right;
}

div.p-summary,
div.summarybox {
	padding:0 .5em 0 .6em;
	border-width:0 0 0 3px;
	margin:0 0 1em 1em;
}

/* summarybox */

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;
}

/* summarylist */

div.summarylist {
	border-width:3px 0 1px;
	padding:.3em 2em .5em;
	margin:1em auto;
	width:80%;
}

div.p-summary,
div.summarybox,
div.summarylist,
div.summarylist > table,
div.summarylist > table > caption,
div.summarylist > table > tbody > tr > th,
div.summarylist > table > tbody > tr > td {
	background:transparent;
	border-style:solid;
	border-color:#000;
}

/* summary title */

div.p-summary strong.p-summary-title,
div.summarylist strong.p-summary-title {
	font-size:large;
	padding:.2em 0;
}

/* summary subtitle */

div.p-summary div.p-summary-tools,
div.summarylist div.p-summary-tools {
	padding:.1em 0 .26em;
}

.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 {
	list-style-image:none;
	list-style-type:none;
	font-weight:normal;
	line-height:9pt;
	font-size:9pt;
	color:#aaa;
}

.p-summary-tools a {
	border-bottom:none!important;
}

.p-summary-tools b {
	font-weight:bold;
}

/* summary блоки */

div.p-summary strong.p-summary-title,
div.summarylist strong.p-summary-title,
div.p-summary strong.p-summary-section,
div.summarylist strong.p-summary-section {
	display:block;
}

div.summarylist,
div.p-summary dl,
div.summarylist dl,
div.summarylist hr,
div.p-summary dl > dt,
div.summarylist dl > dt,
div.summarylist > table,
div.p-summary div.p-summary-line,
div.p-summary div.p-summary-cells,
div.p-summary div.p-summary-tools,
div.summarylist div.p-summary-line,
div.summarylist div.p-summary-cells,
div.summarylist div.p-summary-tools,
div.p-summary strong.p-summary-title,
div.summarylist strong.p-summary-title,
div.p-summary strong.p-summary-section,
div.summarylist strong.p-summary-section {
	clear:both;
}

div.p-summary,
div.summarylist,
div.summarybox strong.p-summary-title {
	line-height:1.1;
}

div.p-summary div.p-summary-image,
div.summarylist strong.p-summary-title,
div.p-summary strong.p-summary-section,
div.summarylist strong.p-summary-section {
	text-align:center;
}

div.p-summary dt,
div.p-summary dd,
div.summarylist dt,
div.summarylist dd,
div.p-summary div.p-summary-line,
div.summarylist > table > caption,
div.summarybox div.p-summary-line,
div.p-summary div.p-summary-cells,
div.summarylist div.p-summary-line,
div.summarylist div.p-summary-cells,
div.p-summary strong.p-summary-section,
div.summarylist strong.p-summary-section,
div.summarylist > table > tbody > tr > th,
div.summarylist > table > tbody > tr > td {
	border-top:1px solid #ddd;
	padding-bottom:.3em;
	padding-top:.35em;
	position:relative;
	overflow:hidden;
}

div.p-summary dt,
div.p-summary dd,
div.summarylist dt,
div.summarylist dd,
div.p-summary div.p-summary-line,
div.summarylist > table > caption,
div.summarylist div.p-summary-line,
div.p-summary-cells > div:last-child,
div.p-summary-cells > div:first-child,
div.p-summary strong.p-summary-section,
div.summarylist strong.p-summary-section,
div.summarylist > table > tbody > tr > th,
div.summarylist > table > tbody > tr > td {
	padding-right:4px;
	padding-left:4px;
}

div.p-summary p,
div.p-summary dl,
div.p-summary dt,
div.p-summary dd,
div.summarybox p,
div.summarybox dl,
div.summarylist p,
div.summarylist dl,
div.summarylist dt,
div.summarylist dd,
div.p-summary-cells > div:last-child,
div.p-summary-cells > div:first-child,
div.summarylist strong.p-summary-title {
	margin:0;
}

/* summary 2 колонки */

div.p-summary-cells > div:only-child {
	width:calc( 100% - 8px )!important;
}

div.p-summary dt,
div.summarylist dt,
div.p-summary-cells > div:first-child {
	float:left;
}

div.p-summary-cells > div:first-child {
	border-right:1px solid #ddd;
}

div.p-summary dd,
div.summarylist dd,
div.p-summary-cells > div:last-child {
	border-right:0!important;
	float:right;
	clear:none;
}
/* ( 320 / 2 ) - 4 - ( 4 * 2 ) */
div.p-summary dt,
div.p-summary dd,
div.summarylist dt,
div.p-summary div.p-summary-cells > div:last-child {
	width:148px;
}

/* summary карточка 2 колонки */

/* ( 320 / 2 ) - 1 - ( 4 * 2 ) */
div.p-summary div.p-summary-cells > div:first-child {
	width:151px;
}

/* summarylist 2 колонки */

/* 100% - 148 - ( 4 * 4 ) - 8 */
div.summarylist dd {
	width:calc( 100% - 172px );
}
/* 50% - ( 4 * 2 ) - 1 */
div.summarylist div.p-summary-cells > div:last-child,
div.summarylist div.p-summary-cells > div:first-child {
	width:calc( 50% - 9px );
}

/* summary картинка */

div.p-summary-image {
    padding-right:0!important;
    padding-left:0!important;
}

div.p-summary-image div.thumb {
    float:none!important;
}

div.p-summary div.thumb,
div.summarybox div.thumb,
div.summarylist div.thumb {
    margin:0!important;
}

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

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

div.p-summary thumbcaption,
div.summarybox thumbcaption,
div.summarylist thumbcaption {
	text-align:inherit;
}

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

/* summary вложенные элементы */

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

div.p-summary hr,
div.summarybox hr,
div.summarylist hr {
	background-color:#ccc;
}

div.summarylist > table {
	width:calc( 100% + 16px );
	border-spacing:8px 0;
	margin:0 -8px;
	border:0;
}

div.summarylist > table > caption {
	font-weight:bold;
	margin:0 8px;
}

div.summarylist > table > caption,
div.summarylist > table > tbody > tr > th,
div.summarylist > table > tbody > tr > td {
	border-width:1px 0 0;
}

div.p-summary table {
	margin-bottom: -3px;
}

div.p-summary-line > table {
	margin:0 auto;
}

/* summary вложенные списки */

div.p-summary ol,
div.p-summary ul,
div.summarybox ol,
div.summarybox ul {
	margin:0 0 0 1.6em;
	padding-top:0;
}

.p-summary-tools ul, 
.p-summary-tools ol {
	margin-left:.5em;
}

/* summary вложенная таблица сдержания TOC */

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

/* summary конец */

.invisible {
  display:none;
}
.jnav-inactive {
 1px solid black;
  background-color:#add8e6;
}
.skin-cyclone h2 {
  border-bottom:0 !important;
}
.skin-vector .main {
  margin-top:-6px !important;
  font-size:95% !important
}

#coordinates, .coordinates {
 text-transform:none;
 margin:0;
 padding:0;
}
.geo-google, .geo-osm, .geo-yandex {
 font-family:serif;
 font-weight:bold;
 line-height:1em;
}
.geo-geo-dec .geo-dec, .geo-geo-dms .geo-dms {display:inline}
.geo-geo-dec .geo-dms, .geo-geo-dms .geo-dec, .geo-multi-punct {display:none}
.geo-lat, .geo-lon {white-space:nowrap}
 
.wp-templatelink { color:#9098A0; }

.coordinates {  
 position:absolute !important;
 z-index:1;
 right:1em;
 float:right;
 line-height:1.5em;
 text-align:right;
 font-size:85%;
 white-space:nowrap;
 margin-top: -18px !important;
}

blockquote {
  float:none;
  padding:3px 15px !important;
  border:1px solid #e0e0e0;
  display:table;
}

pre { display:table; }

#toc { display:inline-block !important }

.znav-wrapper { margin-top:1.4em }
.znav-body { clear:both; background:rgb(242,242,242); width:94%; -webkit-border-radius: 0.4em 0.4em 0.4em 0.4em; -moz-border-radius: 0.4em 0.4em 0.4em 0.4em; border-radius: 0.4em 0.4em 0.4em 0.4em }
.znav-header { text-align:center; background-color:#f0f0f0; -webkit-border-radius: 0.4em; -moz-border-radius: 0.4em; border-radius: 0.4em; -webkit-box-shadow: 0 0 22px -4px darkgrey; -moz-box-shadow: 0 0 22px -4px darkgrey; box-shadow: 0 0 22px -4px darkgrey }
.znav-header-text { font-size: 115%; font-weight: bold }


/* {Навигация} */
table.navigation-box th,
table.navigation-box td {
  vertical-align: middle;
  height: 30px;
}
 
/* {Навигационная таблица} */
table.navbox {
  background: #f9f9f9;
  border: 1px solid #aaa;
  clear: both;
  font-size: 90%;
  margin: 1em 0 0 0;
  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;
}
 
 
/*{Навигационная полоса}, {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;
}

/* Ненужная мишура со Склада */
div.description, #template-picture-of-the-day, #accessments, .layouttemplate { display:none; }
div.description.ru, .layouttemplate.licensetpl { display:block; }

/* Test */
.grey, .grey a { color:#333; }
.blue a { color:#069; }

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

/* Предупреждение 18+ в футере */
#footer-places-privacy::before { content:"Данный ресурс может содержать материалы 18+"; font-size:11px; margin-right:1em; }

/* Местные попытки исправления несуразностей испорченных стилей */
.tleft {
	margin-right:1em;
	margin-left:0;
}
.tright {
	margin-right:0;
	margin-left:1em;
}
.tnone {
	margin-right:0;
	margin-left:0;
}

/* СПИСКИ ----------------------------------------- */

/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 9 (2016-08-10)
   @author [[User:Edokter]]
 */
.hlist dl,
.hlist.hlist ol,
.hlist.hlist ul {
	margin: 0;
	padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	margin: 0;
	display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
	display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
	display: none;
}
/* Generate bullets */
.hlist dt:after {
	content: ": ";
}
.hlist dd:after,
.hlist li:after {
	content: "\00a0• ";
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
	content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
	content: " (";
	font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
	content: ")";
	font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
	counter-reset: listitem;
}
.hlist ol > li {
	counter-increment: listitem;
}
.hlist ol > li:before {
	content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
	content: " (" counter(listitem) "\a0";
}

/* Немаркированные списки */
.plainlist ol:not(.references),
.plainlist dl,
.plainlist ul {
	line-height: inherit;
	list-style: none none;
	margin: 0;
}
.plainlist ol:not(.references) li,
.plainlist dl dt,
.plainlist dl dd,
.plainlist ul li {
	margin: 0;
}
.plainlist dl dt:after {
	content: ": ";
}

/* Неразрывные пробелы в горизонтальных списках */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
	white-space: nowrap;
}

/* Но где-то неразрывность надо сбросить (например, в навшаблонах в узких местах) */
.wrap,
.wraplinks a,
.wraplinks .selflink,
.hlist-items-nowrap dl dl, .hlist-items-nowrap dl ol, .hlist-items-nowrap dl ul, /* Allow nested lists to wrap anyway */
.hlist-items-nowrap ol dl, .hlist-items-nowrap ol ol, .hlist-items-nowrap ol ul,
.hlist-items-nowrap ul dl, .hlist-items-nowrap ul ol, .hlist-items-nowrap ul ul {
	white-space: normal;
}

/* {ambox} */
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: .25em .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 .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-protection {
  border-left: 10px solid #BBBBAA;
}
table.ambox.ambox-mini {
  float: right;
  clear: right;
  margin: 0 0 .5em 1em;
  width: 20%;
}

/* {Спойлер в тексте} */
span.spoiler       { color:#E6E6FA; background-color:#E6E6FA; }  /* от участника lllKSTlll */
span.spoiler:hover { color:inherit; background-color:inherit; }

/*   Т А Б Л И Ц Ы   */

/* Оформление таблиц */
table.standard,
table.wide {
  border: 1px solid #AAAAAA;
  border-collapse: collapse;
}
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #F9F9F9;
  border: 1px solid #AAAAAA;
  border-collapse: collapse;
}
table.graytable {
  background: #f0f0f0;
  padding: 1em;
}
table.wide,
table.graytable {
  width: 100%;
}

/* Заголовки таблиц */
table.tiles caption,
table.standard caption,
table.wide caption {
  font-weight: bold;
  padding-top: .2em;
  padding-bottom: .2em;
}
table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-size: larger;
  font-weight: bold;
}
table.graytable caption {
  padding-top: .5em;
  background: #f0f0f0;
  font-weight: bold;
}
table.graytable caption span.subcaption {
  font-size: 88.5%;
  font-weight: normal;
}

/* Ячейки таблиц */
table.wikitable th,
table.wikitable td,
table.prettytable th,
table.prettytable td {
  border: 1px solid #AAAAAA;
  padding: .2em;
}
table.prettytable th {
  background: #f2f2f2;
}
table.standard th,
table.wide th,
table.wikitable th {
  border: 1px solid #AAAAAA;
  padding-left: .2em;
  padding-right: .2em;
  background-color: #EEEEFF;
}
table.standard td,
table.wide td {
  border: 1px solid #AAAAAA;
  padding-left: .2em;
  padding-right: .2em;
}
table.graytable th,
table.graytable td {
  font-size: 88.5%;
}

/* Оформление ячеек */
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;
}
.transparent,        /* вот этот класс действует глобально, его наверно лучше вынести в общие стили */
table th.transparent,
table td.transparent {
  background-color:transparent;
}

/* Таблицы разное */
table.toccolours th {
  background-color:#ccccff;
}

/* Исправления съезжания видео в шаблоне {{Youtube}} */
div.thumbimage iframe {
  display:block;
}

/* Кнопка [править] справа в разделах статей */
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6 {
  overflow:hidden;
}
h1 span.mw-editsection,
h2 span.mw-editsection,
h3 span.mw-editsection,
h4 span.mw-editsection,
h5 span.mw-editsection,
h6 span.mw-editsection {
  float:right;
  font-size:inherit;
  line-height:inherit;
  margin-left:0 !important;
  padding-right:3px;
  padding-top:0;
}
span.mw-editsection span.mw-editsection-bracket,
span.mw-editsection a {
  font-size:small;
}
/* фикс для темы Timeless  */
h2 span.mw-editsection {
  margin-top:-2px;
}
.mw-body-content h1:after,
.mw-body-content h2:after {
  clear:right;
}

/* ФОРУМ ЦИКЛОПЕДИИ */

/* таблица форума */

/* шапка таблицы */
table.cwforum-head {
  border-top:1px solid #eee;
  width:100%;
}
th.cwforum-head-page {
  border-left:4px solid #eee;
  border-bottom:1px solid #eee;
  font-weight:normal;
  padding:.2em .5em;
  text-align:left;
  font-size:125%;
  width:15%;
}
th.cwforum-head-reason {
  border-bottom:1px solid #eee;
  font-weight:normal;
  padding:.2em .5em;
  text-align:left;
  font-size:125%;
  width:75%;
}
th.cwforum-head-status {
  border-bottom:1px solid #eee;
  border-right:1px solid #eee;
  font-weight:normal;
  padding:.2em .5em;
  text-align:left;
  font-size:125%;
  width:10%;
}

/* строка запроса */
td.cwforum-request-page {
  border-width:0 0 0 4px;
  border-style:solid;
  vertical-align:top;
  padding:.4em .5em;
  line-height:1.2em;
  font-size:90%;
  color:#000;
}
td.cwforum-request-reason {
  border-style:solid;
  vertical-align:top;
  padding:.1em .5em;
  border-width:0;
  color:unset;
}
td.cwforum-request-status {
  border-width:0 1px 0 0;
  border-style:solid;
  vertical-align:top;
  padding:.4em .5em;
  line-height:1.2em;
  font-size:90%;
}
td.cwforum-request-result {
  border-width:0 1px 0 4px;
  border-style:solid;
  vertical-align:top;
  padding:.2em .5em;
  font-size:small;
}
td.cwforum-request-borderbottom {
  border-bottom-width:1px;
}

/* цвета запросов */

/* default */
tr.cwforum-request-color-default > td.cwforum-request-page,
tr.cwforum-request-color-default > td.cwforum-request-reason,
tr.cwforum-request-color-default > td.cwforum-request-status,
tr.cwforum-request-color-default > td.cwforum-request-result,
tr.cwforum-request-color- > td.cwforum-request-page,
tr.cwforum-request-color- > td.cwforum-request-reason,
tr.cwforum-request-color- > td.cwforum-request-status,
tr.cwforum-request-color- > td.cwforum-request-result {
  background-color:#f9f9f9;
  border-color:#ddd;
}
/* error */
tr.cwforum-request-color-error > td.cwforum-request-page,
tr.cwforum-request-color-error > td.cwforum-request-reason,
tr.cwforum-request-color-error > td.cwforum-request-status,
tr.cwforum-request-color-error > td.cwforum-request-result {
  background-color:#f9f9f9;
  border-color:#ddd;
}
td.cwforum-request-reason div.cwforum-talk-color-error,
tr.cwforum-request-color-error div.cwforum-talk-info,
tr.cwforum-request-color-error > td.cwforum-request-page,
tr.cwforum-request-color-error > td.cwforum-request-status {
  color:#b22;
}
/* violet */
tr.cwforum-request-color-violet > td.cwforum-request-page,
tr.cwforum-request-color-violet > td.cwforum-request-reason,
tr.cwforum-request-color-violet > td.cwforum-request-status,
tr.cwforum-request-color-violet > td.cwforum-request-result {
  background-color:#fdf;
  border-color:#95b;
}
td.cwforum-request-reason div.cwforum-talk-color-violet,
tr.cwforum-request-color-violet div.cwforum-talk-info,
tr.cwforum-request-color-violet > td.cwforum-request-page,
tr.cwforum-request-color-violet > td.cwforum-request-status {
  color:#909;
}
/* blue */
tr.cwforum-request-color-blue > td.cwforum-request-page,
tr.cwforum-request-color-blue > td.cwforum-request-reason,
tr.cwforum-request-color-blue > td.cwforum-request-status,
tr.cwforum-request-color-blue > td.cwforum-request-result {
  background-color:#cef;
  border-color:#28b;
}
td.cwforum-request-reason div.cwforum-talk-color-blue,
tr.cwforum-request-color-blue div.cwforum-talk-info,
tr.cwforum-request-color-blue > td.cwforum-request-page,
tr.cwforum-request-color-blue > td.cwforum-request-status {
  color:#069;
}
/* red */
tr.cwforum-request-color-red > td.cwforum-request-page,
tr.cwforum-request-color-red > td.cwforum-request-reason,
tr.cwforum-request-color-red > td.cwforum-request-status,
tr.cwforum-request-color-red > td.cwforum-request-result {
  background-color:#ffe7e7;
  border-color:#e43;
}
td.cwforum-request-reason div.cwforum-talk-color-red,
tr.cwforum-request-color-red div.cwforum-talk-info,
tr.cwforum-request-color-red > td.cwforum-request-page,
tr.cwforum-request-color-red > td.cwforum-request-status {
  color:#b22;
}
/* green */
tr.cwforum-request-color-green > td.cwforum-request-page,
tr.cwforum-request-color-green > td.cwforum-request-reason,
tr.cwforum-request-color-green > td.cwforum-request-status,
tr.cwforum-request-color-green > td.cwforum-request-result {
  background-color:#efe;
  border-color:#0b4;
}
td.cwforum-request-reason div.cwforum-talk-color-green,
tr.cwforum-request-color-green div.cwforum-talk-info,
tr.cwforum-request-color-green > td.cwforum-request-page,
tr.cwforum-request-color-green > td.cwforum-request-status {
  color:#080;
}
/* gray */
tr.cwforum-request-color-gray > td.cwforum-request-page,
tr.cwforum-request-color-gray > td.cwforum-request-reason,
tr.cwforum-request-color-gray > td.cwforum-request-status,
tr.cwforum-request-color-gray > td.cwforum-request-result {
  background-color:#f9f9f9;
  border-color:#ddd;
}
td.cwforum-request-reason div.cwforum-talk-color-gray,
tr.cwforum-request-color-gray div.cwforum-talk-info,
tr.cwforum-request-color-gray > td.cwforum-request-page,
tr.cwforum-request-color-gray > td.cwforum-request-status {
  color:#999;
}
/* yellow */
tr.cwforum-request-color-yellow > td.cwforum-request-page,
tr.cwforum-request-color-yellow > td.cwforum-request-reason,
tr.cwforum-request-color-yellow > td.cwforum-request-status,
tr.cwforum-request-color-yellow > td.cwforum-request-result {
  background-color:#ffe;
  border-color:#fd0;
}
td.cwforum-request-reason div.cwforum-talk-color-yellow,
tr.cwforum-request-color-yellow div.cwforum-talk-info,
tr.cwforum-request-color-yellow > td.cwforum-request-page,
tr.cwforum-request-color-yellow > td.cwforum-request-status {
  color:#b80;
}

/* строка обсуждения */
td.cwforum-request-reason div.cwforum-talk-collapsed {
  border-color:inherit;
  font-size:small;
  border-width:0;
}
td.cwforum-request-reason div.cwforum-talk-buttons {
  font-weight:normal;
  float:right;
}
td.cwforum-request-reason div.cwforum-talk-head {
  font-size:medium;
  font-weight:bold;
}
td.cwforum-request-reason div.cwforum-talk-content {
  border-color:inherit;
  font-size:1.1em;
  border-width:0;
}
td.cwforum-request-reason div.cwforum-talk-info {
  border-width:1px 0 0 0;
  border-color:inherit;
  border-style:solid;
  font-style:italic;
  font-size:small;
  padding:.1em 0;
  clear:both;
}

/* кнопки форума */

/* большая синяя кнопка */
span.cwforum-btn-bl {
  text-decoration:inherit;
  border-radius:.3em;
  padding:.5em 1em;
  font-size:125%;
}
span.cwforum-btn-bl-a {
  background:#049;
  color:#FFF;
}
span.cwforum-btn-bl-n {
  cursor:not-allowed;
  background:#DDD;
  color:#EEE;
}

/* средняя жёлтая кнопка */
span.cwforum-btn-y {
  display:inline-block;
  border-radius:.3em;
  margin-right:.3em;
  background:#fd8;
  font-size:110%;
  padding:.3em;
  color:#222;
}
span.cwforum-btn-y > font {
  border-bottom:1px solid #999;
}

/* убирание отступа от новой строки внутри блоков */
.p-collapse p:first-child { margin-top:0; }
.p-collapse p:last-child  { margin-bottom:0; }

/* слияние границ последовательно идущих блоков (с рамкой 1px) */
.nextblocktopbordercollapse { border-top-width:1px; }
.nextblocktopbordercollapse + .nextblocktopbordercollapse { border-top-width:0; }

/* список с маркером дефис */
.mdashlist > ul > li {list-style:none;}
.mdashlist > ul > li:before {content:'\2014\00A0';}

/* СТИЛИ НАВИГАЦИОННЫХ ШАБЛОНОВ ЦИКЛОПЕДИИ */
.cw-width {
	width:85%;
}
/* Навигационный шаблон Nav в Циклопедии */
table.cw-nav {
	margin:0 auto;
	clear:both;
}
table.cw-nav > tbody > tr > th,
table.cw-nav > tbody > tr > td {
	padding:0 3px;
}
table.cw-nav > tbody > tr > th.cw-nav-header {
	padding:5px;
}
table.cw-nav > tbody > tr > th.cw-nav-above,
table.cw-nav > tbody > tr > th.cw-nav-below {
	font-weight:normal;
	text-align:center;
}
th.cw-nav-header > div.cw-nav-image,
th.cw-nav-header > div.cw-nav-title,
th.cw-nav-header > div.cw-nav-clink,
th.cw-nav-header > div.cw-nav-tlink {
	background-color:transparent!important;
	display:table-cell!important;
	vertical-align:middle;
}
th.cw-nav-header > div.cw-nav-image {
	text-align:left;
	width:1px;
}
th.cw-nav-header > div.cw-nav-title {
	text-align:center;
	padding:0 5px;
	width:100%;
}
th.cw-nav-header > div.cw-nav-title > span.cw-nav-title {
	font-size:110%;
}
th.cw-nav-header > div.cw-nav-title > div.cw-nav-habove {
	background-color:transparent!important;
	font-weight:normal;
	margin:.5em 0;
}
th.cw-nav-header > div.cw-nav-clink,
th.cw-nav-header > div.cw-nav-tlink,
th.cw-nav-header > div.cw-nav-tlink > a {
	font-weight:normal;
	font-size:small;
	color:inherit;
	float:none;
	width:1px;
}
th.cw-nav-header > div.cw-nav-clink {
	padding:0 0 0 20px;
	text-align:right;
}
th.cw-nav-header > div.cw-nav-clink > span:hover {
	text-decoration:underline;
}
th.cw-nav-header > div.cw-nav-tlink {
	text-align:left;
}