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

Материал из Циклопедии
Перейти к навигации Перейти к поиску
Нет описания правки
(ВААААЙП)
Метки: замена отмена
Строка 1: Строка 1:
/** Размещённый здесь CSS будет применяться ко всем темам оформления */
/** Размещённый здесь CSS будет применяться ко всем темам оформления */
#userSummaryButtonsA a { margin-right: 0.5em; cursor: pointer; }
#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: 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 }
.infobox td p { margin:0 }
/* {{word sense}} */
.disambig-item { clear: both }
.disambig-item-d { float: left; padding-top: .8em }
.disambig-item-img { width: 80px; border: 4px double lightBlue; margin-right:5px; }
.disambig-item-img a { border: none !important }
.disambig-item-text { margin-left: 88px; 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 }
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: -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:7em;
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 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 0em 0em;
  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;
}
/* СПИСКИ ----------------------------------------- */
/* 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;
}

Версия от 20:17, 9 февраля 2023

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

#userSummaryButtonsA a { margin-right: 0.5em; cursor: pointer; }