MediaWiki:Common.css: различия между версиями
Материал из База знаний Центра ПУСК МФТИ
Нет описания правки Метка: отменено |
Нет описания правки Метка: отменено |
||
| Строка 19: | Строка 19: | ||
} | } | ||
@font-face { | @font-face { | ||
font-family: "ALSSirius"; | font-family: "ALSSirius-Medium"; | ||
src: url("https://wiki.mipt.ru/fonts//ALSSirius-Regular.ttf") format("truetype"); | src: url("https://wiki.mipt.ru/fonts//ALSSirius-Medium.ttf") format("truetype"); | ||
font-style: normal; | font-weight: 500; | ||
font- | font-style: normal; | ||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: "ALSSirius-Regular"; | |||
src: url("https://wiki.mipt.ru/fonts//ALSSirius-Regular.ttf") | |||
format("truetype"); | |||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: "ALSAhner"; | font-family: "ALSAhner-Medium"; | ||
src: url("https://wiki.mipt.ru/fonts/ALSAhner-Medium.ttf") format("truetype") | src: url("https://wiki.mipt.ru/fonts/ALSAhner-Medium.ttf") format("truetype") | ||
font-style: normal; | font-weight: 500; | ||
font- | font-style: normal; | ||
font-display: swap; | |||
} | |||
} | } | ||
#mw-header *, | #mw-header *, | ||
| Строка 34: | Строка 45: | ||
#mw-related-navigation *, | #mw-related-navigation *, | ||
body { | body { | ||
font-family: ""ALSSirius", serif; | font-family: ""ALSSirius-Regular", serif; | ||
font-optical-sizing: auto; | font-optical-sizing: auto; | ||
font-weight: 400; | font-weight: 400 !important; | ||
font-style: normal; | font-style: normal; | ||
font-variation-settings: | font-variation-settings: | ||
| Строка 43: | Строка 54: | ||
h1,h2,h3,h4,h5,h6 { | h1,h2,h3,h4,h5,h6 { | ||
color: black; | color: black; | ||
font-family: "ALSAhner", serif !important; | font-family: "ALSAhner-Medium", serif !important; | ||
font-style: normal; | font-style: normal; | ||
font-weight: | font-weight: 500 !important; | ||
} | } | ||
Версия от 12:04, 20 декабря 2024
@import "https://wiki.mipt.ru/skins/wiki.css";
.mw-logo-icon {
width: 193px !important;
height: 60px !important;
}
.mw-wiki-logo.timeless-logo img {
width: 190px;
height: 60px !important;
margin: 0.75em 0 0.5em;
}
#p-logo-text { display: none;}
.open-alssirius-regular {
font-family: "ALSSirius", serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
font-variation-settings:
"wdth" 100;
}
@font-face {
font-family: "ALSSirius-Medium";
src: url("https://wiki.mipt.ru/fonts//ALSSirius-Medium.ttf") format("truetype");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "ALSSirius-Regular";
src: url("https://wiki.mipt.ru/fonts//ALSSirius-Regular.ttf")
format("truetype");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "ALSAhner-Medium";
src: url("https://wiki.mipt.ru/fonts/ALSAhner-Medium.ttf") format("truetype")
font-weight: 500;
font-style: normal;
font-display: swap;
}
}
#mw-header *,
#mw-site-navigation *,
#mw-related-navigation *,
body {
font-family: ""ALSSirius-Regular", serif;
font-optical-sizing: auto;
font-weight: 400 !important;
font-style: normal;
font-variation-settings:
"wdth" 100;
}
h1,h2,h3,h4,h5,h6 {
color: black;
font-family: "ALSAhner-Medium", serif !important;
font-style: normal;
font-weight: 500 !important;
}