Персональные инструменты

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

Материал из Лексикон КС

Перейти к: навигация, поиск
Нет описания правки
Нет описания правки
 
(не показано 40 промежуточных версий этого же участника)
Строка 2: Строка 2:


/* =================================================== */
/* =================================================== */
div#header {background: #455372 url("/skins/Cavendish/resources/images/header_bl.png") bottom left repeat-x;}


/* Прячем ненужные пользователю fieldset'ы (например в "Ссылки на эту страниц"). ВНИМАНИЕ! ВКЛЮЧИТЬ ПРИ ЗАГРУЗКЕ ФАЙЛОВ! */
/* Прячем ненужные пользователю fieldset'ы (например в "Ссылки на эту страниц"). ВНИМАНИЕ! ВКЛЮЧИТЬ ПРИ ЗАГРУЗКЕ ФАЙЛОВ! */
/* fieldset { display:none!important; } */
fieldset { display:none!important; }




Строка 80: Строка 83:


/* Прячем ненужный блок ссылок на страницах категорий */
/* Прячем ненужный блок ссылок на страницах категорий */
div.catlinks { display:none!important; }
mw-normal-catlinks { display:none!important; }
catlinks hr{ display:none!important; }
 


/* =================================================== */
/* =================================================== */
Строка 89: Строка 94:
         font-family: Ubuntu, Arial, Helvetica, sans-serif;
         font-family: Ubuntu, Arial, Helvetica, sans-serif;
         color: #000;
         color: #000;
         white-space: nowrap;
         white-space: normal;
}
}
.dtree img {
.dtree img {
Строка 100: Строка 105:
}
}
.dtree a.node, .dtree a.nodeSel {
.dtree a.node, .dtree a.nodeSel {
         white-space: nowrap;
         /* white-space: nowrap; */
         padding: 1px 2px 1px 2px;
         padding: 1px 2px 1px 2px;
}
}
Строка 113: Строка 118:
         overflow: hidden;
         overflow: hidden;
         padding-bottom: 1px;
         padding-bottom: 1px;
}
.dTreeNode {
height: auto;
}
.suggestions {
max-height: 300px !important;
overflow-y: scroll !important;
border-bottom: solid 1px #aaaaaa;
}
}

Текущая версия от 02:57, 2 сентября 2026

/* Размещённый здесь CSS будет применяться ко всем темам оформления */

/* =================================================== */

div#header {background: #455372 url("/skins/Cavendish/resources/images/header_bl.png") bottom left repeat-x;}


/* Прячем ненужные пользователю fieldset'ы (например в "Ссылки на эту страниц"). ВНИМАНИЕ! ВКЛЮЧИТЬ ПРИ ЗАГРУЗКЕ ФАЙЛОВ! */
fieldset { display:none!important; }


/* =================================================== */
/* Стили ссылок */
a:link {text-decoration: none; color: #00206d; }
a:visited {text-decoration: none; color: #00206d; }
a:active {text-decoration: none; color: #00206d; }
a:hover {text-decoration: underline; color: #00206d; }

p a:link {text-decoration: none; color: #0037bc; }
p a:visited {text-decoration: none; color: #0037bc; }
p a:active {text-decoration: none; color: #0037bc; }
p a:hover {text-decoration: underline; color: #0037bc; }

/* =================================================== */

/* Прячем "Перенаправлено с..." */
#contentSub { display:none; }

/* =================================================== */

/* Заголовки в Тематическом указателе (<ncl>)" */
.ncl-heading
{
font-weight:bold;
margin-top: 1em;
}

/* =================================================== */

/* Прячем ненужные табы сверху */
li#ca-talk { display:none!important; }
li#ca-history { display: none!important; }
li#ca-viewsource { display: none!important; }
li#ca-nstab-main { display: none!important; }
li#ca-nstab-special { display: none!important; }
li#ca-nstab-\.D1\.80\.D0\.B0\.D0\.B7\.D0\.B4\.D0\.B5\.D0\.BB { display: none!important; }
li#ca-nstab-category { display: none!important; }
li#ca-nstab-help { display: none!important; }

/* =================================================== */

/* Прячем ненужные табы в Sidebar */
li#t-recentchangeslinked { display:none!important; }
li#t-permalink { display:none!important; }
li#t-upload { display:none!important; }
li#t-specialpages { display:none!important; }
li#t-whatlinkshere { display:none!important; }

/* =================================================== */

/* Немного приводим в порядок страницу результатов поиска */
div.search-types  { display:none!important; } /* Прячем поиск по Мультимедиа и прочее */
div.results-info { float:left!important; } /* Прибиваем данные о количестве найденных статей влево */
div.mw-search-result-data { display:none!important; } /* Прячем информацию о размере статьи и дате создания на странице результатов поиска */
div.mw-search-result-heading a { font-weight:bold; } /* Выделяем полужирным заголовки статей в результатах поиска */

/* Выделяем ссылки в результатах поиска */
div.mw-search-result-heading a:link {text-decoration: none; color: #0037bc; }
div.mw-search-result-heading a:visited {text-decoration: none; color: #0037bc; }
div.mw-search-result-heading a:active {text-decoration: none; color: #0037bc; }
div.mw-search-result-heading a:hover {text-decoration: underline; color: #0037bc; }
div.mw-search-result-heading { padding-left: 1em; padding-top: 0.2em; padding-bottom: 0.2em; border: solid #e6e6e6 1px; background: #f3f3f3} /* Красим фон результатов поисока */
div.searchresult { width:100%!important; }  /* Прячем контекст найденного */

table#mw-search-top-table { display:none!important; } /* Прячем верхнее поле поиска в результатах поиска */

/* =================================================== */

/* Прячем ненужную иконку magnify под картинками в статьях */
div.magnify { display:none!important; }

/* =================================================== */

/* Прячем ненужный блок ссылок на страницах категорий */
mw-normal-catlinks { display:none!important; }
catlinks hr{ display:none!important; }


/* =================================================== */


/* Стили для TreeAndMenu */
.dtree {
        font-family: Ubuntu, Arial, Helvetica, sans-serif;
        color: #000;
        white-space: normal;
}
.dtree img {
        border: 0px;
        vertical-align: middle;
}
.dtree a {
        color: #000;
        text-decoration: none;
}
.dtree a.node, .dtree a.nodeSel {
        /* white-space: nowrap; */
        padding: 1px 2px 1px 2px;
}
.dtree a.node:hover, .dtree a.nodeSel:hover {
        color: #222;
        text-decoration: underline;
}
.dtree a.nodeSel {
        background-color: #c0d2ec;
}
.dtree .clip {
        overflow: hidden;
        padding-bottom: 1px;
}
.dTreeNode {
height: auto; 
}

.suggestions {
max-height: 300px !important;
overflow-y: scroll !important;
border-bottom: solid 1px #aaaaaa;
}