MediaWiki:Common.css

Материал из ElmaClub Wiki
Перейти к: навигация, поиск

Замечание. Возможно, после сохранения вам придётся очистить кэш своего браузера, чтобы увидеть изменения.

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl-F5 или Ctrl-R (⌘-R на Mac)
  • Google Chrome: Нажмите Ctrl-Shift-R (⌘-Shift-R на Mac)
  • Internet Explorer: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl-F5
  • Opera: Выберите очистку кэша в меню Инструменты → Настройки
/* Common CSS for all skins */
/*<pre><nowiki>*/

.hiddenStructure {
   display: none;
   speak: none;
}


/* Style for "notices" */
.notice {
    margin: 1em 1em 1em 20%;
    padding: 0.2em;

}

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

#spoiler {
    border-top: 2px solid #ddd;
    border-bottom:2px solid #ddd;
}

/* Standard talk template style */

.Talk-Notice  {
    border: 1px solid #C0C090;
    background-color: #F8EABA;
    margin-bottom: 3px;
    width: 85%;
    border-spacing: 3px;
    margin-left: auto;
    margin-right: auto;
}

/* Make template background appear correctly on all browsers */
.Talk-Notice td {
    background: inherit;
}

/* Choose whether to have AD/BC dates or CE/BCE dates*/

/* First, the default : display both : See templates ADCE and BCEBC for how these are used*/
.Use_Default_Date_Convention { display: inline; }
.Use_AD_and_BC { display: none; }
.Use_BCE_and_CE { display: none; }

/* If you want to display AD and BC add the following to User:You/monobook.css page */
/*
.Use_Default_Date_Convention { display: none; }
.Use_AD_and_BC { display:inline; }
.Use_BCE_and_CE { display:none; }
*/

/*If you want to display CE and BCE add the following to User:You/monobook.css page */
/*
.Use_Default_Date_Convention { display: none; }
.Use_AD_and_BC { display:none; }
.Use_BCE_and_CE {display:inline; }
*/

/*Add formatting to make sure that "external references" from [[Template:Ref]] do
  not get URL expansion, not even when printed.
*/

.plainlinksneverexpand {
  background: none ! important;
  padding: 0 ! important;
}

.plainlinksneverexpand .urlexpansion {
  display : none ! important;
}

/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
   the arrow...
*/
#bodyContent .plainlinksneverexpand a {
   background: none !important;
   padding: 0 !important
}

/* Merge template style */

.messagebox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   width: 85%;
   margin: 0 auto 1em auto;
   padding: .4em;
   text-align: justify;
   font-size: 90%;
}
.messagebox.merge {
   border: 1px solid #cf9fff;
   background-color: #f5edf5;
   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;
}

.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: 22em;
}

/* Это для рамок-ссылок на Вики-сайты */
.infobox.sisterproject {
background-color:#f9fafb
}

/* Используется пока в Викиучебнике 
Эпиграф:
*/
.epigraf{margin-left:54%;font-family:serif;max-width:38em;min-width:16em;margin-bottom:1em;clear:both}
.epigraf blockquote{font-style:italic;border:0;background:none;padding:0 0 0.1em 0;margin:0;}
.epigraf blockquote p{padding:0.2em 0;margin:0;}
.epigraf .a_i_d{text-align:right}
.epigraf .avtor{}
.epigraf .istochnik{}
.epigraf .istochnik:before{content:', '}
.epigraf .data{}
.epigraf .data:before{content:', '}

/* Шаблон:Рамка */
.ramka {margin:1em;padding:1em;border:medium solid #333;}

/* ЖЖ */

.lj_user a, .lj_comm a{text-decoration:underline;font:bold small Verdana;}
.lj_user:before, .lj_comm:before {vertical-align:middle;margin-right:2px;text-decoration:none}
.lj_user:before{content: url("http://upload.wikimedia.org/wikipedia/commons/e/e2/Livejournal_user_icon.gif")}
.lj_comm:before{content: url("http://upload.wikimedia.org/wikipedia/commons/b/bd/Livejournal_community_icon.gif")}

/* 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. */
.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 /**/:inherit;
}
.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 /**/:inherit;
}
.polytonic {
        font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000; 
        font-family /**/:inherit;
}

#wpSave {
  font-weight: bold;
}


/* По запросу SergV */

/*
blockquote {padding-left:1.5em; padding:0.8em; border-left: medium solid #ddd; background-color: #f0f0f0;}
*/
blockquote {margin:0.8em 0.2em 0.3em 7%;background-color:#f0f0f0;padding:0.3em;}
blockquote p {padding:0.3em 0;}

/* Но лучше подождать, когда исправят отоброжение простого blockquote */
div.blockquote {padding-left:1.5em; border-left: medium solid #ddd; background-color: #f0f0f0;}
div.blockquote p {padding:0.3em;}

table.toccolours {text-align: center} /* может напортить! */
table.toccolours th {background-color: #ccccff;}

/* См. Википедия:Правила оформления таблиц */
 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.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 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.wide {
    width: 100%;
}

table.tiles {
    border-collapse: separate;
    border-spacing: 2;
}

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;
}

 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    {background-color: #F0F0F0;}
 tr.shadow td    {background-color: #F0F0F0;}
 tr.dark th      {background-color: #CCCCCC;}
 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       {background-color: #F0F0F0;}
 table td.shadow       {background-color: #F0F0F0;}
 table th.dark         {background-color: #CCCCCC;}
 table td.dark         {background-color: #CCCCCC;} 

 table th.transparent  {background-color: transparent;}
 table td.transparent  {background-color: transparent;}

/* Для синхроницации 1.5.8 и 1.6.1 */
table.metadata {
	font-size: 0.8em;
	margin-left: 0.5em;
	margin-bottom: 0.5em;
}

table.metadata caption {
	font-weight: bold;
}

table.metadata th {
	font-weight: normal;
}

table.metadata td {
	padding: 0.1em;
}

table.metadata {
	border: none;
	border-collapse: collapse;
}

table.metadata td, table.metadata th {
	text-align: center;
	border: 1px solid #aaaaaa;
	padding-left: 0.1em;
	padding-right: 0.1em;
}

table.metadata th {
	background-color: #f9f9f9;
}

table.metadata td {
	background-color: #fcfcfc;
}
/*</nowiki></pre>*/
Персональные инструменты
Пространства имён

Варианты
Действия
Навигация
Инструменты