MediaWiki:Common.css: различия между версиями

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 8: Строка 8:
--background-color-quiet--active: hsla(var(--color-primary__h),80%,25%,0.1);
--background-color-quiet--active: hsla(var(--color-primary__h),80%,25%,0.1);
--color-primary: hsl(162.11deg 51.37% 40.8%);
--color-primary: hsl(162.11deg 51.37% 40.8%);
     --color-primary--hover: hsl(162.11deg 51.37% 40.8%);
     --color-primary--hover: hsl(162.11deg 55.23% 33.3%);
     --color-primary--active: hsl(162.11deg 51.37% 40.8%);
     --color-primary--active: hsl(162.11deg 55.23% 33.3%);
}
}



Версия от 19:04, 17 мая 2024

/* Размещённый здесь CSS будет применяться ко всем темам оформления */

:root {
	--color-primary__h: 37;
	--color-primary__s: 50%;
	--color-primary__l: 46%;
	--background-color-quiet--hover: hsla(var(--color-primary__h),80%,25%,0.07);
	--background-color-quiet--active: hsla(var(--color-primary__h),80%,25%,0.1);
	--color-primary: hsl(162.11deg 51.37% 40.8%);
    --color-primary--hover: hsl(162.11deg 55.23% 33.3%);
    --color-primary--active: hsl(162.11deg 55.23% 33.3%);
}

:root.citizen-feature-custom-width-clientpref-standard {
    --width-layout: 860px;
}

@font-face {
font-family: "Golos-Text";
src: url("/resources/assets/fonts/golos-text_regular.woff") format("woff");
src: url("/resources/assets/fonts/golos-text_regular.woff2") format("woff2");
font-style: normal;
font-weight: normal;
}

@font-face {
font-family: "Golos-Text";
src: url("/resources/assets/fonts/golos-text_bold.woff") format("woff");
src: url("/resources/assets/fonts/golos-text_bold.woff2") format("woff2");
font-style: normal;
font-weight: bold;
}

@font-face {
font-family: "Golos-Text";
src: url("/resources/assets/fonts/golos-text_medium.woff") format("woff");
src: url("/resources/assets/fonts/golos-text_medium.woff2") format("woff2");
font-style: normal;
font-weight: 500;
}

html, body {
    font-family: 'Golos-Text', sans-serif;
}

a:hover, a:focus {
	text-decoration: none;
}

.citizen-toc a:hover, .citizen-toc a:focus {
	color: unset;
}

.mw-editsection a {
	color: var(--color-base);
}

.citizen-body a:not(.mw-editsection a):not(figure > a):not(#pt-userpage-2 span > a):not(.wikiEditor-ui a):not(.wikiEditor-ui-toolbar a):hover, 
.page-info a:hover
{
	border-bottom: 1px solid;
}