MediaWiki:Common.css: различия между версиями
Не работает |
Нет описания правки |
||
| Строка 23: | Строка 23: | ||
.portalfont{font-family:Verdana,Arial,Helvetica,sans-serif;} | .portalfont{font-family:Verdana,Arial,Helvetica,sans-serif;} | ||
#portal .CategoryTreeToggle { | #portal .CategoryTreeToggle{display:none!important;} | ||
} | |||
#portal .CategoryTreeLabelPage { | #portal .CategoryTreeLabelPage { | ||
font-style: normal; | font-style: normal;} | ||
} | |||
#portal .CategoryTreeBullet:before { | #portal .CategoryTreeBullet:before { | ||
content: url('/w/images/1/17/Bullet.gif'); | content: url('/w/images/1/17/Bullet.gif');} | ||
} | |||
#portal .CategoryTreeChildren .CategoryTreeNotice { | #portal .CategoryTreeChildren .CategoryTreeNotice { | ||
display: none; | display: none;} | ||
} | |||
#portal .editsection { | #portal .editsection { | ||
font-weight: normal ! important; | font-weight: normal ! important;} | ||
} | |||
#portal table { | #portal table { | ||
background: inherit ! important; | background: inherit ! important;} | ||
} | |||
.refresh a:visited{color:#002bb8;} | .refresh a:visited{color:#002bb8;} | ||
| Строка 56: | Строка 49: | ||
width: 250px; | width: 250px; | ||
height: 233px; | height: 233px; | ||
padding: 5px; | padding: 5px;} | ||
} | |||
.unnote_h { | .unnote_h { | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
font-weight: bold; | font-weight: bold;} | ||
} | |||
.unnote_t { | .unnote_t { | ||
margin: 5px; | margin: 5px; | ||
margin-right: 20px; | margin-right: 20px;} | ||
} | |||
.unnote, .unnote_h { | .unnote, .unnote_h { | ||
font-size: 125%; | font-size: 125%;} | ||
} | |||
/*Убирает белый фон вокруг изображений: <div class="nonwhite">[[Файл:…]]</div> */ | /*Убирает белый фон вокруг изображений: <div class="nonwhite">[[Файл:…]]</div> */ | ||
| Строка 77: | Строка 66: | ||
.nonwhite .tleft { | .nonwhite .tleft { | ||
border: none; | border: none;} | ||
} | |||
.nonwhite .tright { | .nonwhite .tright { | ||
margin-left: 13px; | margin-left: 13px;} | ||
} | |||
/***Mark redirects in Special:Allpages und Special:Watchlist***/ | /***Mark redirects in Special:Allpages und Special:Watchlist***/ | ||
| Строка 92: | Строка 79: | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
margin-top: 1em; | margin-top: 1em; | ||
padding: 12px; | padding: 12px;} | ||
} | |||
.forumlist td.forum_edited a { | .forumlist td.forum_edited a { | ||
color: black; | color: black; | ||
text-decoration: none | text-decoration: none} | ||
} | |||
.forumlist td.forum_title a { | .forumlist td.forum_title a { | ||
padding-left: 20px; | padding-left: 20px;} | ||
} | |||
.forumlist td.forum_title a.forum_new { | .forumlist td.forum_title a.forum_new { | ||
font-weight: bold; | font-weight: bold; | ||
padding-left: 20px; | padding-left: 20px;} | ||
} | |||
.forumlist td.forum_title a.forum_new:visited { | .forumlist td.forum_title a.forum_new:visited { | ||
font-weight: normal; | font-weight: normal; | ||
background: none; | background: none; | ||
padding-left: 20px; | padding-left: 20px;} | ||
} | |||
.forumlist th.forum_title { | .forumlist th.forum_title { | ||
padding-left: 20px; | padding-left: 20px;} | ||
} | |||
/*prettytable*/ | /*prettytable*/ | ||
| Строка 124: | Строка 105: | ||
background: #f9f9f9; | background: #f9f9f9; | ||
border: 1px #aaaaaa solid; | border: 1px #aaaaaa solid; | ||
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 { | ||
| Строка 141: | Строка 119: | ||
margin-right: inherit; | margin-right: inherit; | ||
font-size: larger; | font-size: larger; | ||
font-weight: bold; | font-weight: bold;} | ||
} | |||
/*Различные настройки*/ | /*Различные настройки*/ | ||
| Строка 159: | Строка 136: | ||
border-left-width: 3px; | border-left-width: 3px; | ||
padding-left: 2px; | padding-left: 2px; | ||
padding-right: 2px; | padding-right: 2px;} | ||
} | |||
/*Всё, что ниже, взято из Википедии*/ | /*Всё, что ниже, взято из Википедии*/ | ||
| Строка 173: | Строка 149: | ||
font-size: 80%; | font-size: 80%; | ||
line-height: 17px; | line-height: 17px; | ||
color: #5B5B5B; | color: #5B5B5B;} | ||
} | |||
#userSummaryButtonsA a:hover { | #userSummaryButtonsA a:hover { | ||
| Строка 180: | Строка 155: | ||
border: 1px solid #64BDF0; | border: 1px solid #64BDF0; | ||
color: black; | color: black; | ||
text-decoration: none; | text-decoration: none;} | ||
} | |||
.hiddenStructure{display:none;speak:none} | .hiddenStructure{display:none;speak:none} | ||
| Строка 189: | Строка 163: | ||
#disambig { | #disambig { | ||
border-top: 3px double #cccccc; | border-top: 3px double #cccccc; | ||
border-bottom: 3px double #cccccc | border-bottom: 3px double #cccccc} | ||
} | |||
#spoiler { | #spoiler { | ||
border-top: 2px solid #ddd; | border-top: 2px solid #ddd; | ||
border-bottom: 2px solid #ddd | border-bottom: 2px solid #ddd} | ||
} | |||
.Talk-Notice { | .Talk-Notice { | ||
| Строка 204: | Строка 176: | ||
border-spacing: 3px; | border-spacing: 3px; | ||
margin-left: auto; | margin-left: auto; | ||
margin-right: auto | margin-right: auto} | ||
} | |||
.Talk-Notice td { | .Talk-Notice td { | ||
background: inherit | background: inherit} | ||
} | |||
.Use_Default_Date_Convention { | .Use_Default_Date_Convention { | ||
display: inline; | display: inline;} | ||
} | |||
.Use_AD_and_BC { | .Use_AD_and_BC { | ||
display: none; | display: none;} | ||
} | |||
.Use_BCE_and_CE { | .Use_BCE_and_CE { | ||
display: none; | display: none;} | ||
} | |||
.plainlinksneverexpand { | .plainlinksneverexpand { | ||
background: none ! important; | background: none ! important; | ||
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;} | ||
} | |||
.plainlinksneverexpand a.external.autonumber:after { | .plainlinksneverexpand a.external.autonumber:after { | ||
display: none !important; | display: none !important;} | ||
} | |||
#bodyContent .plainlinksneverexpand a { | #bodyContent .plainlinksneverexpand a { | ||
background: none !important; | background: none !important; | ||
padding: 0 !important | padding: 0 !important} | ||
} | |||
.messagebox { | .messagebox { | ||
| Строка 257: | Строка 218: | ||
padding: .4em; | padding: .4em; | ||
vertical-align: middle; | vertical-align: middle; | ||
font-size: 90% | font-size: 90%} | ||
} | |||
.messagebox.merge { | .messagebox.merge { | ||
border: 1px solid #cf9fff; | border: 1px solid #cf9fff; | ||
background-color: #f5edf5; | background-color: #f5edf5; | ||
text-align: center | text-align: center} | ||
} | |||
.messagebox .cleanup { | .messagebox .cleanup { | ||
border: 1px solid #9f9fff; | border: 1px solid #9f9fff; | ||
background-color: #efefff; | background-color: #efefff; | ||
text-align: center | text-align: center} | ||
} | |||
.messagebox .standard-talk { | .messagebox .standard-talk { | ||
border: 1px solid #c0c090; | border: 1px solid #c0c090; | ||
background-color: #f8eaba | background-color: #f8eaba} | ||
} | |||
.messagebox .floatleft { | .messagebox .floatleft { | ||
| Строка 281: | Строка 238: | ||
clear: both; | clear: both; | ||
margin: 2px; | margin: 2px; | ||
padding: 0; | padding: 0;} | ||
} | |||
.messagebox .image { | .messagebox .image { | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0;} | ||
} | |||
.infobox { | .infobox { | ||
| Строка 299: | Строка 254: | ||
font-size: 90%; | font-size: 90%; | ||
width: 18em; | width: 18em; | ||
vertical-align: middle | vertical-align: middle} | ||
} | |||
.infobox.sisterproject { | .infobox.sisterproject { | ||
background-color: #f9fafd | background-color: #f9fafd} | ||
} | |||
.IPA { | .IPA { | ||
font-family: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans, Bitstream Cyberbit, Arial Unicode MS, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode; | font-family: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans, Bitstream Cyberbit, Arial Unicode MS, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode; | ||
font-family/**/ | font-family/**/ | ||
: inherit | : inherit} | ||
} | |||
.Unicode { | .Unicode { | ||
font-family: TITUS Cyberbit Basic, Code2000, Doulos SIL, Chrysanthi Unicode, Bitstream Cyberbit, Bitstream CyberBase, Bitstream Vera, Thryomanes, Gentium, GentiumAlt, Visual Geez Unicode, Lucida Grande, Arial Unicode MS, Microsoft Sans Serif, Lucida Sans Unicode; | font-family: TITUS Cyberbit Basic, Code2000, Doulos SIL, Chrysanthi Unicode, Bitstream Cyberbit, Bitstream CyberBase, Bitstream Vera, Thryomanes, Gentium, GentiumAlt, Visual Geez Unicode, Lucida Grande, Arial Unicode MS, Microsoft Sans Serif, Lucida Sans Unicode; | ||
font-family/**/ | font-family/**/ | ||
: inherit | : inherit} | ||
} | |||
.polytonic { | .polytonic { | ||
font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000; | font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000; | ||
font-family/**/ | font-family/**/ | ||
: inherit | : inherit} | ||
} | |||
#wpSave{font-weight:bold} | #wpSave{font-weight:bold} | ||
| Строка 329: | Строка 279: | ||
margin: 0.7em 0 0.7em 5%; | margin: 0.7em 0 0.7em 5%; | ||
padding: 0.7em 2% 0.7em 4%; | padding: 0.7em 2% 0.7em 4%; | ||
background-color: #f5f5f5; | background-color: #f5f5f5;} | ||
} | |||
table.toccolours { | table.toccolours { | ||
text-align: center | text-align: center} | ||
} | |||
/*может напортить!*/ | /*может напортить!*/ | ||
table.toccolours th { | table.toccolours th { | ||
background-color: #ccccff | background-color: #ccccff} | ||
} | |||
/* Википедия:Правила оформления таблиц */ | /* Википедия:Правила оформления таблиц */ | ||
table.simple { | table.simple { | ||
border-color: rgb(170, 170, 170); | border-color: rgb(170, 170, 170); | ||
border-collapse: collapse | border-collapse: collapse} | ||
} | |||
table.simple th, table.simple td { | table.simple th, table.simple td { | ||
border-color: rgb(170, 170, 170); | border-color: rgb(170, 170, 170); | ||
padding-left: 0.2em; | padding-left: 0.2em; | ||
padding-right: 0.2em | padding-right: 0.2em} | ||
} | |||
table.standard, table.wide, table.wikitable, table.standart { | table.standard, table.wide, table.wikitable, table.standart { | ||
border: 1px solid rgb(170, 170, 170); | border: 1px solid rgb(170, 170, 170); | ||
border-collapse: collapse | border-collapse: collapse} | ||
} | |||
table.standard th, table.wide th, table.wikitable th, table.standart th { | table.standard th, table.wide th, table.wikitable th, table.standart th { | ||
| Строка 362: | Строка 306: | ||
padding-left: 0.2em; | padding-left: 0.2em; | ||
padding-right: 0.2em; | padding-right: 0.2em; | ||
background-color: #EEEEFF | background-color: #EEEEFF} | ||
} | |||
table.standard td, table.wide td, table.wikitable td, table.standart td { | table.standard td, table.wide td, table.wikitable td, table.standart td { | ||
border: 1px solid rgb(170, 170, 170); | border: 1px solid rgb(170, 170, 170); | ||
padding-left: 0.2em; | padding-left: 0.2em; | ||
padding-right: 0.2em | padding-right: 0.2em} | ||
} | |||
table.standard caption, table.wide caption, table.wikitable caption, table.standart caption, table.tiles caption { | table.standard caption, table.wide caption, table.wikitable caption, table.standart caption, table.tiles caption { | ||
font-weight: bold; | font-weight: bold; | ||
padding-top: 0.2em; | padding-top: 0.2em; | ||
padding-bottom: 0.2em | padding-bottom: 0.2em} | ||
} | |||
table.wide { | table.wide { | ||
width: 100% | width: 100%} | ||
} | |||
table.tiles { | table.tiles { | ||
border-collapse: separate; | border-collapse: separate; | ||
border-spacing: 2px | border-spacing: 2px} | ||
} | |||
table.tiles th { | table.tiles th { | ||
padding-left: 0.2em; | padding-left: 0.2em; | ||
padding-right: 0.2em; | padding-right: 0.2em; | ||
background-color: #EEEEFF | background-color: #EEEEFF} | ||
} | |||
table.tiles td { | table.tiles td { | ||
padding-left: 0.2em; | padding-left: 0.2em; | ||
padding-right: 0.2em; | padding-right: 0.2em; | ||
background-color: #F0F0F0 | background-color: #F0F0F0} | ||
} | |||
tr.highlight th { | tr.highlight th { | ||
background-color: #EEEEFF | background-color: #EEEEFF} | ||
} | |||
tr.highlight td { | tr.highlight td { | ||
background-color: #FFFFEE | background-color: #FFFFEE} | ||
} | |||
tr.bright th { | tr.bright th { | ||
background-color: #CCCCFF | background-color: #CCCCFF} | ||
} | |||
tr.bright td { | tr.bright td { | ||
background-color: #FFEECC | background-color: #FFEECC} | ||
} | |||
tr.shadow th { | tr.shadow th { | ||
background-color: #F0F0F0 | background-color: #F0F0F0} | ||
} | |||
tr.shadow td { | tr.shadow td { | ||
background-color: #F0F0F0 | background-color: #F0F0F0} | ||
} | |||
tr.dark th { | tr.dark th { | ||
background-color: #CCCCCC | background-color: #CCCCCC} | ||
} | |||
tr.dark td { | tr.dark td { | ||
background-color: #CCCCCC | background-color: #CCCCCC} | ||
} | |||
table th.highlight { | table th.highlight { | ||
background-color: #EEEEFF | background-color: #EEEEFF} | ||
} | |||
table td.highlight { | table td.highlight { | ||
background-color: #FFFFEE | background-color: #FFFFEE} | ||
} | |||
table th.bright { | table th.bright { | ||
background-color: #CCCCFF | background-color: #CCCCFF} | ||
} | |||
table td.bright { | table td.bright { | ||
background-color: #FFEECC | background-color: #FFEECC} | ||
} | |||
table th.shadow { | table th.shadow { | ||
background-color: #F0F0F0 | background-color: #F0F0F0} | ||
} | |||
table td.shadow { | table td.shadow { | ||
background-color: #F0F0F0 | background-color: #F0F0F0} | ||
} | |||
table th.dark { | table th.dark { | ||
background-color: #CCCCCC | background-color: #CCCCCC} | ||
} | |||
table td.dark { | table td.dark { | ||
background-color: #CCCCCC | background-color: #CCCCCC} | ||
} | |||
table th.transparent { | table th.transparent { | ||
background-color: transparent | background-color: transparent} | ||
} | |||
table td.transparent { | table td.transparent { | ||
background-color: transparent | background-color: transparent} | ||
} | |||
#checker, #file img { | #checker, #file img { | ||
background: url("https://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat; | background: url("https://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} | ||
} | |||
/* {{ambox}} */ | /* {{ambox}} */ | ||
| Строка 482: | Строка 400: | ||
background: #FBFBFB; | background: #FBFBFB; | ||
border: 1px solid #AAAAAA; | border: 1px solid #AAAAAA; | ||
border-left: 10px solid #1E90FF | border-left: 10px solid #1E90FF} | ||
} | |||
table.ambox th, table.ambox td { | table.ambox th, table.ambox td { | ||
padding: 0.25em 0.5em; | padding: 0.25em 0.5em;} | ||
} | |||
table.ambox td.ambox-widthhack { | table.ambox td.ambox-widthhack { | ||
padding: 0; | padding: 0;} | ||
} | |||
table.ambox td.ambox-text { | table.ambox td.ambox-text { | ||
width: 100%; | width: 100%;} | ||
} | |||
table.ambox td.ambox-image { | table.ambox td.ambox-image { | ||
width: 52px; | width: 52px; | ||
padding: 2px 0 2px 0.5em; | padding: 2px 0 2px 0.5em; | ||
text-align: center; | text-align: center;} | ||
} | |||
table.ambox td.ambox-imageright { | table.ambox td.ambox-imageright { | ||
width: 52px; | width: 52px; | ||
padding: 2px 4px 2px 0; | padding: 2px 4px 2px 0; | ||
text-align: center; | text-align: center;} | ||
} | |||
table.ambox td.ambox-image div, table.ambox td.ambox-imageright div { | table.ambox td.ambox-image div, table.ambox td.ambox-imageright div { | ||
width: 52px/* Фикс для изображений разной ширины */ | width: 52px/* Фикс для изображений разной ширины */} | ||
} | |||
table.ambox-delete, table.ambox-serious { | table.ambox-delete, table.ambox-serious { | ||
border-left: 10px solid #B22222 | border-left: 10px solid #B22222} | ||
} | |||
table.ambox-content { | table.ambox-content { | ||
border-left: 10px solid #F28500 | border-left: 10px solid #F28500} | ||
} | |||
table.ambox-style { | table.ambox-style { | ||
border-left: 10px solid #F4C430 | border-left: 10px solid #F4C430} | ||
} | |||
table.ambox-good { | table.ambox-good { | ||
border-left: 10px solid #66CC44 | border-left: 10px solid #66CC44} | ||
} | |||
table.ambox-discussion { | table.ambox-discussion { | ||
border-left: 10px solid #339966 | border-left: 10px solid #339966} | ||
} | |||
table.ambox-notice { | table.ambox-notice { | ||
border-left: 10px solid #1E90ff | border-left: 10px solid #1E90ff} | ||
} | |||
table.ambox-merge { | table.ambox-merge { | ||
border-left: 10px solid #9932CC | border-left: 10px solid #9932CC} | ||
} | |||
table.ambox-protection { | table.ambox-protection { | ||
border-left: 10px solid #BBBBAA | border-left: 10px solid #BBBBAA} | ||
} | |||
table.ambox.ambox-mini { | table.ambox.ambox-mini { | ||
| Строка 549: | Строка 452: | ||
clear: right; | clear: right; | ||
margin: 0 0 0.5em 1em; | margin: 0 0 0.5em 1em; | ||
width: 20%; | width: 20%;} | ||
} | |||
/* {{Container2}} - для "Не по-детски"*/ | /* {{Container2}} - для "Не по-детски"*/ | ||
| Строка 562: | Строка 464: | ||
border-right: 4px solid #1E90FF; | border-right: 4px solid #1E90FF; | ||
border-top: 4px solid #1E90FF; | border-top: 4px solid #1E90FF; | ||
border-bottom: 4px solid #1E90FF; | border-bottom: 4px solid #1E90FF;} | ||
} | |||
table.Container2 th, table.Container2 td { | table.Container2 th, table.Container2 td { | ||
padding: 0.1em 0.1em; | padding: 0.1em 0.1em;} | ||
} | |||
table.Container2 td.Container2-widthhack { | table.Container2 td.Container2-widthhack { | ||
padding: 0; | padding: 0;} | ||
} | |||
table.Container2 td.Container2-text { | table.Container2 td.Container2-text { | ||
width: 100%; | width: 100%;} | ||
} | |||
table.Container2 td.Container2-image { | table.Container2 td.Container2-image { | ||
width: 0px; | width: 0px; | ||
padding: 2px 0px 2px 0.1em; | padding: 2px 0px 2px 0.1em; | ||
text-align: center; | text-align: center;} | ||
} | |||
table.Container2 td.Container2-imageright { | table.Container2 td.Container2-imageright { | ||
width: 0px; | width: 0px; | ||
padding: 2px 4px 2px 0px; | padding: 2px 4px 2px 0px; | ||
text-align: center; | text-align: center;} | ||
} | |||
table.Container2 td.Container2-image div, table.Container2 td.Container2-imageright div { | table.Container2 td.Container2-image div, table.Container2 td.Container2-imageright div { | ||
width: 1px/* Фикс для изображений разной ширины */ | width: 1px/* Фикс для изображений разной ширины */} | ||
} | |||
table.Container2-discussion { | table.Container2-discussion { | ||
| Строка 597: | Строка 492: | ||
border-right: 4px solid #ff9999; | border-right: 4px solid #ff9999; | ||
border-top: 4px solid #ff9999; | border-top: 4px solid #ff9999; | ||
border-bottom: 4px solid #ff9999 | border-bottom: 4px solid #ff9999} | ||
} | |||
table.Container2.Container2-mini { | table.Container2.Container2-mini { | ||
| Строка 604: | Строка 498: | ||
clear: right; | clear: right; | ||
margin: 0 0 0.1em 0.1em; | margin: 0 0 0.1em 0.1em; | ||
width: 10%; | width: 10%;} | ||
} | |||
/*default skin for navigation boxes*/ | /*default skin for navigation boxes*/ | ||
| Строка 616: | Строка 509: | ||
padding: 2px; | padding: 2px; | ||
text-align: center; | text-align: center; | ||
width: 100%; | width: 100%;} | ||
} | |||
table.navbox th { | table.navbox th { | ||
background-color: #ccf; | background-color: #ccf; | ||
padding-left: 1em; | padding-left: 1em; | ||
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{display: none;}} | ||
} | |||
/* navbox hiding, see Wikipedia:NavFrame */ | /* navbox hiding, see Wikipedia:NavFrame */ | ||