MediaWiki:Common.css: различия между версиями
>Edward Chernenko м незачем загружать глобальный файл ради 5 статей |
>Edward Chernenko сжатие |
||
| Строка 1: | Строка 1: | ||
/*<pre><nowiki>*/ | /*<pre><nowiki>*/ | ||
/* See also: [[MediaWiki:Monobook.css]] */ | /* See also: [[MediaWiki:Monobook.css]] */ | ||
/*** Mark redirects in Special:Allpages und Special:Watchlist ***/ | /*** Mark redirects in Special:Allpages und Special:Watchlist ***/ | ||
.allpagesredirect, .watchlistredir { | |||
.allpagesredirect | |||
.watchlistredir { | |||
font-style: italic; | font-style: italic; | ||
} | } | ||
/*** Forum formatting (by -Algorithm & -Splaka) ***/ | /*** Forum formatting (by -Algorithm & -Splaka) ***/ | ||
.forumheader { | .forumheader { | ||
border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; | border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; | ||
| Строка 43: | Строка 35: | ||
border-collapse: collapse; | border-collapse: collapse; | ||
} | } | ||
table.prettytable th, table.prettytable td { | table.prettytable th, table.prettytable td { | ||
border: 1px #aaaaaa solid; | border: 1px #aaaaaa solid; | ||
padding: 0.2em; | padding: 0.2em; | ||
} | } | ||
table.prettytable th { | table.prettytable th { | ||
background: #f2f2f2; | background: #f2f2f2; | ||
text-align: center; | text-align: center; | ||
} | } | ||
table.prettytable caption { | table.prettytable caption { | ||
margin-left: inherit; | margin-left: inherit; | ||
| Строка 61: | Строка 50: | ||
} | } | ||
/* | /* Различные настройки */ | ||
#p-wikicities-nav { display: none; } | #p-wikicities-nav { display: none; } | ||
#nihilism_message { position: absolute; left: 100px; top: 50px; } | #nihilism_message { position: absolute; left: 100px; top: 50px; } | ||
#file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} | |||
/* | /* для {{NoincludeWantedpages}} */ | ||
span.new a { color: #ba0000 ! important; } | span.new a { color: #ba0000 ! important; } | ||
span.new a:visited { color: #a55858 ! important; } | span.new a:visited { color: #a55858 ! important; } | ||
| Строка 76: | Строка 63: | ||
/* Всё, что ниже, взято из Википедии без изменений */ | /* Всё, что ниже, взято из Википедии без изменений */ | ||
.hiddenStructure {display: none;speak: none} | .hiddenStructure {display: none;speak: none} | ||
.notice {margin: 1em 1em 1em 20%;padding: 0.2em} | .notice {margin: 1em 1em 1em 20%;padding: 0.2em} | ||
#disambig {border-top: 3px double #cccccc;border-bottom: 3px double #cccccc} | #disambig {border-top: 3px double #cccccc;border-bottom: 3px double #cccccc} | ||
#spoiler {border-top: 2px solid #ddd;border-bottom:2px solid #ddd} | #spoiler {border-top: 2px solid #ddd;border-bottom:2px solid #ddd} | ||
.Talk-Notice {border: 1px solid #C0C090;background-color: #F8EABA;margin-bottom: 3px;width: 85%;border-spacing: 3px;margin-left: auto;margin-right: auto} | .Talk-Notice {border: 1px solid #C0C090;background-color: #F8EABA;margin-bottom: 3px;width: 85%;border-spacing: 3px;margin-left: auto;margin-right: auto} | ||
.Talk-Notice td {background: inherit} | .Talk-Notice td {background: inherit} | ||
.Use_Default_Date_Convention { display: inline; } | .Use_Default_Date_Convention { display: inline; } | ||
.Use_AD_and_BC { display: none; } | .Use_AD_and_BC { display: none; } | ||
.Use_BCE_and_CE { display: none; } | .Use_BCE_and_CE { display: none; } | ||
.plainlinksneverexpand { | .plainlinksneverexpand { | ||
| Строка 97: | Строка 77: | ||
padding: 0 ! important; | padding: 0 ! important; | ||
} | } | ||
.plainlinksneverexpand .urlexpansion { | .plainlinksneverexpand .urlexpansion { | ||
display: none ! important; | display: none ! important; | ||
} | } | ||
.plainlinksneverexpand a { | .plainlinksneverexpand a { | ||
background: none !important; | background: none !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
} | } | ||
.plainlinksneverexpand a.external.text:after { | .plainlinksneverexpand a.external.text:after { | ||
display: none !important; | display: none !important; | ||
| Строка 113: | Строка 90: | ||
display: none !important; | display: none !important; | ||
} | } | ||
#bodyContent .plainlinksneverexpand a {background: none !important;padding: 0 !important} | #bodyContent .plainlinksneverexpand a {background: none !important;padding: 0 !important} | ||
| Строка 124: | Строка 100: | ||
.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 {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.sisterproject {background-color:#f9fafd} | .infobox.sisterproject {background-color:#f9fafd} | ||
/* ЖЖ */ | /* ЖЖ */ | ||
| Строка 155: | Строка 121: | ||
table.toccolours th {background-color: #ccccff} | table.toccolours th {background-color: #ccccff} | ||
/* | /* [[wikipedia:ru:Википедия:Правила оформления таблиц]] */ | ||
table.simple {border-color: rgb(170,170,170); border-collapse: collapse} | table.simple {border-color: rgb(170,170,170); border-collapse: collapse} | ||
table.simple th, table.simple td {border-color: rgb(170,170,170); padding-left: 0.2em; padding-right: 0.2em} | table.simple th, table.simple td {border-color: rgb(170,170,170); padding-left: 0.2em; padding-right: 0.2em} | ||
table.standard, table.wide, table.wikitable, table.standart {border: 1px solid rgb(170,170,170);border-collapse: collapse} | table.standard, table.wide, table.wikitable, table.standart {border: 1px solid rgb(170,170,170);border-collapse: collapse} | ||
table.standard th, table.wide th, table.wikitable th, table.standart th {border: 1px solid rgb(170,170,170);padding-left: 0.2em;padding-right: 0.2em;background-color: #EEEEFF} | table.standard th, table.wide th, table.wikitable th, table.standart th {border: 1px solid rgb(170,170,170);padding-left: 0.2em;padding-right: 0.2em;background-color: #EEEEFF} | ||
table.standard td, table.wide td, table.wikitable td, table.standart td {border: 1px solid rgb(170,170,170);padding-left: 0.2em;padding-right: 0.2em} | table.standard td, table.wide td, table.wikitable td, table.standart td {border: 1px solid rgb(170,170,170);padding-left: 0.2em;padding-right: 0.2em} | ||
table.standard caption, table.wide caption, table.wikitable caption, table.standart caption, table.tiles caption {font-weight: bold;padding-top: 0.2em;padding-bottom: 0.2em} | table.standard caption, table.wide caption, table.wikitable caption, table.standart caption, table.tiles caption {font-weight: bold;padding-top: 0.2em;padding-bottom: 0.2em} | ||
table.wide {width: 100%} | table.wide {width: 100%} | ||
table.tiles {border-collapse: separate;border-spacing: 2px} | table.tiles {border-collapse: separate;border-spacing: 2px} | ||
table.tiles th {padding-left: 0.2em;padding-right: 0.2em;background-color: #EEEEFF} | 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.tiles td {padding-left: 0.2em;padding-right: 0.2em;background-color: #F0F0F0} | ||
tr.highlight th {background-color: #EEEEFF} | tr.highlight th {background-color: #EEEEFF} | ||
tr.highlight td {background-color: #FFFFEE} | tr.highlight td {background-color: #FFFFEE} | ||
| Строка 183: | Строка 140: | ||
tr.dark th {background-color: #CCCCCC} | tr.dark th {background-color: #CCCCCC} | ||
tr.dark td {background-color: #CCCCCC} | tr.dark td {background-color: #CCCCCC} | ||
table th.highlight {background-color: #EEEEFF} | table th.highlight {background-color: #EEEEFF} | ||
table td.highlight {background-color: #FFFFEE} | table td.highlight {background-color: #FFFFEE} | ||
| Строка 192: | Строка 148: | ||
table th.dark {background-color: #CCCCCC} | table th.dark {background-color: #CCCCCC} | ||
table td.dark {background-color: #CCCCCC} | table td.dark {background-color: #CCCCCC} | ||
table th.transparent {background-color: transparent} | table th.transparent {background-color: transparent} | ||
table td.transparent {background-color: transparent} | table td.transparent {background-color: transparent} | ||
#file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} | #file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} | ||
| Строка 411: | Строка 365: | ||
width: 100%; | width: 100%; | ||
} | } | ||
table.navbox th { | table.navbox th { | ||
background-color: #ccf; | background-color: #ccf; | ||
| Строка 417: | Строка 370: | ||
padding-right: 1em; | padding-right: 1em; | ||
} | } | ||
table.navbox tr:not(:first-child) th { | table.navbox tr:not(:first-child) th { | ||
background-color: #ddf; | background-color: #ddf; | ||
} | } | ||
@media print { | @media print { | ||
.navbox { | .navbox { | ||
| Строка 428: | Строка 379: | ||
} | } | ||
/* | /* navbox hiding, see [[wikipedia:en:Wikipedia:NavFrame]]. */ | ||
div.Boxmerge, | div.Boxmerge, | ||
div.NavFrame { | div.NavFrame { | ||
| Строка 481: | Строка 431: | ||
font-size:smaller; | font-size:smaller; | ||
} | } | ||
/*</nowiki></pre>*/ | /*</nowiki></pre>*/ | ||