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 будет применяться ко всем темам оформления */
/*MediaWiki interface*/
.portlet li.FA {list-style-image:url('//upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png')}
.portlet li.FL {list-style-image:url('//upload.wikimedia.org/wikipedia/commons/thumb/0/02/Purple_star_unboxed.svg/9px-Purple_star_unboxed.svg.png')}
.portlet li.GA {list-style-image:url('//upload.wikimedia.org/wikipedia/commons/thumb/6/6f/QS_blue_star_small.png/9px-QS_blue_star_small.png')}
.allpagesredirect {font-style:italic}
#file img {background:url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;}
#wpSave {font-weight:bold}
#userSummaryButtonsA a {
white-space:nowrap;
background: #C2F2FF;
border: 1px solid #9BD5F5;
padding: 0px 2px;
margin: 2px;
cursor: pointer;
font-size: 80%;
line-height: 17px;
color: #5B5B5B
}
#userSummaryButtonsA a:hover {
background: #B1EBFF;
border: 1px solid #64BDF0;
color: black;
text-decoration: none
}
.warningbox {
background: #FFFF99;
border: 1px solid #EEEE00;
background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/6/62/Nuvola_apps_important.png/30px-Nuvola_apps_important.png')
}
.informationbox {
background: #F4FBFF;
border: 1px solid #D5D9E6;
background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/2/28/Information.svg/30px-Information.svg.png')
}
.warningbox, .informationbox {
padding: 10px 10px 10px 50px;
background-position: 10px center;
background-repeat: no-repeat;
vertical-align: middle;
font-size: smaller;
}
pre {
overflow-x: auto;
overflow-y: hidden;
}
/* [[Википедия:Оформление таблиц]] */
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}
/* {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: 0.25em 0.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 0px 2px 0.5em;
text-align: center;
}
table.ambox td.ambox-imageright {
width: 52px;
padding: 2px 4px 2px 0px;
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.ambox-mini {
float: right;
clear: right;
margin: 0 0 0.5em 1em;
width: 20%;
}
.infobox {
border: 1px solid #aaaaaa;
background-color: #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:Карточка]]*/
.notice {
text-align: justify;
margin: 1em 0.5em;
padding: 0.5em;
}
.messagebox {
border: thin solid #aaaaaa;
background-color: #f9f9f9;
width: 88%;
margin: 0 auto 1em auto;
padding:.4em;
vertical-align: middle;
font-size: 90%
}
blockquote {
margin:0.7em 0 0.7em 5%;
padding:0.7em 2% 0.7em 4%;
background-color:#F5F5F5;
}
ol.references {font-size:100%}
.references-small {font-size:90%}
/* highlight focused footnotes and references in some browsers */
sup.reference:target, ol.references li:target, cite:target {background-color:#DEF}
sup.reference:target {font-weight:bold}
/* scrollable references */
.references-scroll {
overflow: auto;
padding: 3px;
}
/* fix for line-breaking references */
sup, sub {line-height:1em}
.plainlinksneverexpand, .plainlinksneverexpand a
{background:none !important; padding:0 !important}
.plainlinksneverexpand a.external.text:after,
.plainlinksneverexpand a.external.autonumber:after,
.plainlinksneverexpand .urlexpansion
{display:none !important}
.clickable-image a:hover {text-decoration: none}
.printonly {display:none}
.dablink, .rellink {font-style:italic; padding-left:2em}
#disambig {border-top: 3px double #cccccc; border-bottom: 3px double #cccccc}
/*{TOClimit}*/
.toclimit-2 .toclevel-2,
.toclimit-3 .toclevel-3,
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7 {display:none}
/* {IPA}, {Unicode} and {Polytonic} */
.IPA { font-family: "Chrysanthi Unicode", "Doulos SIL", Gentium, GentiumAlt, Code2000, "TITUS Cyberbit Basic", "DejaVu Sans", "Bitstream Cyberbit", "Arial Unicode MS", "Lucida Sans Unicode", "Hiragino Kaku Gothic Pro", "Matrix Unicode"; font-family /**/:inherit; }
.Unicode { font-family: Code2000, Code2001, "Free Serif", "TITUS Cyberbit Basic", "Doulos SIL", "Chrysanthi Unicode", "Bitstream Cyberbit", "Bitstream CyberBase", Thryomanes, Gentium, GentiumAlt, "Lucida Grande", "Free Sans", "Arial Unicode MS", "Microsoft Sans Serif", "Lucida Sans Unicode"; font-family /**/:inherit; }
.polytonic { font-family: "Athena Unicode", Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000; font-family /**/:inherit; }
/* PDF icon next to external PDF link for Mozilla and Opera and for {PDFlink} template */
a[href$=".pdf"].external,
a[href*=".pdf?"].external,
a[href*=".pdf#"].external,
a[href$=".PDF"].external,
a[href*=".PDF?"].external,
a[href*=".PDF#"].external,
span.PDFlink a {background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat !important; padding-right: 18px !important}
/* Clickable speaker in {Template:Audio} ... */
.audiolink a {
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png") center left no-repeat !important;
padding-left: 16px !important;
padding-right: 0 !important;
}
/* Medialist templates {Listen}, {Multi-listen_start}, {Video}, {Multi-video_start} */
div.listenlist {
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
padding-left: 40px;
}
div.videolist, div.multivideolist {
background: url("//upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
padding-left: 50px;
}
div.medialist {
min-height: 50px;
margin: 1em;
background-position: top left;
background-repeat: no-repeat;
}
div.medialist ul {
list-style-type: none;
list-style-image: none;
margin: 0;
}
div.medialist ul li {
padding-bottom: 0.5em;
}
div.medialist ul li li {
font-size: 91%;
padding-bottom: 0;
}
/* {Навигация} */
table.navigation-box th,
table.navigation-box td {
vertical-align: middle;
height: 30px;
}
/* {Навигационная таблица} */
table.navbox {
background-color: #f9f9f9;
border: 1px solid #aaa;
clear: both;
font-size: 90%;
margin: 1em 0em 0em;
padding: 2px;
width: 100%;
}
table.navbox th {
background-color: #ccf;
padding-left: 1em;
padding-right: 1em;
text-align: right;
}
/*{Навигационная полоса}, {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:3px;
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
}
/* {coord}s */
#coordinates {
position:absolute;
z-index:1;
right:9em;
top:3.7em;
float:right;
line-height:1.5em;
text-align:right;
font-size:85%;
white-space:nowrap;
}
#coordinates, .coordinates {
text-transform:none;
margin:0;
padding:0;
}
.geo-google, .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}
/* FlaggedRevs */
#mw-revisiontag, #mw-revisiontag-edit, #mw-oldreviewed-notice, li#ca-stable,
.fr-diff-ratings, div.fr-diff-to-stable, ul#pagehistory small {display:none}
.unpatrolled {visibility:hidden}
.flaggedrevs-unreviewed, .flaggedrevs-unreviewed2, .flaggedrevs-color-1 {background-color:transparent}
/*Special:Statistics*/
.statistics-group-import, .statistics-group-transwiki, .statistics-group-developer,
.statistics-group-boardvote, .statistics-group-reviewer, .statistics-group-steward {display:none}
/* Thumbnail fixes */
div.thumbinner img { background-color: #FFFFFF }
div.thumb { border-color: transparent }
/* Hide some stuff on the main page */
body.page-Заглавная_страница #t-cite,
body.page-Заглавная_страница #lastmod,
body.page-Заглавная_страница #siteSub,
body.page-Заглавная_страница #contentSub,
body.page-Заглавная_страница #catlinks,
body.page-Заглавная_страница #mw-data-after-content,
body.page-Заглавная_страница h1.firstHeading,
body.page-Портал_Заглавная_страница #t-cite,
body.page-Портал_Заглавная_страница #lastmod,
body.page-Портал_Заглавная_страница #siteSub,
body.page-Портал_Заглавная_страница #contentSub,
body.page-Портал_Заглавная_страница #catlinks,
body.page-Портал_Заглавная_страница #mw-data-after-content,
body.page-Портал_Заглавная_страница h1.firstHeading {
display: none !important
}
/* Templates like {tl} */
.wp-templatelink { color:#9098A0; }
/* Шаблон заголовка */
table.headertemplate {width:100%; margin-bottom:5px; border:1px solid #ADA; background:#E4F2E4; text-align:center; font-size:0.9em;}
.headertemplate .header_backlink, .headertemplate .header_forelink {width:20%; font-size:0.9em;}
.header_notes {width:100%; border-bottom:1px solid #A88; background:#FAFAFF; font-size:0.9em;}
.headertemplate .header_title {width: 60%; }
.headertemplate .header_backlink {text-align:left; }
.headertemplate .header_forelink {text-align:right; }
body.ns-0 h2, body.ns-0 h3, body.ns-0 h4 {text-align: center}
/* Класс text (из Wikilivres) */
div.text {
width: 42em;
text-indent: 2em;
text-align:justify;
margin:0px auto;
font-family: 'XO Thames', serif;
font-size: 140%;
line-height: 140%;
}
div.text div.thumb {
text-indent: 0;
}
/* Для прозы */
.indent p {
text-indent: 2em;
margin-bottom: 0ex;
margin-top: 0ex;
text-align: justify;
}
div.randompages {
padding:5px;
}
/* Для стихов */
div.poem {
font-size:111%;
line-height: 1.3em;
font-family: 'XO Thames','Times New Roman', serif;
}
/* Для стихов внутри text и indent */
div.text div.poem p {
text-indent: 0cm;
margin-left: 4em;
margin-bottom: 0ex;
margin-top: 0ex;
text-align: left;
/* font-size:127%; */
}
div.indent div.poem p {
text-indent: 0cm;
margin-left: 6em;
margin-bottom: 0ex;
margin-top: 0ex;
text-align: left;
font-size:127%;
}
div.poemchords {
font-size:111%;
font-family:'Courier New','Liberation Mono',monospace;
text-indent: 0cm;
}
div.poemchords dl {
margin: 0px;
}
/* Cross browser CS font definition */
/* http://cssing.org.ua/2009/10/24/font-face/ */
/* http://www.w3.org/TR/css3-fonts/ */
@font-face {
font-family: "Loaded Ucs BROKEN";
src: url("/extensions/HIP/fonts/triucs-webfont.ttf") format("truetype");
font-style:normal;
font-weight:normal;
}
@font-face {
font-family: "Loaded Ucs";
font-style: normal;
font-weight: normal;
src: url("/extensions/HIP/fonts/HirmIEUcs8.ttf") format("truetype");
}
@font-face {
font-family: 'TriodionUcsRegular';
src: url('/extensions/HIP/fonts/triucs-webfont.eot');
src: local('Triodion Ucs'), url('/extensions/HIP/fonts/triucs-webfont.woff') format('woff'), url('/extensions/HIP/fonts/triucs-webfont.ttf') format('truetype'), url('/extensions/HIP/fonts/triucs-webfont.svg#webfontcQlvIvYO') format('svg');
//font-weight: normal;
//font-style: normal;
}
@font-face {
font-family: triucsreg;
src: url(/extensions/HIP/fonts/triucs-webfont.ttf);
}
p span.hip {
font-size:120%;
font-family: 'Loaded Ucs', 'Hirmos Ucs';
text-indent: 0cm;
line-height: 1.4;
}
/* Для церковно-славянского языка */
.hip {
font-size:28px;
font-family: 'Loaded Ucs', 'Hirmos Ucs', 'Irmologion Ucs';
line-height: 1.4;
}
.hiptext {
font-size:28px;
font-family: 'Loaded Ucs', 'Hirmos Ucs', 'Irmologion Ucs';
text-indent: 0cm;
line-height: 1.4;
width: 42em;
margin:0px auto;
}
class.guitarchord {
font-weight:bold;
}
/* Дореформенная орѳографія */
.oldspell, .oldspell-indent {font-family:'Palatino Linotype','Arial Unicode MS';}
.oldspell-indent p {text-indent: 0.7cm; margin-bottom: 0ex; margin-top: 0ex; text-align: justify;}
/*********
** Page namespace
*********/
/* transcluded pages */
.lefttext p
{
text-indent: 2em;
}
.lefttext .poem p
{
text-indent: 0;
}
.lefttext .tiInherit p
{
text-indent: inherit;
}
.lefttext
{
width: 33em;
text-align: justify;
margin-left: 5em;
}
.leftoutdent
{
padding-left: 2em;
text-indent: -2em;
max-width: 33em;
margin-left: 5em;
}
/* similar to tiInherit, above; wrap something with a div of this class and set line-height; poem-tags, too */
.lhInherit p
{
line-height: inherit;
}
.quote
{
color: #2F4F4F; /* darkslategray (not a valid color name) */
margin-left: 2em;
margin-right: 2em;
}
/* Justify */
body.ns-104
{
text-align: justify;
}
/* Paragraph markers (no IE6 support) */
body.ns-104 div.pagetext>p
{
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Paragraph-mark.svg/6px-Paragraph-mark.svg.png) 0 .3em no-repeat;
margin-left: -10px;
padding-left: 10px;
}
/* ProofreadPage */
.quality4 { background-color: #90ff90; }
.quality3 { background-color: #ffe867; }
.quality2 { background-color: #b0b0ff; }
.quality1 { background-color: #ffa0a0; }
.quality0 { background-color: #ddd; }
.ns-104 .editsection { visibility:hidden; }
/* not in remarks */
div#remarks a.quality4 { background:#ffffff; }
div#remarks a.quality3 { background:#ffffff; }
div#remarks a.quality2 { background:#ffffff; }
div#remarks a.quality1 { background:#ffffff; }
div#remarks a.quality0 { background:#ffffff; }
h1.firstHeading {
font-size:133%;
}
.hyphens {
-moz-hyphens: auto;
-ms-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
/* http://wiki.laser.ru/index.php/MediaWiki/FAQ#.D0.9A.D0.B0.D0.BA_.D1.81.D0.B4.D0.B5.D0.BB.D0.B0.D1.82.D1.8C_.D0.BE.D0.B3.D0.BB.D0.B0.D0.B2.D0.BB.D0.B5.D0.BD.D0.B8.D0.B5_.D0.B1.D0.B5.D0.B7_.D0.BD.D0.BE.D0.BC.D0.B5.D1.80.D0.BE.D0.B2 */
/* When <div class="nonumtoc"> is used on the table of contents,
the ToC will display without numbers */
.nonumtoc .tocnumber { display:none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
line-height: 1.5em;
list-style: none;
margin: .3em 0 0;
padding: 0;
}
.nonumtoc #toc ul ul,
.nonumtoc .toc ul ul {
margin: 0 0 0 2em;
}
/* http://stackoverflow.com/questions/355313/how-do-i-hide-an-element-when-printing-a-web-page */
@media print
{
.no-print, .no-print *
{
display: none !important;
}
}
@font-face {
font-family: 'XO Thames';
src: local('XO Thames'), local('XO_Thames'),
url('//soulibre.ru/extensions/HIP/fonts/XO/XO_Thames_Nu.ttf') format('ttf'),
/* url('//soulibre.ru/extensions/HIP/fonts/XO/XO_Thames_Nu.woff') format('woff'); */
url('//soulibre.ru/extensions/HIP/fonts/XO/XO_Thames_Nu.woff2') format('woff2');
}