MediaWiki:Common.css: различия между версиями
Pok (обсуждение | вклад) Нет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| (не показано 9 промежуточных версий этого же участника) | |||
| Строка 62: | Строка 62: | ||
--font-family-base: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif; | --font-family-base: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif; | ||
--font-family-oswald: 'oswald'; | --font-family-oswald: 'oswald'; | ||
--font-family-heading: | --font-family-heading: 'Roboto', 'Roboto-fallback'; | ||
--font-family-libertine: 'Linux Libertine', 'Georgia', 'Times', serif; | --font-family-libertine: 'Linux Libertine', 'Georgia', 'Times', serif; | ||
--font-family-monospace: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace; | --font-family-monospace: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace; | ||
| Строка 74: | Строка 74: | ||
--font-size-xl: 120%; | --font-size-xl: 120%; | ||
--font-size-xxl: 130%; | --font-size-xxl: 130%; | ||
--font-size-huge: | --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; | |||
} | |||
@font-face { | |||
font-family: 'Roboto'; | |||
font-style: normal; | |||
font-weight: 300; | |||
font-display: swap; | |||
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; | |||
} | } | ||
| Строка 757: | Строка 775: | ||
font-weight: 300; | font-weight: 300; | ||
font-display: swap; | font-display: swap; | ||
src: url(https://fonts.gstatic.com/s/roboto/ | src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fBBc4.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: 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/ | 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/ | src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2) format('woff2'); | ||
unicode-range: U+ | 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: | font-weight: 700; | ||
font-display: swap; | font-display: swap; | ||
src: url(https://fonts.gstatic.com/s/roboto/v18/ | src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2'); | ||
unicode-range: U+ | 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-family: var(--font-family-heading); | |||
margin-top: 1em; | |||
border-bottom: 2px solid var(--color-contrast); | |||
margin-bottom: 0.33rem; | |||
padding: 0.25rem 0.25rem 0.1rem; | |||
line-height: 1.25; | |||
} | } | ||
.mw-body h3 { | .mw-body h3 { | ||
font-size: var(--font-size- | font-size: var(--font-size-xxl); | ||
font-weight: 500; | |||
font-family: var(--font-family-heading); | |||
margin-top: 0.3em; | |||
margin-bottom: 0; | |||
padding-bottom: 0.3em; | |||
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- | font-size: var(--font-size-xl); | ||
font-weight: | font-weight: 500; | ||
font-family: | font-family: var(--font-family-heading); | ||
padding-top: 0.5em; | padding-top: 0.5em; | ||
margin: 0; | margin: 0; | ||
| Строка 1997: | Строка 2047: | ||
/*=== toc ===*/ | /*=== toc ===*/ | ||
ul#filetoc, .toc, .toccolours, .mw-warning { | ul#filetoc, .toc, .toccolours, .mw-warning { | ||
border-radius: | border-radius: var(--border-radius-high); | ||
background: var(--theme-bg-color-150); | |||
padding: 12px; | |||
margin: 12px 0; | |||
min-width: 12em; | |||
box-shadow: var(--box-shadow); | |||
line-height: 1.3; | |||
border: var(--border-outset-light); | |||
} | } | ||
| Строка 2013: | Строка 2062: | ||
.toc .toctitle { | .toc .toctitle { | ||
font-size: | font-size: var(--font-size-s); | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
| Строка 2033: | Строка 2081: | ||
content: ""; | content: ""; | ||
display: block; | display: block; | ||
width: 16px; | |||
height: 14px; | |||
--mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E") no-repeat; | --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E") no-repeat; | ||
-webkit-mask: var(--mask); | -webkit-mask: var(--mask); | ||