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

Теперь лого сайта не пиксельное
селектор * странно ведёт себя при редактировании разметки страницы
 
(не показано 78 промежуточных версий 2 участников)
Строка 8: Строка 8:
  * 4. Модули
  * 4. Модули
  * 5. Расширение
  * 5. Расширение
  * 6. Основной интерфейс пользователя
  * 6. Гаджеты
  * 7. Классы
* 7. Основной интерфейс пользователя
  * 8. Интерфейс MediaWiki
  * 8. Классы
  * 9. Неотсортированные
  * 9. Интерфейс MediaWiki
  * 10. <syntaxhighlight> CODE BLOCKS
  * 10. Неотсортированные
  * 11. SOURCE EDITOR → SYNTAX HIGHLIGHTING
  * 11. <syntaxhighlight> CODE BLOCKS
  * 12. DRUID Infoboxes
  * 12. SOURCE EDITOR → SYNTAX HIGHLIGHTING
  * 13. Меню настроек темы
  * 13. DRUID Infoboxes
  * 14. JS
  */
  */


Строка 61: Строка 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: "noto sans";
--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;
Строка 73: Строка 74:
--font-size-xl: 120%;
--font-size-xl: 120%;
--font-size-xxl: 130%;
--font-size-xxl: 130%;
--font-size-huge: 150%;
--font-size-huge: 145%;
--font-size-giant: 200%;
--font-size-giant: 200%;


Строка 380: Строка 381:
--text-color-dark-salmon: darksalmon;
--text-color-dark-salmon: darksalmon;
--text-color-green: #269335;
--text-color-green: #269335;
--text-color-lime: #46bf46;
--text-color-lime: #57cd62;
--text-color-turquoise: #189d80;
--text-color-turquoise: #189d80;
--text-color-yellow: #dbdb11;
--text-color-yellow: #dbdb11;
Строка 389: Строка 390:
--text-color-pink: #cd6dca;
--text-color-pink: #cd6dca;
--text-color-blue: #1c86ed;
--text-color-blue: #1c86ed;
--text-color-sky-blue: #3d78d1;
--text-color-sky-blue: #4981d5;
--text-color-aquamarine: #69d2d7;
--text-color-aquamarine: #68ced3;
--text-color-violet: #946ce3;
--text-color-violet: #946ce3;
--text-color-silver: #a9a9a9;
--text-color-silver: #a9a9a9;
Строка 603: Строка 604:
--ooui-bg--hsl-alpha: 18%;
--ooui-bg--hsl-alpha: 18%;
}
}
/* Апрельская тема
:root body.mediawiki:not(.wgl-theme-light) {
--brightness-hsl: -1%;
--theme-bg--hsl: 300deg 28%;
--theme-bg--hsl-alpha: 12%;
--color-contrast: #4d2aa7;
--bg-color-code: #271a27;
--bg-color-code-light: #2d1e2c;
--border-color-code: #412f3d;
--theme-bg-color-base: #100910;
--theme-bg-color-100: #19141f;
--ooui-bg--hsl: 185deg 40%;
--ooui-bg--hsl-alpha: 13%;
}*/
/* #endregion */
/* #endregion */


Строка 726: Строка 742:
src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v170/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2')
src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v170/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2')
}
}
/* #endregion */


/* ============ */
@font-face {
/* #region Теги */
font-family: 'Roboto';
/* ============ */
font-style: normal;
.mw-editform #wpTextbox1, textarea {
font-weight: 100;
background: var(--theme-bg-color-100);
font-display: swap;
border-color: var(--theme-border-color-base);
src: url(https://fonts.gstatic.com/s/roboto/v18/frNV30OaYdlFRtH2VnZZdhTbgVql8nDJpwnrE27mub0.woff2) format('woff2');
color: var(--theme-text-color);
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
}


math {
@font-face {
margin: 0.2em 0;
font-family: 'Roboto';
font-size: 1.1em;
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;
}
}


cite,dfn {
@font-face {
font-style: inherit;
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;
}
}


q {
@font-face {
quotes: '«' '»' "„" "“";
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;
}
}


ol {
@font-face {
margin-block-start: 0.7em;
font-family: 'Roboto';
margin-block-end: 0.7em;
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;
}
}


code, code.mw-highlight,
@font-face {
.code,
font-family: 'Roboto';
.tdg-templateDataParamWidget-param-alias:first-child {
font-style: normal;
border-radius: 2px;
font-weight: 400;
padding: 1px 4px;
font-display: swap;
background: var(--bg-color-code);
src: url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
border: 1px solid var(--border-color-code);
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;
color: var(--theme-text-color);
}
}


.screenplay, code, tt, kbd, pre, samp, .skin-timeless .monospace {
@font-face {
font-family: var(--font-family-monospace);
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;
}
}


pre {
@font-face {
overflow: auto;
font-family: 'Roboto';
white-space: pre-wrap;
font-style: normal;
background: var(--bg-color-code-light);
font-weight: 500;
border: 1px solid var(--border-color-code);
font-display: swap;
padding: 0.5em;
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2) format('woff2');
color: var(--theme-text-color);
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-family: var(--font-family-monospace);
}
}


blockquote {
@font-face {
background: var(--theme-bg-color-100);
font-family: 'Roboto';
border-left: 4px solid var(--theme-bg-color-150);
font-style: normal;
padding: 8px 32px;
font-weight: 700;
overflow: hidden;
font-display: swap;
box-shadow: var(--box-shadow);
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2) format('woff2');
border-radius: var(--border-radius-low);
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
}


@media screen and (max-width: 850px) {
@font-face {
blockquote {
font-family: 'Roboto';
margin-inline-start: 10px;
font-style: normal;
margin-inline-end: 10px;
font-weight: 700;
padding: 6px 24px;
font-display: swap;
}
src: url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfBBc4.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;
}
}
/* #endregion */


small {
/* ============ */
font-size: 85%
/* #region Теги */
/* ============ */
.mw-editform #wpTextbox1, textarea {
background: var(--theme-bg-color-100);
border-color: var(--theme-border-color-base);
color: var(--theme-text-color);
}
}


li {
math {
margin-top: 2px;
margin: 0.2em 0;
font-size: 1.1em;
}
}


input[type="button"] {
cite,dfn {
background: var(--ooui-bg-color);
font-style: inherit;
border: 1px solid var(--ooui-border-color);
color: var(--ooui-text-color);
}
}


/*основные изображения - пиксельные. Для остальных нужно использовать класс noSprite*/
q {
img {
quotes: '«' '»' "„" "“";
image-rendering: pixelated;
filter: var(--filter-drop-shadow-low);
}
}


/*Для непиксельных изображений*/
ol {
.mw-body-content .noSprite img {
margin-block-start: 0.7em;
image-rendering: auto !important;  
margin-block-end: 0.7em;
height: auto !important;
max-width: 100% !important;
}
}


.mw-body-content a > img, .mw-body-content .floatnone > img {
code, code.mw-highlight,
max-width: unset !important;
.code,
.tdg-templateDataParamWidget-param-alias:first-child {
border-radius: 2px;
padding: 1px 4px;
background: var(--bg-color-code);
border: 1px solid var(--border-color-code);
color: var(--theme-text-color);
}
}


hr {
.screenplay, code, tt, kbd, pre, samp, .skin-timeless .monospace {
border-bottom-width: 0px;
font-family: var(--font-family-monospace);
border-color: var(--border-color-hr);
}
}


footer,#footer-info-lastmod,#footer-info-copyright {
pre {
color: var(--theme-text-color);
overflow: auto;
white-space: pre-wrap;
background: var(--bg-color-code-light);
border: 1px solid var(--border-color-code);
padding: 0.5em;
color: var(--theme-text-color);
font-family: var(--font-family-monospace);
}
}


p,h1,h2,h3,h4,h5,h6,li {
blockquote {
color: var(--theme-text-color);
background: var(--theme-bg-color-100);
border-left: 4px solid var(--theme-bg-color-150);
padding: 8px 32px;
overflow: hidden;
box-shadow: var(--box-shadow);
border-radius: var(--border-radius-low);
}
}


p {
@media screen and (max-width: 850px) {
margin: 0.5em 0;
blockquote {
margin-inline-start: 10px;
margin-inline-end: 10px;
padding: 6px 24px;
}
}
}


a {
small {
color: var(--text-color-link);
font-size: 85%
}
}


a:hover {
li {
color: var(--theme-text-color-light);
margin-top: 2px;
}
}


a:visited, a:visited:hover {
input[type="button"] {
color: var(--text-color-link--visited);
background: var(--ooui-bg-color);
border: 1px solid var(--ooui-border-color);
color: var(--ooui-text-color);
}
}


a.new, .new a {
/*основные изображения - пиксельные. Для остальных нужно использовать класс noSprite*/
color: var(--text-color-link-new);
img {
image-rendering: pixelated;
filter: var(--filter-drop-shadow-low);
}
}


a.new:hover, .new a:hover {
/*Для непиксельных изображений*/
color: var(--text-color-link-new--visited);
.mw-body-content .noSprite img {
image-rendering: auto !important;
height: auto !important;
max-width: 100% !important;
}
 
.mw-body-content a > img, .mw-body-content .floatnone > img {
max-width: unset !important;
}
 
hr {
border-bottom-width: 0px;
border-color: var(--border-color-hr);
}
 
footer,#footer-info-lastmod,#footer-info-copyright {
color: var(--theme-text-color);
}
 
p,h1,h2,h3,h4,h5,h6,li {
color: var(--theme-text-color);
}
 
p {
margin: 0.5em 0;
}
 
a {
color: var(--text-color-link);
}
 
a:hover {
color: var(--theme-text-color-light);
}
 
a:visited, a:visited:hover {
color: var(--text-color-link--visited);
}
 
a.new, .new a,
.cdx-link.is-red-link, .cdx-link.is-red-link:hover {
color: var(--text-color-link-new);
}
 
a.new:hover, .new a:hover,
.cdx-link.is-red-link:visited, .cdx-link.is-red-link:visited:hover {
color: var(--text-color-link-new--visited);
}
}


Строка 868: Строка 976:
}
}


.mw-parser-output a.external, .mw-parser-output a.extiw {
.mw-parser-output a.external, .mw-parser-output a.extiw,
.cdx-link, .cdx-link:hover {
color: var(--text-color-link-external)
color: var(--text-color-link-external)
}
}


.mw-parser-output a.external:visited, .mw-parser-output a.extiw:visited {
.mw-parser-output a.external:visited, .mw-parser-output a.extiw:visited,
.cdx-link:visited, .cdx-link:visited:hover {
color: var(--text-color-link-external--visited);
color: var(--text-color-link-external--visited);
}
}
Строка 900: Строка 1010:
.mw-body h2 {
.mw-body h2 {
font-size: var(--font-size-huge);
font-size: var(--font-size-huge);
border-bottom: none;
font-weight: 500;
font-family: var(--font-family-libertine);
font-family: var(--font-family-heading);
margin-bottom: 0.4em;
margin-top: 1em;
margin-top: 1em;
line-height: 1.375;
border-bottom: 2px solid var(--color-contrast);
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-xl);
font-size: var(--font-size-xxl);
font-weight: bold;
font-weight: 500;
font-family: sans-serif;
font-family: var(--font-family-heading);
margin-top: 0.3em;
margin-top: 0.3em;
margin-bottom: 0.3em;
margin-bottom: 0.3em;
padding-bottom: 0;
padding-bottom: 0.3em;
line-height: 1.6;
padding-top: 0.5em;
padding-top: 0.5em;
}
}


.mw-body h4,
.mw-body h3 .mw-headline {
.mw-body h5 {
display: inline-block;
font-size: var(--font-size-ml);
position: relative;
font-weight: bold;
}
font-family: sans-serif;
 
margin-top: 0.5em;
.mw-body h3 .mw-headline:before {
content: '';
position: absolute;
bottom: -0.2em;
height: 2px;
width: calc(100% + 2em);
max-width: 85cqw;
background: linear-gradient(to right, hsl(from var(--color-contrast) h s l / 0.75) calc(100% - 2em), transparent 100%);
}
 
.mw-body h4,
.mw-body h5 {
font-size: var(--font-size-xl);
font-weight: 500;
font-family: var(--font-family-heading);
padding-top: 0.5em;
margin: 0;
margin-bottom: 0.3em;
margin-bottom: 0.3em;
}
}
Строка 948: Строка 1074:
.navbox-subgroup {
.navbox-subgroup {
width: 100%;
width: 100%;
margin: 0 !important;
}
}
.navbox-group,
.navbox-group,
Строка 1031: Строка 1158:
/*=== Шаблон:Сущность ===*/
/*=== Шаблон:Сущность ===*/
.ts-Сущность {
.ts-Сущность {
display: flex;
display: grid;
gap: 6px;
grid-template-columns: 1fr auto;
justify-content: space-between;
justify-content: space-between;
align-items: flex-start;
align-items: start;
margin: 0.5em 0;
}
}


.ts-Сущность:has(.ts-Сущность-field:hover) {
.ts-Сущность:has(.ts-Сущность-field:hover) {
background: var(--theme-bg-color-150);
background: rgba(var(--color-lighter--rgb), 0.025);
}
}


Строка 1044: Строка 1174:
}
}


/* КОНЕЦ */
@media screen and (max-width: 650px) {
.ts-Сущность {
grid-template-columns: 1fr;
}
}


/* #endregion */
/*=== Шаблон:Сущность ===*/
.ts-Cut-layout {
display: flex;
flex-direction: column;
justify-content: center;
gap: 8px;
padding: 10px 18px;
box-shadow: var(--box-shadow-high);
background-color: var(--bg-color); /* --bg-color из стилей шаблона; по умолчанию: var(--theme-bg-color-200) */
border-radius: var(--border-radius-low);
height: inherit;
box-sizing: border-box;
--clip: 1em;
clip-path: polygon(0 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% 100%, var(--clip) 100%, 0 calc(100% - var(--clip)));
}


/* ============ */
.ts-Cut-layout__header {
/* #region Модули */
display: flex;
/* ============ */
justify-content: space-between;
align-items: center;
gap: 8px;
}


/*=== Модуль:Краткий вызов ===*/
.ts-Cut-layout__header-arrow {
.shortcut {
display: grid;
clear: right;
grid-template-columns: 1fr auto 1fr;
text-align: center;
}
 
.ts-Cut-layout__body {
flex-grow: 100;
padding: 8px;
position: relative;
font-size: var(--font-size-s);
overflow: auto;
margin: 0 6px;
background: rgba(0, 0, 0, var(--alpha-s));
border-radius: var(--border-radius-low);
}
 
/* КОНЕЦ */
 
/* #endregion */
 
/* ============ */
/* #region Модули */
/* ============ */
 
/*=== Модуль:Краткий вызов ===*/
.shortcut {
clear: right;
float: right;
float: right;
margin-left: 0.75em;
margin-left: 0.75em;
Строка 1090: Строка 1267:
[tooltip]:active {
[tooltip]:active {
background: var(--theme-bg-color-250);
background: var(--theme-bg-color-250);
}
/*=== VisualEditor ===*/
.ve-ui-diffElement-hasDescriptions .ve-ui-diffElement-content {
border-right: 1px solid var(--border-color-hr);
}
.ve-ui-diffElement-attributeChange ins {
background-color: rgba(0, 174, 136, 0.5) !important;
box-shadow: 0 0 0 1px rgba(0, 174, 136, 0.5) !important;
}
.ve-ui-diffElement-attributeChange del {
background-color: rgba(209, 29, 19, 0.5) !important;
box-shadow: 0 0 0 1px rgba(209, 29, 19, 0.5) !important;
}
}


Строка 1289: Строка 1481:
border-bottom-color: var(--bg-color-emerald-50);
border-bottom-color: var(--bg-color-emerald-50);
}
}
/* #endregion */
/* ============ */
/* #region Гаджеты */
/* ============ */
/* Gadget-freezeAPNG */
.freezeAPNG img.freezeAPNG__freeze  {
display: inline-block;
}
.freezeAPNG img.freezeAPNG__animation {
display: none;
}
.freezeAPNG:hover img.freezeAPNG__animation,
.freezeAPNG:focus-within img.freezeAPNG__animation,
.freezeAPNG.freezeAPNG--active img.freezeAPNG__animation {
display: inline-block;
}
.freezeAPNG:hover img.freezeAPNG__freeze,
.freezeAPNG:focus-within img.freezeAPNG__freeze,
.freezeAPNG.freezeAPNG--active img.freezeAPNG__freeze {
display: none;
}
/* #endregion */
/* #endregion */


Строка 1482: Строка 1701:
.mw-code {
.mw-code {
background: var(--theme-bg-color-100);
background: var(--theme-bg-color-100);
color: var(--theme-text-color)
color: var(--theme-text-color);
border-color: var(--border-color-hr);
}
}


Строка 1665: Строка 1885:


/*=== Gallery ===*/
/*=== Gallery ===*/
.mw-body li.gallerybox {
padding: 0.33em;
margin: 0.33em;
background-color: var(--theme-bg-color-150);
border: var(--border-outset-light);
border-radius: var(--border-radius-medium);
}
.mw-body li.gallerybox div.thumb {
.mw-body li.gallerybox div.thumb {
background: var(--theme-bg-color-150);
background: #f8f9fa;
border-color: var(--theme-border-color-base);
border: solid #eaecf0;
border-radius: var(--border-radius-low) var(--border-radius-low) 0 0;
border-width: 1px 1px 0.2em;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
padding: 0;
overflow: hidden;
background-color: var(--theme-bg-color-175);
border-color: transparent;
border-radius: var(--border-radius-low);
}
 
div.gallerytext {
padding: 0;
letter-spacing: 0.025em;
text-align: center;
}
}


Строка 1675: Строка 1915:
background: var(--theme-bg-color-100);
background: var(--theme-bg-color-100);
color: var(--theme-text-color);
color: var(--theme-text-color);
}
.mw-mmv-post-image {
color: var(--theme-text-color-dark);
}
}


Строка 1820: Строка 2064:
.tabs-tabbox > .tabs-container {
.tabs-tabbox > .tabs-container {
padding: 14px 10px;
padding: 14px 10px;
background: var(--theme-bg-color-175);
background: var(--theme-bg-color-150);
border: none;
border: none;
border-top: 1px solid rgba(var(--color-lighter--rgb), var(--alpha-x));
border-top: 1px solid rgba(var(--color-lighter--rgb), var(--alpha-x));
border-radius: var(--border-radius-low);
border-radius: var(--border-radius-low);
box-shadow: var(--box-shadow);
box-shadow: var(--box-shadow);
}
.tabs-content {
width: 100%;
}
}


/*=== toc ===*/
/*=== toc ===*/
ul#filetoc, .toc, .toccolours, .mw-warning {
ul#filetoc, .toc, .toccolours, .mw-warning {
border-radius: 0.5em;
border-radius: var(--border-radius-high);
background: var(--theme-bg-color-150);
background: var(--theme-bg-color-150);
padding: 12px;
padding: 8px 12px;
box-sizing: border-box;
margin: 12px 0;
margin: 12px 0;
min-width: 12em;
min-width: 12em;
border: none;
box-shadow: var(--box-shadow);
box-shadow: var(--box-shadow-outline);
line-height: 1.3;
line-height: 1.3;
border: var(--border-outset-light);
box-sizing: border-box;
}
.toccolours > p {
margin: 0;
}
}


Строка 1845: Строка 2097:


.toc .toctitle {
.toc .toctitle {
font-size: 0.95em;
font-size: var(--font-size-s);
padding: 0 8px;
display: flex;
display: flex;
align-items: center;
align-items: center;
Строка 1860: Строка 2111:
display: flex;
display: flex;
align-items: center;
align-items: center;
padding: 0;
}
}


Строка 1865: Строка 2117:
content: "";
content: "";
display: block;
display: block;
width: 12px;
width: 16px;
height: 12px;
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);
Строка 1934: Строка 2186:
/* #region Классы */
/* #region Классы */
/* ============ */
/* ============ */
/* Складной списки с кнопкой в ширину всего блока */
.collapsible-title {
display: grid;
}
.collapsible-title > *:not(.mw-collapsible-content) {
grid-row: 1;
grid-column: 1 / 3;
}
.collapsible-title > .mw-collapsible-content {
grid-row: 2;
grid-column: 1 / 3;
}
/* Делает кнопку раскрытия складного списка в виде стрелочки */
.collapsible-toggle-arrow::before {
--wh-ratio: 1.5;
--w: 0.9em;
--h: calc(var(--w) / var(--wh-ratio));
content: "";
background-image: url(/images/1/12/Inverted_triangle.svg);
display: inline-block;
background-size: cover;
width: var(--w);
height: var(--h);
margin: 0 0.1em;
transition: transform 60ms ease;
}
.mw-collapsible:has(.mw-collapsible-toggle-collapsed) > .collapsible-toggle-arrow::before {
transform: rotate(-90deg);
}
.mw-collapsible:has(.collapsible-toggle-arrow) > .mw-collapsible-toggle *,
.mw-collapsible:has(.collapsible-toggle-arrow) > .mw-collapsible-toggle::after,
.mw-collapsible:has(.collapsible-toggle-arrow) > .mw-collapsible-toggle::before {
display: none;
}


/* Ссылка на весь контейнер кнопки */
/* Ссылка на весь контейнер кнопки */
Строка 1943: Строка 2235:
right: 0;
right: 0;
z-index: var(--index-overlay);
z-index: var(--index-overlay);
}
/* Тег p без отступов */
.p-no-margin p {
margin: 0;
}
}


Строка 2125: Строка 2422:
margin-bottom: 0
margin-bottom: 0
}
}


@media (max-width: 800px) {
@media (max-width: 800px) {
Строка 2136: Строка 2435:
gap: 8px;
gap: 8px;
grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 300px), 1fr));
grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 300px), 1fr));
}
.grid-big-item-adaptive {
display: grid;
gap: 10px;
grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 400px), 1fr));
}
}


Строка 2191: Строка 2496:
}
}


.list-reset-margin > ol:not(:first-child) > li:not(:first-child),
.list-reset-margin > ol > li:not(:first-child),
.list-reset-margin > ul:nth-of-type(n+2) {
.list-reset-margin > ul:nth-of-type(n+2) {
margin-top: 10px;
margin-top: 10px;
Строка 2227: Строка 2532:


.brightness-overlay:hover::before {
.brightness-overlay:hover::before {
filter: brightness(103%);
filter: brightness(105%);
}
}


Строка 3076: Строка 3381:


table.druid-container {
table.druid-container {
display: table;
background: var(--theme-bg-color-150);
background: var(--theme-bg-color-150);
float: right;
float: right;
clear: right;
clear: right;
margin: 0 0 1em 1em;
margin: 0 0 1em 1em;
max-width: 400px;
width: 400px;
min-width: 300px;
box-sizing: border-box;
box-sizing: border-box;
position: relative;
position: relative;
Строка 3093: Строка 3398:


@media screen and (max-width: 720px) {
@media screen and (max-width: 720px) {
   .druid-container {
   table.druid-container {
float: none;
float: none;
margin: 0.5rem auto;
margin: 0.5rem auto;
Строка 3262: Строка 3567:
width: 40%;
width: 40%;
text-align: left;
text-align: left;
}
.druid-container td {
max-width: 0;
}
}


Строка 3348: Строка 3657:


/* ============ */
/* ============ */
/* #region Меню настроек темы */
/* #region JS */
/* ============ */
/* ============ */


.theme-dropdown {
/* Переключатель проекта */
position: relative;
.js-project-menu {
display: inline-flex;
gap: 6px;
font-size: var(--font-size-s);
flex-wrap: wrap;
padding-bottom: 6px;
}
 
.js-project-menu label {
user-select: none;
-webkit-user-drag: none;
transition-property: background,box-shadow;
transition-duration: var(--transition-time);
cursor: pointer;
padding: 0.2em 0.4em;
font-weight: bold;
border-bottom: solid 2px var(--theme-text-color-dark);
border-radius: var(--border-radius-low) var(--border-radius-low) 0 0;
color: var(--theme-text-color-dark);
opacity: 0.75;
}
}


#personal-extra li,
.js-project-menu input {
#personal h2,
display: none;
.theme-dropdown-details {
padding: 0.25em;
border-radius: var(--border-radius-medium);
margin: 0;
}
}


.theme-dropdown-details[open] + .theme-window {
.js-project-menu input:checked + label,
visibility: visible;
.js-project-menu label:hover {
opacity: 1;
opacity: 1;
height: auto;
transform: scale(0.99999);
}
}


#personal .dropdown,
.js-project-menu input:not(:checked) + label {
.theme-dropdown .theme-window {
background: unset !important;
top: unset;
}
user-select: none;
 
position: absolute;
.js-project-menu input#project-Corvax + label {
right: -14px;
color: var(--text-color-crimson);
width: 14.5rem;
border-bottom-color: var(--text-color-crimson);
background: var(--bg-color-pastel-red-dark);
}
 
.js-project-menu input#project-WL + label {
color: var(--text-color-dark-salmon);
border-bottom-color: var(--text-color-dark-salmon);
background: var(--bg-color-rust-dark);
}
 
.js-project-menu input#project-CM + label {
color: var(--text-color-turquoise);
border-bottom-color: var(--text-color-turquoise);
background: var(--bg-color-emerald-dark);
}
 
.js-project-menu input#project-Frontier + label {
color: var(--text-color-violet);
border-bottom-color: var(--text-color-violet);
background: var(--bg-color-violet-dark);
}
 
.js-project-menu input#project-Fallout + label {
color: var(--text-color-silver);
border-bottom-color: var(--text-color-silver);
background: var(--bg-color-grey-dark);
}
 
.js-project-menu input#project-SW + label {
color: var(--text-color-crimson);
border-bottom-color: var(--text-color-crimson);
background: var(--bg-color-pastel-red-dark);
}
 
.js-project-menu input#project-Wega + label {
color: var(--text-color-pink);
border-bottom-color: var(--text-color-pink);
background: var(--bg-color-pink-dark);
}
 
.js-project-menu input#project-Goob + label {
color: var(--text-color-blue);
border-bottom-color: var(--text-color-blue);
background: var(--bg-color-blue-dark);
}
 
@media screen and (max-width: 850px) {
.js-project-menu {
font-size: var(--font-size-xs);
}
}
 
/* Меню настроек темы */
.theme-dropdown {
position: relative;
}
 
#personal-extra li,
#personal h2,
.theme-dropdown-details {
padding: 0.25em;
border-radius: var(--border-radius-medium);
margin: 0;
}
 
.theme-dropdown-details[open] + .theme-window {
visibility: visible;
opacity: 1;
height: auto;
transform: scale(0.99999);
}
 
#personal .dropdown,
.theme-dropdown .theme-window,
.mw-echo-ui-overlay .oo-ui-popupWidget-popup {
top: unset;
user-select: none;
position: absolute;
min-width: 14.5rem;
background: var(--ooui-bg-color-darkened);
background: var(--ooui-bg-color-darkened);
box-shadow: var(--box-shadow-high);
box-shadow: var(--box-shadow-high);
Строка 3382: Строка 3782:
transition-property: transform, opacity, visibility;
transition-property: transform, opacity, visibility;
z-index: var(--index-high);
z-index: var(--index-high);
margin-top: 0.3rem;
border: 2px solid var(--ooui-bg-color-light);
border: 2px solid var(--ooui-bg-color-light);
border-top: 2px solid var(--ooui-border-color);
border-top: 2px solid var(--ooui-border-color);
Строка 3388: Строка 3787:
padding: 0.2em;
padding: 0.2em;
box-shadow: var(--box-shadow-high), var(--box-shadow-inset);
box-shadow: var(--box-shadow-high), var(--box-shadow-inset);
}
#personal .dropdown,
.theme-dropdown .theme-window {
right: -14px;
margin-top: 0.3rem;
}
}


Строка 3410: Строка 3815:


#personal .dropdown label, #personal .dropdown h3,
#personal .dropdown label, #personal .dropdown h3,
.theme-dropdown .theme-window__header {
.theme-dropdown .theme-window__header,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head {
display: flex;
display: flex;
align-items: center;
align-items: center;
gap: 4px;
gap: 4px;
position: relative;
position: relative;
height: 2rem;
height: 2.2rem;
font-size: var(--font-size-ml);
font-size: var(--font-size-ml);
border-radius: var(--border-radius-low);
border-radius: var(--border-radius-low);
Строка 3460: Строка 3866:
#personal .dropdown ul,
#personal .dropdown ul,
#theme-preferences__content .theme-menu {
#theme-preferences__content .theme-menu {
flex: 1 0 9rem;
background-color: var(--theme-bg-color-base);
background-color: var(--theme-bg-color-base);
border-radius: var(--border-radius-low);
border-radius: var(--border-radius-low);
Строка 3472: Строка 3877:
#theme-preferences__content .theme-menu form {
#theme-preferences__content .theme-menu form {
position: relative;
position: relative;
display: flex;
display: grid;
flex-direction: column;
gap: 0.5em;
gap: 0.5em;
text-align: center;
text-align: center;
Строка 3484: Строка 3888:
padding: 0;
padding: 0;
margin: 0;
margin: 0;
width: 100%;
}
}


Строка 3558: Строка 3963:
background-size: cover;
background-size: cover;
margin: 0;
margin: 0;
}
#pt-notifications-notice .mw-echo-notifications-badge.oo-ui-flaggedElement-unseen::after, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-unseen-notifications::after {
background-color: var(--color-contrast);
}
}


Строка 3699: Строка 4108:
.mw-rcfilters-ui-filterMenuHeaderWidget-header,
.mw-rcfilters-ui-filterMenuHeaderWidget-header,
#mw-scribunto-input,
#mw-scribunto-input,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head,
.growthexperiments-mentor-dashboard-container .growthexperiments-mentor-dashboard-module-mentor-tools .growthexperiments-mentor-dashboard-module-mentor-tools-other-actions,
.growthexperiments-mentor-dashboard-container .growthexperiments-mentor-dashboard-module-mentor-tools .growthexperiments-mentor-dashboard-module-mentor-tools-other-actions,
.growthexperiments-mentor-dashboard-module-mentee-overview .growthexperiments-mentor-dashboard-module-mentee-overview-recent-by-mentees,
.growthexperiments-mentor-dashboard-module-mentee-overview .growthexperiments-mentor-dashboard-module-mentee-overview-recent-by-mentees,
Строка 3720: Строка 4128:
.mw-ge-help-panel-processdialog .suggested-edits-panel-switch-editor-panel,
.mw-ge-help-panel-processdialog .suggested-edits-panel-switch-editor-panel,
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled .oo-ui-toggleSwitchWidget-grip,
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled .oo-ui-toggleSwitchWidget-grip,
.mw-body-content .recent-questions-growthexperiments-mentor-questions, .overlay-content .recent-questions-growthexperiments-mentor-questions, .content .recent-questions-growthexperiments-mentor-questions {
.mw-body-content .recent-questions-growthexperiments-mentor-questions, .overlay-content .recent-questions-growthexperiments-mentor-questions, .content .recent-questions-growthexperiments-mentor-questions,
.mwe-vue-pt-article-row-even,
.cdx-toggle-button--framed:enabled,
.ve-ui-mwTransclusionOutlineControlsWidget {
background: var(--ooui-bg-color);
background: var(--ooui-bg-color);
}
}
Строка 3755: Строка 4166:
.oo-ui-tagItemWidget.oo-ui-widget-disabled,
.oo-ui-tagItemWidget.oo-ui-widget-disabled,
.cdx-input-chip,
.cdx-input-chip,
.ve-init-mw-progressBarWidget {
.ve-init-mw-progressBarWidget,
.mwe-vue-pt-showing-filter-chip,
.mw-twocolconflict-single-column, .mw-twocolconflict-split-column,
.mw-twocolconflict-single-column.mw-twocolconflict-split-copy, .mw-twocolconflict-split-column.mw-twocolconflict-split-copy {
background: var(--ooui-bg-color-dark);
background: var(--ooui-bg-color-dark);
}
}


.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox'] + span,
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox'] + span,
.cdx-checkbox__icon {
.cdx-checkbox__icon,
.cdx-radio__icon {
background-color: var(--ooui-bg-color-dark);
background-color: var(--ooui-bg-color-dark);
}
}
Строка 3785: Строка 4200:
.oo-ui-menuLayout.oo-ui-menuLayout-showMenu.oo-ui-menuLayout-before > .oo-ui-menuLayout-content,
.oo-ui-menuLayout.oo-ui-menuLayout-showMenu.oo-ui-menuLayout-before > .oo-ui-menuLayout-content,
.oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-setup > .oo-ui-window-frame,
.oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-setup > .oo-ui-window-frame,
.oo-ui-toggleSwitchWidget {
.oo-ui-toggleSwitchWidget,
#mwe-vue-pt-control-dropdown {
background-color: var(--ooui-bg-color-darkened);
background-color: var(--ooui-bg-color-darkened);
}
}
Строка 3807: Строка 4223:
.cdx-input-chip:not(.cdx-input-chip--disabled):hover,
.cdx-input-chip:not(.cdx-input-chip--disabled):hover,
.cdx-button:enabled:hover, .cdx-button.cdx-button--fake-button--enabled:hover,
.cdx-button:enabled:hover, .cdx-button.cdx-button--fake-button--enabled:hover,
.wikiEditor-ui-toolbar .page-characters div span:hover {
.wikiEditor-ui-toolbar .page-characters div span:hover,
.mwe-vue-pt-control-gradient,
.cdx-toggle-button--framed:enabled:hover,
.mwe-vue-pt-navigation-bar,
#mwe-vue-pt-stats-navigation {
background: var(--ooui-bg-color-light);
background: var(--ooui-bg-color-light);
}
}
Строка 3859: Строка 4279:
}
}


ul.fileupload-results li.ful-success {
ul.fileupload-results li.ful-success,
#mwe-vue-pt-stats-navigation,
.mw-notification.mw-notification-type-success,
.mw-twocolconflict-special-your-version-header .mw-twocolconflict-revision-label, .mw-twocolconflict-split-your-version-header .mw-twocolconflict-revision-label,
.mw-twocolconflict-single-column ins.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column ins.mw-twocolconflict-diffchange {
background: var(--bg-color-message);
background: var(--bg-color-message);
}
.mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:active + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget [type='radio'] + span,
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected ins.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected ins.mw-twocolconflict-diffchange {
background-color: var(--bg-color-message-subtle);
}
}


Строка 3918: Строка 4347:


.cdx-message--warning,
.cdx-message--warning,
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning,
.mw-twocolconflict-split-current-version-header .mw-twocolconflict-revision-label,
.mw-twocolconflict-single-column del.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column del.mw-twocolconflict-diffchange {
background: var(--bg-color-warning);
background: var(--bg-color-warning);
}
}
Строка 3926: Строка 4357:
div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon, div.titleblacklist-warning,
div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon, div.titleblacklist-warning,
.mw-ui-button.mw-ui-destructive:not(:disabled),
.mw-ui-button.mw-ui-destructive:not(:disabled),
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip mark.negative {
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip mark.negative,
.cdx-button:enabled.cdx-button--weight-quiet.cdx-button--action-destructive:hover, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-quiet.cdx-button--action-destructive:hover {
background: var(--bg-color-error);
background: var(--bg-color-error);
}
.mwe-vue-pt-problem-chip {
background: var(--bg-color-error-subtle);
}
}


Строка 3935: Строка 4371:


.mw-notification.mw-notification-type-warn,
.mw-notification.mw-notification-type-warn,
.mw-destfile-warning {
.mw-destfile-warning,
.mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:active + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget [type='radio'] + span,
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected del.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected del.mw-twocolconflict-diffchange {
background-color: var(--bg-color-warning-subtle);
background-color: var(--bg-color-warning-subtle);
}
}
Строка 3985: Строка 4423:
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip-example,
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip-example,
.mw-ge-help-panel-processdialog .suggested-edits-panel-switch-editor-panel,
.mw-ge-help-panel-processdialog .suggested-edits-panel-switch-editor-panel,
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled .oo-ui-toggleSwitchWidget-grip {
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled .oo-ui-toggleSwitchWidget-grip,
.mwe-vue-pt-article-row,
.ve-ui-mwTransclusionOutlineControlsWidget {
border-color: var(--ooui-border-color);
border-color: var(--ooui-border-color);
}
}
Строка 3997: Строка 4437:
.wikiEditor-ui .wikiEditor-ui-view,
.wikiEditor-ui .wikiEditor-ui-view,
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-inlined:hover .oo-ui-tagMultiselectWidget-handle,
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-inlined:hover .oo-ui-tagMultiselectWidget-handle,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement:last-child,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement:last-child,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer,
Строка 4063: Строка 4502:
.wikiEditor-ui-toolbar .page-characters div span,
.wikiEditor-ui-toolbar .page-characters div span,
.wikiEditor-ui-toolbar .page-characters div span:hover,
.wikiEditor-ui-toolbar .page-characters div span:hover,
.cdx-checkbox__input:enabled:checked+.cdx-checkbox__icon, .cdx-checkbox__input:enabled:indeterminate+.cdx-checkbox__icon {
.cdx-checkbox__input:enabled:checked+.cdx-checkbox__icon, .cdx-checkbox__input:enabled:indeterminate+.cdx-checkbox__icon,
.cdx-toggle-button--framed:enabled,
.cdx-info-chip,
#mwe-vue-pt-control-dropdown,
.cdx-radio__input:enabled+.cdx-radio__icon,
.mw-twocolconflict-single-column.mw-twocolconflict-split-copy, .mw-twocolconflict-split-column.mw-twocolconflict-split-copy {
border-color: var(--ooui-border-color-light);
border-color: var(--ooui-border-color-light);
}
}
Строка 4102: Строка 4546:
.cdx-message--success,
.cdx-message--success,
.mw-twocolconflict-single-column.mw-twocolconflict-split-add, .mw-twocolconflict-split-column.mw-twocolconflict-split-add,
.mw-twocolconflict-single-column.mw-twocolconflict-split-add, .mw-twocolconflict-split-column.mw-twocolconflict-split-add,
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success {
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success,
#mwe-vue-pt-stats-navigation,
.mw-notification.mw-notification-type-success,
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-add, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-add,
.mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:active + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget [type='radio'] + span {
border-color: var(--border-color-message);
border-color: var(--border-color-message);
}
}
Строка 4108: Строка 4556:
.mw-twocolconflict-single-column.mw-twocolconflict-split-delete, .mw-twocolconflict-split-column.mw-twocolconflict-split-delete,
.mw-twocolconflict-single-column.mw-twocolconflict-split-delete, .mw-twocolconflict-split-column.mw-twocolconflict-split-delete,
.cdx-message--warning,
.cdx-message--warning,
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning,
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-delete, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-delete,
.mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:active + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget [type='radio'] + span {
border-color: var(--border-color-warning);
border-color: var(--border-color-warning);
}
}
Строка 4131: Строка 4581:
div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon, div.titleblacklist-warning,
div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon, div.titleblacklist-warning,
.mw-ui-button.mw-ui-destructive:not(:disabled),
.mw-ui-button.mw-ui-destructive:not(:disabled),
.mw-ui-button.mw-ui-destructive:not(:disabled):hover {
.mw-ui-button.mw-ui-destructive:not(:disabled):hover,
.mwe-vue-pt-problem-chip {
border-color: var(--border-color-error);
border-color: var(--border-color-error);
}
}
Строка 4219: Строка 4670:
.ext-growthExperiments-NumberInput__input:enabled:hover,
.ext-growthExperiments-NumberInput__input:enabled:hover,
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive:hover, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive:hover,
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive:hover, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive:hover,
.ve-init-mw-progressBarWidget {
.ve-init-mw-progressBarWidget,
.cdx-radio__input:enabled:checked+.cdx-radio__icon {
border-color: var(--color-contrast);
border-color: var(--color-contrast);
}
}
Строка 4249: Строка 4701:
.ve-ce-linkAnnotation.ve-ce-annotation-active,
.ve-ce-linkAnnotation.ve-ce-annotation-active,
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link,
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link,
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive {
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive,
.cdx-toggle-button-group .cdx-toggle-button--toggled-on:enabled {
background: var(--color-contrast-dark);
background: var(--color-contrast-dark);
}
}
Строка 4257: Строка 4710:
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
form:not(.oo-ui-layout) button, form:not(.oo-ui-layout) input[type='submit'],
form:not(.oo-ui-layout) button, form:not(.oo-ui-layout) input[type='submit'],
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive {
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive,
.cdx-toggle-button-group .cdx-toggle-button--toggled-on:enabled {
border-color: var(--color-contrast-dark);
border-color: var(--color-contrast-dark);
}
}
Строка 4301: Строка 4755:
.ace_optionsMenuEntry button[ace_selected_button=true] {
.ace_optionsMenuEntry button[ace_selected_button=true] {
box-shadow: var(--box-shadow-inset-high);
box-shadow: var(--box-shadow-inset-high);
}
.oo-ui-buttonSelectWidget.oo-ui-widget-enabled:focus .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected .oo-ui-buttonElement-button,
.cdx-toggle-button-group .cdx-toggle-button--toggled-on:enabled {
box-shadow: none;
}
}


Строка 4354: Строка 4813:
.mw-ge-help-panel-home-button-preheader-text,
.mw-ge-help-panel-home-button-preheader-text,
.mw-body-content .recent-questions-growthexperiments-help-questions h3, .overlay-content .recent-questions-growthexperiments-help-questions h3, .content .recent-questions-growthexperiments-help-questions h3, .mw-body-content .recent-questions-growthexperiments-mentor-questions h3, .overlay-content .recent-questions-growthexperiments-mentor-questions h3, .content .recent-questions-growthexperiments-mentor-questions h3,
.mw-body-content .recent-questions-growthexperiments-help-questions h3, .overlay-content .recent-questions-growthexperiments-help-questions h3, .content .recent-questions-growthexperiments-help-questions h3, .mw-body-content .recent-questions-growthexperiments-mentor-questions h3, .overlay-content .recent-questions-growthexperiments-mentor-questions h3, .content .recent-questions-growthexperiments-mentor-questions h3,
.mw-body-content .recent-questions-growthexperiments-help-questions .question-posted-on, .overlay-content .recent-questions-growthexperiments-help-questions .question-posted-on, .content .recent-questions-growthexperiments-help-questions .question-posted-on, .mw-body-content .recent-questions-growthexperiments-mentor-questions .question-posted-on, .overlay-content .recent-questions-growthexperiments-mentor-questions .question-posted-on, .content .recent-questions-growthexperiments-mentor-questions .question-posted-on {
.mw-body-content .recent-questions-growthexperiments-help-questions .question-posted-on, .overlay-content .recent-questions-growthexperiments-help-questions .question-posted-on, .content .recent-questions-growthexperiments-help-questions .question-posted-on, .mw-body-content .recent-questions-growthexperiments-mentor-questions .question-posted-on, .overlay-content .recent-questions-growthexperiments-mentor-questions .question-posted-on, .content .recent-questions-growthexperiments-mentor-questions .question-posted-on,
.mwe-vue-pt-snippet,
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected,
.mw-special-Listfiles .TablePager_col_img_user_text, .mw-special-Listfiles .TablePager_col_img_description {
color: var(--ooui-text-color-dark);
color: var(--ooui-text-color-dark);
}
}
Строка 4460: Строка 4922:
.cdx-input-chip,
.cdx-input-chip,
.cdx-button:enabled, .cdx-button.cdx-button--fake-button--enabled,
.cdx-button:enabled, .cdx-button.cdx-button--fake-button--enabled,
.cdx-button:enabled:hover, .cdx-button.cdx-button--fake-button--enabled:hover,
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip-example-text,
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip-example-text,
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip mark,
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip mark,
.wikiEditor-ui-toolbar .page-characters div span {
.wikiEditor-ui-toolbar .page-characters div span,
.cdx-toggle-button--framed:enabled,
.cdx-info-chip--text,
.mw-twocolconflict-single-column, .mw-twocolconflict-split-column {
color: var(--ooui-text-color);
color: var(--ooui-text-color);
}
}
Строка 4521: Строка 4985:
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link,
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link,
.ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.oo-ui-optionWidget-highlighted,
.ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.oo-ui-optionWidget-highlighted,
.wikiEditor-ui-toolbar .page-characters div span:hover {
.wikiEditor-ui-toolbar .page-characters div span:hover,
.cdx-button:enabled:hover, .cdx-button.cdx-button--fake-button--enabled:hover,
.cdx-toggle-button--framed:enabled:hover,
.cdx-button:enabled.cdx-button--weight-quiet.cdx-button--action-destructive:hover, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-quiet.cdx-button--action-destructive:hover,
.cdx-toggle-button--framed.cdx-toggle-button--toggled-on:enabled {
color: var(--ooui-text-color-light);
color: var(--ooui-text-color-light);
}
}
Строка 4535: Строка 5003:
.ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage, .ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage.oo-ui-optionWidget-highlighted {
.ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage, .ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage.oo-ui-optionWidget-highlighted {
color: var(--color-progressive);
color: var(--color-progressive);
}
.cdx-button:enabled.cdx-button--weight-quiet.cdx-button--action-destructive, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-quiet.cdx-button--action-destructive {
color: var(--text-color-link-new);
}
}


Строка 4545: Строка 5017:
}
}


.oo-ui-tagItemWidget {
.oo-ui-tagItemWidget,
.cdx-info-chip {
border-radius: var(--border-radius-medium);
border-radius: var(--border-radius-medium);
}
}
Строка 4555: Строка 5028:


/* Остальное */
/* Остальное */
.mw-twocolconflict-single-column .mw-twocolconflict-split-collapsed .mw-twocolconflict-split-fade, .mw-twocolconflict-split-column .mw-twocolconflict-split-collapsed .mw-twocolconflict-split-fade {
background-image: linear-gradient(rgba(255, 255, 255, 0), var(--ooui-bg-color-light));
}
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip mark {
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip mark {
mix-blend-mode: unset;
mix-blend-mode: unset;
Строка 4612: Строка 5089:
}
}
   
   
.mw-changeslist-legend {
.mw-changeslist-legend,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head > .oo-ui-iconWidget {
display: none;
display: none;
}
}
Строка 4639: Строка 5117:
}
}


.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span {
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span,
.cdx-radio__input:enabled:checked+.cdx-radio__icon {
border-width: 2px;
border-width: 2px;
}
}
Строка 4836: Строка 5315:
.oo-ui-layout.oo-ui-fieldLayout.oo-ui-fieldLayout-align-top.oo-ui-actionFieldLayout {
.oo-ui-layout.oo-ui-fieldLayout.oo-ui-fieldLayout-align-top.oo-ui-actionFieldLayout {
margin: 0.5em 0;
margin: 0.5em 0;
}
.oo-ui-buttonSelectWidget.oo-ui-widget-enabled:focus .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected .oo-ui-buttonElement-button {
box-shadow: none;
}
}


Строка 5068: Строка 5543:
/* COM */
/* COM */
#COM.wikitable {
#COM.wikitable {
border: 1px solid var(--bg-color-blue-subtle);
border: 1px solid var(--bg-color-blue-100);
}
}


#COM.wikitable th {
#COM.wikitable th {
background: var(--bg-color-blue-150);
background: var(--bg-color-blue-100);
}
}


Строка 5078: Строка 5553:
#COM.wikitable:not(:has(thead)) tr:first-of-type th {
#COM.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background: var(--bg-color-blue-100);
background: var(--bg-color-blue-50);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
box-shadow: var(--box-shadow-medium);
}
}


Строка 5086: Строка 5561:
#COM.wikitable thead + tbody > tr th:first-child {
#COM.wikitable thead + tbody > tr th:first-child {
border-left: 3px solid var(--color-darkened-border);
border-left: 3px solid var(--color-darkened-border);
}
#COM.wikitable tr td {
background: var(--bg-color-blue-subtle);
}
}


/* MED */
/* MED */
#MED.wikitable {
#MED.wikitable {
border: 1px solid var(--bg-color-sky-blue-subtle);
border: 1px solid var(--bg-color-sky-blue-100);
}
}


#MED.wikitable th {
#MED.wikitable th {
background: var(--bg-color-sky-blue-150);
background: var(--bg-color-sky-blue-100);
}
}
Строка 5104: Строка 5575:
#MED.wikitable:not(:has(thead)) tr:first-of-type th {
#MED.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background: var(--bg-color-sky-blue-100);
background: var(--bg-color-sky-blue-50);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
box-shadow: var(--box-shadow-medium);
}
}


Строка 5112: Строка 5583:
#MED.wikitable thead + tbody > tr th:first-child {
#MED.wikitable thead + tbody > tr th:first-child {
border-left: 3px solid var(--color-darkened-border);
border-left: 3px solid var(--color-darkened-border);
}
#MED.wikitable tr td {
background: var(--bg-color-sky-blue-subtle);
}
}


/* SRV */
/* SRV */
#SRV.wikitable {
#SRV.wikitable {
border: 1px solid var(--bg-color-green-subtle);
border: 1px solid var(--bg-color-green-100);
}
}


#SRV.wikitable th {
#SRV.wikitable th {
background: var(--bg-color-green-150);
background: var(--bg-color-green-100);
}
}


Строка 5130: Строка 5597:
#SRV.wikitable:not(:has(thead)) tr:first-of-type th {
#SRV.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background: var(--bg-color-green-100);
background: var(--bg-color-green-50);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
box-shadow: var(--box-shadow-medium);
}
}


Строка 5138: Строка 5605:
#SRV.wikitable thead + tbody > tr th:first-child {
#SRV.wikitable thead + tbody > tr th:first-child {
border-left: 3px solid var(--color-darkened-border);
border-left: 3px solid var(--color-darkened-border);
}
#SRV.wikitable tr td {
background: var(--bg-color-green-subtle);
}
}


/* ENG */
/* ENG */
#ENG.wikitable {
#ENG.wikitable {
border: 1px solid var(--bg-color-yellow-subtle);
border: 1px solid var(--bg-color-yellow-100);
}
}


#ENG.wikitable th {
#ENG.wikitable th {
background: var(--bg-color-yellow-150);
background: var(--bg-color-yellow-100);
}
}


Строка 5156: Строка 5619:
#ENG.wikitable:not(:has(thead)) tr:first-of-type th {
#ENG.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background: var(--bg-color-yellow-100);
background: var(--bg-color-yellow-50);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
box-shadow: var(--box-shadow-medium);
}
}


Строка 5164: Строка 5627:
#ENG.wikitable thead + tbody > tr th:first-child {
#ENG.wikitable thead + tbody > tr th:first-child {
border-left: 3px solid var(--color-darkened-border);
border-left: 3px solid var(--color-darkened-border);
}
#ENG.wikitable tr td {
background: var(--bg-color-yellow-subtle);
}
}


/* RND */
/* RND */
#RND.wikitable {
#RND.wikitable {
border: 1px solid var(--bg-color-purple-subtle);
border: 1px solid var(--bg-color-purple-100);
}
}


#RND.wikitable th {
#RND.wikitable th {
background: var(--bg-color-purple-150);
background: var(--bg-color-purple-100);
}
}


Строка 5182: Строка 5641:
#RND.wikitable:not(:has(thead)) tr:first-of-type th {
#RND.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background: var(--bg-color-purple-100);
background: var(--bg-color-purple-50);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
box-shadow: var(--box-shadow-medium);
}
}


Строка 5190: Строка 5649:
#RND.wikitable thead + tbody > tr th:first-child {
#RND.wikitable thead + tbody > tr th:first-child {
border-left: 3px solid var(--color-darkened-border);
border-left: 3px solid var(--color-darkened-border);
}
#RND.wikitable tr td {
background: var(--bg-color-purple-subtle);
}
}


/* SUP */
/* SUP */
#SUP.wikitable {
#SUP.wikitable {
border: 1px solid var(--bg-color-brown-subtle);
border: 1px solid var(--bg-color-brown-100);
}
}


#SUP.wikitable th {
#SUP.wikitable th {
background: var(--bg-color-brown-150);
background: var(--bg-color-brown-100);
}
}


Строка 5208: Строка 5663:
#SUP.wikitable:not(:has(thead)) tr:first-of-type th {
#SUP.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background: var(--bg-color-brown-100);
background: var(--bg-color-brown-50);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
box-shadow: var(--box-shadow-medium);
}
}


Строка 5216: Строка 5671:
#SUP.wikitable thead + tbody > tr th:first-child {
#SUP.wikitable thead + tbody > tr th:first-child {
border-left: 3px solid var(--color-darkened-border);
border-left: 3px solid var(--color-darkened-border);
}
#SUP.wikitable tr td {
background: var(--bg-color-brown-subtle);
}
}


/* SEC */
/* SEC */
#SEC.wikitable {
#SEC.wikitable {
border: 1px solid var(--bg-color-red-subtle);
border: 1px solid var(--bg-color-red-100);
}
}


#SEC.wikitable th {
#SEC.wikitable th {
background: var(--bg-color-red-150);
background: var(--bg-color-red-100);
}
}


Строка 5234: Строка 5685:
#SEC.wikitable:not(:has(thead)) tr:first-of-type th {
#SEC.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background: var(--bg-color-red-100);
background: var(--bg-color-red-50);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
box-shadow: var(--box-shadow-medium);
}
}


Строка 5242: Строка 5693:
#SEC.wikitable thead + tbody > tr th:first-child {
#SEC.wikitable thead + tbody > tr th:first-child {
border-left: 3px solid var(--color-darkened-border);
border-left: 3px solid var(--color-darkened-border);
}
#SEC.wikitable tr td {
background: var(--bg-color-red-subtle);
}
}


/* BOTANY */
/* BOTANY */
#BOTANY.wikitable {
#BOTANY.wikitable {
border: 1px solid var(--bg-color-emerald-subtle);
border: 1px solid var(--bg-color-emerald-100);
}
}


#BOTANY.wikitable th {
#BOTANY.wikitable th {
background: var(--bg-color-emerald-150);
background: var(--bg-color-emerald-100);
}
}


Строка 5260: Строка 5707:
#BOTANY.wikitable:not(:has(thead)) tr:first-of-type th {
#BOTANY.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background: var(--bg-color-emerald-100);
background: var(--bg-color-emerald-50);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
box-shadow: var(--box-shadow-medium);
}
}


Строка 5268: Строка 5715:
#BOTANY.wikitable thead + tbody > tr th:first-child {
#BOTANY.wikitable thead + tbody > tr th:first-child {
border-left: 3px solid var(--color-darkened-border);
border-left: 3px solid var(--color-darkened-border);
}
#BOTANY.wikitable tr td {
background: var(--bg-color-emerald-subtle);
}
}


/* MUTATION */
/* MUTATION */
#MUTATION.wikitable {
#MUTATION.wikitable {
border: 1px solid var(--bg-color-violet-subtle);
border: 1px solid var(--bg-color-violet-100);
}
}


#MUTATION.wikitable th {
#MUTATION.wikitable th {
background: var(--bg-color-violet-150);
background: var(--bg-color-violet-100);
}
}


Строка 5286: Строка 5729:
#MUTATION.wikitable:not(:has(thead)) tr:first-of-type th {
#MUTATION.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background: var(--bg-color-violet-100);
background: var(--bg-color-violet-50);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
box-shadow: var(--box-shadow-medium);
}
}


Строка 5294: Строка 5737:
#MUTATION.wikitable thead + tbody > tr th:first-child {
#MUTATION.wikitable thead + tbody > tr th:first-child {
border-left: 3px solid var(--color-darkened-border);
border-left: 3px solid var(--color-darkened-border);
}
#MUTATION.wikitable tr td {
background: var(--bg-color-violet-subtle);
}
}


Строка 5307: Строка 5746:
background: var(--theme-bg-color-300);
background: var(--theme-bg-color-300);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
box-shadow: var(--box-shadow-medium);
}
}


Строка 5324: Строка 5763:
background: var(--theme-bg-color-300);
background: var(--theme-bg-color-300);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
box-shadow: var(--box-shadow-medium);
}
}


Строка 5335: Строка 5774:
/* Холодный цвет ячеек */
/* Холодный цвет ячеек */
#highlighted-header-cold.wikitable {
#highlighted-header-cold.wikitable {
border: 1px solid var(--bg-color-azure-subtle);
border: 1px solid var(--bg-color-azure-100);
}
}


#highlighted-header-cold.wikitable th {
#highlighted-header-cold.wikitable th {
background: var(--bg-color-azure-150);
background: var(--bg-color-azure-100);
}
}


Строка 5345: Строка 5784:
#highlighted-header-cold.wikitable:not(:has(thead)) tr:first-of-type th {
#highlighted-header-cold.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background: var(--bg-color-azure-100);
background: var(--bg-color-azure-50);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
box-shadow: var(--box-shadow-medium);
}
}


Строка 5353: Строка 5792:
#highlighted-header-cold.wikitable thead + tbody > tr th:first-child {
#highlighted-header-cold.wikitable thead + tbody > tr th:first-child {
border-left: 3px solid var(--color-darkened-border);
border-left: 3px solid var(--color-darkened-border);
}
#highlighted-header-cold.wikitable tr td {
background: var(--bg-color-azure-subtle);
}
}


Строка 5365: Строка 5800:
background: var(--theme-bg-color-300);
background: var(--theme-bg-color-300);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
box-shadow: var(--box-shadow-medium);
}
}


Строка 5374: Строка 5809:
}
}


/* Палитра для Морпехов TODO: палитра в переменных */
/* Палитра для Фоллаута */
#highlighted-header-Fallout.wikitable thead tr th,
#highlighted-header-Fallout.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background: var(--theme-bg-color-300);
    border-bottom: 3px solid var(--color-darkened-border);
    box-shadow:  var(--box-shadow-medium);
}
 
#highlighted-header-Fallout.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-Fallout.wikitable thead + tbody > tr th {
    background: var(--bg-color-orange-subtle);
    border-left: 3px solid var(--color-darkened-border);
}
 
/* Палитра для Морпехов */
#highlighted-header-CM.wikitable thead tr th,
#highlighted-header-CM.wikitable thead tr th,
#highlighted-header-CM.wikitable:not(:has(thead)) tr:first-of-type th {
#highlighted-header-CM.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background: #313d45;
background: var(--theme-bg-color-300);
border-bottom: 3px solid var(--color-darkened-border);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow:  var(--box-shadow-medium);
box-shadow:  var(--box-shadow-medium);
Строка 5385: Строка 5835:
#highlighted-header-CM.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-CM.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-CM.wikitable thead + tbody > tr th {
#highlighted-header-CM.wikitable thead + tbody > tr th {
background: #355f54;
background: var(--bg-color-pastel-turquoise-50);
border-left: 3px solid var(--color-darkened-border);
border-left: 3px solid var(--color-darkened-border);
}
}
Строка 5598: Строка 6048:
.client-js *.noscript {
.client-js *.noscript {
display: none;
display: none;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth; /* Ignore unknown property warning */
  }
}
}