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

Нет описания правки
Нет описания правки
 
(не показано 7 промежуточных версий этого же участника)
Строка 74: Строка 74:
--font-size-xl: 120%;
--font-size-xl: 120%;
--font-size-xxl: 130%;
--font-size-xxl: 130%;
--font-size-huge: 140%;
--font-size-huge: 145%;
--font-size-giant: 200%;
--font-size-giant: 200%;


Строка 749: Строка 749:
font-display: swap;
font-display: swap;
src: url(https://fonts.gstatic.com/s/roboto/v18/frNV30OaYdlFRtH2VnZZdhTbgVql8nDJpwnrE27mub0.woff2) format('woff2');
src: url(https://fonts.gstatic.com/s/roboto/v18/frNV30OaYdlFRtH2VnZZdhTbgVql8nDJpwnrE27mub0.woff2) format('woff2');
unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
 
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 100;
font-display: swap;
src: url(https://fonts.gstatic.com/s/roboto/v18/2tsd397wLxj96qwHyNIkxPesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
}


Строка 757: Строка 766:
font-weight: 300;
font-weight: 300;
font-display: swap;
font-display: swap;
src: url(https://fonts.gstatic.com/s/roboto/v15/Fl4y0QdOxyyTHEGMXX8kcYX0hVgzZQUfRDuZrPvH3D8.woff2) format('woff2');
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fABc4EsA.woff2) format('woff2');
unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
 
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fBBc4.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
 
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu5mxKOzY.woff2) format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
}


Строка 766: Строка 793:
font-weight: 400;
font-weight: 400;
font-display: swap;
font-display: swap;
src: url(https://fonts.gstatic.com/s/roboto/v18/mErvLBYg_cXG3rLvUsKT_fesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
src: url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
 
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fABc4AMP6lbBP.woff2) format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
}


Строка 775: Строка 811:
font-weight: 500;
font-weight: 500;
font-display: swap;
font-display: swap;
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fABc4EsA.woff2) format('woff2');
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2) format('woff2');
unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
}


Строка 785: Строка 821:
font-display: swap;
font-display: swap;
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2) format('woff2');
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2) format('woff2');
unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
}


Строка 791: Строка 827:
font-family: 'Roboto';
font-family: 'Roboto';
font-style: normal;
font-style: normal;
font-weight: 900;
font-weight: 700;
font-display: swap;
font-display: swap;
src: url(https://fonts.gstatic.com/s/roboto/v18/3Y_xCyt7TNunMGg0Et2pnhJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2');
unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
}
/* #endregion */
/* #endregion */
Строка 974: Строка 1010:
.mw-body h2 {
.mw-body h2 {
font-size: var(--font-size-huge);
font-size: var(--font-size-huge);
font-weight: 500;
    font-weight: 500;
border-bottom: none;
    font-family: var(--font-family-heading);
font-family: var(--font-family-heading);
    margin-top: 1em;
margin-bottom: 0.4em;
    border-bottom: 2px solid var(--color-contrast);
margin-top: 1em;
    margin-bottom: 0.33rem;
line-height: 1.375;
    padding: 0.25rem 0.25rem 0.1rem;
border-bottom: 2px solid var(--color-contrast);
    line-height: 1.25;
}
}


.mw-body h3 {
.mw-body h3 {
font-size: var(--font-size-xl);
font-size: var(--font-size-xxl);
font-weight: 500;
    font-weight: 500;
font-family: var(--font-family-heading);
    font-family: var(--font-family-heading);
margin-top: 0.3em;
    margin-top: 0.3em;
margin-bottom: 0.3em;
    margin-bottom: 0;
padding-bottom: 0;
    padding-bottom: 0.3em;
line-height: 1.6;
    padding-top: 0.5em;
padding-top: 0.5em;
}
 
.mw-body h3 .mw-headline {
    display: inline-block;
    position: relative;
}
 
.mw-body h3 .mw-headline:before {
    content: '';
    position: absolute;
    bottom: -0.15em;
    height: 2px;
    width: calc(100% + 1em);
    background: linear-gradient(to right, hsl(from var(--color-contrast) h s l / 0.65) calc(100% - 1em), transparent 100%);
}
}


.mw-body h4,
.mw-body h4,
.mw-body h5 {
.mw-body h5 {
font-size: var(--font-size-ml);
font-size: var(--font-size-xl);
font-weight: 500;
font-weight: 500;
font-family: var(--font-family-heading);
font-family: var(--font-family-heading);