View source for MediaWiki:Common.css
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
/* links */
.mw-parser-output a[href="/index.php/Special:Random"] {
position: relative; /* Для позиционирования псевдоэлемента */
display: inline-block; /* Убедимся, что ссылка ведет себя корректно */
}
.mw-parser-output a[href="/index.php/Special:Random"]::before {
content: "";
position: absolute;
top: -14px; /* Расширяем область сверху */
left: -17px; /* Расширяем область слева */
right: -17px; /* Расширяем область справа */
bottom: -14px; /* Расширяем область снизу */
z-index: 1; /* Убедимся, что псевдоэлемент не перекрывает текст */
}
.mw-parser-output .copyable-text {
display: inline-block; /* Делаем текст блочно-строчным для корректного отображения */
padding: 5px 10px; /* Небольшой отступ для удобства клика */
background-color: #f0f0f0; /* Светлый фон для выделения */
000
1:0
Return to MediaWiki:Common.css.