МедияУики:Common.css: Разлика между версии

От Уикицитат
Изтрито е съдържание Добавено е съдържание
Hoo man (беседа | приноси)
м Bot: Security fix: protocol-relative URLs per https://meta.wikimedia.org/?oldid=3197161 (questions?).
Spiritia (беседа | приноси)
ъпдейт
Ред 1: Ред 1:
/* препратките [редактиране] при разделите */
.editsection {
font-size: small;
font-style: italic;
font-family: Serif;
}

table { background-color: inherit; }
.wp-admin .mw-redirect:after {
background-color: lightblue;
content: "→";
font-weight: bold;
margin-left: 0.2em;
}

/* Горен/долен индекс със запазване на височината на реда */
sub {vertical-align: baseline; font-size: 0.8em; position: relative; top: 0.4em }
sup {vertical-align: baseline; font-size: 0.8em; position: relative; top: -0.4em }

/* Текста под кутията за редактиране */
#editpage-copywarn {
margin: .8em 0;
padding: 0.2em;
border-bottom: thick solid gold;
background-color: #FFF8CF;
font-style: italic;
text-align: center;
}

/* бутона „Предварителен преглед“ */
#wpPreview { font-weight: bold; }

.code { font-family: monospace; }

/* подравняване на текста в таблицата нагоре */
.nagore tbody { vertical-align:top; }

/*
Sitenotice
https://www.mediawiki.org/wiki/Manual:Interface/Sitenotice
*/

#siteNotice { padding: 0.3em; text-align: center; margin-bottom: 0.5em; }

/* Локалният Sitenotice изпълва цялата ширина на страницата.
Ref: https://git.wikimedia.org/tree/mediawiki%2Fextensions%2FDismissableSiteNotice.git/master/modules */
.mw-dismissable-notice-body {
margin: auto !important;
}

/* Разширяване на ext.dismissableSiteNotice.css до позициониране на линка 'скриване' в горния десен ъгъл на разширения локален Sitenotice. */
.mw-dismissable-notice-close {
margin-top: 3px;
margin-right: 8px;
}

/* текста, отбелязващ нова страница в последните промени [[МедияУики:Newpageletter]] */
.newpage { color: black; background-color: yellow; }

/* препратки, които не се виждат като подчертани */
.noulinks a, .nounderlines a { text-decoration: none; }

/* текста, отбелязващ малките промени [[МедияУики:Minoreditletter]] */
.minor { font-weight: normal; }

/* изпъкващи елементи */
.hilite {
color: black;
background-color: #fff6e6;
padding: 0.2em 0.5em;
border: thin dotted silver;
}

/* Клас buttonlinks се използва в МедияУики:Monobook.js за допълнителните бутони */
.buttonlinks a {
.buttonlinks a {
color: black;
color: black;
Ред 10: Ред 84:
padding: 0.1em;
padding: 0.1em;
}
}
/* Изменения на същия клас когато курсорът е над бутона */
.buttonlinks a:hover, .buttonlinks a:active {
.buttonlinks a:hover, .buttonlinks a:active {
background-color: #bbccdd;
background-color: #bbccdd;
Ред 15: Ред 90:
}
}


/* [[МедияУики:Monobook.js|поздравително съобщение]] за всеки невлязъл потребител */
.orig-quote {
#externMessage {
color: #666666;
text-align: center;
background-color: inherit;
color: black;
font-style: italic;
background-color: #FFEE99;
border: thin solid #FFA500;
padding: .4em;
margin-top: .2em;
}
}


/* elements which are doing something... */
/* Template master */
.tmlinks a {
.working {
background: url(//upload.wikimedia.org/wikipedia/commons/3/32/Loader3.gif) right center no-repeat;
color: black;
background-color: #FFDAB9;
background-image: none;
font-weight: bold;
text-decoration: none;
border: thin #FFDAB9 outset;
padding: 0.2em 0.5em;
cursor: pointer;
}
}
/* contents are currently loaded */
.tmlinks a:hover {
.loading:before {
border-style: inset;
content: url(//upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Vector_Loading_fallback.gif/16px-Vector_Loading_fallback.gif);
background-color: #FFDAB9;
}
/* A working element has done its job */
.done:before {
content: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Yes_check.svg/16px-Yes_check.svg.png);
}
/* A working element that hadn’t been so lucky */
.not-done:before,
.fail:before {
content: url(//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Red_x.svg/16px-Red_x.svg.png);
}

.plainlinksneverexpand { background: none ! important; padding: 0 ! important; }
.plainlinksneverexpand .urlexpansion { display: none ! important; }
.plainlinksneverexpand a { background: none !important; padding: 0 !important; }
.plainlinksneverexpand a.external.text:after { display: none !important; }
.plainlinksneverexpand a.external.autonumber:after { display: none !important; }

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


/* скриване на формуляра за качване */
/* скриване на формуляра за качване */
#mw-upload-form { display: none; }
#mw-upload-form { display: none; }

/* 85% височина на текста на източниците/бележките под линия */
.references { font-size: 85%;}

.references-2column {
-moz-column-count:2; /* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
column-count:2;
}

.same-bg { background: none }

/* Highlight clicked reference in blue to help navigation */
.references > :target,
.reference:target,
cite:target {
background-color: #DEF;
}

/* Prevents line breaks in links; see docs at Template:Nowraplinks */
.nowraplinks a {
white-space: nowrap;
}

/* changes by CategoryMaster on RecentChanges and Watchlist */
.mw-tag-CategoryMaster,
.mw-changeslist-CategoryMaster {
opacity: 0.5;
}

Версия от 18:19, 6 май 2016

/* препратките [редактиране] при разделите */
.editsection {
	font-size: small;
	font-style: italic;
	font-family: Serif;
}

table { background-color: inherit; }
.wp-admin .mw-redirect:after {
	background-color: lightblue;
	content: "→";
	font-weight: bold;
	margin-left: 0.2em;
}

/* Горен/долен индекс със запазване на височината на реда */
sub {vertical-align: baseline; font-size: 0.8em; position: relative; top: 0.4em }
sup {vertical-align: baseline; font-size: 0.8em; position: relative; top: -0.4em }

/* Текста под кутията за редактиране */
#editpage-copywarn {
	margin: .8em 0;
	padding: 0.2em;
	border-bottom: thick solid gold;
	background-color: #FFF8CF;
	font-style: italic;
	text-align: center;
}

/* бутона „Предварителен преглед“ */
#wpPreview { font-weight: bold; }

.code { font-family: monospace; }

/* подравняване на текста в таблицата нагоре */
.nagore tbody { vertical-align:top; }

/*
Sitenotice
https://www.mediawiki.org/wiki/Manual:Interface/Sitenotice
*/

#siteNotice { padding: 0.3em; text-align: center; margin-bottom: 0.5em; }

/* Локалният Sitenotice изпълва цялата ширина на страницата.
Ref: https://git.wikimedia.org/tree/mediawiki%2Fextensions%2FDismissableSiteNotice.git/master/modules */
.mw-dismissable-notice-body {
	margin: auto !important;
}

/* Разширяване на ext.dismissableSiteNotice.css до позициониране на линка 'скриване' в горния десен ъгъл на разширения локален Sitenotice. */
.mw-dismissable-notice-close {
	margin-top: 3px;
	margin-right: 8px;
}

/* текста, отбелязващ нова страница в последните промени [[МедияУики:Newpageletter]] */
.newpage { color: black; background-color: yellow; }

/* препратки, които не се виждат като подчертани */
.noulinks a, .nounderlines a { text-decoration: none; }

/* текста, отбелязващ малките промени [[МедияУики:Minoreditletter]] */
.minor { font-weight: normal; }

/* изпъкващи елементи */
.hilite {
	color: black;
	background-color: #fff6e6;
	padding: 0.2em 0.5em;
	border: thin dotted silver;
}

/* Клас buttonlinks се използва в МедияУики:Monobook.js за допълнителните бутони */
.buttonlinks a {
	color: black;
	background-color: #ccddee;
	background-image: url('//upload.wikimedia.org/wikipedia/commons/c/c6/Blending_blue_button_background.png');
	background-repeat: repeat-x;
	font-weight: bold;
	font-size: 0.9em;
	text-decoration: none;
	border: thin #006699 outset;
	padding: 0.1em;
}
/* Изменения на същия клас когато курсорът е над бутона */
.buttonlinks a:hover, .buttonlinks a:active {
	background-color: #bbccdd;
	border-style: inset;
}

/* [[МедияУики:Monobook.js|поздравително съобщение]] за всеки невлязъл потребител */
#externMessage {
	text-align: center;
	color: black;
	background-color: #FFEE99;
	border: thin solid #FFA500;
	padding: .4em;
	margin-top: .2em;
}

/* elements which are doing something... */
.working {
	background: url(//upload.wikimedia.org/wikipedia/commons/3/32/Loader3.gif) right center no-repeat;
}
/* contents are currently loaded */
.loading:before {
	content: url(//upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Vector_Loading_fallback.gif/16px-Vector_Loading_fallback.gif);
}
/* A working element has done its job */
.done:before {
	content: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Yes_check.svg/16px-Yes_check.svg.png);
}
/* A working element that hadn’t been so lucky */
.not-done:before,
.fail:before {
	content: url(//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Red_x.svg/16px-Red_x.svg.png);
}

.plainlinksneverexpand { background: none ! important; padding: 0 ! important; }
.plainlinksneverexpand .urlexpansion { display: none ! important; }
.plainlinksneverexpand a { background: none !important; padding: 0 !important; }
.plainlinksneverexpand a.external.text:after { display: none !important; }
.plainlinksneverexpand a.external.autonumber:after { display: none !important; }

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

/* скриване на формуляра за качване */
#mw-upload-form { display: none; }

/* 85% височина на текста на източниците/бележките под линия */
.references { font-size: 85%;}

.references-2column {
	-moz-column-count:2; /* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
	column-count:2;
}

.same-bg { background: none }

/* Highlight clicked reference in blue to help navigation */
.references > :target,
.reference:target,
cite:target {
	background-color: #DEF;
}

/* Prevents line breaks in links; see docs at Template:Nowraplinks */
.nowraplinks a {
	white-space: nowrap;
}

/* changes by CategoryMaster on RecentChanges and Watchlist */
.mw-tag-CategoryMaster,
.mw-changeslist-CategoryMaster {
	opacity: 0.5;
}