MediaWiki:Common.css — различия между версиями

Материал из ВикиМИРЭА
Перейти к: навигация, поиск
Строка 2: Строка 2:
  
 
.toc, #toc { display: none; }
 
.toc, #toc { display: none; }
 +
.toc, #toc-mobile { display: none; }
  
 
div.p-summary p,
 
div.p-summary p,

Версия 18:51, 13 сентября 2021

/* Размещённый здесь CSS будет применяться ко всем темам оформления */

.toc, #toc { display: none; }
.toc, #toc-mobile { display: none; }

div.p-summary p,
div.p-summary dl {
  margin: 0;
}
 
div.p-summary dl {
  clear: both;
}
 
div.p-summary,
div.p-summary dl,
div.p-summary dt,
div.p-summary .sdt,
div.p-summary dd,
div.p-summary .sdd,
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.summarybox div.p-summary-line {
  border-top: 1px solid #ddd;
  padding: 0.35em 0em 0.3em;
  display: block;
  position: relative;
  overflow: hidden;
/*  font-size: 14px;*/
}

div.p-summary .sdt,
div.p-summary .sdd {
  border-top: 1px solid #ddd;
  padding: 0.35em 0em 0.3em;
  position: relative;
  overflow: hidden;
/*  font-size: 14px;*/
}

div.p-summary {
  float: right;
  clear: right;
  width: 320px;
  background: transparent;
  padding-top:0.4em !important;
}
 
div.p-summary,
div.summarybox {
  padding: 0.2em 0.5em 0.5em 0.5em !important;
  margin: 0 0 1em 1em;
  border-left: 3px solid #ccc;
}
 
div.p-summary div.thumbinner,
div.summarybox div.thumbinner {
  background: white;
  border-color: #ddd;
}
 
div.p-summary img.thumbimage,
div.summarybox img.thumbimage {
  border: none;
}
 
div.p-summary div.magnify,
div.summarybox div.magnify {
  display: none;
}
 
div.p-summary ol,
div.summarybox ol {
  margin-left: 1.6em;
}
 
div.p-summary p br {
  display: none;
}
 
div.p-summary dt,
div.p-summary div.p-summary-left {
  float: left;
  clear: both;
  width: 152px;
  font-weight: normal;
}

div.p-summary .sdt {
  clear: both;
  width: 152px;
  font-weight: normal;
  vertical-align: top;
  padding-right: 0.3em;
  padding-left: 0.3em;
  font-weight: bold;
}
 
div.p-summary dd,
div.p-summary .sdd,
div.p-summary div.p-summary-right {
  float: right;
  clear: none;
  margin: 0;
  width: 154px;
}
 
div.p-summary strong {
  display: block; 
  clear: both;
  padding: 0.75em 0;
}
 
div.p-summary strong.p-summary-title {
  padding: 0 0 0.25em;
  font-size: x-large;
}
 
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%;
}

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

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

.invisible { display:none }
.jnav-inactive { margin-top: .2em; margin-right: .4em; margin-left: .4em; padding: 0 .5em; border: 1px dashed grey; background-color: white }
.jnav-active { margin-top: .2em; margin-right: .4em; margin-left: .4em; padding: 0 .5em; border: 1px solid black; background-color: #add8e6 }
.skin-cyclone h2 { border-bottom:0 !important }
.skin-vector .main { margin-top: -12px !important; font-size: 95% !important }

.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:Карточка]]*/