MediaWiki:Common.css

Материал из Энциклобогии
Версия от 13:26, 1 декабря 2021; Godville (обсуждение | вклад) (ts-comment-commentedText)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигации Перейти к поиску

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

  • 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 будет применяться ко всем темам оформления */

pre {overflow: auto}

#disambig {border-top: 3px double #cccccc; border-bottom: 3px double #cccccc}

/* [[Википедия:Оформление таблиц]] */

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}

table.hilite {width:100%; padding:2px; border:red 1px dashed; background:#FAFAFA; border-spacing:1px;}
table.hilite td {spacing:0px; padding:2px; border:0px;}


/*{Навигационная полоса}, {Hider}, ... */
div.Boxmerge,
div.NavFrame {
 margin: 0px;
 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-color: #fff;
 margin: 0px;
 padding: 2px;
 float: left;
}
div.NavFrame div.NavHead {
 height: 1.6em;
 font-weight: bold;
 font-size: 100%;
 background-color: #efefef;
 position:relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
 font-size: 100%
}
div.NavEnd {
 margin: 0px;
 padding: 0px;
 line-height: 1px;
 clear: both;
}
div.NavShow, div.NavHide {
 display: none;
}
a.NavToggle {
 position:absolute;
 top:0px;
 right:0.2em;
 font-weight:normal;
 font-size:smaller;
}

.messagebox.standard-talk {
 border: 1px solid #c0c090;
 background-color: #f8eaba
}
.messagebox .floatleft {
 vertical-align: middle;
 clear: both;
 margin: 2px;
 padding: 0
}
.messagebox .image {
 margin: 0;
 padding: 0
}

.highlight-target:target { 
 background: #eaf3ff; 
}

.ts-comment-commentedText { border-bottom: 1px dashed; cursor: help; }

/* Тач-устройства */ @media (hover: none) { .ts-comment-commentedText:not(.rt-commentedText) { border-bottom: 0; cursor: auto; } }