МедиаУики:Common.css

Уикисөздік жобасынан

Ескерту: жариялаудан кейін өзгертістерді көру үшін браузеріңіздің кэшін тазарту керек болуы мүмкін.

  • Firefox / Safari: Reload басқанда Shift ұстап тұрыңыз немесе Ctrl-F5 не Ctrl-R басыңыз (Mac-та ⌘-R)
  • Google Chrome: Ctrl-Shift-R басыңыз (Mac-та ⌘-Shift-R)
  • Internet Explorer / Edge: Жаңарту дегенді басқанда Ctrl ұстап тұрыңыз немесе Ctrl-F5 басыңыз
  • Opera: Ctrl-F5 басыңыз.
/* Мында орналастырылған CSS барлық мәнерлерде қолданылады */
/* MSIE workaround for fonts */ 
textarea { font-family: "DejaVu Sans", Code2000, "Arial Unicode MS"; }

/* for kk-Arab */
.rtl { font-family: "Majalla UI", "Arabic Typesetting", "Microsoft Uighur", Lateef, Scheherazade, "Arial Unicode MS"; font-size: 100%; }

/* Support for Template:IPA, Template:Unicode and Template:Polytonic. The inherit declaration resets the font for all browsers except MSIE6.  The empty comment must remain. Please copy any changes to [[Template:IPA fonts]] and [[Template:Unicode fonts]]. */

/* Kazakh, Kyrgyz, Uyghur */
.tote {
	font-family: Riwaj, Code2000, "Arabic Typesetting", "Microsoft Uighur", "Majalla UI", Lateef, Scheherazade, "Arial Unicode MS";  
	font-size: 130%;
}

/* IPA */
.IPA {
    font-family: "Charis SIL", "Doulos SIL", Gentium, GentiumAlt, "DejaVu Sans", Code2000, "TITUS Cyberbit Basic", "Arial Unicode MS", "Segoe UI", "Lucida Sans Unicode", "Chrysanthi Unicode", "Matrix Unicode";
    font-family /**/:inherit;
}

/* Unicode */
.Unicode {
	font-family: "DejaVu Sans", "TITUS Cyberbit Basic", Code2000, "Doulos SIL", "Chrysanthi Unicode", "Bitstream Cyberbit", "Bitstream CyberBase", "Bitstream Vera", Thryomanes, Gentium, GentiumAlt, "Lucida Grande", "Unicode Symbols", Unicode5, "Arial Unicode MS", "Lucida Sans Unicode";
}

/* Latin Extended-B */
.latinx {
	font-family: Code2000, "TITUS Cyberbit Basic", "Microsoft Sans Serif";
}

/* Polytonic Greek */
.polytonic {
	font-family: "New Athena Unicode", Athena, Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000; 
}
/* Medieval Unicode Font Initiative */
.mufi {
	font-family: Alphabetum, Cardo, "LeedsUni", Junicode, "TITUS Cyberbit Basic", "ALPHA-Demo";
}
/* Cyrillic non-slavic*/
.Cyrillic {
	font-family: Unicode5, "Arial Unicode MS", Gentium, Code2000, "Segoe UI", "Lucida Sans Unicode"; 
}
/* Turkic Latin */
.Turkic {
	font-family: "DejaVu Sans", "TITUS Cyberbit Basic", Code2000, "Microsoft Sans Serif";
}

/* Monospace text */
.tt {
	font-family: "Everson Mono Unicode", monospace;
}

/* Roman numbers */
.roman, .romain
{
	text-transform:lowercase;
	font-variant:small-caps;
}

/* references */
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, .highlight-target:target, cite:target, span.citation:target {background:#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}
 
#disambig {border-top: 3px double #cccccc; border-bottom: 3px double #cccccc}

/* Styling for Citations */
cite {
	font-style: normal;
	word-wrap: break-word;
}

/* 
If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked 
*/
cite:target { 
	 background-color: #DEF;
}

/* 
Do not expand URLs within citations for printing. The urls should be included explicitly, to avoid confusion 
*/
@media print {
	#content cite a.external.text:after {
		display: none;
	}
}

/* 
For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version 
*/
@media screen, handheld, projection {
	cite *.printonly {
		display: none;
	}
}

/* Styling for Template:Quote */
blockquote.templatequote { 
     margin-top: 0; 
}

blockquote.templatequote div.templatequotecite { 
    line-height: 1em;
    text-align: left;
    padding-left: 2em;
    margin-top: 0;
}

blockquote.templatequote div.templatequotecite cite {
    font-size: 85%;
}

/* [[Википедия:Оформление таблиц]] */
table.standard, table.wide, table.prettytable
 {border:1px solid #aaa; border-collapse: collapse}
table.standard th, table.wide th, table.prettytable th
 {border:1px solid #aaa; padding-left:0.2em; padding-right:0.2em; background:#eef}
table.standard td, table.wide td, table.prettytable td 
 {border: 1px solid #aaa; 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:#aaa; border-collapse:collapse}
table.simple th, table.simple td {border-color:#aaa; 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:#eef}
table.tiles td {padding-left:0.2em; padding-right:0.2em; background:#f0f0f0}
 
table.graytable {background:#f0f0f0; padding:1em; width: 100%}
table.graytable caption {padding-top:0.5em; background:#f0f0f0; font-weight:bold}
table.graytable caption span.subcaption {font-size:80%; font-weight:normal}
table.graytable th, table.graytable td {font-size:80%}

tr.highlight th, table tr th.highlight {background:#eef}
tr.highlight td, table tr td.highlight {background:#ffe; font-weight:normal}
tr.bright th, table tr th.bright {background:#ccf}
tr.bright td, table tr td.bright {background:#fec}
tr.shadow th, tr.shadow td, table tr th.shadow, table tr td.shadow   {background:#f0f0f0}
tr.dark th, tr.dark td, table tr th.dark, table tr td.dark {background:#ccc}
.transparent {background:transparent !important}
 
table.toccolours th {background:#ccf}

/* Style for "notices" */
.notice {
  text-align: justify;
  margin: 1em 0.5em;
  padding: 0.5em;
}

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

.spoiler {
	border-top: 2px solid #ddd;
	border-bottom:2px solid #ddd;
}
 
/* Puts a redirect indicator before redirects in Special:Allpages -Spl */
.allpagesredirect, .redirect-in-category, .watchlistredir { color: #C0C0C0; font-style: italic; }
.allpagesredirect a { background: url("//upload.wikimedia.org/wikipedia/kk/5/5c/Allpagesredirect.gif") center left no-repeat; padding-left: 13px; }

/* Class for links with loudspeaker icon next to them */
.audiolink a{
	background: url("//upload.wikimedia.org/wikipedia/commons/f/f7/Loudspeaker.png") center left no-repeat !important;
	padding-left: 16px !important;
	padding-right: 0 !important;
}

/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template: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;
}

/* Style rules for media list templates */
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;
}

/* Change the external link icon to an Adobe icon for all PDF files
   in browsers that support these CSS selectors, like Mozilla and Opera */
div#content a[href$=".pdf"].external, 
div#content a[href*=".pdf?"].external, 
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external, 
div#content a[href*=".PDF?"].external, 
div#content a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external, 
div#mw_content a[href*=".pdf?"].external, 
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external, 
div#mw_content a[href*=".PDF?"].external, 
div#mw_content a[href*=".PDF#"].external {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    padding-right: 18px;
}
 
/* Change the external link icon to an Adobe icon anywhere the PDFlink class
   is used (notably Template:PDFlink). This works in IE, unlike the above. */
div#content span.PDFlink a,
div#mw_content span.PDFlink a {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    padding-right: 18px;
}

/* Content in columns with CSS instead of tables [[Template:Columns]] */
div.columns-2 div.column {
	float: left;
	width: 50%;
	min-width: 300px;
}

div.columns-3 div.column {
	float: left;
	width: 33.3%;
	min-width: 200px;
}

div.columns-4 div.column {
	float: left;
	width: 25%;
	min-width: 150px;
}

div.columns-5 div.column {
	float: left;
	width: 20%;
	min-width: 120px;
}

/* Messagebox templates */
.messagebox {
	border: 1px solid #aaaaaa;
	background-color: #f9f9f9;
	width: 80%;
	margin: 0 auto 1em auto;
	padding: .2em;
	text-align: justify;
}
.messagebox.merge {
	border: 1px solid #c0b8cc;
	background-color: #f0e5ff;
	text-align: center;
}
.messagebox.cleanup {
	border: 1px solid #9f9fff;
	background-color: #efefff;
	text-align: center;
}
.messagebox.standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
}
.messagebox.small {
	width: 238px;
	font-size: 85%;
	float: right;
	clear: both;
	margin: 0 0 1em 1em;
	line-height: 1.25em;
}
.messagebox.small-talk {
	width: 238px;
	font-size: 85%;
	float: right;
	clear: both;
	margin: 0 0 1em 1em;
	line-height: 1.25em;
	background: #F8EABA;
}

/* {ambox} */
table.ambox {
  width: auto;
  margin: 0 10%;
  border-collapse: collapse;
  background:#FBFBFB;
  border: 1px solid #aaa;
  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 0 2px 0.5em;
  text-align: center;
}
table.ambox td.ambox-imageright {
  width: 52px;
  padding: 2px 4px 2px 0;
  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%;
}

/* Default skin for navigation boxes */
table.navbox {            /* Navbox container style */
    border: 1px solid #aaa;
    width: 100%; 
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
    margin-top: -1px;          /* (doesn't work for IE6, but that's okay)       */
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
    text-align: center;      /* Title and above/below styles */
    padding-left: 1em;
    padding-right: 1em;
}
.navbox-group {              /* Group style */
    white-space: nowrap;
    text-align: right;
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
}
.navbox, .navbox-subgroup {
    background: #fdfdfd;     /* Background color */
}
.navbox-list {
    border-color: #fdfdfd;   /* Must match background color */
}
.navbox-title,
table.navbox th {
    background: #ccccff;     /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: #ddddff;     /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
    background: #e6e6ff;     /* Level 3 color */
}
.navbox-even {
    background: #f7f7f7;     /* Even row striping */
}
.navbox-odd {
    background: transparent; /* Odd row striping */
}
 
.collapseButton {          /* 'show'/'hide' buttons created dynamically */
    float: right;          /* by the CollapsibleTables javascript in    */
    font-weight: normal;   /* [[MediaWiki:Common.js]] are styled here   */
    text-align: right;     /* so they can be customised.                */
    width: auto;
}
.navbox .collapseButton {  /* In navboxes, the show/hide button balances */
    width: 6em;            /* the vde links from [[Template:Navbar]],    */
}                          /* so they need to be the same width.         */
 
.navbar {                  /* Navbox template links */
    font-size: 88%;        /* Default font-size */
    font-weight: normal;
}
.navbox .navbar {
    font-size: 100%;       /* Font-size when nested within navbox */
}

/* Infobox template style */
.infobox {
  border: 1px solid #aaa;
  background: #f9f9f9;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding:.4em;
  float: right;
  clear: right;
  font-size: 90%;
  width: 18em;
  vertical-align: middle;
}
.infobox caption {
    font-size: 125%;
    font-weight: bold;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
 
.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}
 
.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}
 
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    border-right: 1px solid #aaa;
}
 
/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc.            */
.infobox.geography {
    text-align: left;
    border-collapse: collapse;
    line-height: 1.2em; 
    font-size: 90%;
}
 
.infobox.geography  td,
.infobox.geography  th {
    border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
    border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.2em 0.6em;
}
 
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
    border: 0;
    padding: 0 0.6em 0.2em 0.6em;
}
 
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
    border-top: 0;
    border-bottom: 1px solid #aaa;
    padding: 0 0.6em 0.4em 0.6em;
}
 
.infobox.geography .maptable td,
.infobox.geography .maptable th {
    border: 0;
    padding: 0;
}

/* Put a checker background at the image description page only visible if the image has transparent background */
.gallerybox .thumb img,
.filehistory a img,
#file img  {
 background:url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}
 
#wpSave {font-weight:bold}
.mw-tag-markers {
 font: italic 90% sans-serif;
}

/* Removes underlines from certain links */
.nounderlines a,
.IPA a:link, .IPA a:visited { 
    text-decoration: none;
}

/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position: absolute;
    top: 0;
    right: 3px;
    font-weight: normal;
    font-size: 90%;
}
 
/* 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;
}

/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS).
 */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}

/* Allow transcluded pages to display in lists rather than a table. Compatible in Firefox; incompatible in IE6. */
.listify td {display:list-item}
.listify tr {display:block}
.listify table {display:block}

/* User block messages */
div.user-block {
    padding: 5px;
    margin-bottom: 0.5em;
    border: 1px solid #A9A9A9;
    background-color: #FFEFD5;
}

/* Prevents line breaks in links; see docs at Template:Nowraplinks */
.nowraplinks a,
.nowraplinks .selflink,
span.texhtml,
sup.reference a { 
    white-space: nowrap;
}

/* Minimum thumb width */
figure[typeof~='mw:File/Thumb'],
figure[typeof~='mw:File/Frame'],
.thumbinner {
    min-width: 100px;
}

/* Inline div's in ImageMaps (code borrowed from de.wiki) */
.imagemap-inline div {
    display: inline;
}
 
/* Increase the height of the image upload box */
#wpUploadDescription {
    height: 13em;
}

/* For template documentation */
.template-documentation {
	clear: both;
	margin: 25px 0 0 0;
	border: 1px solid #aaa;
	background-color: #ecfcf4;
	padding: 5px;
}

/* {tl} */
.wp-templatelink { color:#9098A0 }

/* Hatnotes and disambiguation notices */
.rellink,
.dablink {
    font-style: italic;
    padding-left: 2em;
    margin-bottom: 0.5em;
}
.rellink i,
.dablink i {
    font-style: normal;
}

/* {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-osm, .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}
 
.wp-templatelink { color:#9098A0 } /* {tl} */
 
#mw-subcategories, #mw-pages { clear:both }

/* Қауым порталы */ 
.CommunityBG { background-image: url(//upload.wikimedia.org/wikipedia/commons/f/f9/BG_comunit%C3%A0.jpg);}