MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Нет описания правки |
Нет описания правки |
||
| Строка 3: | Строка 3: | ||
#p-logo { visibility: hidden; } // Логотип в левом верхнем углу. | #p-logo { visibility: hidden; } // Логотип в левом верхнем углу. | ||
/* Имя автора | /* Имя автора */ | ||
h3.author-heading { | |||
display: inline !important; | display: inline !important; | ||
font-size: inherit !important; | font-size: inherit !important; | ||
font-weight: bold; | font-weight: bold; | ||
line-height: inherit | line-height: inherit; | ||
margin: 0 | margin: 0; | ||
padding: 0 | padding: 0; | ||
border: 0 | border: 0; | ||
} | } | ||
/* Первый абзац цитаты */ | /* Первый абзац цитаты */ | ||
h3.author-heading + p { | |||
display: inline !important; | display: inline !important; | ||
margin: 0 | margin: 0; | ||
padding: 0 | padding: 0; | ||
} | } | ||
/* Скрываем номер | /* Скрываем номер NumberHeadings */ | ||
h3.author-heading .mw-headline-number { | |||
display: none !important; | display: none !important; | ||
} | } | ||
/* Разделяем | /* Разделяем соседние одноабзацные цитаты */ | ||
h3.author-heading + p:has(+ h3.author-heading)::after { | |||
content: "\A\A"; | content: "\A\A"; | ||
white-space: pre; | white-space: pre; | ||
} | } | ||
Версия от 02:50, 12 октября 2026
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
#p-logo { visibility: hidden; } // Логотип в левом верхнем углу.
/* Имя автора */
h3.author-heading {
display: inline !important;
font-size: inherit !important;
font-weight: bold;
line-height: inherit;
margin: 0;
padding: 0;
border: 0;
}
/* Первый абзац цитаты */
h3.author-heading + p {
display: inline !important;
margin: 0;
padding: 0;
}
/* Скрываем номер NumberHeadings */
h3.author-heading .mw-headline-number {
display: none !important;
}
/* Разделяем соседние одноабзацные цитаты */
h3.author-heading + p:has(+ h3.author-heading)::after {
content: "\A\A";
white-space: pre;
}