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

Нет описания правки
Нет описания правки
 
(не показано 11 промежуточных версий 2 участников)
Строка 16: Строка 16:
     text-rendering: optimizeLegibility;
     text-rendering: optimizeLegibility;
}
}
@font-face {
    font-family: 'NunitoExtraLightB';
    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: 'NunitoExtraLightB';
    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: 'NunitoExtraLightBb';
    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 {
html, body {
font-family: "Anonymous" !important;
font-family: "NunitoExtraLight" !important;
}
}


.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family: 'AnonymousB' !important;
font-family: 'NunitoExtraLightB' !important;
font-style: italic;
line-height: 1.375;
line-height: 1.375;
}
.mw-body em, .mw-body-content em, .mw-body-content em {
font-family: 'NunitoExtraLightB' !important;
font-style: italic;
}
}


pre, code, tt, kbd, samp, .mw-code {
pre, code, tt, kbd, samp, .mw-code {
font-family: 'Anonymous' !important;
font-family: 'SourceCodeProLight' !important;
font-weight: normal !important;
}
 
pre, code {
background: #d8d8d8;
background-clip: padding-box;
}
 
.mw-highlight span {
font-weight: normal !important;
}
}



Текущая версия от 01:06, 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: 'NunitoExtraLightB';
    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: 'NunitoExtraLightB';
    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: 'NunitoExtraLightBb';
    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: 'NunitoExtraLightB' !important;
font-style: italic;
line-height: 1.375;
}

.mw-body em, .mw-body-content em, .mw-body-content em {
font-family: 'NunitoExtraLightB' !important;
font-style: italic;
}

pre, code, tt, kbd, samp, .mw-code {
font-family: 'SourceCodeProLight' !important;
font-weight: normal !important;
}

pre, code {
background: #d8d8d8;
background-clip: padding-box;
}

.mw-highlight span {
	font-weight: normal !important;
}

/*pre, code, .mw-code {
background-color: #d6d6d6;
color: green;
border: 1px solid #ffff80;
padding: 5px !important;
}*/