MediaWiki:Gadget-FontSwitcher.css: различия между версиями
Перейти к навигации
Перейти к поиску
Ланселот (обсуждение | вклад) Нет описания правки |
Ланселот (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
/* Крупный шрифт для области содержимого */ | /* ===== Крупный шрифт для области содержимого (коэффициент 1.4) ===== */ | ||
body.font-large #mw-content-text, | body.font-large #mw-content-text, | ||
body.font-large .mw-parser-output { | body.font-large .mw-parser-output { | ||
| Строка 10: | Строка 10: | ||
} | } | ||
/* | /* ===== Жёстко задаём цвет ссылки в «Инструментах» ===== */ | ||
#p-tb li#ca-font-switcher a, | |||
#p-tb li#ca-font-switcher a:visited, | |||
#p-tb li#ca-font-switcher a:hover, | |||
#p-tb li#ca-font-switcher a:focus, | |||
#p-tb li#ca-font-switcher a:active, | |||
#p-tb .font-switcher-item a, | #p-tb .font-switcher-item a, | ||
#p-tb a.font-switcher-link, | #p-tb a.font-switcher-link, | ||
| Строка 17: | Строка 21: | ||
a#ca-font-switcher, | a#ca-font-switcher, | ||
.font-switcher-link { | .font-switcher-link { | ||
color: | color: #0645ad !important; | ||
-webkit-text-fill-color: #0645ad !important; | |||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
#p-tb | #p-tb li#ca-font-switcher a:hover, | ||
#p-tb | #p-tb li#ca-font-switcher a:focus, | ||
#ca-font-switcher a: | |||
#p-tb .font-switcher-item a:hover, | #p-tb .font-switcher-item a:hover, | ||
#p-tb a.font-switcher-link:hover, | #p-tb a.font-switcher-link:hover, | ||
#ca-font-switcher a:hover, | #ca-font-switcher a:hover, | ||
a#ca-font-switcher:hover, | a#ca-font-switcher:hover, | ||
.font-switcher-link:hover | .font-switcher-link:hover { | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
Версия от 12:54, 8 ноября 2026
/* ===== Крупный шрифт для области содержимого (коэффициент 1.4) ===== */
body.font-large #mw-content-text,
body.font-large .mw-parser-output {
font-size: 1.4em;
line-height: 1.7;
}
body.font-large #firstHeading {
font-size: 2.3em;
}
/* ===== Жёстко задаём цвет ссылки в «Инструментах» ===== */
#p-tb li#ca-font-switcher a,
#p-tb li#ca-font-switcher a:visited,
#p-tb li#ca-font-switcher a:hover,
#p-tb li#ca-font-switcher a:focus,
#p-tb li#ca-font-switcher a:active,
#p-tb .font-switcher-item a,
#p-tb a.font-switcher-link,
#ca-font-switcher a,
a#ca-font-switcher,
.font-switcher-link {
color: #0645ad !important;
-webkit-text-fill-color: #0645ad !important;
text-decoration: none;
}
#p-tb li#ca-font-switcher a:hover,
#p-tb li#ca-font-switcher a:focus,
#p-tb .font-switcher-item a:hover,
#p-tb a.font-switcher-link:hover,
#ca-font-switcher a:hover,
a#ca-font-switcher:hover,
.font-switcher-link:hover {
text-decoration: underline;
}