MediaWiki:Common.css: различия между версиями
8j0rn (обсуждение | вклад) Нет описания правки |
8j0rn (обсуждение | вклад) Нет описания правки |
||
| Строка 83: | Строка 83: | ||
pre, code, tt, kbd, samp, .mw-code { | pre, code, tt, kbd, samp, .mw-code { | ||
font-family: ' | font-family: 'SourceCodeProLight' !important; | ||
} | } | ||
Версия от 00:43, 21 сентября 2024
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
@font-face {
font-family: 'Anonymous';
src: url('/font/AnonymousPro.woff2') format('woff2'), /* Modern Browsers */
url('/font/AnonymousPro.otf') format('opentype'); /* Safari, Android, iOS */
font-style: normal;
font-weight: normal;
text-rendering: optimizeLegibility;
}
@font-face {
font-family: 'AnonymousB';
src: url('/font/AnonymousProB.woff2') format('woff2'), /* Modern Browsers */
url('/font/AnonymousProB.otf') format('opentype'); /* Safari, Android, iOS */
font-style: normal;
font-weight: normal;
text-rendering: optimizeLegibility;
}
@font-face {
font-family: 'NunitoExtraLight';
src: url('/font/Nunito-SemiBoldItalic.woff2') format('woff2'), /* Modern Browsers */
url('/font/Nunito-SemiBoldItalic.otf') format('opentype'); /* Safari, Android, iOS */
font-style: italic;
font-weight: normal;
text-rendering: optimizeLegibility;
}
@font-face {
font-family: 'NunitoExtraLight';
src: url('/font/Nunito-SemiBold.woff2') format('woff2'), /* Modern Browsers */
url('/font/Nunito-SemiBold.otf') format('opentype'); /* Safari, Android, iOS */
font-style: normal;
font-weight: normal;
text-rendering: optimizeLegibility;
}
@font-face {
font-family: 'NunitoExtraLight';
src: url('/font/Nunito-ExtraLightItalic.woff2') format('woff2'), /* Modern Browsers */
url('/font/Nunito-ExtraLightItalic.otf') format('opentype'); /* Safari, Android, iOS */
font-style: italic;
font-weight: normal;
text-rendering: optimizeLegibility;
}
@font-face {
font-family: 'NunitoExtraLight';
src: url('/font/Nunito-ExtraLight.woff2') format('woff2'), /* Modern Browsers */
url('/font/Nunito-ExtraLight.otf') format('opentype'); /* Safari, Android, iOS */
font-style: normal;
font-weight: normal;
text-rendering: optimizeLegibility;
}
@font-face {
font-family: 'NunitoExtraLight';
src: url('/font/Nunito-ExtraBlack.woff2') format('woff2'), /* Modern Browsers */
url('/font/Nunito-ExtraBlack.otf') format('opentype'); /* Safari, Android, iOS */
font-style: italic;
font-weight: normal;
text-rendering: optimizeLegibility;
}
@font-face {
font-family: 'SourceCodeProLight';
src: url('/font/SourceCodePro-Light.woff2') format('woff2'), /* Modern Browsers */
url('/font/SourceCodePro-Light.otf') format('opentype'); /* Safari, Android, iOS */
font-style: normal;
font-weight: normal;
text-rendering: optimizeLegibility;
}
@font-face {
font-family: 'SourceCodeProMedium';
src: url('/font/SourceCodePro-Medium.woff2') format('woff2'), /* Modern Browsers */
url('/font/SourceCodePro-Medium.otf') format('opentype'); /* Safari, Android, iOS */
font-style: normal;
font-weight: normal;
text-rendering: optimizeLegibility;
}
html, body {
font-family: "NunitoExtraLight" !important;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family: 'NunitoExtraLight' !important;
line-height: 1.375;
}
pre, code, tt, kbd, samp, .mw-code {
font-family: 'SourceCodeProLight' !important;
}
pre, code {
background: #d8d8d8;
background-clip: padding-box;
}
/*pre, code, .mw-code {
background-color: #d6d6d6;
color: green;
border: 1px solid #ffff80;
padding: 5px !important;
}*/