MediaWiki:Common.css — различия между версиями

Материал Psylab.info - энциклопедии психодиагностики
Перейти к: навигация, поиск
м
м
Строка 91: Строка 91:
 
     background: #FFCECE;
 
     background: #FFCECE;
 
     vertical-align: middle;  
 
     vertical-align: middle;  
 +
}
 +
 +
/* Pad Google AdSense box in portlet in sidebar */
 +
#p-googleadsense .Body {
 +
    padding-top: 5px;
 +
    text-align:  center;
 
}
 
}
  

Версия 20:23, 3 июня 2012

/* Интерфейс */

body.page-Главная_страница #t-cite,
body.page-Главная_страница #footer-info-lastmod,
body.page-Главная_страница #siteSub,
body.page-Главная_страница #contentSub,
body.page-Главная_страница h1.firstHeading,
body.page-Главная_страница #siteNotice,
body.page-Главная_страница #ca-delete {
    display: none !important;
}

body.ns-talk #t-cite,
body.ns-talk #siteSub,
body.ns-talk #contentSub,
body.ns-talk #sitenotice-warning {
    display: none !important;
}

body.ns-4 #t-cite,
body.ns-4 #footer-info-lastmod,
body.ns-4 #siteSub,
body.ns-4 #contentSub,
body.ns-4 #sitenotice-warning {
    display: none !important;
}

body.ns-6 #t-cite,
body.ns-6 #footer-info-lastmod,
body.ns-6 #siteSub,
body.ns-6 #contentSub {
    display: none !important;
}

body.ns-8 #t-cite,
body.ns-8 #siteSub,
body.ns-8 #contentSub {
    display: none !important;
}

body.ns-special #siteSub,
body.ns-special #contentSub,
body.ns-special #siteNotice {
    display: none !important;
}

#siteSub {
    display: inline;
    font-size: 92%;
    font-weight: normal 
}

/* Жирный шрифт для кнопки «Записать страницу» */
#wpSave {
    font-weight: bold;
}

/* Margins for <ol> and <ul> */
div#content ol, div#content ul,
div#mw_content ol, div#mw_content ul {
    margin-bottom: 0.5em;
}

/* Make the list of references smaller */
ol.references,
div.reflist,
div.refbegin {
    font-size: 90%;            /* Default font-size */
}
div.reflist ol.references {
    font-size: 100%;           /* Reset font-size when nested in div.reflist */
    list-style-type: inherit;  /* Enable custom list style types */
}

/* Highlight clicked reference in blue to help navigation */
ol.references li:target,
sup.reference:target,
span.citation:target { 
    background-color: #DEF;
}

/* Оформление информационных блоков */
#information {
    border: 1px solid #D5D9E6;
    background: #F4FBFF;
    vertical-align: middle;
}

#warning {
     border: 1px solid #AAAAAA;
     background: #FFCECE;
     vertical-align: middle; 
}

/* Pad Google AdSense box in portlet in sidebar */
#p-googleadsense .Body {
    padding-top: 5px;
    text-align:  center;
}

/* Оформление таблиц */
table.wikitable, table.prettytable {
    margin:1em 1em 1em 0; background:#FFFFFF; border:1px solid #a3bfb1; border-collapse:collapse
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
    border:1px solid #a3bfb1; padding:0.2em
}
table.wikitable caption, table.prettytable caption {
    margin-left:inherit; margin-right:inherit; font-size:larger; font-weight:bold
}
table.prettytable th {
    background:#F4FBFF;
}