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

нет описания правки
 
Строка 1: Строка 1:
/** Размещённый здесь CSS будет применяться ко всем темам оформления */
/* MediaWiki interface */
/* MediaWiki interface */
#wpSave {font-weight: bold}
#wpSave {font-weight: bold}
#file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} /* transparent checkered background for images on img pages */
#file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} /* transparent checkered background for images on img pages */
.allpagesredirect {font-style: italic}
.allpagesredirect {font-style: italic}
 
/* size difference in recent changes */
/* size difference in recent changes */
.mw-plusminus-pos {color: #006400}
.mw-plusminus-pos {color: #006400}
.mw-plusminus-neg {color: #8B0000}
.mw-plusminus-neg {color: #8B0000}
 
/* {Link FA} & {Link GA} interwiki icons */
/* {Link FA} & {Link GA} interwiki icons */
.portlet li.FA {
.portlet li.FA {
Строка 16: Строка 15:
   list-style-image: url('http://upload.wikimedia.org/wikipedia/commons/thumb/6/6f/QS_blue_star_small.png/9px-QS_blue_star_small.png')
   list-style-image: url('http://upload.wikimedia.org/wikipedia/commons/thumb/6/6f/QS_blue_star_small.png/9px-QS_blue_star_small.png')
}
}
 
/* default edit summary buttons */
/* default edit summary buttons */
#userSummaryButtonsA a {
#userSummaryButtonsA a {
Строка 35: Строка 34:
   text-decoration: none
   text-decoration: none
}
}
 
/* for MediaWiki system messages */
/* for MediaWiki system messages */
.warningbox {
.warningbox {
Строка 54: Строка 53:
   font-size: smaller;
   font-size: smaller;
}
}
 
/* [[Википедия:Оформление таблиц]] */
/* [[Википедия:Оформление таблиц]] */
table.standard, table.wide
table.standard, table.wide
Строка 65: Строка 64:
  {font-weight:bold; padding-top: 0.2em; padding-bottom:0.2em}
  {font-weight:bold; padding-top: 0.2em; padding-bottom:0.2em}
table.wide {width: 100%}
table.wide {width: 100%}
 
table.simple {border-color:#AAAAAA; border-collapse:collapse}
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.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 {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}
 
table.graytable {background:#f0f0f0; padding:1em; width: 100%}
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 {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 caption span.subcaption {font-size:80%; font-weight:normal}
table.graytable th, table.graytable td {font-size:80%}
table.graytable th, table.graytable td {font-size:80%}
 
table.wikitable, table.prettytable  
table.wikitable, table.prettytable  
  {margin:1em 1em 1em 0; background:#F9F9F9; border:1px solid #AAAAAA; border-collapse:collapse}
  {margin:1em 1em 1em 0; background:#F9F9F9; border:1px solid #AAAAAA; border-collapse:collapse}
Строка 87: Строка 86:
table.prettytable th  
table.prettytable th  
  {background:#f2f2f2}
  {background:#f2f2f2}
 
tr.highlight th {background-color: #EEEEFF}
tr.highlight th {background-color: #EEEEFF}
tr.highlight td {background-color: #FFFFEE}
tr.highlight td {background-color: #FFFFEE}
Строка 101: Строка 100:
table th.dark, table td.dark  {background-color: #CCCCCC}
table th.dark, table td.dark  {background-color: #CCCCCC}
table th.transparent, table td.transparent, .transparent {background-color: transparent}
table th.transparent, table td.transparent, .transparent {background-color: transparent}
 
table.toccolours th {background-color: #ccccff}
table.toccolours th {background-color: #ccccff}
 
/* classes for {ambox} */
/* classes for {ambox} */
 
table.ambox {
table.ambox {
   width: auto;
   width: auto;
Строка 171: Строка 170:
   width: 20%;
   width: 20%;
}
}
 
.infobox {
.infobox {
   border: 1px solid #aaaaaa;
   border: 1px solid #aaaaaa;
Строка 189: Строка 188:
}
}
table.infobox td p {margin:0;} // temporarily for [[Template:Карточка]]
table.infobox td p {margin:0;} // temporarily for [[Template:Карточка]]
 
.notice {
.notice {
   text-align: justify;
   text-align: justify;
Строка 195: Строка 194:
   padding: 0.5em;
   padding: 0.5em;
}
}
 
.messagebox {
.messagebox {
   border: thin solid #aaaaaa;
   border: thin solid #aaaaaa;
Строка 205: Строка 204:
   font-size: 90%
   font-size: 90%
}
}
 
blockquote {
blockquote {
   margin:0.7em 0 0.7em 5%;
   margin:0.7em 0 0.7em 5%;
Строка 211: Строка 210:
   background-color:#F5F5F5;
   background-color:#F5F5F5;
}
}
 
ol.references {font-size: 100%}
ol.references {font-size: 100%}
.references-small {font-size: 90%}
.references-small {font-size: 90%}
 
/* highlight focused footnotes and references in some browsers */
/* highlight focused footnotes and references in some browsers */
sup.reference:target, ol.references li:target {background-color: #DDEEFF;}
sup.reference:target, ol.references li:target {background-color: #DDEEFF;}
sup.reference:target {font-weight: bold;}
sup.reference:target {font-weight: bold;}
 
/* fix for line-breaking references */
/* fix for line-breaking references */
sup, sub {line-height: 1em}
sup, sub {line-height: 1em}
 
.plainlinksneverexpand, .plainlinksneverexpand a
.plainlinksneverexpand, .plainlinksneverexpand a
   {background:none !important; padding:0 !important}
   {background:none !important; padding:0 !important}
Строка 228: Строка 227:
.plainlinksneverexpand .urlexpansion
.plainlinksneverexpand .urlexpansion
   {display:none !important}
   {display:none !important}
 
.clickable-image a:hover {text-decoration: none}
.clickable-image a:hover {text-decoration: none}
 
.hiddenStructure {display:none; speak:none}
.hiddenStructure {display:none; speak:none}
 
#disambig {border-top: 3px double #cccccc; border-bottom: 3px double #cccccc}
#disambig {border-top: 3px double #cccccc; border-bottom: 3px double #cccccc}
 
 
/* {IPA}, {Unicode} and {Polytonic} */
/* {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; }
.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; }
.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; }
.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 */
/* PDF icon next to external PDF link for Mozilla and Opera and for {PDFlink} template */
a[href$=".pdf"].external,
a[href$=".pdf"].external,
Строка 249: Строка 248:
a[href*=".PDF#"].external,
a[href*=".PDF#"].external,
span.PDFlink a {background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important; padding-right: 17px !important}
span.PDFlink a {background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important; padding-right: 17px !important}
 
/* Clickable speaker in  {Template:Audio} ... */
/* Clickable speaker in  {Template:Audio} ... */
.audiolink a {
.audiolink a {
Строка 256: Строка 255:
   padding-right: 0 !important;
   padding-right: 0 !important;
}
}
 
/* Medialist templates {Listen}, {Multi-listen_start}, {Video}, {Multi-video_start} */
/* Medialist templates {Listen}, {Multi-listen_start}, {Video}, {Multi-video_start} */
div.listenlist {
div.listenlist {
Строка 284: Строка 283:
   padding-bottom: 0;
   padding-bottom: 0;
}
}
 
 
/* {Навигационная таблица} */
/* {Навигационная таблица} */
table.navbox {
table.navbox {
Строка 302: Строка 301:
   text-align: right;
   text-align: right;
}
}
 
 
/*{Навигационная полоса}, {Hider}, ... */
/*{Навигационная полоса}, {Hider}, ... */
div.Boxmerge,
div.Boxmerge,
Строка 356: Строка 355:
   font-size:smaller;
   font-size:smaller;
}
}
 
@media print{
@media print{
   .navbox, .NavFrame, .metadata, .dablink, .sisterproject, #catlinks  {display: none}
   .navbox, .NavFrame, .metadata, .dablink, .sisterproject, #catlinks  {display: none}
Строка 362: Строка 361:
   .reflist4 {height:auto !important} /* windowed references list height */
   .reflist4 {height:auto !important} /* windowed references list height */
}
}
 
 
 
.messagebox.standard-talk {
.messagebox.standard-talk {
   border: 1px solid #c0c090;
   border: 1px solid #c0c090;
Строка 379: Строка 378:
   padding: 0
   padding: 0
}
}
 
 
 
/* {coord}s */
/* {coord}s */
 
#coordinates {   
#coordinates {   
   position:absolute;
   position:absolute;
Строка 395: Строка 394:
   white-space:nowrap;
   white-space:nowrap;
}
}
 
#coordinates, .coordinates {
#coordinates, .coordinates {
   text-transform:none;
   text-transform:none;
Строка 401: Строка 400:
   padding:0;
   padding:0;
}
}
 
.geo-google {
.geo-google {
   font-family:serif;
   font-family:serif;
Строка 407: Строка 406:
   line-height:1em;
   line-height:1em;
}
}
 
.geo-geo-dec .geo-dec { display:inline }
.geo-geo-dec .geo-dec { display:inline }
.geo-geo-dec .geo-dms { display:none }
.geo-geo-dec .geo-dms { display:none }
 
.geo-geo-dms .geo-dec { display:none }
.geo-geo-dms .geo-dec { display:none }
.geo-geo-dms .geo-dms { display:inline }
.geo-geo-dms .geo-dms { display:inline }
 
.geo-multi-punct { display:none }
.geo-multi-punct { display:none }
 
.geo-lat, .geo-lon { white-space:nowrap }
.geo-lat, .geo-lon { white-space:nowrap }
 
 
/* FlaggedRevs temporarily hidden */
/* FlaggedRevs temporarily hidden */
#mw-revisiontag { display: none }
#mw-revisiontag { display: none }