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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 29: Строка 29:


.citizen-drawer__logo img {
.citizen-drawer__logo img {
         height: 2.5rem;
         height: 3rem;
     }
     }



Версия от 19:30, 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 54.8% 28.51%);
    --color-link-new: #e35b5b;
    --color-link-new--hover: #c1433d;
    --color-link-new--active: #96332e;
}

:root.skin-theme-clientpref-night {
	--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 54.8% 28.51%);
    --color-link-new: #e35b5b;
    --color-link-new--hover: #c1433d;
    --color-link-new--active: #96332e;
}

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

.citizen-drawer__logo img {
        height: 3rem;
    }

@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;
}