MediaWiki:Monobook.css
Перейти к навигации
Перейти к поиску
Замечание: Чтобы после сохранения вступили в силу изменения стилей, перезагрузите файл //traditio.wiki/w/load.php?debug=false&lang=ru&modules=site&only=styles&skin=vector&*, если используете скин Vector, или //traditio.wiki/w/load.php?debug=false&lang=ru&modules=site&only=styles&skin=common&*, если используете скин Common.
Чтобы вступили в силу изменения скриптов, перезагрузите файл //traditio.wiki/w/load.php?debug=false&lang=ru&modules=site&only=scripts&skin=vector&*, если используете скин Vector, или //traditio.wiki/w/load.php?debug=false&lang=ru&modules=site&only=scripts&skin=common&*, если используете скин Common.
Гаджеты и импортируемые скрипты загружаются отдельными файлами.
/*
<source lang="css">
*/
/* Donations link to be uncommented during fundraising drives */
#siteNotice {
margin-top:5px;
padding-left: 4px;
font-style: italic;
text-align: center;
}
/* #fundraising {
text-align: center;
border: 1px solid gray;
padding: 5px;
}
*/
#p-cactions { width: 80%; }
/* patch to prevent vertical stacking of tabs
at top of page in IE6 at resolutions of 800x600;
this stacking occured in main namespace pages only
for sysops, as they have the additional "protect"
and "delete" tabs at the top of the page;
original width before patch was 76%;
this patch prevents stacking in main namespace pages
but not in certain special pages,
which have tabs that are of greater width --Lowellian */
#bodyContent #siteSub a {
color: #000;
text-decoration: none;
background-color: transparent;
background-image: none;
padding-right: 0;
}
/* Bold 'edit this page' link to encourage newcomers */
#ca-edit a { font-weight: bold !important; }
/* Display "User $1, you are already logged in!"
([[MediaWiki:Alreadyloggedin]]) in red and bold */
div.alreadyloggedin { color: red; font-weight: bold; }
@media print {
/* Do not print edit link in templates using Template:Ed
Do not print certain classes that shouldn't appear on paper */
.editlink, .noprint, .metadata, .dablink { display: none }
}
/* Style for "notices" */
.notice {
text-align: justify;
margin: 1em 0.5em;
padding: 0.5em;
}
#disambig {
border-top: 3px double #cccccc;
border-bottom: 3px double #cccccc;
}
/* Accessibility experiment: make diff changes not just colour-based */
.diffchange {
font-weight: bold;
background-color: inherit;
}
td.diff-addedline, td.diff-deletedline, td.diff-context {
font-size: 85%;
color: inherit;
}
/*
Это нужно чтобы в окошке поиска кнопки не разбивались на 2 строки
к сожалению в main.css для кнопки Go прописаны паддинги .5em.
Что хорошо для "Go" плохо для "Перейти" --st0rm
*/
#searchGoButton {
padding-left: 0em;
padding-right: 0em;
font-weight: bold;
}
/* by SergV */
@media print {
/* Bug 1583 */
.tright {clear: right;}
/* рамка вокруг навигационных шаблонов */
.toccolours {border: 1px solid #aaa;}
/* линия над списком категорий */
#catlinks {
border-top: 1px solid black;
margin-top: 1em;
clear: both;
}
}
/* В меню навигации (левая колонка) над интервики не все символы заголовка
обязаны быть строчными; могут быть и заглавные */
.portlet#p-lang h5 { text-transform: none; }
/* Don't display some stuff on the main page */
body.page-Заглавная_страница #t-cite,
body.page-Заглавная_страница #lastmod,
body.page-Заглавная_страница #siteSub,
body.page-Заглавная_страница #contentSub,
body.page-Заглавная_страница h1.firstHeading {
display: none !important;
}
/* Display "From Traditio, the free encyclopedia" */
#siteSub {
display: inline;
font-size: 92%;
font-weight: normal;
}
/* для редактирования нулевой секции */
.editsection { float: right; margin-left: 5px; }
/* Тестовое решение проблемы с белыми рамками у thumbnail'ов */
div.tleft, div.tright, div.tnone {
border: none; /* Убираем рамки */
display: inline;
}
div.tleft {
margin: 0.5em 1.9em 1.3em 0;
}
div.tright {
margin: 0.5em 0 1.3em 1.4em;
}
/* Исправление проблемы IE6 с выравниванием идеограммы в подписях к миниатюрам, имеющим атрибут «центр» */
.center .thumbcaption * {
margin: 0;
}
/* Наши новые HTML-портлеты стали несколько ниже логотипа, чем прежде; пора это исправить */
#p-logo { height: 149px !important; } /* было 155px; */
#p-logo a, #p-logo a:hover {
height: 149px !important; /* было 155px; */
}
#column-one {
padding-top: 151px !important; /* было 160px; */
}
/* Тень, знай своё место! */
h1.firstHeading {
text-shadow: -1px -1px 2px #acacac;
}
.pBody {
margin-right: 2px;
margin-bottom: 2px;
-moz-box-shadow: 0 0 4px #acacac;
-webkit-box-shadow: 0 0 4px #acacac;
box-shadow: 0 0 4px #acacac;
}
#content {
-moz-box-shadow: -3px 0 3px #cfcfcf;
-webkit-box-shadow: -3px 0 3px #cfcfcf;
box-shadow: -3px 0 3px #cfcfcf;
}
#p-personal .pBody,
#p-cactions .pBody {
margin-right: 0;
margin-bottom: 0;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
/*
</source>
*/