MediaWiki:Common.css

Материал из Letopisi.Ru — «Время вернуться домой»
Перейти к: навигация, поиск

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

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl-F5 или Ctrl-R (⌘-R на Mac)
  • Google Chrome: Нажмите Ctrl-Shift-R (⌘-Shift-R на Mac)
  • Internet Explorer: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl-F5
  • Opera: Выберите очистку кэша в меню Инструменты → Настройки
/* Этот набор стилей включается в отдельные 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;}


/*</nowiki></pre>*/
Персональные инструменты
Инструменты