MediaWiki:Common.css
Материал из Letopisi.Ru — «Время вернуться домой»
(Различия между версиями)
(Новая: /* Этот набор стилей включается в отдельные css-файлы других шкурок */ - →<pre><nowiki>: /* wikitable/prettytable class for skinning ...) |
|||
Строка 1: | Строка 1: | ||
/* Этот набор стилей включается в отдельные css-файлы других шкурок */ | /* Этот набор стилей включается в отдельные css-файлы других шкурок */ | ||
/*<pre><nowiki>*/ | /*<pre><nowiki>*/ | ||
+ | |||
+ | #column-one { padding-top: 100px; } | ||
+ | |||
+ | #p-logo, | ||
+ | #p-logo a, | ||
+ | #p-logo a:hover | ||
+ | { | ||
+ | height: 90px; | ||
+ | } | ||
+ | |||
+ | /* changes for towiki */ | ||
+ | |||
+ | body { background: #f2fAf2 } | ||
+ | #content { background: #fafffa } | ||
+ | |||
+ | h1 { font-size: 160% } | ||
+ | h2 { font-size: 140%; font-weight: bold } | ||
+ | h2 .editsection { font-weight: normal; } | ||
+ | h3 { font-size: 120%; font-weight: bold } | ||
+ | |||
+ | #comments {background: #F7F7E7; font-size: 80%; font-weight: normal;} | ||
+ | #comments .editsection {display: none;speak: none} | ||
+ | #comments #toc {display: none;speak: none} | ||
+ | |||
+ | @media print{#comments, #toc, .navbox {display: none;} } | ||
+ | |||
+ | .fotosignature, .fotosignature a { color:#b9b9b9 } | ||
/* wikitable/prettytable class for skinning normal tables */ | /* wikitable/prettytable class for skinning normal tables */ | ||
table.wikitable, | table.wikitable, | ||
− | table.prettytable {margin: 1em 1em 1em 0;background: #f9f9f9;border: 1px #aaaaaa solid;border-collapse: collapse;} | + | table.prettytable { |
+ | margin: 1em 1em 1em 0; | ||
+ | background: #f9f9f9; | ||
+ | border: 1px #aaaaaa solid; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | |||
table.wikitable th, table.wikitable td, | table.wikitable th, table.wikitable td, | ||
− | table.prettytable th, table.prettytable td {border: 1px #aaaaaa solid;padding: 0.2em;} | + | table.prettytable th, table.prettytable td { |
+ | border: 1px #aaaaaa solid; | ||
+ | padding: 0.2em; | ||
+ | } | ||
+ | |||
table.wikitable th, | table.wikitable th, | ||
− | table.prettytable th {background: #f2f2f2;text-align: center;} | + | table.prettytable th { |
+ | background: #f2f2f2; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
table.wikitable caption, | table.wikitable caption, | ||
− | table.prettytable caption {margin-left: inherit;margin-right: inherit;font-size: larger; | + | table.prettytable caption { |
− | + | margin-left: inherit; | |
− | + | margin-right: inherit; | |
− | + | font-size: larger; | |
− | + | font-weight: bold; | |
− | + | } | |
− | + | ||
− | + | ||
/* make the list of references look smaller */ | /* make the list of references look smaller */ | ||
− | ol.references {font-size: 100%;} | + | ol.references { |
+ | font-size: 100%; | ||
+ | } | ||
+ | |||
.references-small { font-size: 90%;} | .references-small { font-size: 90%;} | ||
Строка 52: | Строка 94: | ||
/* Это для рамок-ссылок на Вики-сайты */ | /* Это для рамок-ссылок на Вики-сайты */ | ||
.infobox.sisterproject {background-color:#f9fafd} | .infobox.sisterproject {background-color:#f9fafd} | ||
− | . | + | |
− | . | + | /* Используется пока лишь в Викиучебнике Эпиграф:*/ |
+ | .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} | ||
+ | .podpis{text-align:right;padding:0.2em 0 0.2em 0;margin:0 1em 0 0} | ||
/* ЖЖ */ | /* ЖЖ */ | ||
Строка 79: | Строка 125: | ||
table.standard, table.wide, table.wikitable, table.standart {border: 1px solid rgb(170,170,170);border-collapse: collapse} | 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 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 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.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.wide {width: 100%} | ||
+ | |||
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} | ||
Строка 109: | Строка 161: | ||
table td.transparent {background-color: transparent} | table td.transparent {background-color: transparent} | ||
+ | /************************/ | ||
/* CommonsTicker styles */ | /* CommonsTicker styles */ | ||
+ | /************************/ | ||
.tickerDiffLink { } | .tickerDiffLink { } | ||
.tickerMiscLink { } | .tickerMiscLink { } | ||
Строка 153: | Строка 207: | ||
.bronze { background-color: #cc9966; } | .bronze { background-color: #cc9966; } | ||
− | .allpagesredirect { font-style: italic } | + | |
+ | .allpagesredirect, .allpagesredirect a { font-style:italic; color:gray; } | ||
+ | |||
/* Change the external link icon to an Adobe icon for all PDF files */ | /* Change the external link icon to an Adobe icon for all PDF files */ | ||
Строка 162: | Строка 218: | ||
#bodyContent a[href$=".PDF"].external, | #bodyContent a[href$=".PDF"].external, | ||
#bodyContent a[href*=".PDF?"].external, | #bodyContent a[href*=".PDF?"].external, | ||
− | #bodyContent a[href*=".PDF#"].external {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;padding-right: 16px;} | + | #bodyContent a[href*=".PDF#"].external { |
+ | 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; | ||
+ | padding-right: 16px; | ||
+ | } | ||
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */ | /* 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. */ | /* is used (notably Template:PDFlink). This works in IE, unlike the above. */ | ||
− | 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-image a:hover { text-decoration: none; } | .clickable-image a:hover { text-decoration: none; } | ||
/* Highlight focused footnotes and references */ | /* Highlight focused footnotes and references */ | ||
− | sup.reference:target, ol.references li:target {background-color: #ffffcc | + | sup.reference:target, ol.references li:target { |
− | + | background-color: #ffffcc; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | sup.reference:target { | |
− | + | font-weight: bold; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | /* | + | /* Class for links with loudspeaker icon next to them */ |
− | + | .audiolink a{ | |
− | + | background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png") center left no-repeat !important; | |
− | + | padding-left: 16px !important; | |
− | + | padding-right: 0 !important; | |
− | + | ||
− | / | + | |
− | + | ||
− | + | ||
− | . | + | |
− | + | ||
− | / | + | |
− | / | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | /*</nowiki></pre>*/ | |
− | + | ||
− | + | ||
− | + | ||
− | /*</nowiki></pre> | + | |
− | + |
Версия 08:56, 8 мая 2007
/* Этот набор стилей включается в отдельные css-файлы других шкурок */ /*<pre><nowiki>*/ #column-one { padding-top: 100px; } #p-logo, #p-logo a, #p-logo a:hover { height: 90px; } /* changes for towiki */ body { background: #f2fAf2 } #content { background: #fafffa } h1 { font-size: 160% } h2 { font-size: 140%; font-weight: bold } h2 .editsection { font-weight: normal; } h3 { font-size: 120%; font-weight: bold } #comments {background: #F7F7E7; font-size: 80%; font-weight: normal;} #comments .editsection {display: none;speak: none} #comments #toc {display: none;speak: none} @media print{#comments, #toc, .navbox {display: none;} } .fotosignature, .fotosignature a { color:#b9b9b9 } /* wikitable/prettytable class for skinning normal tables */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaaaaa solid; padding: 0.2em; } table.wikitable th, table.prettytable th { background: #f2f2f2; text-align: center; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-size: larger; font-weight: bold; } /* make the list of references look smaller */ ol.references { font-size: 100%; } .references-small { font-size: 90%;} .hiddenStructure {display: none;speak: none} .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} .Talk-Notice {border: 1px solid #C0C090;background-color: #F8EABA;margin-bottom: 3px;width: 85%;border-spacing: 3px;margin-left: auto;margin-right: auto} .Talk-Notice td {background: inherit} .Use_Default_Date_Convention { display: inline; } .Use_AD_and_BC { display: none; } .Use_BCE_and_CE { display: none; } .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;} #bodyContent .plainlinksneverexpand a {background: none !important;padding: 0 !important} .messagebox {border:thin solid #aaaaaa;background-color:#f9f9f9;width:88%;margin:0 auto 1em auto;padding:.4em;vertical-align:middle;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} .messagebox .floatleft{vertical-align:middle;clear:both;margin:2px;padding:0;} .messagebox .image{margin:0;padding:0;} .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: 18em;vertical-align:middle} /* Это для рамок-ссылок на Вики-сайты */ .infobox.sisterproject {background-color:#f9fafd} /* Используется пока лишь в Викиучебнике Эпиграф:*/ .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} .podpis{text-align:right;padding:0.2em 0 0.2em 0;margin:0 1em 0 0} /* ЖЖ */ .lj a { text-decoration: underline; font: bold small Verdana; background: none !important; padding: 0 !important; } .lj a.image img { vertical-align: -2px; } .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, Lucida Sans Unicode, Microsoft Sans Serif;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} blockquote {margin:0.7em 0 0.7em 5%;padding:0.7em 2% 0.7em 4%;background-color:#f5f5f5;} p.istochnik_pred {margin:1em 0 0 5%; font-size:110%;} p.istochnik_pred:after {content:':'} p.istochnik_sled {margin:0 2em 0 0; text-align:right;} p.istochnik_sled:before {content:'— '} 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: 2px} 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} /************************/ /* CommonsTicker styles */ /************************/ .tickerDiffLink { } .tickerMiscLink { } .tickerList ul, .tickerList ul li { list-style: none; text-indent:-2em; margin-left:2em; text-align:left; } .tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0; margin-left:1.5em; text-align:left; } .tickerEntry_deleted { } .tickerEntry_restored { } /* entry for restored image */ .tickerEntry_replaced { } .tickerEntry_tagged { } .tickerEntry_redir { } .tickerEntry_recat { } .tickerEntry_notify { } .tickerEntry_changed { } /* per-status styles */ .tickerStatus_done { text-decoration:line-through; } /* strike through when entry has been handeled */ .tickerAction_deleted:before { content:" GONE "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_restored:before { content:" BACK "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_deletedRev:before { content:" -OLD "; color: #DDAAAA; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_replaced:before { content:" REPL "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_replacedOwn:before { content:" UPDT "; color: #EEAAFF; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_addedBad:before { content:" +VfD "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_removedBad:before { content:" -VfD "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_addedGood:before { content:" +OK "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_removedGood:before { content:" -OK "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; } .tickerUsage { font-size:80%; } .tickerTemplateEntry { font-weight: bold; } .tickerSubEntry { } .tickerMinorEntry { color:#666; } .tickerMinorEntry a, .tickerMinorEntry a:link, .tickerMinorEntry a:visited { color:#669; } #bodyContent .tickerMinorEntry a.extiw, #bodyContent .tickerMinorEntry a.extiw:link, #bodyContent .tickerMinorEntry a.extiw:visited { color:#669; } /* Добавление прозрачным изображениям клетчатого фона */ #file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} /* Медали. */ .gold { background-color: gold; } .silver { background-color: silver; } .bronze { background-color: #cc9966; } .allpagesredirect, .allpagesredirect a { font-style:italic; color:gray; } /* Change the external link icon to an Adobe icon for all PDF files */ /* (in browsers that support these CSS selectors, like Mozilla and Opera) */ #bodyContent a[href$=".pdf"].external, #bodyContent a[href*=".pdf?"].external, #bodyContent a[href*=".pdf#"].external, #bodyContent a[href$=".PDF"].external, #bodyContent a[href*=".PDF?"].external, #bodyContent a[href*=".PDF#"].external { 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; padding-right: 16px; } /* 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. */ 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-image a:hover { text-decoration: none; } /* Highlight focused footnotes and references */ sup.reference:target, ol.references li:target { background-color: #ffffcc; } sup.reference:target { font-weight: bold; } /* Class for links with loudspeaker icon next to them */ .audiolink a{ background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png") center left no-repeat !important; padding-left: 16px !important; padding-right: 0 !important; } /*</nowiki></pre>*/