MediaWiki:Common.css: различия между версиями
Luciana (обсуждение | вклад) Нет описания правки |
Luciana (обсуждение | вклад) Нет описания правки Метка: отменено |
||
Строка 28: | Строка 28: | ||
color: inherit; /* Делаем ссылки того же цвета, что и обычный текст */ | color: inherit; /* Делаем ссылки того же цвета, что и обычный текст */ | ||
font-weight: normal; /* Убираем жирность ссылок */ | font-weight: normal; /* Убираем жирность ссылок */ | ||
} | |||
#p-logo a { | |||
pointer-events: none; | |||
} | |||
#p-logo a::after { | |||
content: ""; | |||
position: absolute; | |||
inset: 0; | |||
z-index: 10; | |||
background: transparent; | |||
pointer-events: auto; | |||
} | } |
Версия от 01:29, 26 февраля 2025
#reverinDateWidget { font-size: 13px; /* Универсальный размер */ font-weight: normal; /* Обычный текст */ color: #333; background: #f8f9fa; padding: 5px 8px; border-radius: 4px; border-top: 1px solid #ccc; text-align: center; line-height: 1.2; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; white-space: nowrap; } #reverinDateWidget .row { display: flex; justify-content: center; gap: 4px; font-weight: normal; /* Обе строки теперь не жирные */ } #reverinDateWidget a { text-decoration: none; /* Убираем подчеркивание */ color: inherit; /* Делаем ссылки того же цвета, что и обычный текст */ font-weight: normal; /* Убираем жирность ссылок */ } #p-logo a { pointer-events: none; } #p-logo a::after { content: ""; position: absolute; inset: 0; z-index: 10; background: transparent; pointer-events: auto; }