MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
| Line 1: | Line 1: | ||
/* | /* CSS placed here will apply to all skins */ | ||
/*** BASE STYLES AND SETTINGS ***/ | |||
/** Color variables that could be changed by various skin themes */ | |||
/* LIGHT THEME - default */ | |||
:root, | |||
.skin-invert, | |||
.notheme { | |||
--font-sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif; | |||
--site-background-color: #303031; | |||
content | --content-background-color: #ebeef2; | ||
--color-siderbar-base: #f8f9fa; | |||
--color-siderbar-links: #88a3e8; | |||
--color-topbar-text: #f8f9fa; | |||
--link-color: #0645ad; | |||
- | --redlink-color: #BA0000; | ||
--content-border-top-color: #678002; | |||
--content-border-top-color-hovered: #7b9904; | |||
--simplesearch-top-border-color: #FFFFFF; | |||
--simplesearch-left-border-color: #888888; | |||
--simplesearch-topright-grass-color: #6BA41E; | |||
--searchinput-placeholder-color: #e9efff; | |||
# | /* Переменные системы дизайна Codex */ | ||
--color-base: #202122; | |||
--color-base-fixed: #202122; | |||
--color-base--hover: #404244; | |||
--color-emphasized: #101418; | |||
--color-subtle: #54595d; | |||
--color-placeholder: #72777d; | |||
--color-disabled: #72777d; | |||
--color-inverted: #fff; | |||
--color-inverted-fixed: #fff; /* The same as color-inverted in light mode, but does not change in dark mode. Use this for things that should be white in both modes. */ | |||
--color-progressive: #36c; /* 'Progressive' Color and states */ | |||
--color-progressive--hover: #4b77d6; | |||
--color-progressive--active: #233566; | |||
--color-progressive--focus: #36c; | |||
--color-destructive: #d73333; /* 'Destructive' Color and states */ | |||
--color-destructive--hover: #fc493b; | |||
--color-destructive--active: #9f3526; | |||
--color-destructive--focus: #36c; | |||
--color-visited: #6a60b0; /* 'Visited' color. In combination with progressive. Used for default links. */ | |||
--color-destructive--visited: #9f5555; /* Red link 'Visited' color. Used for visited red links. */ | |||
--color-error: #d73333; | |||
--color-warning: #eeb533; /* Note, this is only meant for warning icon for contrast reasons. */ | |||
--color-success: #177860; /* Note, this needs to use a tone darker than Red and Yellow for contrast reasons with background White. */ | |||
--color-notice: #202122; | |||
--color-content-added: #006400; | |||
--color-content-removed: #8b0000; | |||
--filter-invert-icon: 0; | |||
--filter-invert-primary-button-icon: 1; | |||
--box-shadow-color-base: #000; | |||
--box-shadow-color-progressive--active: #233566; | |||
--box-shadow-color-progressive--focus: #36c; | |||
--box-shadow-color-progressive-selected: #36c; | |||
--box-shadow-color-progressive-selected--hover: #4b77d6; | |||
--box-shadow-color-progressive-selected--active: #233566; | |||
--box-shadow-color-destructive--focus: #36c; | |||
--box-shadow-color-inverted: #fff; | |||
--box-shadow-color-transparent: transparent; | |||
--background-color-base: #fff; /* Background Colors for static elements (for page layout, sections, etc.) from here on. */ | |||
--background-color-base-fixed: #fff; /* The same as background-color-base in light mode, but does not change in dark mode. Use this for things that should be white in both modes. */ | |||
--background-color-neutral: #eaecf0; | |||
--background-color-neutral-subtle: #f8f9fa; | |||
--background-color-interactive: #eaecf0; | |||
--background-color-interactive-subtle: #f8f9fa; | |||
--background-color-disabled: #c8ccd1; /* Components like Buttons, Checkboxes, Radios, ProgressBars…. */ | |||
--background-color-disabled-subtle: #eaecf0; /* Components like TextInputs, Selects…. */ | |||
--background-color-inverted: #101418; | |||
--background-color-progressive: #36c; | |||
--background-color-progressive--hover: #4b77d6; | |||
--background-color-progressive--active: #233566; | |||
--background-color-progressive--focus: #36c; | |||
--background-color-progressive-subtle: #f1f4fd; | |||
--background-color-destructive: #d73333; | |||
--background-color-destructive--hover: #fc493b; | |||
--background-color-destructive--active: #9f3526; | |||
--background-color-destructive--focus: #36c; | |||
--background-color-destructive-subtle: #ffe9e5; | |||
--background-color-error: #d73333; | |||
--background-color-error--hover: #fc493b; | |||
--background-color-error--active: #9f3526; | |||
--background-color-error-subtle: #ffe9e5; | |||
--background-color-warning-subtle: #fdf2d5; | |||
--background-color-success-subtle: #dff2eb; | |||
--background-color-notice-subtle: #eaecf0; | |||
--background-color-content-added: #a3d3ff; | |||
--background-color-content-removed: #ffe49c; | |||
--background-color-transparent: transparent; | |||
--background-color-backdrop-light: rgba( 255, 255, 255, 0.65 ); /* Backdrop is the term used by CSS Fullscreen API and is used to dim the background when a modal Dialog is open. Also known as overlay mask. */ | |||
--background-color-backdrop-dark: rgba( 0, 0, 0, 0.65 ); | |||
--background-color-button-quiet--hover: rgba( 0, 24, 73, 0.027 ); | |||
--background-color-button-quiet--active: rgba( 0, 24, 73, 0.082 ); | |||
--background-color-input-binary--checked: #36c; | |||
--background-color-tab-list-item-framed--hover: rgba( 255, 255, 255, 0.3 ); | |||
--background-color-tab-list-item-framed--active: rgba( 255, 255, 255, 0.65 ); | |||
--opacity-icon-base: 0.87; | |||
--opacity-icon-base--hover: 0.74; | |||
--opacity-icon-base--selected: 1; | |||
--opacity-icon-base--disabled: 0.51; | |||
--opacity-icon-placeholder: 0.51; | |||
--opacity-icon-subtle: 0.67; | |||
--border-color-base: #a2a9b1; | |||
--border-color-subtle: #c8ccd1; | |||
--border-color-muted: #dadde3; | |||
--border-color-interactive: #72777d; | |||
--border-color-disabled: #c8ccd1; | |||
--border-color-inverted: #fff; | |||
--border-color-progressive: #36c; | |||
--border-color-progressive--hover: #4b77d6; | |||
--border-color-progressive--active: #233566; | |||
--border-color-progressive--focus: #36c; | |||
--border-color-destructive: #d73333; | |||
--border-color-destructive--hover: #fc493b; | |||
--border-color-destructive--active: #9f3526; | |||
--border-color-destructive--focus: #36c; | |||
--border-color-error: #9f3526; | |||
--border-color-error--hover: #fc493b; | |||
--border-color-warning: #987027; | |||
--border-color-success: #196551; | |||
--border-color-notice: #54595d; | |||
--border-color-content-added: #a3d3ff; | |||
--border-color-content-removed: #ffe49c; | |||
--border-color-transparent: transparent; | |||
--border-color-divider: #a2a9b1; | |||
--outline-color-progressive--focus: #36c; /* Use in places where no more customized focus styles are provided, for example on generic `:focus`. */ | |||
--color-link-red: var( --color-destructive ); /* Red ('new') Link color and states */ | |||
--color-link-red--hover: var( --color-destructive--hover ); | |||
--color-link-red--active: var( --color-destructive--active ); | |||
--color-link-red--focus: var( --color-destructive--focus ); | |||
--color-link-red--visited: var( --color-destructive--visited ); | |||
--border-color-input--hover: var( --border-color-interactive ); | |||
--border-color-input-binary: var( --border-color-interactive ); | |||
--border-color-input-binary--hover: var( --border-color-progressive--hover ); | |||
--border-color-input-binary--active: var( --border-color-progressive--active ); | |||
--border-color-input-binary--focus: var( --border-color-progressive--focus ); | |||
--border-color-input-binary--checked: var( --border-color-progressive ); | |||
/* | /* Навигационные панели */ | ||
--navbox-background-color: #FFF; | |||
--navbox-border-color: #CCC; | |||
--navbox-header-color: #CCC; | |||
--navbox-secondary-header-color: #DDD; | |||
--navbox-tertiary-header-color: #EEE; | |||
--navbox-section-color: #EEE; | |||
/* Маркированные списки */ | |||
--list-bullet: url('https://structorica.wiki/images/List_bullet.svg'); | |||
--hlist-bullet-color: #000; | |||
} | } | ||
/* DARK THEME - Structorica Dark Theme */ | |||
:root .stw-theme-dark { | |||
--site-background-color: #161618; | |||
--content-background-color: #2b2f39; | |||
--color-siderbar-base: #f8f9fa; | |||
# | --color-siderbar-links: #88a3e8; | ||
--color-topbar-text: #f8f9fa; | |||
--link-color: #90c0fe; | |||
--redlink-color: #ba0000; | |||
--content-border-top-color: #678002; | |||
--content-border-top-color-hovered: #7b9904; | |||
--simplesearch-top-border-color: #FFFFFF; | |||
--simplesearch-left-border-color: #888888; | |||
--simplesearch-topright-grass-color: #6BA41E; | |||
--searchinput-placeholder-color: #e9efff; | |||
/* Переменные Codex */ | |||
--color-base: #f8f5f4; | |||
# | --color-base--hover: #f8f9fa; | ||
--color-emphasized: #f8f9fa; | |||
--color-subtle: #a2a9b1; | |||
--color-inverted: #101418; | |||
--color-progressive: #88a3e8; /* 'Progressive' Color and states */ | |||
--color-progressive--hover: #b0c1f0; | |||
--color-progressive--active: #cbd6f6; | |||
--color-destructive: #fd7865; /* 'Destructive' Color and states */ | |||
--color-destructive--hover: #fea898; | |||
--color-destructive--active: #ffc8bd; | |||
--color-visited: #a799cd; /* 'Visited' color. In combination with progressive. Used for default links. */ | |||
--color-destructive--visited: #c99391; /* Red link 'Visited' color. Used for visited red links. */ | |||
--color-error: #fd7865; | |||
--color-warning: #fecc44; /* Note, this is only meant for warning icon for contrast reasons. */ | |||
--color-success: #2cb491; /* Note, this needs to use a tone darker than Red and Yellow for contrast reasons with background White. */ | |||
--color-notice: #f8f9fa; | |||
--color-content-added: #80cdb3; | |||
--color-content-removed: #fd7865; | |||
--color-base--subtle: #a2a9b1; | |||
--box-shadow-color-base: #fff; | |||
--box-shadow-color-progressive--focus: #6b8edf; | |||
--box-shadow-color-destructive--focus: #6b8edf; | |||
--box-shadow-color-inverted: #000; | |||
--background-color-base: #101418; /* Background Colors for static elements (for page layout, sections, etc.) from here on. */ | |||
--background-color-neutral: #27292d; | |||
--background-color-neutral-subtle: #202122; | |||
--background-color-interactive: #27292d; | |||
--background-color-interactive-subtle: #202122; | |||
--background-color-disabled: #54595d; /* Components like Buttons, Checkboxes, Radios, ProgressBars…. */ | |||
--background-color-disabled-subtle: #404244; /* Components like TextInputs, Selects…. */ | |||
--background-color-inverted: #f8f9fa; | |||
--background-color-progressive--focus: #6b8edf; | |||
--background-color-progressive-subtle: #233566; | |||
--background-color-destructive--focus: #6b8edf; | |||
--background-color-destructive-subtle: #612419; | |||
--background-color-error: #fc493b; | |||
--background-color-error--hover: #fd7865; | |||
--background-color-error--active: #fea898; | |||
--background-color-error-subtle: #612419; | |||
--background-color-warning-subtle: #453217; | |||
--background-color-success-subtle: #153d31; | |||
--background-color-notice-subtle: #27292d; | |||
--background-color-content-added: #233566; | |||
--background-color-content-removed: #453217; | |||
--background-color-backdrop-light: rgba( 0, 0, 0, 0.65 ); /* Backdrop is the term used by CSS Fullscreen API and is used to dim the background when a modal Dialog is open. Also known as overlay mask. */ | |||
--background-color-backdrop-dark: rgba( 255, 255, 255, 0.65 ); | |||
--border-color-base: #72777d; | |||
--border-color-subtle: #54595d; | |||
--border-color-muted: #404244; | |||
--border-color-interactive: #a2a9b1; | |||
--border-color-disabled: #54595d; | |||
--border-color-inverted: #101418; | |||
--border-color-progressive--focus: #6b8edf; | |||
--border-color-destructive--focus: #6b8edf; | |||
--border-color-error: #fc493b; | |||
--border-color-error--hover: #fd7865; | |||
--border-color-warning: #fecc44; | |||
--border-color-success: #2cb491; | |||
--border-color-notice: #c8ccd1; | |||
--border-color-content-added: #233566; | |||
--border-color-content-removed: #987027; | |||
/* Навигационные панели */ | |||
--navbox-background-color: #333; | |||
--navbox-border-color: #444; | |||
--navbox-header-color: #111; | |||
--navbox-secondary-header-color: #181818; | |||
--navbox-tertiary-header-color: #222; | |||
--navbox-section-color: #222; | |||
/* Маркированные списки */ | |||
--list-bullet: url('https://structorica.wiki/images/List_bullet_dark.svg'); | |||
--hlist-bullet-color: #FFF; | |||
} | } | ||
/* | /* IBM Plex Sans - Regular (normal) */ | ||
@font-face { | |||
font-family: "IBM Plex Sans"; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: local("IBM Plex Sans"), local("IBMPlexSans"), | |||
url("/images/ibm-plex-sans/fonts/complete/woff2/IBMPlexSans-Regular.woff2") format("woff2"), | |||
url("/images/ibm-plex-sans/fonts/complete/woff/IBMPlexSans-Regular.woff") format("woff"); | |||
} | font-display: swap; | ||
} | |||
@font-face { | |||
font-family: "IBM Plex Sans"; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: local("IBM Plex Sans"), local("IBMPlexSans"), | |||
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-Regular-Cyrillic.woff2") format("woff2"); | |||
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9; | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: "IBM Plex Sans"; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: local("IBM Plex Sans"), local("IBMPlexSans"), | |||
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-Regular-Latin1.woff2") format("woff2"); | |||
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02; | |||
font-display: swap; | |||
} | |||
/* IBM Plex Sans - Regular Italic */ | |||
@font-face { | |||
font-family: "IBM Plex Sans"; | |||
font-style: italic; | |||
font-weight: 400; | |||
src: local("IBM Plex Sans Italic"), local("IBMPlexSans-Italic"), | |||
url("/images/ibm-plex-sans/fonts/complete/woff2/IBMPlexSans-Italic.woff2") format("woff2"), | |||
url("/images/ibm-plex-sans/fonts/complete/woff/IBMPlexSans-Italic.woff") format("woff"); | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: "IBM Plex Sans"; | |||
font-style: italic; | |||
font-weight: 400; | |||
src: local("IBM Plex Sans Italic"), local("IBMPlexSans-Italic"), | |||
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-Italic-Cyrillic.woff2") format("woff2"); | |||
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9; | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: "IBM Plex Sans"; | |||
font-style: italic; | |||
font-weight: 400; | |||
src: local("IBM Plex Sans Italic"), local("IBMPlexSans-Italic"), | |||
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-Italic-Latin1.woff2") format("woff2"); | |||
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02; | |||
font-display: swap; | |||
} | |||
/* IBM Plex Sans - SemiBold (для bold) */ | |||
@font-face { | |||
font-family: "IBM Plex Sans"; | |||
font-style: normal; | |||
font-weight: 600; | |||
src: local("IBM Plex Sans SemiBold"), local("IBMPlexSans-SemiBold"), | |||
url("/images/ibm-plex-sans/fonts/complete/woff2/IBMPlexSans-SemiBold.woff2") format("woff2"), | |||
url("/images/ibm-plex-sans/fonts/complete/woff/IBMPlexSans-SemiBold.woff") format("woff"); | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: "IBM Plex Sans"; | |||
font-style: normal; | |||
font-weight: 600; | |||
src: local("IBM Plex Sans SemiBold"), local("IBMPlexSans-SemiBold"), | |||
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-SemiBold-Cyrillic.woff2") format("woff2"); | |||
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9; | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: "IBM Plex Sans"; | |||
font-style: normal; | |||
font-weight: 600; | |||
src: local("IBM Plex Sans SemiBold"), local("IBMPlexSans-SemiBold"), | |||
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-SemiBold-Latin1.woff2") format("woff2"); | |||
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02; | |||
font-display: swap; | |||
} | |||
/* IBM Plex Sans - SemiBold Italic (для bold italic) */ | |||
@font-face { | |||
font-family: "IBM Plex Sans"; | |||
font-style: italic; | |||
font-weight: 600; | |||
src: local("IBM Plex Sans SemiBold Italic"), local("IBMPlexSans-SemiBoldItalic"), | |||
url("/images/ibm-plex-sans/fonts/complete/woff2/IBMPlexSans-SemiBoldItalic.woff2") format("woff2"), | |||
url("/images/ibm-plex-sans/fonts/complete/woff/IBMPlexSans-SemiBoldItalic.woff") format("woff"); | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: "IBM Plex Sans"; | |||
font-style: italic; | |||
font-weight: 600; | |||
src: local("IBM Plex Sans SemiBold Italic"), local("IBMPlexSans-SemiBoldItalic"), | |||
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-SemiBoldItalic-Cyrillic.woff2") format("woff2"); | |||
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9; | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: "IBM Plex Sans"; | |||
font-style: italic; | |||
font-weight: 600; | |||
src: local("IBM Plex Sans SemiBold Italic"), local("IBMPlexSans-SemiBoldItalic"), | |||
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-SemiBoldItalic-Latin1.woff2") format("woff2"); | |||
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02; | |||
font-display: swap; | |||
} | |||
# | html, body, #root, | ||
.mw-body h1, | |||
.mw-body-content h1, | |||
.mw-body-content h2, | |||
.mw-body-content h3, | |||
.mw-body-content h4, | |||
.mw-body-content h5, | |||
.mw-body-content h6 { | |||
font-family: var(--font-sans); | |||
} | } | ||
/* Img */ | |||
.img-responsive, | |||
.img-responsive img { | |||
max-width: 100%; | |||
height: auto; | |||
} | } | ||
/* | /** Оформление всего текста | ||
Styles for all text **/ | |||
body { | |||
/* Нормализация размеров табуляции */ | |||
-moz-tab-size: 4; | |||
-o-tab-size: 4; | |||
tab-size: 4; | |||
} | } | ||
/** Заглавие / Title **/ | |||
/* Отделяет название пространства имён от остального названия страницы | |||
Separate the namespace from the rest of the page’s name */ | |||
.mw-page-title-separator::after { | |||
content: ' '; | |||
} | } | ||
. | /** Позволяет скрывать части оглавления | ||
Hideable TOC elements **/ | |||
/* Уровни разделов */ | |||
.toc-hidelevel2 .toclevel-1 ul, | |||
.toc-hidelevel3 .toclevel-2 ul, | |||
.toc-hidelevel4 .toclevel-3 ul, | |||
/* Нумерация */ | |||
.toc-nonumbers .tocnumber { | |||
display: none; | |||
} | } | ||
a { | |||
color: var(--link-color); | |||
} | } | ||
a:visited, | |||
a:active { | |||
color: var(--link-color); | |||
} | } | ||
a.new { | |||
color: var(--redlink-color); | |||
} | } | ||
a.new:visited { | |||
color: var(--redlink-color); | |||
} | } | ||
#p-cactions div.vector-menu-content li a, | |||
#mw-panel .portal .vector-menu-content li a, | |||
#p-cactions div.vector-menu-content li a:visited, | |||
#p-cactions div.vector-menu-content li a:active, | |||
#mw-panel .portal .vector-menu-content li a:visited { | |||
color: var(--link-color); | color: var(--link-color); | ||
} | } | ||
nav.vector-menu-tabs li a, | |||
nav.vector-menu-tabs li a | nav.vector-menu-tabs li a:active, | ||
nav.vector-menu-tabs li a:visited, | |||
#mw-panel .portal .vector-menu-content li a:active { | |||
color: var(--color-topbar-text); | |||
} | } | ||
nav.vector-menu- | nav.vector-menu-tabs li.new a, | ||
nav.vector-menu-tabs li.new a:visited, | |||
nav.vector-menu-tabs li.new a:active, | |||
#p-cactions div.vector-menu-content li.new a, | |||
#mw-panel .portal .vector-menu-content li.new a, | |||
#p-cactions div.vector-menu-content li.new a:visited, | |||
#mw-panel .portal .vector-menu-content li.new a:visited, | |||
#p-cactions div.vector-menu-content li.new a:active, | |||
#mw-panel .portal .vector-menu-content li.new a:active { | |||
color: var(--redlink-color); | |||
} | } | ||
.mw-parser-output a.extiw, | |||
. | .mw-parser-output a.external { | ||
color: var(--link-color); | |||
} | } | ||
. | .mw-parser-output a.extiw:visited, | ||
.mw-parser-output a.external:visited, | |||
.mw-parser-output a.extiw:active, | |||
.mw-parser-output a.external:active { | |||
color: var(--link-color); | |||
} | } | ||
. | .mw-parser-output .tweet-name a.external { | ||
color: var(--color-base); | |||
} | } | ||
.mw-parser-output .tweet-handle a.external, | |||
.mw-parser-output .tweet-date a.external { | |||
color: #4c4c4c; | |||
} | } | ||
.jsPurgeLink a.external { | |||
color: var(--link-color); | |||
} | } | ||
/** Оформление WikiEditor **/ | |||
.wikiEditor-ui-top { | |||
border: 0 !important; | |||
} | } | ||
.wikiEditor-ui-toolbar { | |||
. | border-bottom: 1px solid silver; | ||
} | } | ||
. | .wikiEditor-ui-text { | ||
background-color: var(--background-color-base); | |||
} | } | ||
.wikiEditor-ui-text textarea { | |||
background-color: transparent; | |||
} | } | ||
| Line 343: | Line 529: | ||
/* Fix wikiEditor spacing */ | |||
#upload_container { | |||
margin-top: -1px; | |||
/* | |||
# | |||
margin- | |||
} | } | ||
#upload_div { | |||
margin: 0; | |||
width: auto; | |||
border-width: 1px 0; | |||
box-shadow: none; | |||
} | } | ||
. | /* Prevent page jump from the toolbar loading */ | ||
.client-js #editform { | |||
/* To disable margin collapsing */ | |||
overflow: hidden; | |||
} | } | ||
.client-js .mw-editform > #wpTextbox1 { | |||
margin-top: 73px; | |||
} | } | ||
/** Стили для Панели быстрой вставки **/ | |||
#userButtons { | |||
background-color: transparent; | |||
} | border: 1px solid #76FF76; | ||
font-size: 95%; | |||
width: 100%; | |||
border-collapse: collapse; | |||
color: black; | |||
margin: 1px 0px 1em; | |||
} | |||
#userButtons tr th, table#userButtons * tr th { | |||
background-color: #BBFFBB; | |||
border: 1px solid #76FF76; | |||
font-size: 95%; | |||
padding: 2px; | |||
text-align: center; | |||
} | |||
} | |||
#userButtons tr td, table#userButtons * tr td { | |||
border: 1px solid #76FF76; | |||
padding: 5px; | |||
} | |||
} | |||
#userButtons tr td p, table#userButtons * tr td p { | |||
margin-top:0; | |||
margin-bottom:0; | |||
} | } | ||
#userButtons.collapsible tr th, table#userButtons.collapsible * tr th { | |||
padding-left: 6.5em; | |||
} | |||
} | |||
. | /* Отступ перед ПБВ */ | ||
.editOptions { | |||
padding-bottom:0px; | |||
} | margin-bottom:0px; | ||
} | |||
/* Стиль разделителей ПБВ */ | |||
#userButtons * hr { | |||
background-color: #76FF76; | |||
width: 100%; | |||
float: left; /* без этого разделители начинались примерно в центре страницы */ | |||
} | } | ||
.userButtonsAddons { | |||
border: 1px dotted #aaaaaa !important; | |||
padding: 2px; | |||
font-size: 95%; | |||
background-color: transparent !important; | |||
width: 49%; | |||
border-collapse: collapse; | |||
color: black; | |||
margin-bottom: 1em; | |||
margin-left: 0px; | |||
margin-right: 0px; | |||
margin-top: 1em; | |||
} | } | ||
.userButtonsAddons * th, .userButtonsAddons * td { | |||
border:1px dotted #aaaaaa !important; | |||
padding:2px; | |||
background-color:transparent !important; | |||
padding: 0.2em; | |||
} | } | ||
.userButtonsAddons * th { | |||
text-align:center; | |||
} | } | ||
. | /* Скрытие блоков в панели быстрой вставки. Блоки предназначенные для обсуждений не отображаются на обычных страницах, и наоборот. */ | ||
. | .ns-talk * .userButtons-subject { | ||
display: none; | |||
} | } | ||
.ns-subject * .userButtons-talk, | |||
.ns-subject * #userButtonsSignature { | |||
display: none; | |||
} | } | ||
/** Конец стилей Панели быстрой вставки **/ | |||
/* | /** Прочее **/ | ||
/* Иконка маркированных списков */ | |||
ul { | |||
list-style-image: var(--list-bullet); | |||
} | } | ||
/* Уменьшение интервала после мини-заголовка, созданного через апострофы */ | |||
.page-content p, .page-content section { | |||
margin: 0px 0px 8px; | |||
} | } | ||
/*** СТАНДАРТНЫЕ КЛАССЫ | |||
STANDARD CLASSES ***/ | |||
/* | /** Пиксельное масштабирование изображений и иконок пользователей **/ | ||
::-webkit- | .pixel-image, | ||
.sprite, | |||
.sprite img, | |||
.mw-userlink, | |||
.invslot, | |||
.ns-special .gallerybox img, | |||
.ns-14 .gallerybox img, | |||
.filehistory a img, | |||
.mcui, | |||
.gui { | |||
image-rendering: optimizeSpeed; | |||
image-rendering: -webkit-optimize-contrast; | |||
image-rendering: optimize-contrast; | |||
image-rendering: -moz-crisp-edges; | |||
image-rendering: -o-crisp-edges; | |||
image-rendering: crisp-edges; | |||
image-rendering: pixelated; | |||
-ms-interpolation-mode: nearest-neighbor; | |||
} | } | ||
/* | /** Отключить разрыв строки на пробелах **/ | ||
. | .nowrap { | ||
white-space: nowrap; | |||
} | } | ||
/** Hide noscript only elements **/ | |||
. | .noscript { | ||
display: none; | |||
} | } | ||
. | /** Скрытие от простых смертных ненужных элементов **/ | ||
. | .admin_only, | ||
. | .admin_only_inline, | ||
. | .admin_only_block, | ||
.admin_only_flex { | |||
display: none !important; | |||
} | } | ||
. | /** Только для средств чтения с экрана **/ | ||
.sr-only:not(:focus):not(:active) { | |||
clip: rect(0 0 0 0); | |||
clip-path: inset(50%); | |||
height: 1px; | |||
overflow: hidden; | |||
position: absolute; | |||
white-space: nowrap; | |||
width: 1px; | |||
} | } | ||
| Line 615: | Line 716: | ||
/** Чередующиеся ячейки и строки таблиц | |||
Alternating table cells and rows **/ | |||
/* | |||
.alternatecells:nth-child(odd) { | |||
background-color: #F9F9F9; | |||
} | |||
body.wgl-theme-dark .alternatecells:nth-child(odd) { | |||
/* | background-color: #222; | ||
} | |||
.alternaterows tr:nth-child(even) { | |||
. | background-color: #F9F9F9; | ||
} | |||
body.wgl-theme-dark .alternaterows tr:nth-child(even) { | |||
background-color: #222; | |||
body. | |||
# | |||
} | |||
body | |||
} | } | ||
*/ | |||
Revision as of 15:13, 7 January 2026
/* CSS placed here will apply to all skins */
/*** BASE STYLES AND SETTINGS ***/
/** Color variables that could be changed by various skin themes */
/* LIGHT THEME - default */
:root,
.skin-invert,
.notheme {
--font-sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
--site-background-color: #303031;
--content-background-color: #ebeef2;
--color-siderbar-base: #f8f9fa;
--color-siderbar-links: #88a3e8;
--color-topbar-text: #f8f9fa;
--link-color: #0645ad;
--redlink-color: #BA0000;
--content-border-top-color: #678002;
--content-border-top-color-hovered: #7b9904;
--simplesearch-top-border-color: #FFFFFF;
--simplesearch-left-border-color: #888888;
--simplesearch-topright-grass-color: #6BA41E;
--searchinput-placeholder-color: #e9efff;
/* Переменные системы дизайна Codex */
--color-base: #202122;
--color-base-fixed: #202122;
--color-base--hover: #404244;
--color-emphasized: #101418;
--color-subtle: #54595d;
--color-placeholder: #72777d;
--color-disabled: #72777d;
--color-inverted: #fff;
--color-inverted-fixed: #fff; /* The same as color-inverted in light mode, but does not change in dark mode. Use this for things that should be white in both modes. */
--color-progressive: #36c; /* 'Progressive' Color and states */
--color-progressive--hover: #4b77d6;
--color-progressive--active: #233566;
--color-progressive--focus: #36c;
--color-destructive: #d73333; /* 'Destructive' Color and states */
--color-destructive--hover: #fc493b;
--color-destructive--active: #9f3526;
--color-destructive--focus: #36c;
--color-visited: #6a60b0; /* 'Visited' color. In combination with progressive. Used for default links. */
--color-destructive--visited: #9f5555; /* Red link 'Visited' color. Used for visited red links. */
--color-error: #d73333;
--color-warning: #eeb533; /* Note, this is only meant for warning icon for contrast reasons. */
--color-success: #177860; /* Note, this needs to use a tone darker than Red and Yellow for contrast reasons with background White. */
--color-notice: #202122;
--color-content-added: #006400;
--color-content-removed: #8b0000;
--filter-invert-icon: 0;
--filter-invert-primary-button-icon: 1;
--box-shadow-color-base: #000;
--box-shadow-color-progressive--active: #233566;
--box-shadow-color-progressive--focus: #36c;
--box-shadow-color-progressive-selected: #36c;
--box-shadow-color-progressive-selected--hover: #4b77d6;
--box-shadow-color-progressive-selected--active: #233566;
--box-shadow-color-destructive--focus: #36c;
--box-shadow-color-inverted: #fff;
--box-shadow-color-transparent: transparent;
--background-color-base: #fff; /* Background Colors for static elements (for page layout, sections, etc.) from here on. */
--background-color-base-fixed: #fff; /* The same as background-color-base in light mode, but does not change in dark mode. Use this for things that should be white in both modes. */
--background-color-neutral: #eaecf0;
--background-color-neutral-subtle: #f8f9fa;
--background-color-interactive: #eaecf0;
--background-color-interactive-subtle: #f8f9fa;
--background-color-disabled: #c8ccd1; /* Components like Buttons, Checkboxes, Radios, ProgressBars…. */
--background-color-disabled-subtle: #eaecf0; /* Components like TextInputs, Selects…. */
--background-color-inverted: #101418;
--background-color-progressive: #36c;
--background-color-progressive--hover: #4b77d6;
--background-color-progressive--active: #233566;
--background-color-progressive--focus: #36c;
--background-color-progressive-subtle: #f1f4fd;
--background-color-destructive: #d73333;
--background-color-destructive--hover: #fc493b;
--background-color-destructive--active: #9f3526;
--background-color-destructive--focus: #36c;
--background-color-destructive-subtle: #ffe9e5;
--background-color-error: #d73333;
--background-color-error--hover: #fc493b;
--background-color-error--active: #9f3526;
--background-color-error-subtle: #ffe9e5;
--background-color-warning-subtle: #fdf2d5;
--background-color-success-subtle: #dff2eb;
--background-color-notice-subtle: #eaecf0;
--background-color-content-added: #a3d3ff;
--background-color-content-removed: #ffe49c;
--background-color-transparent: transparent;
--background-color-backdrop-light: rgba( 255, 255, 255, 0.65 ); /* Backdrop is the term used by CSS Fullscreen API and is used to dim the background when a modal Dialog is open. Also known as overlay mask. */
--background-color-backdrop-dark: rgba( 0, 0, 0, 0.65 );
--background-color-button-quiet--hover: rgba( 0, 24, 73, 0.027 );
--background-color-button-quiet--active: rgba( 0, 24, 73, 0.082 );
--background-color-input-binary--checked: #36c;
--background-color-tab-list-item-framed--hover: rgba( 255, 255, 255, 0.3 );
--background-color-tab-list-item-framed--active: rgba( 255, 255, 255, 0.65 );
--opacity-icon-base: 0.87;
--opacity-icon-base--hover: 0.74;
--opacity-icon-base--selected: 1;
--opacity-icon-base--disabled: 0.51;
--opacity-icon-placeholder: 0.51;
--opacity-icon-subtle: 0.67;
--border-color-base: #a2a9b1;
--border-color-subtle: #c8ccd1;
--border-color-muted: #dadde3;
--border-color-interactive: #72777d;
--border-color-disabled: #c8ccd1;
--border-color-inverted: #fff;
--border-color-progressive: #36c;
--border-color-progressive--hover: #4b77d6;
--border-color-progressive--active: #233566;
--border-color-progressive--focus: #36c;
--border-color-destructive: #d73333;
--border-color-destructive--hover: #fc493b;
--border-color-destructive--active: #9f3526;
--border-color-destructive--focus: #36c;
--border-color-error: #9f3526;
--border-color-error--hover: #fc493b;
--border-color-warning: #987027;
--border-color-success: #196551;
--border-color-notice: #54595d;
--border-color-content-added: #a3d3ff;
--border-color-content-removed: #ffe49c;
--border-color-transparent: transparent;
--border-color-divider: #a2a9b1;
--outline-color-progressive--focus: #36c; /* Use in places where no more customized focus styles are provided, for example on generic `:focus`. */
--color-link-red: var( --color-destructive ); /* Red ('new') Link color and states */
--color-link-red--hover: var( --color-destructive--hover );
--color-link-red--active: var( --color-destructive--active );
--color-link-red--focus: var( --color-destructive--focus );
--color-link-red--visited: var( --color-destructive--visited );
--border-color-input--hover: var( --border-color-interactive );
--border-color-input-binary: var( --border-color-interactive );
--border-color-input-binary--hover: var( --border-color-progressive--hover );
--border-color-input-binary--active: var( --border-color-progressive--active );
--border-color-input-binary--focus: var( --border-color-progressive--focus );
--border-color-input-binary--checked: var( --border-color-progressive );
/* Навигационные панели */
--navbox-background-color: #FFF;
--navbox-border-color: #CCC;
--navbox-header-color: #CCC;
--navbox-secondary-header-color: #DDD;
--navbox-tertiary-header-color: #EEE;
--navbox-section-color: #EEE;
/* Маркированные списки */
--list-bullet: url('https://structorica.wiki/images/List_bullet.svg');
--hlist-bullet-color: #000;
}
/* DARK THEME - Structorica Dark Theme */
:root .stw-theme-dark {
--site-background-color: #161618;
--content-background-color: #2b2f39;
--color-siderbar-base: #f8f9fa;
--color-siderbar-links: #88a3e8;
--color-topbar-text: #f8f9fa;
--link-color: #90c0fe;
--redlink-color: #ba0000;
--content-border-top-color: #678002;
--content-border-top-color-hovered: #7b9904;
--simplesearch-top-border-color: #FFFFFF;
--simplesearch-left-border-color: #888888;
--simplesearch-topright-grass-color: #6BA41E;
--searchinput-placeholder-color: #e9efff;
/* Переменные Codex */
--color-base: #f8f5f4;
--color-base--hover: #f8f9fa;
--color-emphasized: #f8f9fa;
--color-subtle: #a2a9b1;
--color-inverted: #101418;
--color-progressive: #88a3e8; /* 'Progressive' Color and states */
--color-progressive--hover: #b0c1f0;
--color-progressive--active: #cbd6f6;
--color-destructive: #fd7865; /* 'Destructive' Color and states */
--color-destructive--hover: #fea898;
--color-destructive--active: #ffc8bd;
--color-visited: #a799cd; /* 'Visited' color. In combination with progressive. Used for default links. */
--color-destructive--visited: #c99391; /* Red link 'Visited' color. Used for visited red links. */
--color-error: #fd7865;
--color-warning: #fecc44; /* Note, this is only meant for warning icon for contrast reasons. */
--color-success: #2cb491; /* Note, this needs to use a tone darker than Red and Yellow for contrast reasons with background White. */
--color-notice: #f8f9fa;
--color-content-added: #80cdb3;
--color-content-removed: #fd7865;
--color-base--subtle: #a2a9b1;
--box-shadow-color-base: #fff;
--box-shadow-color-progressive--focus: #6b8edf;
--box-shadow-color-destructive--focus: #6b8edf;
--box-shadow-color-inverted: #000;
--background-color-base: #101418; /* Background Colors for static elements (for page layout, sections, etc.) from here on. */
--background-color-neutral: #27292d;
--background-color-neutral-subtle: #202122;
--background-color-interactive: #27292d;
--background-color-interactive-subtle: #202122;
--background-color-disabled: #54595d; /* Components like Buttons, Checkboxes, Radios, ProgressBars…. */
--background-color-disabled-subtle: #404244; /* Components like TextInputs, Selects…. */
--background-color-inverted: #f8f9fa;
--background-color-progressive--focus: #6b8edf;
--background-color-progressive-subtle: #233566;
--background-color-destructive--focus: #6b8edf;
--background-color-destructive-subtle: #612419;
--background-color-error: #fc493b;
--background-color-error--hover: #fd7865;
--background-color-error--active: #fea898;
--background-color-error-subtle: #612419;
--background-color-warning-subtle: #453217;
--background-color-success-subtle: #153d31;
--background-color-notice-subtle: #27292d;
--background-color-content-added: #233566;
--background-color-content-removed: #453217;
--background-color-backdrop-light: rgba( 0, 0, 0, 0.65 ); /* Backdrop is the term used by CSS Fullscreen API and is used to dim the background when a modal Dialog is open. Also known as overlay mask. */
--background-color-backdrop-dark: rgba( 255, 255, 255, 0.65 );
--border-color-base: #72777d;
--border-color-subtle: #54595d;
--border-color-muted: #404244;
--border-color-interactive: #a2a9b1;
--border-color-disabled: #54595d;
--border-color-inverted: #101418;
--border-color-progressive--focus: #6b8edf;
--border-color-destructive--focus: #6b8edf;
--border-color-error: #fc493b;
--border-color-error--hover: #fd7865;
--border-color-warning: #fecc44;
--border-color-success: #2cb491;
--border-color-notice: #c8ccd1;
--border-color-content-added: #233566;
--border-color-content-removed: #987027;
/* Навигационные панели */
--navbox-background-color: #333;
--navbox-border-color: #444;
--navbox-header-color: #111;
--navbox-secondary-header-color: #181818;
--navbox-tertiary-header-color: #222;
--navbox-section-color: #222;
/* Маркированные списки */
--list-bullet: url('https://structorica.wiki/images/List_bullet_dark.svg');
--hlist-bullet-color: #FFF;
}
/* IBM Plex Sans - Regular (normal) */
@font-face {
font-family: "IBM Plex Sans";
font-style: normal;
font-weight: 400;
src: local("IBM Plex Sans"), local("IBMPlexSans"),
url("/images/ibm-plex-sans/fonts/complete/woff2/IBMPlexSans-Regular.woff2") format("woff2"),
url("/images/ibm-plex-sans/fonts/complete/woff/IBMPlexSans-Regular.woff") format("woff");
font-display: swap;
}
@font-face {
font-family: "IBM Plex Sans";
font-style: normal;
font-weight: 400;
src: local("IBM Plex Sans"), local("IBMPlexSans"),
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-Regular-Cyrillic.woff2") format("woff2");
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
font-display: swap;
}
@font-face {
font-family: "IBM Plex Sans";
font-style: normal;
font-weight: 400;
src: local("IBM Plex Sans"), local("IBMPlexSans"),
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-Regular-Latin1.woff2") format("woff2");
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
font-display: swap;
}
/* IBM Plex Sans - Regular Italic */
@font-face {
font-family: "IBM Plex Sans";
font-style: italic;
font-weight: 400;
src: local("IBM Plex Sans Italic"), local("IBMPlexSans-Italic"),
url("/images/ibm-plex-sans/fonts/complete/woff2/IBMPlexSans-Italic.woff2") format("woff2"),
url("/images/ibm-plex-sans/fonts/complete/woff/IBMPlexSans-Italic.woff") format("woff");
font-display: swap;
}
@font-face {
font-family: "IBM Plex Sans";
font-style: italic;
font-weight: 400;
src: local("IBM Plex Sans Italic"), local("IBMPlexSans-Italic"),
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-Italic-Cyrillic.woff2") format("woff2");
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
font-display: swap;
}
@font-face {
font-family: "IBM Plex Sans";
font-style: italic;
font-weight: 400;
src: local("IBM Plex Sans Italic"), local("IBMPlexSans-Italic"),
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-Italic-Latin1.woff2") format("woff2");
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
font-display: swap;
}
/* IBM Plex Sans - SemiBold (для bold) */
@font-face {
font-family: "IBM Plex Sans";
font-style: normal;
font-weight: 600;
src: local("IBM Plex Sans SemiBold"), local("IBMPlexSans-SemiBold"),
url("/images/ibm-plex-sans/fonts/complete/woff2/IBMPlexSans-SemiBold.woff2") format("woff2"),
url("/images/ibm-plex-sans/fonts/complete/woff/IBMPlexSans-SemiBold.woff") format("woff");
font-display: swap;
}
@font-face {
font-family: "IBM Plex Sans";
font-style: normal;
font-weight: 600;
src: local("IBM Plex Sans SemiBold"), local("IBMPlexSans-SemiBold"),
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-SemiBold-Cyrillic.woff2") format("woff2");
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
font-display: swap;
}
@font-face {
font-family: "IBM Plex Sans";
font-style: normal;
font-weight: 600;
src: local("IBM Plex Sans SemiBold"), local("IBMPlexSans-SemiBold"),
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-SemiBold-Latin1.woff2") format("woff2");
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
font-display: swap;
}
/* IBM Plex Sans - SemiBold Italic (для bold italic) */
@font-face {
font-family: "IBM Plex Sans";
font-style: italic;
font-weight: 600;
src: local("IBM Plex Sans SemiBold Italic"), local("IBMPlexSans-SemiBoldItalic"),
url("/images/ibm-plex-sans/fonts/complete/woff2/IBMPlexSans-SemiBoldItalic.woff2") format("woff2"),
url("/images/ibm-plex-sans/fonts/complete/woff/IBMPlexSans-SemiBoldItalic.woff") format("woff");
font-display: swap;
}
@font-face {
font-family: "IBM Plex Sans";
font-style: italic;
font-weight: 600;
src: local("IBM Plex Sans SemiBold Italic"), local("IBMPlexSans-SemiBoldItalic"),
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-SemiBoldItalic-Cyrillic.woff2") format("woff2");
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
font-display: swap;
}
@font-face {
font-family: "IBM Plex Sans";
font-style: italic;
font-weight: 600;
src: local("IBM Plex Sans SemiBold Italic"), local("IBMPlexSans-SemiBoldItalic"),
url("/images/ibm-plex-sans/fonts/split/woff2/IBMPlexSans-SemiBoldItalic-Latin1.woff2") format("woff2");
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
font-display: swap;
}
html, body, #root,
.mw-body h1,
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6 {
font-family: var(--font-sans);
}
/* Img */
.img-responsive,
.img-responsive img {
max-width: 100%;
height: auto;
}
/** Оформление всего текста
Styles for all text **/
body {
/* Нормализация размеров табуляции */
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
}
/** Заглавие / Title **/
/* Отделяет название пространства имён от остального названия страницы
Separate the namespace from the rest of the page’s name */
.mw-page-title-separator::after {
content: ' ';
}
/** Позволяет скрывать части оглавления
Hideable TOC elements **/
/* Уровни разделов */
.toc-hidelevel2 .toclevel-1 ul,
.toc-hidelevel3 .toclevel-2 ul,
.toc-hidelevel4 .toclevel-3 ul,
/* Нумерация */
.toc-nonumbers .tocnumber {
display: none;
}
a {
color: var(--link-color);
}
a:visited,
a:active {
color: var(--link-color);
}
a.new {
color: var(--redlink-color);
}
a.new:visited {
color: var(--redlink-color);
}
#p-cactions div.vector-menu-content li a,
#mw-panel .portal .vector-menu-content li a,
#p-cactions div.vector-menu-content li a:visited,
#p-cactions div.vector-menu-content li a:active,
#mw-panel .portal .vector-menu-content li a:visited {
color: var(--link-color);
}
nav.vector-menu-tabs li a,
nav.vector-menu-tabs li a:active,
nav.vector-menu-tabs li a:visited,
#mw-panel .portal .vector-menu-content li a:active {
color: var(--color-topbar-text);
}
nav.vector-menu-tabs li.new a,
nav.vector-menu-tabs li.new a:visited,
nav.vector-menu-tabs li.new a:active,
#p-cactions div.vector-menu-content li.new a,
#mw-panel .portal .vector-menu-content li.new a,
#p-cactions div.vector-menu-content li.new a:visited,
#mw-panel .portal .vector-menu-content li.new a:visited,
#p-cactions div.vector-menu-content li.new a:active,
#mw-panel .portal .vector-menu-content li.new a:active {
color: var(--redlink-color);
}
.mw-parser-output a.extiw,
.mw-parser-output a.external {
color: var(--link-color);
}
.mw-parser-output a.extiw:visited,
.mw-parser-output a.external:visited,
.mw-parser-output a.extiw:active,
.mw-parser-output a.external:active {
color: var(--link-color);
}
.mw-parser-output .tweet-name a.external {
color: var(--color-base);
}
.mw-parser-output .tweet-handle a.external,
.mw-parser-output .tweet-date a.external {
color: #4c4c4c;
}
.jsPurgeLink a.external {
color: var(--link-color);
}
/** Оформление WikiEditor **/
.wikiEditor-ui-top {
border: 0 !important;
}
.wikiEditor-ui-toolbar {
border-bottom: 1px solid silver;
}
.wikiEditor-ui-text {
background-color: var(--background-color-base);
}
.wikiEditor-ui-text textarea {
background-color: transparent;
}
/* Fix wikiEditor spacing */
#upload_container {
margin-top: -1px;
}
#upload_div {
margin: 0;
width: auto;
border-width: 1px 0;
box-shadow: none;
}
/* Prevent page jump from the toolbar loading */
.client-js #editform {
/* To disable margin collapsing */
overflow: hidden;
}
.client-js .mw-editform > #wpTextbox1 {
margin-top: 73px;
}
/** Стили для Панели быстрой вставки **/
#userButtons {
background-color: transparent;
border: 1px solid #76FF76;
font-size: 95%;
width: 100%;
border-collapse: collapse;
color: black;
margin: 1px 0px 1em;
}
#userButtons tr th, table#userButtons * tr th {
background-color: #BBFFBB;
border: 1px solid #76FF76;
font-size: 95%;
padding: 2px;
text-align: center;
}
#userButtons tr td, table#userButtons * tr td {
border: 1px solid #76FF76;
padding: 5px;
}
#userButtons tr td p, table#userButtons * tr td p {
margin-top:0;
margin-bottom:0;
}
#userButtons.collapsible tr th, table#userButtons.collapsible * tr th {
padding-left: 6.5em;
}
/* Отступ перед ПБВ */
.editOptions {
padding-bottom:0px;
margin-bottom:0px;
}
/* Стиль разделителей ПБВ */
#userButtons * hr {
background-color: #76FF76;
width: 100%;
float: left; /* без этого разделители начинались примерно в центре страницы */
}
.userButtonsAddons {
border: 1px dotted #aaaaaa !important;
padding: 2px;
font-size: 95%;
background-color: transparent !important;
width: 49%;
border-collapse: collapse;
color: black;
margin-bottom: 1em;
margin-left: 0px;
margin-right: 0px;
margin-top: 1em;
}
.userButtonsAddons * th, .userButtonsAddons * td {
border:1px dotted #aaaaaa !important;
padding:2px;
background-color:transparent !important;
padding: 0.2em;
}
.userButtonsAddons * th {
text-align:center;
}
/* Скрытие блоков в панели быстрой вставки. Блоки предназначенные для обсуждений не отображаются на обычных страницах, и наоборот. */
.ns-talk * .userButtons-subject {
display: none;
}
.ns-subject * .userButtons-talk,
.ns-subject * #userButtonsSignature {
display: none;
}
/** Конец стилей Панели быстрой вставки **/
/** Прочее **/
/* Иконка маркированных списков */
ul {
list-style-image: var(--list-bullet);
}
/* Уменьшение интервала после мини-заголовка, созданного через апострофы */
.page-content p, .page-content section {
margin: 0px 0px 8px;
}
/*** СТАНДАРТНЫЕ КЛАССЫ
STANDARD CLASSES ***/
/** Пиксельное масштабирование изображений и иконок пользователей **/
.pixel-image,
.sprite,
.sprite img,
.mw-userlink,
.invslot,
.ns-special .gallerybox img,
.ns-14 .gallerybox img,
.filehistory a img,
.mcui,
.gui {
image-rendering: optimizeSpeed;
image-rendering: -webkit-optimize-contrast;
image-rendering: optimize-contrast;
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: crisp-edges;
image-rendering: pixelated;
-ms-interpolation-mode: nearest-neighbor;
}
/** Отключить разрыв строки на пробелах **/
.nowrap {
white-space: nowrap;
}
/** Hide noscript only elements **/
.noscript {
display: none;
}
/** Скрытие от простых смертных ненужных элементов **/
.admin_only,
.admin_only_inline,
.admin_only_block,
.admin_only_flex {
display: none !important;
}
/** Только для средств чтения с экрана **/
.sr-only:not(:focus):not(:active) {
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
/** Чередующиеся ячейки и строки таблиц
Alternating table cells and rows **/
/*
.alternatecells:nth-child(odd) {
background-color: #F9F9F9;
}
body.wgl-theme-dark .alternatecells:nth-child(odd) {
background-color: #222;
}
.alternaterows tr:nth-child(even) {
background-color: #F9F9F9;
}
body.wgl-theme-dark .alternaterows tr:nth-child(even) {
background-color: #222;
}
*/