MediaWiki:Gadget-FontSwitcher.css: различия между версиями
Ланселот (обсуждение | вклад) Нет описания правки |
Ланселот (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
/* Крупный шрифт для области содержимого | /* Крупный шрифт для области содержимого */ | ||
body.font-large #mw-content-text, | body.font-large #mw-content-text, | ||
body.font-large .mw-parser-output { | body.font-large .mw-parser-output { | ||
| Строка 6: | Строка 6: | ||
} | } | ||
body.font-large #firstHeading { | body.font-large #firstHeading { | ||
font-size: 2.3em; | font-size: 2.3em; | ||
| Строка 12: | Строка 11: | ||
/* Ссылка в «Инструментах» — как обычная ссылка портлета */ | /* Ссылка в «Инструментах» — как обычная ссылка портлета */ | ||
#p-tb #ca-font-switcher a { | /* Покрываем все возможные варианты структуры, которые может создать addPortletLink */ | ||
color: var( --color-link, #0645ad ); | #p-tb .font-switcher-item a, | ||
#p-tb a.font-switcher-link, | |||
#ca-font-switcher a, | |||
a#ca-font-switcher, | |||
.font-switcher-link { | |||
color: var( --color-link, #0645ad ) !important; | |||
text-decoration: none; | |||
} | } | ||
#p-tb #ca-font-switcher a:visited { | #p-tb .font-switcher-item a:visited, | ||
color: var( --color-link--visited, #0b0080 ); | #p-tb a.font-switcher-link:visited, | ||
#ca-font-switcher a:visited, | |||
a#ca-font-switcher:visited, | |||
.font-switcher-link:visited { | |||
color: var( --color-link--visited, #0b0080 ) !important; | |||
} | } | ||
#p-tb #ca-font-switcher a:hover, | #p-tb .font-switcher-item a:hover, | ||
#p-tb #ca-font-switcher a:focus { | #p-tb a.font-switcher-link:hover, | ||
#ca-font-switcher a:hover, | |||
a#ca-font-switcher:hover, | |||
.font-switcher-link:hover, | |||
#p-tb .font-switcher-item a:focus, | |||
#p-tb a.font-switcher-link:focus, | |||
#ca-font-switcher a:focus, | |||
a#ca-font-switcher:focus, | |||
.font-switcher-link:focus { | |||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||