MediaWiki:Common.css
Материал из Letopisi.Ru — «Время вернуться домой»
(Различия между версиями)
(Новая: /* Этот набор стилей включается в отдельные css-файлы других шкурок */ - →<pre><nowiki>: /* wikitable/prettytable class for skinning ...) |
|||
(не показаны 6 промежуточных версий 3 участников) | |||
Строка 1: | Строка 1: | ||
/* Этот набор стилей включается в отдельные css-файлы других шкурок */ | /* Этот набор стилей включается в отдельные css-файлы других шкурок */ | ||
+ | |||
/*<pre><nowiki>*/ | /*<pre><nowiki>*/ | ||
− | + | #column-one { padding-top: 165px; } | |
− | + | #p-logo, | |
− | + | #p-logo a, | |
− | + | #p-logo a:hover | |
− | + | { | |
− | + | height: 165px; | |
− | + | } | |
− | + | ||
− | + | ||
− | /* | + | /* цветовое оформление разницы в байтах */ |
+ | .mw-plusminus-pos {color:#006400} | ||
+ | .mw-plusminus-neg {color:#8b0000} | ||
− | + | /* changes for towiki */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | body { background: #F8F8FF } | |
− | + | #content { background: #FFFFFF } | |
− | + | ||
− | + | 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 } |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | /************************/ | ||
/* CommonsTicker styles */ | /* CommonsTicker styles */ | ||
+ | /************************/ | ||
.tickerDiffLink { } | .tickerDiffLink { } | ||
.tickerMiscLink { } | .tickerMiscLink { } | ||
Строка 145: | Строка 73: | ||
#bodyContent .tickerMinorEntry a.extiw:visited { color:#669; } | #bodyContent .tickerMinorEntry a.extiw:visited { color:#669; } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/* 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: | Строка 81: | ||
#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:// | + | #bodyContent a[href*=".PDF#"].external { |
+ | background: url(http://letopisi.ru/images/c/c9/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:// | + | span.PDFlink a { |
+ | background: url(http://letopisi.ru/images/c/c9/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 { |
− | sup.reference:target {font-weight: bold;} | + | background-color: #ffffcc; |
+ | } | ||
+ | sup.reference:target { | ||
+ | font-weight: bold; | ||
+ | } | ||
/* Class for links with loudspeaker icon next to them */ | /* Class for links with loudspeaker icon next to them */ | ||
− | .audiolink a{background: url("http:// | + | .audiolink a{ |
+ | background: url("http://letopisi.ru/images/f/f7/Loudspeaker.png") center left no-repeat !important; | ||
+ | padding-left: 16px !important; | ||
+ | padding-right: 0 !important; | ||
+ | } | ||
− | + | .page-Главная_страница #contentSub { display:none; } | |
− | + | ||
− | + | #rating_box {width:242px;height:15px;border:1px solid #333333;margin:0px;padding:0px;background-color:#555555;} /* the box with bar and rating */ | |
− | + | #rating_target {width:202px;height:15px;border:1px solid #333333;margin:0px;padding:0px;background-color:#555555;position:absolute;float:left;} /* the bar only */ | |
− | + | #rating_text {width:40px;height:15px;border:1px solid #333333; | |
− | + | margin:0px;margin-left:202px;margin-bottom:2px;padding:0px;font-family:arial;font-size:10px; | |
− | + | background-color:#999999;position:absolute;float:left;} /* the rating only */ | |
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | /* | + | .w4g_rb_global {width:2px;height:15px;margin:0px;padding:0px;position:absolute;float:left;} /* a tiny block */ |
+ | .w4g_rb_nojs {font-size:x-small;color:#ff9999;} /* for the "must enable JS" message */ | ||
− | + | .w4g_ratinglist { margin-bottom: 0px; padding-left: .4em; } | |
− | + | .w4g_ratinglist-headercell { background-color:#153E7E; font-weight: bold; text-align: center; margin-bottom: 0px; padding-left: .4em; color:#FFFFFF; } | |
− | + | .w4g_ratinglist-contentcell { padding-left: .2em; padding-right: .2em; } | |
− | + | ||
− | + | .w4g_ratinglist-error { font-weight: bold; color:#FF0000; } | |
− | + | .w4g_rb_starbox {width:150px;height:30px;margin:0px;padding:0px;background: url('stars.png') top left repeat-x;} | |
− | . | + | .w4g_rb_star_unit {width:30px;height:30px;margin:0px;padding:0px;position:absolute;float:left;} |
+ | .w4g_rb_star_hover {width:30px;height:30px;margin:0px;padding:0px;position:absolute;float:left;background: url('stars.png') left center;} | ||
− | + | .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; | |
} | } | ||
− | /*</nowiki></pre> | + | /*</nowiki></pre>*/ |
− | + |
Текущая версия на 17:54, 17 июля 2011
/* Этот набор стилей включается в отдельные css-файлы других шкурок */ /*<pre><nowiki>*/ #column-one { padding-top: 165px; } #p-logo, #p-logo a, #p-logo a:hover { height: 165px; } /* цветовое оформление разницы в байтах */ .mw-plusminus-pos {color:#006400} .mw-plusminus-neg {color:#8b0000} /* changes for towiki */ body { background: #F8F8FF } #content { background: #FFFFFF } 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 } /************************/ /* 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; } /* 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://letopisi.ru/images/c/c9/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://letopisi.ru/images/c/c9/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://letopisi.ru/images/f/f7/Loudspeaker.png") center left no-repeat !important; padding-left: 16px !important; padding-right: 0 !important; } .page-Главная_страница #contentSub { display:none; } #rating_box {width:242px;height:15px;border:1px solid #333333;margin:0px;padding:0px;background-color:#555555;} /* the box with bar and rating */ #rating_target {width:202px;height:15px;border:1px solid #333333;margin:0px;padding:0px;background-color:#555555;position:absolute;float:left;} /* the bar only */ #rating_text {width:40px;height:15px;border:1px solid #333333; margin:0px;margin-left:202px;margin-bottom:2px;padding:0px;font-family:arial;font-size:10px; background-color:#999999;position:absolute;float:left;} /* the rating only */ .w4g_rb_global {width:2px;height:15px;margin:0px;padding:0px;position:absolute;float:left;} /* a tiny block */ .w4g_rb_nojs {font-size:x-small;color:#ff9999;} /* for the "must enable JS" message */ .w4g_ratinglist { margin-bottom: 0px; padding-left: .4em; } .w4g_ratinglist-headercell { background-color:#153E7E; font-weight: bold; text-align: center; margin-bottom: 0px; padding-left: .4em; color:#FFFFFF; } .w4g_ratinglist-contentcell { padding-left: .2em; padding-right: .2em; } .w4g_ratinglist-error { font-weight: bold; color:#FF0000; } .w4g_rb_starbox {width:150px;height:30px;margin:0px;padding:0px;background: url('stars.png') top left repeat-x;} .w4g_rb_star_unit {width:30px;height:30px;margin:0px;padding:0px;position:absolute;float:left;} .w4g_rb_star_hover {width:30px;height:30px;margin:0px;padding:0px;position:absolute;float:left;background: url('stars.png') left center;} .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; } /*</nowiki></pre>*/