MediaWiki:Common.css: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 10: | Строка 10: | ||
:root { | :root { | ||
/* Пометка: | |||
--ooui - стили для MediaWiki менюшек | |||
--theme - тема Вики (зачастую палитра цветов) | |||
-- - стили для всей Вики | |||
*/ | |||
/*========== | |||
Неизменяемая тема Вики | |||
==========*/ | |||
color-scheme: dark; | |||
--color-lighter--rgb: 255, 255, 255; | |||
--color-lighter-alpha-x: rgba(var(--theme-color-lighter--rgb), var(--alpha-x)); | |||
--color-darkened--rgb: 0, 0, 0; | |||
/*== Значение прозрачности ==*/ | |||
--alpha-x: 0.05; | |||
--alpha-xs: 0.1; | |||
--alpha-s: 0.25; | |||
--alpha-m: 0.5; | |||
--alpha-l: 0.75; | |||
--alpha: 1; | |||
/*== Цвет текста ==*/ | |||
--text-color-link: #77c1d9; | |||
--text-color-link-external: #3377aa; | |||
/*== Контрастный цвет (синий) ==*/ | |||
--color-contrast: #36c; | |||
--color-contrast2: #2d4d91; | |||
--color-contrast-dark: #152037; | |||
--color-contrast--rgb: 51, 102, 204; | |||
--color-contrast2--rgb: 45, 77, 145; | |||
--color-contrast-dark--rgb: 21, 32, 55; | |||
--bg-contrast-m--rgba: rgba(var(--color-contrast-dark--rgb), var(--alpha-m)); | |||
--bg-contrast-s--rgba: rgba(var(--color-contrast-dark--rgb), var(--alpha-s)); | |||
--bg-contrast-xs--rgba: rgba(var(--color-contrast-dark--rgb), var(--alpha-xs)); | |||
/*== Цвет фона ==*/ | |||
/* Алёрты */ | |||
--bg-message-subtle: #0e6143; | |||
--bg-success-subtle: var(--bg-message-subtle); | |||
--bg-notice-subtle: #21375f; | |||
--bg-neutral-subtle: #2b2e39; | |||
--bg-progressive-subtle: #23232f; | |||
--bg-warning-subtle: #7b6919; | |||
--bg-error-subtle: #7b1919; | |||
/*== Цвет границ ==*/ | |||
--color-darkened-border: rgba(0, 0, 0, var(--alpha-s)); | |||
--color-darkened-border-m: rgba(0, 0, 0, var(--alpha-m)); | |||
/* Алёрты */ | |||
--border-message: #13855c; | |||
--border-success: var(--border-message); | |||
--border-notice: #345695; | |||
--border-neutral: #393d4b; | |||
--border-progressive: #38384b; | |||
--border-warning: #af9a24; | |||
--border-error: #af2424; | |||
/*== Для кодо-подобных блоков ==*/ | |||
/* Цвет фона */ | |||
--bg-code: #25252b; | |||
--bg-code-light: #28282f; | |||
/* Цвет границ */ | |||
--color-code-border: #3e3e49; | |||
--color-code-border-light: #2f2f37; | |||
/*== Стиль границ ==*/ | |||
--border-outset: 1px outset rgba(0, 0, 0, 0.3); | |||
--border-outset-m: 1px outset rgba(0, 0, 0, var(--alpha-m)); | |||
/*========== | |||
Стили Вики | |||
==========*/ | |||
/*== Тени ==*/ | |||
--box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2); | |||
--box-shadow-medium: 0 2px 2px 0 rgba(0, 0, 0, 0.2); | |||
--box-shadow-high: 0 5px 5px 1px rgba(0, 0, 0, 0.2); | |||
--box-shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 -2px 4px rgba(0, 0, 0, 0.15); | |||
--box-shadow-inset-medium: inset 0 0 6px 0 rgba(0, 0, 0, 0.4); | |||
--box-shadow-inset-high: inset 0 3px 5px rgba(0,0,0,0.2), inset 0 -3px 5px rgba(0,0,0,0.2); | |||
--box-shadow-outline: 0 1px 1px 1px rgba(0, 0, 0, 0.3); | |||
/*== Закругление границ ==*/ | |||
--border-radius-low: 0.2em; | |||
/*== Иконки svg ==*/ | |||
--icon-chevron-down: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E%3Ctitle%3E down %3C/title%3E%3Cpath d=%22M9.9 2.9 6 6.8 2.1 2.9 1 4l5 5 5-5z%22/%3E%3C/svg%3E"); | |||
/*========== | |||
Палитра темы Вики | |||
==========*/ | |||
--theme-color-lighter--rgb: 221, 221, 255; | |||
--theme-color-alpha-x: rgba(var(--theme-color-lighter--rgb), var(--alpha-x)); | |||
--theme-color-darkened--rgb: 33, 33, 38; | |||
/*== Цвет текста ==*/ | |||
--theme-color-text: lightgray; | |||
--theme-color-text-light: white; | |||
--theme-color-text-dark: #72777d; | |||
/*== Цвет фона ==*/ | |||
--theme-bg: #212126; | |||
--theme-bg-light: #26262d; | |||
--theme-bg-lighter: #2c2c34; | |||
--theme-bg-dark: #1f1f24; | |||
--theme-bg--rgba: 51, 51, 63; | |||
--theme-bg-light--rgba: 61, 61, 73; | |||
/* Осветление */ | |||
--theme-bg-overlay-2: rgba(221, 221, 255, 0.02); | |||
--theme-bg-overlay-3: rgba(221, 221, 255, 0.03); | |||
/*== Цвет фона заголовков ==*/ | |||
--theme-bg-header: #33333d; | |||
--theme-bg-header-light: #34343f; | |||
--theme-bg-header-lighter: #3d3d49; | |||
--theme-bg-header-dark: #2b2b33; | |||
--theme-bg-header--gradient: linear-gradient(120deg, var(--theme-bg-header), var(--theme-bg-header-dark)); | |||
--theme-bg-header-light--gradient: linear-gradient(120deg, var(--theme-bg-header-light), var(--theme-bg-header-dark)); | |||
--theme-bg-header-light--gradient-center: linear-gradient(120deg, var(--theme-bg-header-dark) 0%, var(--theme-bg-header-light) 50%, var(--theme-bg-header-dark) 100%); | |||
/*== Цвет границ ==*/ | |||
--theme-border: #3b3b46; | |||
--theme-border-light: #464653; | |||
--theme-border-lighter: #555565; | |||
--theme-border--rgba: rgba(68, 68, 85, var(--alpha)); | |||
/*== Цвет иконок svg ==*/ | |||
--theme-icon-color: var(--theme-color-text); | |||
/*========== | |||
Палитра UI Вики | |||
==========*/ | |||
/*== Цвет фона ==*/ | |||
--ooui--bg: #27272d; | |||
--ooui--bg-light: #2a2a31; | |||
--ooui--bg-dark: #232329; | |||
--ooui--bg-darkened: #1c1c21; | |||
--ooui--bg--hover: #ddddff06; | |||
/* Градиент */ | |||
--ooui--gradient: linear-gradient(120deg, var(--ooui--bg-light), var(--ooui--bg-dark)); | |||
--ooui--gradient-light: linear-gradient(120deg, #353540, var(--ooui--bg)); | |||
/*== Цвет границ ==*/ | |||
--ooui--border: #32323b; | |||
--ooui--border-light: #35353f; | |||
--ooui--border-lighter: #474755; | |||
--ooui--border-dark: #2d2d35; | |||
} | } | ||
| Строка 185: | Строка 185: | ||
/* ШРИФТЫ */ | /* ШРИФТЫ */ | ||
@font-face { | @font-face { | ||
font-family: 'Noto Sans Light'; | |||
font-style: normal; | |||
font-weight: 100; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRPQ_m87A.woff2) format('woff2'); | |||
unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'Noto Sans Light'; | |||
font-style: normal; | |||
font-weight: 100; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRGQ_m87A.woff2) format('woff2'); | |||
unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116 | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'Noto Sans Light'; | |||
font-style: normal; | |||
font-weight: 100; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRMQ_m87A.woff2) format('woff2'); | |||
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'Noto Sans Light'; | |||
font-style: normal; | |||
font-weight: 100; | |||
font-display: swap; | |||
src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRCQ_k.woff2) format('woff2'); | |||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'Oswald'; | |||
font-style: normal; | |||
font-weight: 200 700; | |||
src: url(https://fonts.gstatic.com/s/oswald/v53/TK3iWkUHHAIjg752HT8Ghe4.woff2) format('woff2'); | |||
unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116 | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'Oswald'; | |||
font-style: normal; | |||
font-weight: 200 700; | |||
src: url(https://fonts.gstatic.com/s/oswald/v53/TK3iWkUHHAIjg752GT8G.woff2) format('woff2'); | |||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'Boxfont Round'; | |||
src: url(/assets/fonts/boxfont-round/f3507eaadc95584e7358703d74e793ea/324a92fc76117885a667ae8af2be25ab/BoxfontRoundRegular.ttf) format('truetype'); | |||
font-weight: normal; | |||
font-style: normal | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'noto sans'; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Regular.woff) format('woff') | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'noto sans'; | |||
font-style: italic; | |||
font-weight: 400; | |||
src: local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Italic.woff) format('woff') | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'noto sans'; | |||
font-style: normal; | |||
font-weight: 700; | |||
src: local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Bold.woff) format('woff') | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'noto sans'; | |||
font-style: italic; | |||
font-weight: 700; | |||
src: local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-BoldItalic.woff) format('woff') | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'Noto Sans Symbols'; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8QA_9Edkw.woff2) format('woff2'); | |||
unicode-range: U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F10C,U+1F110-1F16C,U+1F170-1F190,U+1F19B-1F1AC,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F321-1F32C,U+1F336,U+1F378,U+1F37D,U+1F393-1F39F,U+1F3A7,U+1F3AC-1F3AE,U+1F3C2,U+1F3C4,U+1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4DA,U+1F4DF,U+1F4E4-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50A,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F579,U+1F57B-1F594,U+1F597-1F5A3,U+1F5A5-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CB,U+1F6CD-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8B1,U+1F93B,U+1F946,U+1FA00-1FA6F,U+1FA70-1FA74,U+1FA78-1FA7A,U+1FA80-1FA86,U+1FA90-1FAA8,U+1FAB0-1FAB6,U+1FAC0-1FAC2,U+1FAD0-1FAD6,U+1FB00-1FBFF | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'Noto Sans Symbols'; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8QY_9Edkw.woff2) format('woff2'); | |||
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'Noto Sans Symbols'; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8Qbf9E.woff2) format('woff2'); | |||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: 'Material Symbols Outlined'; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v170/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2') | |||
} | } | ||
| Строка 306: | Строка 306: | ||
/* ТЕГИ */ | /* ТЕГИ */ | ||
cite,dfn { | cite,dfn { | ||
font-style: inherit; | |||
} | } | ||
q { | q { | ||
quotes: '«' '»' "„" "“"; | |||
} | } | ||
| Строка 316: | Строка 316: | ||
.code, | .code, | ||
.tdg-templateDataParamWidget-param-alias:first-child { | .tdg-templateDataParamWidget-param-alias:first-child { | ||
border-radius: 2px; | |||
padding: 1px 4px; | |||
background-color: var(--bg-code); | |||
border: 1px solid var(--color-code-border); | |||
color: lightgrey; | |||
font-size: 95%; | |||
} | } | ||
pre | pre { | ||
overflow: auto; | |||
white-space: pre-wrap; | |||
background: var(--bg-code-light); | |||
border: 1px solid var(--color-code-border-light); | |||
padding: 0.5em; | |||
color: lightgrey; | |||
font-family: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace; | |||
} | } | ||
blockquote { | blockquote { | ||
background: var(--theme-bg); | |||
border-left: 4px solid var(--theme-bg-light); | |||
padding: 8px 32px; | |||
overflow: hidden; | |||
box-shadow: var(--box-shadow); | |||
border-radius: var(--border-radius-low); | |||
} | } | ||
small { | small { | ||
font-size: 85% | |||
} | } | ||
li { | li { | ||
margin-top: 2px; | |||
} | } | ||
input[type="button"] { | input[type="button"] { | ||
background: var(--ooui--bg); | |||
border: 1px solid var(--ooui--border); | |||
color: lightgray; | |||
} | } | ||
/*основные изображения - пиксельные. Для остальных нужно использовать класс noSprite*/ | /*основные изображения - пиксельные. Для остальных нужно использовать класс noSprite*/ | ||
img { | img { | ||
image-rendering: pixelated; | |||
} | } | ||
/*Для непиксельных изображений*/ | /*Для непиксельных изображений*/ | ||
.noSprite>*>* { | .noSprite>*>* { | ||
image-rendering: auto !important; | |||
} | } | ||
| Строка 371: | Строка 373: | ||
/* Основной блок */ | /* Основной блок */ | ||
#mw-site-navigation .sidebar-chunk, #mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk, body.skin--responsive .portlet, body.skin--responsive .pBody { | #mw-site-navigation .sidebar-chunk, #mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk, body.skin--responsive .portlet, body.skin--responsive .pBody { | ||
margin: 1.5em 0; | |||
padding: 0; | |||
border: 0; | |||
border-radius: 0; | |||
background: none; | |||
} | } | ||
/* Блок навигации */ | /* Блок навигации */ | ||
@media (min-width: 1100px) { | @media (min-width: 1100px) { | ||
#mw-related-navigation { | |||
margin-top: 0; | |||
} | |||
} | } | ||
/* Блоки */ | /* Блоки */ | ||
@media (min-width: 1100px) { | @media (min-width: 1100px) { | ||
.sidebar-inner .mw-portlet { | |||
padding: 0; | |||
margin: 0.5em 8px 2px 6px !important; | |||
border-radius: 0.2em; | |||
box-shadow: var(--box-shadow); | |||
} | |||
} | } | ||
@media screen and (min-width: 1340px) { | @media screen and (min-width: 1340px) { | ||
#mw-site-navigation .sidebar-chunk .mw-portlet > div, #mw-site-navigation .sidebar-chunk .mw-portlet-body { | |||
margin-bottom: 1em; | |||
} | |||
} | } | ||
@media screen and (min-width: 1100px) and (max-width: 1339px) { | @media screen and (min-width: 1100px) and (max-width: 1339px) { | ||
#mw-site-navigation .sidebar-chunk .mw-portlet > div, #mw-related-navigation .sidebar-chunk .mw-portlet > div, #mw-site-navigation .sidebar-chunk .mw-portlet-body, #mw-related-navigation .sidebar-chunk .mw-portlet-body { | |||
margin-bottom: 1em; | |||
} | |||
} | } | ||
/* Заголовок */ | /* Заголовок */ | ||
@media (min-width: 1100px) { | @media (min-width: 1100px) { | ||
#mw-site-navigation .sidebar-chunk h3, | |||
#mw-related-navigation .sidebar-chunk h3 { | |||
margin: 0; | |||
padding: calc(0.4em + 2px); | |||
border-top: 2px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x)); | |||
border-bottom: 2px solid var(--color-darkened-border); | |||
border-radius: var(--border-radius-low) var(--border-radius-low) 0 0; | |||
background-color: var(--ooui--bg-light); | |||
font-size: 1.05em; | |||
font-weight: bold; | |||
} | |||
} | } | ||
/* Содержание */ | /* Содержание */ | ||
@media (min-width: 1100px) { | @media (min-width: 1100px) { | ||
#mw-site-navigation .sidebar-chunk .mw-portlet-body, | |||
#mw-related-navigation .sidebar-chunk .mw-portlet-body { | |||
margin: 0; | |||
padding: 0.3em 0.5em; | |||
border: 2px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x)); | |||
border-top: 0; | |||
border-radius: 0 0 var(--border-radius-low) var(--border-radius-low); | |||
background-color: var(--theme-bg-dark); | |||
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 -2px 4px rgba(0, 0, 0, 0.15); | |||
} | |||
} | } | ||
/* Для телефонов */ | /* Для телефонов */ | ||
@media screen and (max-width: 850px) { | @media screen and (max-width: 850px) { | ||
.sidebar-inner, .dropdown { | |||
padding: 1em 2em; | |||
background: var(--ooui--bg); | |||
border-color: var(--ooui--border); | |||
} | |||
} | } | ||
@media screen and (max-width: 850px) { | @media screen and (max-width: 850px) { | ||
#mw-content-block { | |||
background: var(--theme-bg); | |||
} | |||
} | } | ||
| Строка 456: | Строка 458: | ||
/* При нажатии */ | /* При нажатии */ | ||
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:checked:focus + span, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:indeterminate:focus + span { | .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:checked:focus + span, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:indeterminate:focus + span { | ||
box-shadow: none; | |||
} | } | ||
/* В фокусе */ | /* В фокусе */ | ||
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:focus + span { | .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:focus + span { | ||
box-shadow: none; | |||
} | } | ||
| Строка 469: | Строка 471: | ||
/* Основной блок */ | /* Основной блок */ | ||
.ace_search { | .ace_search { | ||
background-color: var(--theme-bg); | |||
color: var(--theme-color-text); | |||
border-color: var(--ooui--border-light); | |||
padding: 6px 4px 2px 4px; | |||
} | } | ||
.ace_search_form.ace_nomatch { | .ace_search_form.ace_nomatch { | ||
outline: 1px solid #922626 | |||
} | } | ||
/* Поисковик */ | /* Поисковик */ | ||
.ace_search_field { | .ace_search_field { | ||
background-color: var(--ooui--bg); | |||
border-color: var(--ooui--border-light); | |||
color: var(--theme-color-text); | |||
margin: 0 2px 0 0 !important; | |||
} | } | ||
/* Кнопки основного поисковика */ | /* Кнопки основного поисковика */ | ||
.ace_searchbtn { | .ace_searchbtn { | ||
border-color: var(--ooui--border-light); | |||
background: var(--ooui--bg); | |||
color: var(--theme-color-text); | |||
} | } | ||
.ace_searchbtn:last-child { | .ace_searchbtn:last-child { | ||
border-color: var(--ooui--border-light); | |||
} | } | ||
.ace_searchbtn.prev:after { | .ace_searchbtn.prev:after { | ||
border-color: var(--theme-color-text); | |||
} | } | ||
.ace_searchbtn.next:after { | .ace_searchbtn.next:after { | ||
border-color: var(--theme-color-text); | |||
} | } | ||
.ace_searchbtn_close:hover { | .ace_searchbtn_close:hover { | ||
background-color: var(--color-contrast2); | |||
} | } | ||
/* Чекбоксы режимов поиска */ | /* Чекбоксы режимов поиска */ | ||
.ace_button { | .ace_button { | ||
border-color: var(--ooui--border-light); | |||
color: var(--theme-color-text); | |||
background-color: var(--ooui--bg); | |||
} | } | ||
/* Активированный */ | /* Активированный */ | ||
.ace_button.checked { | .ace_button.checked { | ||
background-color: var(--color-contrast2); | |||
border-color: var(--color-contrast); | |||
color: var(--theme-color-text-light); | |||
} | } | ||
| Строка 528: | Строка 530: | ||
==========*/ | ==========*/ | ||
.ace_editor.ace_autocomplete { | .ace_editor.ace_autocomplete { | ||
background: var(--ooui--bg-dark); | |||
border-color: var(--ooui--border); | |||
color: lightgrey; | |||
} | } | ||
.ace_editor.ace_autocomplete .ace_line-hover { | .ace_editor.ace_autocomplete .ace_line-hover { | ||
border-color: var(--color-contrast); | |||
background: var(--color-contrast2); | |||
} | } | ||
| Строка 544: | Строка 546: | ||
/* Кнопка вверх [[Файл:AnomalyElectricityPulse.png]] */ | /* Кнопка вверх [[Файл:AnomalyElectricityPulse.png]] */ | ||
#scroll-top { | #scroll-top { | ||
display: none; | |||
background: url(https://station14.ru/images/0/00/AnomalyElectricityPulse.png) 0% 0%/57px 57px no-repeat; | |||
opacity: 0.5; | |||
width: 57px; | |||
height: 57px; | |||
cursor: pointer; | |||
position: fixed; | |||
right: calc(0.95em + 6px); | |||
bottom: 30px; | |||
z-index: 10000; | |||
image-rendering: pixelated; | |||
} | } | ||
#scroll-top:hover { | #scroll-top:hover { | ||
opacity: 0.8; | |||
} | } | ||
@media screen and (max-width: 850px) { | @media screen and (max-width: 850px) { | ||
#scroll-top { | |||
transform: translate(-50%, -50%); | |||
left: 50%; | |||
right: 50%; | |||
bottom: 15px; | |||
opacity: 0.3; | |||
} | |||
} | } | ||
/* Необходим для использования fonts.google.com/icons */ | /* Необходим для использования fonts.google.com/icons */ | ||
.material-symbols-outlined { | .material-symbols-outlined { | ||
font-family: 'Material Symbols Outlined'; | |||
font-weight: normal; | |||
font-style: normal; | |||
font-size: 24px; | |||
line-height: 1; | |||
letter-spacing: normal; | |||
text-transform: none; | |||
display: inline-block; | |||
white-space: nowrap; | |||
word-wrap: normal; | |||
direction: ltr; | |||
-webkit-font-feature-settings: 'liga'; | |||
-webkit-font-smoothing: antialiased | |||
} | } | ||
.tools-inline li:hover { | .tools-inline li:hover { | ||
border-bottom-width: 2px; | |||
} | } | ||
.tools-inline li.selected { | .tools-inline li.selected { | ||
background: transparent !important; | |||
border-bottom-width: 2px; | |||
} | } | ||
#mw-indicator-mw-helplink a { | #mw-indicator-mw-helplink a { | ||
background-image: none; | |||
} | } | ||
.mw-body-content sub,.mw-body-content sup,span.reference { | .mw-body-content sub,.mw-body-content sup,span.reference { | ||
font-size: 80% | |||
} | } | ||
.ns-talk .mw-body-content dd { | .ns-talk .mw-body-content dd { | ||
margin-top: 0.4em; | |||
margin-bottom: 0.4em | |||
} | } | ||
#interwiki-completelist { | #interwiki-completelist { | ||
font-weight: bold | |||
} | } | ||
.biglink { | .biglink { | ||
font-family: "Oswald"; | |||
font-style: oblique 10deg; | |||
font-variant-caps: small-caps; | |||
text-shadow: #1b1b1f 1px 2px,#595959dd 2px 2px 1px | |||
} | } | ||
.client-js .mw-special-Watchlist #watchlist-message,.client-js .collapsible:not(.mw-made-collapsible).collapsed>tbody>tr:not(:first-child),#editpage-specialchars { | .client-js .mw-special-Watchlist #watchlist-message,.client-js .collapsible:not(.mw-made-collapsible).collapsed>tbody>tr:not(:first-child),#editpage-specialchars { | ||
display: none | |||
} | } | ||
.mw-rcfilters-enabled .mw-specialpage-summary { | .mw-rcfilters-enabled .mw-specialpage-summary { | ||
margin-top: 1em | |||
} | } | ||
.citation:target { | .citation:target { | ||
background-color: rgba(0, 127, 255, 0.133) | |||
} | } | ||
.citation { | .citation { | ||
word-wrap: break-word | |||
} | } | ||
ol.references { | ol.references { | ||
font-size: 90%; | |||
margin-bottom: 0.5em | |||
} | } | ||
.hlist dl,.hlist ol,.hlist ul { | .hlist dl,.hlist ol,.hlist ul { | ||
margin: 0; | |||
padding: 0 | |||
} | } | ||
.hlist dd,.hlist dt,.hlist li { | .hlist dd,.hlist dt,.hlist li { | ||
margin: 0; | |||
display: inline | |||
} | } | ||
.hlist.inline,.hlist.inline dl,.hlist.inline ol,.hlist.inline ul,.hlist dl dl,.hlist dl ol,.hlist dl ul,.hlist ol dl,.hlist ol ol,.hlist ol ul,.hlist ul dl,.hlist ul ol,.hlist ul ul { | .hlist.inline,.hlist.inline dl,.hlist.inline ol,.hlist.inline ul,.hlist dl dl,.hlist dl ol,.hlist dl ul,.hlist ol dl,.hlist ol ol,.hlist ol ul,.hlist ul dl,.hlist ul ol,.hlist ul ul { | ||
display: inline | |||
} | } | ||
.hlist .mw-empty-li { | .hlist .mw-empty-li { | ||
display: none | |||
} | } | ||
.hlist dt:after { | .hlist dt:after { | ||
content: ":" | |||
} | } | ||
.hlist dd:after,.hlist li:after { | .hlist dd:after,.hlist li:after { | ||
content: " · "; | |||
font-weight: bold | |||
} | } | ||
.hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after { | .hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after { | ||
content: none | |||
} | } | ||
.hlist dd dd:first-child:before,.hlist dd dt:first-child:before,.hlist dd li:first-child:before,.hlist dt dd:first-child:before,.hlist dt dt:first-child:before,.hlist dt li:first-child:before,.hlist li dd:first-child:before,.hlist li dt:first-child:before,.hlist li li:first-child:before { | .hlist dd dd:first-child:before,.hlist dd dt:first-child:before,.hlist dd li:first-child:before,.hlist dt dd:first-child:before,.hlist dt dt:first-child:before,.hlist dt li:first-child:before,.hlist li dd:first-child:before,.hlist li dt:first-child:before,.hlist li li:first-child:before { | ||
content: " ("; | |||
font-weight: normal | |||
} | } | ||
.hlist dd dd:last-child:after,.hlist dd dt:last-child:after,.hlist dd li:last-child:after,.hlist dt dd:last-child:after,.hlist dt dt:last-child:after,.hlist dt li:last-child:after,.hlist li dd:last-child:after,.hlist li dt:last-child:after,.hlist li li:last-child:after { | .hlist dd dd:last-child:after,.hlist dd dt:last-child:after,.hlist dd li:last-child:after,.hlist dt dd:last-child:after,.hlist dt dt:last-child:after,.hlist dt li:last-child:after,.hlist li dd:last-child:after,.hlist li dt:last-child:after,.hlist li li:last-child:after { | ||
content: ")"; | |||
font-weight: normal | |||
} | } | ||
.hlist ol { | .hlist ol { | ||
counter-reset: listitem | |||
} | } | ||
.hlist ol>li { | .hlist ol>li { | ||
counter-increment: listitem | |||
} | } | ||
.hlist ol>li:before { | .hlist ol>li:before { | ||
content: " " counter(listitem) "\a0" | |||
} | } | ||
.hlist dd ol>li:first-child:before,.hlist dt ol>li:first-child:before,.hlist li ol>li:first-child:before { | .hlist dd ol>li:first-child:before,.hlist dt ol>li:first-child:before,.hlist li ol>li:first-child:before { | ||
content: " (" counter(listitem) "\a0" | |||
} | } | ||
.plainlist ol,.plainlist ul { | .plainlist ol,.plainlist ul { | ||
line-height: inherit; | |||
list-style: none none; | |||
margin: 0 | |||
} | } | ||
.plainlist ol li,.plainlist ul li { | .plainlist ol li,.plainlist ul li { | ||
margin-bottom: 0 | |||
} | } | ||
| Строка 712: | Строка 714: | ||
/* Default style for navigation boxes */ | /* Default style for navigation boxes */ | ||
.navbox { | .navbox { /* Navbox container style */ | ||
box-sizing: border-box; | |||
border: 1px solid var(--theme-border); | |||
width: 100%; | |||
margin: 2em auto 0; /* Prevent preceding content from clinging to navboxes */ | |||
clear: both; | |||
font-size: 90%; | |||
text-align: center; | |||
padding: 3px; | |||
} | } | ||
.navbox-inner, | .navbox-inner, | ||
.navbox-subgroup { | .navbox-subgroup { | ||
width: 100%; | |||
} | } | ||
.navbox-group, | .navbox-group, | ||
.navbox-title, | .navbox-title, | ||
.navbox-abovebelow { | .navbox-abovebelow { | ||
padding: 0.25em 1em; /* Title, group and above/below styles */ | |||
text-align: center; | |||
} | } | ||
.navbox-title { | .navbox-title { | ||
line-height: 1.6em; /* Standard 1.6em for title */ | |||
border-bottom: 2px solid var(--color-darkened-border); | |||
border-radius: var(--border-radius-low); | |||
border-top: 1px solid rgba(var(--color-lighter--rgb), 0.07); | |||
border-bottom: 2px solid var(--color-darkened-border); | |||
} | } | ||
| Строка 744: | Строка 746: | ||
tr + tr > .navbox-group, | tr + tr > .navbox-group, | ||
tr + tr > .navbox-image, | tr + tr > .navbox-image, | ||
tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */ | tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */ | ||
border-top: 1px solid var(--theme-bg); /* Must match background color */ | |||
border-bottom: 1px solid var(--theme-bg); | |||
} | } | ||
th.navbox-group { | th.navbox-group { /* Group style */ | ||
white-space: nowrap; | |||
/* @noflip */ | |||
text-align: right; | |||
} | } | ||
.navbox, | .navbox, | ||
.navbox-subgroup { | .navbox-subgroup { | ||
background: var(--theme-bg); /* Background color */ | |||
} | } | ||
.navbox-list { | .navbox-list { | ||
border-color: var(--theme-bg); /* Must match background color */ | |||
} | } | ||
.navbox th, | .navbox th, | ||
.navbox-title { | .navbox-title { | ||
background: var(--theme-bg-lighter); /* Level 1 color */ | |||
} | } | ||
.navbox-abovebelow, | .navbox-abovebelow, | ||
th.navbox-group, | th.navbox-group, | ||
.navbox-subgroup .navbox-title { | .navbox-subgroup .navbox-title { | ||
background: var(--theme-bg-lighter); /* Level 2 color */ | |||
} | } | ||
.navbox-subgroup .navbox-group, | .navbox-subgroup .navbox-group, | ||
.navbox-subgroup .navbox-abovebelow { | .navbox-subgroup .navbox-abovebelow { | ||
background: var(--theme-bg-light); /* Level 3 color */ | |||
} | } | ||
.navbox-even { | .navbox-even { | ||
background: transparent; /* Even row striping */ | |||
border-top: 1px solid var(--theme-bg-lighter) !important; | |||
border-bottom: 1px solid var(--theme-bg-lighter) !important; | |||
} | } | ||
.navbox-odd { | .navbox-odd { | ||
background: transparent; /* Odd row striping */ | |||
} | } | ||
| Строка 789: | Строка 791: | ||
.navbox td.hlist ol, | .navbox td.hlist ol, | ||
.navbox td.hlist ul { | .navbox td.hlist ul { | ||
padding: 1px 0 0; /* Adjust hlist padding in navboxes */ | |||
} | } | ||
.navbox .navbox { | .navbox .navbox { | ||
margin-top: 0; /* No top margin for nested navboxes */ | |||
} | } | ||
.navbox + .navbox { | .navbox + .navbox { | ||
margin-top: -1px; /* Single pixel border between adjacent navboxes */ | |||
} | } | ||
.navbox td:not(:has(table)), .navbox ul { | .navbox td:not(:has(table)), .navbox ul { | ||
padding: 4px 2px !important; | |||
} | } | ||
| Строка 805: | Строка 807: | ||
.mw-parser-output .mw-collapsible-toggle { | .mw-parser-output .mw-collapsible-toggle { | ||
position: relative; | |||
font-weight: normal; | |||
text-align: right; | |||
top: 0; | |||
right: 0; | |||
} | } | ||
.mw-collapsible-leftside-toggle .mw-collapsible-toggle { | .mw-collapsible-leftside-toggle .mw-collapsible-toggle { | ||
float: left; | |||
text-align: left | |||
} | } | ||
.mw-collapsible-toggle-default .mw-collapsible-text { | .mw-collapsible-toggle-default .mw-collapsible-text { | ||
color: var(--text-color-link); | |||
} | } | ||
.mw-collapsible-toggle-default .mw-collapsible-text:hover { | .mw-collapsible-toggle-default .mw-collapsible-text:hover { | ||
color: var(--text-color-link); | |||
} | } | ||
.mw-collapsible-toggle-default .mw-collapsible-text:active { | .mw-collapsible-toggle-default .mw-collapsible-text:active { | ||
color: var(--text-color-link); | |||
} | } | ||
.infobox { | .infobox { | ||
border: 1px solid #a2a9b1; | |||
border-spacing: 3px; | |||
background-color: #f8f9fa; | |||
color: black; | |||
margin: 0.5em 0 0.5em 1em; | |||
padding: 0.2em; | |||
float: right; | |||
clear: right; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
width: 22em | |||
} | } | ||
.infobox-header,.infobox-label,.infobox-above,.infobox-full-data,.infobox-data,.infobox-below,.infobox-subheader,.infobox-image,.infobox-navbar,.infobox th,.infobox td { | .infobox-header,.infobox-label,.infobox-above,.infobox-full-data,.infobox-data,.infobox-below,.infobox-subheader,.infobox-image,.infobox-navbar,.infobox th,.infobox td { | ||
vertical-align: top | |||
} | } | ||
.infobox-label,.infobox-data,.infobox th,.infobox td { | .infobox-label,.infobox-data,.infobox th,.infobox td { | ||
text-align: left | |||
} | } | ||
.infobox .infobox-above,.infobox .infobox-title,.infobox caption { | .infobox .infobox-above,.infobox .infobox-title,.infobox caption { | ||
font-size: 125%; | |||
font-weight: bold; | |||
text-align: center | |||
} | } | ||
.infobox-title,.infobox caption { | .infobox-title,.infobox caption { | ||
padding: 0.2em | |||
} | } | ||
.infobox .infobox-header,.infobox .infobox-subheader,.infobox .infobox-image,.infobox .infobox-full-data,.infobox .infobox-below { | .infobox .infobox-header,.infobox .infobox-subheader,.infobox .infobox-image,.infobox .infobox-full-data,.infobox .infobox-below { | ||
text-align: center | |||
} | } | ||
.infobox .infobox-navbar { | .infobox .infobox-navbar { | ||
text-align: right | |||
} | } | ||
.wikitable.plainrowheaders th[scope=row] { | .wikitable.plainrowheaders th[scope=row] { | ||
font-weight: normal; | |||
text-align: left | |||
} | } | ||
.wikitable td ul,.wikitable td ol,.wikitable td dl { | .wikitable td ul,.wikitable td ol,.wikitable td dl { | ||
text-align: left | |||
} | } | ||
table.mw-hiero-table td { | table.mw-hiero-table td { | ||
vertical-align: middle | |||
} | } | ||
.mw-parser-output a[href$=".pdf"].external,.mw-parser-output a[href*=".pdf?"].external,.mw-parser-output a[href*=".pdf#"].external,.mw-parser-output a[href$=".PDF"].external,.mw-parser-output a[href*=".PDF?"].external,.mw-parser-output a[href*=".PDF#"].external { | .mw-parser-output a[href$=".pdf"].external,.mw-parser-output a[href*=".pdf?"].external,.mw-parser-output a[href*=".pdf#"].external,.mw-parser-output a[href$=".PDF"].external,.mw-parser-output a[href*=".PDF?"].external,.mw-parser-output a[href*=".PDF#"].external { | ||
background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) no-repeat right; | |||
padding-right: 18px | |||
} | } | ||
hr { | hr { | ||
border-bottom-width: 0px; | |||
border-color: var(--theme-border-lighter); | |||
} | } | ||
.messagebox { | .messagebox { | ||
border: 1px solid #a2a9b1; | |||
background-color: #f8f9fa; | |||
width: 80%; | |||
margin: 0 auto 1em auto; | |||
padding: .2em | |||
} | } | ||
.messagebox.merge { | .messagebox.merge { | ||
border: 1px solid #c0b8cc; | |||
background-color: #f0e5ff; | |||
text-align: center | |||
} | } | ||
.messagebox.cleanup { | .messagebox.cleanup { | ||
border: 1px solid #9f9fff; | |||
background-color: #efefff; | |||
text-align: center | |||
} | } | ||
.messagebox.standard-talk { | .messagebox.standard-talk { | ||
border: 1px solid #c0c090; | |||
background-color: #f8eaba; | |||
margin: 4px auto | |||
} | } | ||
.mbox-inside .standard-talk { | .mbox-inside .standard-talk { | ||
border: 1px solid #c0c090; | |||
background-color: #f8eaba; | |||
width: 100%; | |||
margin: 2px 0; | |||
padding: 2px | |||
} | } | ||
.messagebox.small { | .messagebox.small { | ||
width: 238px; | |||
font-size: 85%; | |||
float: right; | |||
clear: both; | |||
margin: 0 0 1em 1em; | |||
line-height: 1.25em | |||
} | } | ||
.messagebox.small-talk { | .messagebox.small-talk { | ||
width: 238px; | |||
font-size: 85%; | |||
float: right; | |||
clear: both; | |||
margin: 0 0 1em 1em; | |||
line-height: 1.25em; | |||
background-color: #f8eaba | |||
} | } | ||
th.mbox-text,td.mbox-text { | th.mbox-text,td.mbox-text { | ||
border: none; | |||
padding: 0.25em 0.9em; | |||
width: 100% | |||
} | } | ||
td.mbox-image { | td.mbox-image { | ||
border: none; | |||
padding: 2px 0 2px 0.9em; | |||
text-align: center | |||
} | } | ||
td.mbox-imageright { | td.mbox-imageright { | ||
border: none; | |||
padding: 2px 0.9em 2px 0; | |||
text-align: center | |||
} | } | ||
td.mbox-empty-cell { | td.mbox-empty-cell { | ||
border: none; | |||
padding: 0; | |||
width: 1px | |||
} | } | ||
table.ambox { | table.ambox { | ||
margin: 0 10%; | |||
border: 1px solid #a2a9b1; | |||
border-left: 10px solid var(--color-contrast); | |||
background-color: #fbfbfb; | |||
box-sizing: border-box | |||
} | } | ||
table.ambox+table.ambox,table.ambox+.mw-empty-elt+table.ambox { | table.ambox+table.ambox,table.ambox+.mw-empty-elt+table.ambox { | ||
margin-top: -1px | |||
} | } | ||
.ambox th.mbox-text,.ambox td.mbox-text { | .ambox th.mbox-text,.ambox td.mbox-text { | ||
padding: 0.25em 0.5em | |||
} | } | ||
.ambox td.mbox-image { | .ambox td.mbox-image { | ||
padding: 2px 0 2px 0.5em | |||
} | } | ||
.ambox td.mbox-imageright { | .ambox td.mbox-imageright { | ||
padding: 2px 0.5em 2px 0 | |||
} | } | ||
table.ambox-notice { | table.ambox-notice { | ||
border-left: 10px solid var(--color-contrast); | |||
} | } | ||
table.ambox-speedy { | table.ambox-speedy { | ||
border-left: 10px solid #b32424; | |||
background-color: #fee7e6 | |||
} | } | ||
table.ambox-delete { | table.ambox-delete { | ||
border-left: 10px solid #b32424 | |||
} | } | ||
table.ambox-content { | table.ambox-content { | ||
border-left: 10px solid #f28500 | |||
} | } | ||
table.ambox-style { | table.ambox-style { | ||
border-left: 10px solid #fc3 | |||
} | } | ||
table.ambox-move { | table.ambox-move { | ||
border-left: 10px solid #9932cc | |||
} | } | ||
table.ambox-protection { | table.ambox-protection { | ||
border-left: 10px solid #a2a9b1 | |||
} | } | ||
table.imbox { | table.imbox { | ||
margin: 4px 10%; | |||
border-collapse: collapse; | |||
border: 3px solid var(--color-contrast); | |||
background-color: #fbfbfb; | |||
box-sizing: border-box | |||
} | } | ||
.imbox .mbox-text .imbox { | .imbox .mbox-text .imbox { | ||
margin: 0 -0.5em; | |||
display: block | |||
} | } | ||
.mbox-inside .imbox { | .mbox-inside .imbox { | ||
margin: 4px | |||
} | } | ||
table.imbox-notice { | table.imbox-notice { | ||
border: 3px solid var(--color-contrast); | |||
} | } | ||
table.imbox-speedy { | table.imbox-speedy { | ||
border: 3px solid #b32424; | |||
background-color: #fee7e6 | |||
} | } | ||
table.imbox-delete { | table.imbox-delete { | ||
border: 3px solid #b32424 | |||
} | } | ||
table.imbox-content { | table.imbox-content { | ||
border: 3px solid #f28500 | |||
} | } | ||
table.imbox-style { | table.imbox-style { | ||
border: 3px solid #fc3 | |||
} | } | ||
table.imbox-move { | table.imbox-move { | ||
border: 3px solid #9932cc | |||
} | } | ||
table.imbox-protection { | table.imbox-protection { | ||
border: 3px solid #a2a9b1 | |||
} | } | ||
table.imbox-license { | table.imbox-license { | ||
border: 3px solid #88a; | |||
background-color: #f7f8ff | |||
} | } | ||
table.imbox-featured { | table.imbox-featured { | ||
border: 3px solid #cba135 | |||
} | } | ||
table.cmbox { | table.cmbox { | ||
margin: 3px 10%; | |||
border-collapse: collapse; | |||
border: 1px solid #a2a9b1; | |||
background-color: #dfe8ff; | |||
box-sizing: border-box | |||
} | } | ||
table.cmbox-notice { | table.cmbox-notice { | ||
background-color: #d8e8ff | |||
} | } | ||
table.cmbox-speedy { | table.cmbox-speedy { | ||
margin-top: 4px; | |||
margin-bottom: 4px; | |||
border: 4px solid #b32424; | |||
background-color: #ffdbdb | |||
} | } | ||
table.cmbox-delete { | table.cmbox-delete { | ||
background-color: #ffdbdb | |||
} | } | ||
table.cmbox-content { | table.cmbox-content { | ||
background-color: #ffe7ce | |||
} | } | ||
table.cmbox-style { | table.cmbox-style { | ||
background-color: #fff9db | |||
} | } | ||
table.cmbox-move { | table.cmbox-move { | ||
background-color: #e4d8ff | |||
} | } | ||
table.cmbox-protection { | table.cmbox-protection { | ||
background-color: #efefe1 | |||
} | } | ||
table.ombox { | table.ombox { | ||
margin: 4px 10%; | |||
border-collapse: collapse; | |||
border: 1px solid #a2a9b1; | |||
background-color: #f8f9fa; | |||
box-sizing: border-box | |||
} | } | ||
table.ombox-notice { | table.ombox-notice { | ||
border: 1px solid #a2a9b1 | |||
} | } | ||
table.ombox-speedy { | table.ombox-speedy { | ||
border: 2px solid #b32424; | |||
background-color: #fee7e6 | |||
} | } | ||
table.ombox-delete { | table.ombox-delete { | ||
border: 2px solid #b32424 | |||
} | } | ||
table.ombox-content { | table.ombox-content { | ||
border: 1px solid #f28500 | |||
} | } | ||
table.ombox-style { | table.ombox-style { | ||
border: 1px solid #fc3 | |||
} | } | ||
table.ombox-move { | table.ombox-move { | ||
border: 1px solid #9932cc | |||
} | } | ||
table.ombox-protection { | table.ombox-protection { | ||
border: 2px solid #a2a9b1 | |||
} | } | ||
table.tmbox { | table.tmbox { | ||
margin: 4px 10%; | |||
border-collapse: collapse; | |||
border: 1px solid #c0c090; | |||
background-color: #f8eaba; | |||
min-width: 80%; | |||
box-sizing: border-box | |||
} | } | ||
.tmbox.mbox-small { | .tmbox.mbox-small { | ||
min-width: 0 | |||
} | } | ||
.mediawiki .mbox-inside .tmbox { | .mediawiki .mbox-inside .tmbox { | ||
margin: 2px 0; | |||
width: 100% | |||
} | } | ||
.mbox-inside .tmbox.mbox-small { | .mbox-inside .tmbox.mbox-small { | ||
line-height: 1.5em; | |||
font-size: 100% | |||
} | } | ||
table.tmbox-speedy { | table.tmbox-speedy { | ||
border: 2px solid #b32424; | |||
background-color: #fee7e6 | |||
} | } | ||
table.tmbox-delete { | table.tmbox-delete { | ||
border: 2px solid #b32424 | |||
} | } | ||
table.tmbox-content { | table.tmbox-content { | ||
border: 2px solid #f28500 | |||
} | } | ||
table.tmbox-style { | table.tmbox-style { | ||
border: 2px solid #fc3 | |||
} | } | ||
table.tmbox-move { | table.tmbox-move { | ||
border: 2px solid #9932cc | |||
} | } | ||
table.tmbox-protection,table.tmbox-notice { | table.tmbox-protection,table.tmbox-notice { | ||
border: 1px solid #c0c090 | |||
} | } | ||
table.fmbox { | table.fmbox { | ||
clear: both; | |||
margin: 0.2em 0; | |||
width: 100%; | |||
border: 1px solid #a2a9b1; | |||
background-color: #f8f9fa; | |||
box-sizing: border-box | |||
} | } | ||
table.fmbox-system { | table.fmbox-system { | ||
background-color: #191970 | |||
} | } | ||
table.fmbox-warning { | table.fmbox-warning { | ||
border: 1px solid #bb7070; | |||
background-color: #ffdbdb | |||
} | } | ||
table.fmbox-editnotice { | table.fmbox-editnotice { | ||
background-color: transparent | |||
} | } | ||
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 { | ||
clear: both; | |||
margin: 0.2em 0; | |||
border: 1px solid #bb7070; | |||
background-color: #ffdbdb; | |||
padding: 0.25em 0.9em; | |||
box-sizing: border-box | |||
} | } | ||
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt { | .mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt { | ||
border-color: #fc3; | |||
background-color: #fef6e7 | |||
} | } | ||
html body.mediawiki .mbox-small { | html body.mediawiki .mbox-small { | ||
clear: right; | |||
float: right; | |||
margin: 4px 0 4px 1em; | |||
box-sizing: border-box; | |||
width: 238px; | |||
font-size: 88%; | |||
line-height: 1.25em | |||
} | } | ||
html body.mediawiki .mbox-small-left { | html body.mediawiki .mbox-small-left { | ||
margin: 4px 1em 4px 0; | |||
box-sizing: border-box; | |||
overflow: hidden; | |||
width: 238px; | |||
border-collapse: collapse; | |||
font-size: 88%; | |||
line-height: 1.25em | |||
} | } | ||
.compact-ambox table .mbox-image,.compact-ambox table .mbox-imageright,.compact-ambox table .mbox-empty-cell { | .compact-ambox table .mbox-image,.compact-ambox table .mbox-imageright,.compact-ambox table .mbox-empty-cell { | ||
display: none | |||
} | } | ||
.compact-ambox table.ambox { | .compact-ambox table.ambox { | ||
border: none; | |||
border-collapse: collapse; | |||
background-color: transparent; | |||
margin: 0 0 0 1.6em !important; | |||
padding: 0 !important; | |||
width: auto; | |||
display: block | |||
} | } | ||
body.mediawiki .compact-ambox table.mbox-small-left { | body.mediawiki .compact-ambox table.mbox-small-left { | ||
font-size: 100%; | |||
width: auto; | |||
margin: 0 | |||
} | } | ||
.compact-ambox table .mbox-text { | .compact-ambox table .mbox-text { | ||
padding: 0 !important; | |||
margin: 0 !important | |||
} | } | ||
.compact-ambox table .mbox-text-span { | .compact-ambox table .mbox-text-span { | ||
display: list-item; | |||
line-height: 1.5em; | |||
list-style-type: square; | |||
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg) | |||
} | } | ||
.compact-ambox .hide-when-compact { | .compact-ambox .hide-when-compact { | ||
display: none | |||
} | } | ||
.nounderlines a,.IPA a:link,.IPA a:visited { | .nounderlines a,.IPA a:link,.IPA a:visited { | ||
text-decoration: none !important | |||
} | } | ||
.nowrap,.nowraplinks a { | .nowrap,.nowraplinks a { | ||
white-space: nowrap | |||
} | } | ||
.wrap,.wraplinks a { | .wrap,.wraplinks a { | ||
white-space: normal | |||
} | } | ||
#wpUploadDescription { | #wpUploadDescription { | ||
height: 13em | |||
} | } | ||
.thumbinner { | .thumbinner { | ||
min-width: 100px; | |||
background: #303037; | |||
border: solid var(--ooui--border) | |||
} | } | ||
.thumbinner .thumbimage,.thumbborder { | .thumbinner .thumbimage,.thumbborder { | ||
border: solid 1px var(--ooui--border) | |||
} | } | ||
#mw-subcategories,#mw-pages,#mw-category-media,#filehistory,#wikiPreview,#wikiDiff { | #mw-subcategories,#mw-pages,#mw-category-media,#filehistory,#wikiPreview,#wikiDiff { | ||
clear: both | |||
} | } | ||
.wpb .wpb-header { | .wpb .wpb-header { | ||
display: none | |||
} | } | ||
.wpbs-inner .wpb .wpb-header { | .wpbs-inner .wpb .wpb-header { | ||
display: table-row | |||
} | } | ||
.wpbs-inner .wpb-outside { | .wpbs-inner .wpb-outside { | ||
display: none | |||
} | } | ||
.mw-tag-markers { | .mw-tag-markers { | ||
font-style: italic; | |||
font-size: 90% | |||
} | } | ||
.checkuser-show,.sysop-show,.abusefilter-show,.abusefilter-helper-show,.patroller-show,.templateeditor-show,.extendedmover-show,.extendedconfirmed-show,.autoconfirmed-show,.user-show { | .checkuser-show,.sysop-show,.abusefilter-show,.abusefilter-helper-show,.patroller-show,.templateeditor-show,.extendedmover-show,.extendedconfirmed-show,.autoconfirmed-show,.user-show { | ||
display: none | |||
} | } | ||
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,.ve-ui-mwNoticesPopupTool-item .mbox-image,.ve-ui-mwNoticesPopupTool-item .mbox-imageright { | .ve-ui-mwNoticesPopupTool-item .editnotice-redlink,.ve-ui-mwNoticesPopupTool-item .mbox-image,.ve-ui-mwNoticesPopupTool-item .mbox-imageright { | ||
display: none !important | |||
} | } | ||
ul.permissions-errors>li { | ul.permissions-errors>li { | ||
list-style: none none | |||
} | } | ||
ul.permissions-errors { | ul.permissions-errors { | ||
margin: 0 | |||
} | } | ||
span.texhtml { | span.texhtml { | ||
font-family: "Nimbus Roman No9 L","Times New Roman",Times,serif; | |||
font-size: 118%; | |||
line-height: 1; | |||
white-space: nowrap; | |||
-moz-font-feature-settings: "lnum","tnum","kern" 0; | |||
-webkit-font-feature-settings: "lnum","tnum","kern" 0; | |||
font-feature-settings: "lnum","tnum","kern" 0; | |||
font-variant-numeric: lining-nums tabular-nums; | |||
font-kerning: none | |||
} | } | ||
span.texhtml span.texhtml { | span.texhtml span.texhtml { | ||
font-size: 100% | |||
} | } | ||
span.mwe-math-mathml-inline { | span.mwe-math-mathml-inline { | ||
font-size: 118% | |||
} | } | ||
.mwe-math-fallback-image-display,.mwe-math-mathml-display { | .mwe-math-fallback-image-display,.mwe-math-mathml-display { | ||
margin-left: 1.6em !important; | |||
margin-top: 0.6em; | |||
margin-bottom: 0.6em | |||
} | } | ||
.mwe-math-mathml-display math { | .mwe-math-mathml-display math { | ||
display: inline | |||
} | } | ||
.k-player .k-attribution { | .k-player .k-attribution { | ||
visibility: hidden | |||
} | } | ||
.PopUpMediaTransform a .play-btn-large { | .PopUpMediaTransform a .play-btn-large { | ||
margin: 0; | |||
top: auto; | |||
right: auto; | |||
bottom: 0; | |||
left: 0 | |||
} | } | ||
@media screen { | @media screen { | ||
#content .gallerybox div.thumb { | |||
background-color: #f8f9fa | |||
} | |||
.gallerybox .thumb img { | |||
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat | |||
} | |||
.ns-0 .gallerybox .thumb img,.ns-2 .gallerybox .thumb img,.ns-100 .gallerybox .thumb img,.nochecker .gallerybox .thumb img { | |||
background-image: none | |||
} | |||
} | } | ||
.flaggedrevs_draft_synced,.flaggedrevs_stable_synced,#t-upload,.mw-special-Book #coll-downloadbox { | .flaggedrevs_draft_synced,.flaggedrevs_stable_synced,#t-upload,.mw-special-Book #coll-downloadbox { | ||
display: none | |||
} | } | ||
#site-tools { | #site-tools { | ||
display: none !important | |||
} | } | ||
span.comment { | span.comment { | ||
overflow-wrap: break-word | |||
} | } | ||
#mw-page-base { | #mw-page-base { | ||
background: #1b1b1f; | |||
color: lightgrey; | |||
border: #1b1b1f | |||
} | } | ||
.mediawiki,.mw-page-container { | .mediawiki,.mw-page-container { | ||
background: #1b1b1f; | |||
color: lightgrey; | |||
border: #1b1b1f | |||
} | } | ||
#mw-panel { | #mw-panel { | ||
background: #1b1b1f; | |||
color: lightgrey; | |||
border: #1b1b1f | |||
} | } | ||
#mw-content-container,#mw-header-container,#mw-content-wrapper,#mw-content,#p-logo { | #mw-content-container,#mw-header-container,#mw-content-wrapper,#mw-content,#p-logo { | ||
background: #1b1b1f; | |||
color: lightgrey; | |||
border: #1b1b1f | |||
} | } | ||
.mw-code { | .mw-code { | ||
background: var(--theme-bg); | |||
color: lightgrey | |||
} | } | ||
footer,#footer-info-lastmod,#footer-info-copyright { | footer,#footer-info-lastmod,#footer-info-copyright { | ||
color: lightgrey | |||
} | } | ||
p,h1,h2,h3,h4,h5,h6,li { | p,h1,h2,h3,h4,h5,h6,li { | ||
color: lightgrey | |||
} | } | ||
p { | p { | ||
margin: 0.8em 0; | |||
} | } | ||
a,.vector-menu-portal .vector-menu-content li a,.vector-menu-tabs li a,body.skin--responsive #p-cactions li a,a:visited,.vector-menu-portal .vector-menu-content li a:visited,.vector-menu-tabs li a:visited,body.skin--responsive #p-cactions li a:visited { | a,.vector-menu-portal .vector-menu-content li a,.vector-menu-tabs li a,body.skin--responsive #p-cactions li a,a:visited,.vector-menu-portal .vector-menu-content li a:visited,.vector-menu-tabs li a:visited,body.skin--responsive #p-cactions li a:visited { | ||
color: var(--text-color-link); | |||
} | } | ||
a.current { | a.current { | ||
color: lightgray !important; | |||
} | } | ||
a.label { | a.label { | ||
color: lightgray !important; | |||
} | } | ||
a:hover,a:visited:hover { | a:hover,a:visited:hover { | ||
color: white | |||
} | } | ||
a.option { | a.option { | ||
background: var(--ooui--bg); | |||
color: lightgray !important; | |||
border: 1px solid var(--ooui--border); | |||
} | } | ||
.screenplay, code, tt, kbd, pre, samp, .skin-timeless .monospace { | .screenplay, code, tt, kbd, pre, samp, .skin-timeless .monospace { | ||
font-family: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace; | |||
} | } | ||
| Строка 1498: | Строка 1500: | ||
.wikiEditor-ui-text { | .wikiEditor-ui-text { | ||
background: #1b1b1f; | |||
} | } | ||
.wikiEditor-ui-toolbar .tabs span.tab a { | .wikiEditor-ui-toolbar .tabs span.tab a { | ||
color: var(--text-color-link); | |||
} | } | ||
.wikiEditor-ui-toolbar .section-secondary .group.empty { | .wikiEditor-ui-toolbar .section-secondary .group.empty { | ||
display: none; | |||
} | } | ||
.wikiEditor-ui .wikiEditor-ui-top { | .wikiEditor-ui .wikiEditor-ui-top { | ||
border-color: var(--ooui--border); | |||
} | } | ||
.ext-WikiEditor-ResizingDragBar { | .ext-WikiEditor-ResizingDragBar { | ||
background: var(--theme-bg); | |||
} | } | ||
.ext-WikiEditor-ResizingDragBar-ns { | .ext-WikiEditor-ResizingDragBar-ns { | ||
border-color: var(--ooui--border); | |||
} | } | ||
.ext-WikiEditor-ResizingDragBar span { | .ext-WikiEditor-ResizingDragBar span { | ||
background-color: var(--ooui--border); | |||
} | } | ||
.ext-WikiEditor-ResizingDragBar:hover span { | .ext-WikiEditor-ResizingDragBar:hover span { | ||
background-color: var(--color-contrast2); | |||
} | } | ||
.wikiEditor-ui .wikiEditor-ui-view { | .wikiEditor-ui .wikiEditor-ui-view { | ||
border-color: var(--ooui--border-light); | |||
} | } | ||
.wikiEditor-ui-toolbar { | .wikiEditor-ui-toolbar { | ||
background: var(--ooui--bg); | |||
box-shadow: var(--box-shadow-medium); | |||
color: white; | |||
} | } | ||
.wikiEditor-ui-toolbar .group { | .wikiEditor-ui-toolbar .group { | ||
border-color: var(--ooui--border-light); | |||
color: white; | |||
} | } | ||
.wikiEditor-ui-toolbar .group .label { | .wikiEditor-ui-toolbar .group .label { | ||
color: lightgray; | |||
} | } | ||
/* invert(0) */ | /* invert(0) */ | ||
.tools-inline .selected span { | .tools-inline .selected span { | ||
filter: invert(0); | |||
} | } | ||
.oo-ui-image-progressive { | .oo-ui-image-progressive { | ||
filter: invert(0) !important; | |||
} | } | ||
| Строка 1569: | Строка 1571: | ||
.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon, .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator, | .oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon, .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator, | ||
.oo-ui-icon-template-format-block.oo-ui-image-invert{ | .oo-ui-icon-template-format-block.oo-ui-image-invert{ | ||
filter: invert(1); | |||
} | } | ||
.tools-inline li.selected span { | .tools-inline li.selected span { | ||
filter: invert(1); | |||
color: lightgrey; | |||
font-weight: bold; | |||
} | } | ||
.tools-inline span { | .tools-inline span { | ||
filter: invert(1); | |||
margin-left: 2px; | |||
font-size: 15px; | |||
font-family: "noto sans"; | |||
} | } | ||
| Строка 1600: | Строка 1602: | ||
.oo-ui-icon-template-format-block, | .oo-ui-icon-template-format-block, | ||
.oo-ui-icon-template-format-inline { | .oo-ui-icon-template-format-inline { | ||
filter: invert(0.75); | |||
} | } | ||
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover > .oo-ui-iconElement-icon { | .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover > .oo-ui-iconElement-icon { | ||
filter: invert(0.75) !important; | |||
} | } | ||
| Строка 1611: | Строка 1613: | ||
.mw-enhancedchanges-arrow-space, | .mw-enhancedchanges-arrow-space, | ||
#mw-indicator-mw-helplink a .mw-helplink-icon { | #mw-indicator-mw-helplink a .mw-helplink-icon { | ||
filter: invert(0.5); | |||
} | } | ||
| Строка 1622: | Строка 1624: | ||
.oo-ui-dropdownWidget, | .oo-ui-dropdownWidget, | ||
.oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle { | .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle { | ||
background: var(--ooui--bg); | |||
} | } | ||
| Строка 1633: | Строка 1635: | ||
.ace_mobile-button:hover, | .ace_mobile-button:hover, | ||
.ace_searchbtn:hover { | .ace_searchbtn:hover { | ||
background: var(--ooui--bg-dark); | |||
} | } | ||
| Строка 1640: | Строка 1642: | ||
#ca-nstab-special.selected.mw-list-item, | #ca-nstab-special.selected.mw-list-item, | ||
.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { | .ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { | ||
background: var(--ooui--bg-light); | |||
} | } | ||
| Строка 1648: | Строка 1650: | ||
.ace_button:hover:not(.checked), | .ace_button:hover:not(.checked), | ||
.ace_button:active { | .ace_button:active { | ||
background-color: var(--ooui--bg--hover); | |||
} | } | ||
.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted { | .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted { | ||
background: var(--ooui--bg--hover) !important; | |||
} | } | ||
.mw-twocolconflict-conflicting-talk-row .mw-twocolconflict-conflicting-talk-label span .mw-twocolconflict-split-delete { | .mw-twocolconflict-conflicting-talk-row .mw-twocolconflict-conflicting-talk-label span .mw-twocolconflict-split-delete { | ||
background: var(--bg-message-subtle); | |||
} | } | ||
.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 { | ||
border-color: var(--border-message-subtle); | |||
} | } | ||
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover { | .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover { | ||
background: var(--ooui--bg); | |||
color: white; | |||
} | } | ||
.wikiEditor-ui-toolbar .booklet > .index > .current { | .wikiEditor-ui-toolbar .booklet > .index > .current { | ||
background: var(--ooui--bg-light); | |||
color: white !important; | |||
} | } | ||
.mw-twocolconflict-conflicting-talk-row .mw-twocolconflict-single-column { | .mw-twocolconflict-conflicting-talk-row .mw-twocolconflict-single-column { | ||
background: var(--ooui--bg-darkened); | |||
color: lightgrey; | |||
} | } | ||
| Строка 1681: | Строка 1683: | ||
.mw-rcfilters-ui-watchlistTopSectionWidget-separator, | .mw-rcfilters-ui-watchlistTopSectionWidget-separator, | ||
.mw-revslider-revision-tooltip .mw-revslider-filter-highlightable-row.mw-revslider-filter-highlight { | .mw-revslider-revision-tooltip .mw-revslider-filter-highlightable-row.mw-revslider-filter-highlight { | ||
border-color: var(--ooui--border-lighter); | |||
} | } | ||
.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::before { | .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::before { | ||
border-bottom-color: var(--ooui--border-light); | |||
} | } | ||
.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::after { | .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::after { | ||
border-bottom-color: var(--ooui--bg-light); | |||
} | } | ||
.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:before { | .oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:before { | ||
border-top-color: var(--ooui--border-light); | |||
} | } | ||
.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:after { | .oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:after { | ||
border-top-color: var(--ooui--bg-light); | |||
} | } | ||
.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 { | ||
border-color: var(--border-warning); | |||
} | } | ||
.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 { | ||
border-color: var(--border-message); | |||
} | } | ||
| Строка 1711: | Строка 1713: | ||
.cdx-button:enabled:hover, .cdx-button.cdx-button--fake-button--enabled:hover, | .cdx-button:enabled:hover, .cdx-button.cdx-button--fake-button--enabled:hover, | ||
.footer-icons a:hover { | .footer-icons a:hover { | ||
background: var(--ooui--bg); | |||
border-color: var(--ooui--border); | |||
} | } | ||
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success { | .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success { | ||
background-color: var(--bg-message-subtle); | |||
border-color: var(--border-message); | |||
} | } | ||
| Строка 1723: | Строка 1725: | ||
.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 { | ||
background-color: var(--bg-warning-subtle); | |||
border-color: var(--border-warning); | |||
} | } | ||
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice { | .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice { | ||
background-color: var(--bg-notice-subtle); | |||
border-color: var(--border-notice); | |||
} | } | ||
.mw-message-box-error { | .mw-message-box-error { | ||
background-color: var(--bg-error-subtle); | |||
border-color: var(--border-error); | |||
} | } | ||
.cdx-message--error { | .cdx-message--error { | ||
background-color: var(--bg-error-subtle); | |||
border-color: var(--border-error); | |||
} | } | ||
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox'] + span, | .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox'] + span, | ||
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio'] + span { | .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio'] + span { | ||
background-color: var(--ooui--bg-dark); | |||
border: 1px solid var(--ooui--border-lighter); | |||
} | } | ||
.ace_optionsMenuEntry input, .ace_optionsMenuEntry button { | .ace_optionsMenuEntry input, .ace_optionsMenuEntry button { | ||
background: var(--ooui--bg); | |||
border: 1px solid var(--ooui--border-light); | |||
margin: 0.35em 0.2em 0.25em 0; | |||
} | } | ||
.ace_optionsMenuEntry button { | .ace_optionsMenuEntry button { | ||
background: var(--ooui--bg); | |||
border-color: var(--ooui--border-light); | |||
box-shadow: var(--box-shadow-inset-high); | |||
} | } | ||
.ace_optionsMenuEntry button[ace_selected_button=true] { | .ace_optionsMenuEntry button[ace_selected_button=true] { | ||
background: var(--ooui--bg); | |||
border-color: var(--ooui--border-light); | |||
box-shadow: var(--box-shadow-inset-high); | |||
} | } | ||
#ace_settingsmenu, #kbshortcutmenu { | #ace_settingsmenu, #kbshortcutmenu { | ||
background: var(--ooui--bg-darkened); | |||
box-shadow: var(--box-shadow-high); | |||
color: lightgray; | |||
} | } | ||
| Строка 1777: | Строка 1779: | ||
.mw-message-box, | .mw-message-box, | ||
.wikiEditor-ui-toolbar .booklet > .index { | .wikiEditor-ui-toolbar .booklet > .index { | ||
color: lightgray; | |||
} | } | ||
| Строка 1783: | Строка 1785: | ||
.mw-templatedata-doc-muted, | .mw-templatedata-doc-muted, | ||
.mw-templatedata-doc-param-alias { | .mw-templatedata-doc-param-alias { | ||
color: var(--theme-color-text-dark); | |||
} | } | ||
| Строка 1789: | Строка 1791: | ||
.oo-ui-toggleButtonWidget.oo-ui-widget-enabled.oo-ui-buttonElement-frameless.oo-ui-toggleWidget-on .oo-ui-buttonElement-button, | .oo-ui-toggleButtonWidget.oo-ui-widget-enabled.oo-ui-buttonElement-frameless.oo-ui-toggleWidget-on .oo-ui-buttonElement-button, | ||
.mw-portlet-body #ca-move.selected { | .mw-portlet-body #ca-move.selected { | ||
background: var(--bg-contrast-m--rgba); | |||
} | } | ||
.ace_optionsMenuEntry button:hover { | .ace_optionsMenuEntry button:hover { | ||
background: var(--color-contrast2); | |||
border-color: var(--color-contrast); | |||
} | } | ||
/* Сложные стили */ | /* Сложные стили */ | ||
.mw-footer .footer-icons a { | .mw-footer .footer-icons a { | ||
background: var(--theme-bg-dark); | |||
border: 1px solid var(--ooui--border-dark); | |||
padding-right: 15px; | |||
padding-left: 15px; | |||
min-height: 44px; | |||
display: inline-flex; | |||
align-items: center; | |||
} | } | ||
#footer-poweredbyico a { | #footer-poweredbyico a { | ||
background-image: url(https://commons.wiki.gg/images/1/1c/MediaWiki_footer_badge_dark.svg?12ec0a); | |||
background-position: 50% 50%; | |||
background-size: 88px 31px; | |||
background-repeat: no-repeat; | |||
} | } | ||
#footer-poweredbyico a img { | #footer-poweredbyico a img { | ||
visibility: hidden; | |||
} | } | ||
/* Остальное */ | /* Остальное */ | ||
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span { | .oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span { | ||
border-color: var(--color-contrast); | |||
background: var(--ooui--bg-light); | |||
border-width: 2px; | |||
} | } | ||
| Строка 1829: | Строка 1831: | ||
.wikiEditor-ui-toolbar .group .tool-select .options { | .wikiEditor-ui-toolbar .group .tool-select .options { | ||
border: none; | |||
} | } | ||
.wikiEditor-ui-toolbar .sections .section { | .wikiEditor-ui-toolbar .sections .section { | ||
border-color: var(--ooui--border-light); | |||
} | } | ||
.wikiEditor-ui-toolbar .page-table th { | .wikiEditor-ui-toolbar .page-table th { | ||
color: lightgrey; | |||
} | } | ||
.wikiEditor-ui-toolbar .page-table td { | .wikiEditor-ui-toolbar .page-table td { | ||
color: lightgrey; | |||
} | } | ||
.oo-ui-indicatorElement-indicator { | .oo-ui-indicatorElement-indicator { | ||
background-size: contain; | |||
background-position: center center; | |||
background-repeat: no-repeat; | |||
position: absolute; | |||
top: 0; | |||
min-width: 12px; | |||
width: 0.8571429em; | |||
min-height: 12px; | |||
height: 100%; | |||
} | } | ||
a.extiw:visited,a.external:visited,.mw-parser-output a.extiw:visited,.mw-parser-output a.external:visited,body.skin--responsive #p-cactions li a.external:visited { | a.extiw:visited,a.external:visited,.mw-parser-output a.extiw:visited,.mw-parser-output a.external:visited,body.skin--responsive #p-cactions li a.external:visited { | ||
color: var(--text-color-link-external) | |||
} | } | ||
.vector-menu-tabs li { | .vector-menu-tabs li { | ||
background: var(--theme-bg) | |||
} | } | ||
#p-logo-text a { | #p-logo-text a { | ||
color: lightgrey | |||
} | } | ||
#ca-nstab-mediawiki.a { | #ca-nstab-mediawiki.a { | ||
color: lightgrey | |||
} | } | ||
#mw-changeslist-links { | #mw-changeslist-links { | ||
background: var(--theme-bg); | |||
color: lightgrey | |||
} | } | ||
#simpleSearch { | #simpleSearch { | ||
background: var(--ooui--bg); | |||
border: 1px solid var(--ooui--border); | |||
color: lightgrey; | |||
border-radius: var(--border-radius-low); | |||
} | } | ||
#searchInput { | #searchInput { | ||
color: white | |||
} | } | ||
#pt-createaccount { | #pt-createaccount { | ||
visibility: hidden; | |||
display: none | |||
} | } | ||
.vector-user-links .vector-user-menu-more .vector-menu-content-list li a, #personal .dropdown { | .vector-user-links .vector-user-menu-more .vector-menu-content-list li a, #personal .dropdown { | ||
background: var(--ooui--bg-dark); | |||
border-color: var(--ooui--border); | |||
color: lightgrey; | |||
box-shadow: var(--box-shadow-medium); | |||
} | } | ||
.mw-notification { | .mw-notification { | ||
background: var(--ooui--bg-dark); | |||
border: 1px solid var(--ooui--border); | |||
color: lightgrey; | |||
box-shadow: var(--box-shadow-medium); | |||
} | } | ||
@media screen and (min-width: 851px) { | @media screen and (min-width: 851px) { | ||
#personal .dropdown:before, #personal .dropdown:after { | |||
border-bottom: 10px solid var(--ooui--border-light); | |||
} | |||
} | } | ||
@media screen and (min-width: 851px) { | @media screen and (min-width: 851px) { | ||
#personal .dropdown:after { | |||
border-bottom: 10px solid var(--ooui--bg-dark); | |||
} | |||
} | } | ||
.vector-menu-tabs .selected { | .vector-menu-tabs .selected { | ||
background: #1b1b1f | |||
} | } | ||
#pagehistory li.selected { | #pagehistory li.selected { | ||
background: #1B4D3E; | |||
font-weight: bold | |||
} | } | ||
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 { | ||
background: #7C0A02; | |||
border: 1px solid #bb7070 | |||
} | } | ||
/* Стиль для таблиц wikitable */ | /* Стиль для таблиц wikitable */ | ||
.wikitable { | .wikitable { | ||
border-spacing: 1px; | |||
padding: 10px; | |||
border-collapse: separate; | |||
border: none; | |||
border-radius: 0.8em; | |||
background: var(--theme-bg-light); | |||
color: #dddddd; | |||
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55); | |||
} | } | ||
.wikitable>*>tr>*{ | .wikitable>*>tr>*{ | ||
padding: 0.4em !important; | |||
margin: 0 !important; | |||
border: none; | |||
} | } | ||
.wikitable>*>tr>th { | .wikitable>*>tr>th { | ||
background: var(--theme-bg-light); | |||
color: #e1e1e1; | |||
} | } | ||
.wikitable>*>tr>td { | .wikitable>*>tr>td { | ||
background: #31313b; | |||
} | } | ||
.wikitable p, .wikitable h1, .wikitable h2, .wikitable h3, .wikitable h4, .wikitable h5, .wikitable h6, .wikitable li { | .wikitable p, .wikitable h1, .wikitable h2, .wikitable h3, .wikitable h4, .wikitable h5, .wikitable h6, .wikitable li { | ||
color: #dddddd; | |||
} | } | ||
| Строка 1969: | Строка 1971: | ||
.wikitable:not(:has(thead)) tr:first-child th:first-child, | .wikitable:not(:has(thead)) tr:first-child th:first-child, | ||
.wikitable:not(:has(thead)) tr:first-child td:first-child { | .wikitable:not(:has(thead)) tr:first-child td:first-child { | ||
border-top-left-radius: 4px; | |||
} | } | ||
| Строка 1977: | Строка 1979: | ||
.wikitable:not(:has(thead)) tbody > tr:first-child th:last-child, | .wikitable:not(:has(thead)) tbody > tr:first-child th:last-child, | ||
.wikitable:not(:has(thead)) tbody > tr:first-child td:last-child { | .wikitable:not(:has(thead)) tbody > tr:first-child td:last-child { | ||
border-top-right-radius: 4px; | |||
} | } | ||
| Строка 1983: | Строка 1985: | ||
.wikitable tbody tr:last-child th:first-child, | .wikitable tbody tr:last-child th:first-child, | ||
.wikitable tbody tr:last-child td:first-child { | .wikitable tbody tr:last-child td:first-child { | ||
border-bottom-left-radius: 4px; | |||
}*/ | }*/ | ||
| Строка 1989: | Строка 1991: | ||
.wikitable tbody tr:last-child th:last-child, | .wikitable tbody tr:last-child th:last-child, | ||
.wikitable tbody tr:last-child td:last-child { | .wikitable tbody tr:last-child td:last-child { | ||
border-bottom-right-radius: 4px; | |||
}*/ | }*/ | ||
/* Таблицы на телефонах */ | /* Таблицы на телефонах */ | ||
@media screen and (max-width: 850px) { | @media screen and (max-width: 850px) { | ||
.wikitable { | |||
font-size: 0.65em; | |||
padding: 5px !important; | |||
} | |||
.wikitable:not(.no-img-adaptive) img[width="64"][height="64"] { | |||
width: 32px; | |||
height: 32px; | |||
} | |||
.wikitable:not(.no-img-adaptive) img[width="64"][height="128"] { | |||
width: 32px; | |||
height: 64px; | |||
} | |||
.wikitable:not(.no-img-adaptive) img[width="128"][height="128"] { | |||
width: 64px; | |||
height: 64px; | |||
} | |||
} | } | ||
ul#filetoc, .toc, .toccolours, .mw-warning { | ul#filetoc, .toc, .toccolours, .mw-warning { | ||
border-radius: 0.5em; | |||
background: var(--theme-bg-light); | |||
padding: 14px; | |||
box-sizing: border-box; | |||
margin: 12px 0; | |||
min-width: 12em; | |||
border: none; | |||
box-shadow: var(--box-shadow-outline); | |||
line-height: 1.3; | |||
} | } | ||
.toc, .toc * { | .toc, .toc * { | ||
box-sizing: border-box; | |||
} | } | ||
.toc .toctitle { | .toc .toctitle { | ||
font-size: 0.95em; | |||
padding: 0 8px; | |||
display: flex; | |||
align-items: center; | |||
position: relative; | |||
overflow: hidden; | |||
text-align: left; | |||
border: none; | |||
} | } | ||
.toc .toctitle h2 { | .toc .toctitle h2 { | ||
font-size: 1.1em; | |||
font-weight: bold; | |||
display: flex; | |||
align-items: center; | |||
} | } | ||
.toc .toctitle h2::before { | .toc .toctitle h2::before { | ||
content: ""; | |||
display: block; | |||
width: 12px; | |||
height: 12px; | |||
--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); | |||
mask: var(--mask); | |||
-webkit-mask-size: 100% 100%; | |||
mask-size: 100% 100%; | |||
-webkit-mask-position: center center; | |||
mask-position: center center; | |||
background-color: var(--theme-icon-color); | |||
margin: 0 6px 0 0; | |||
} | } | ||
.toc .toctogglelabel { | .toc .toctogglelabel { | ||
position: absolute; | |||
width: 100%; | |||
height: 100%; | |||
left: 0; | |||
top: 0; | |||
padding: 0 8px; | |||
font-size: unset; | |||
line-height: unset; | |||
display: flex; | |||
align-items: center; | |||
justify-content: flex-end; | |||
font-family: "noto sans"; | |||
} | } | ||
.toctogglecheckbox:not(:checked) + .toctitle .toctogglelabel:after, | .toctogglecheckbox:not(:checked) + .toctitle .toctogglelabel:after, | ||
.toctogglecheckbox:checked + .toctitle .toctogglelabel:after { | .toctogglecheckbox:checked + .toctitle .toctogglelabel:after { | ||
content: ""; | |||
display: block; | |||
pointer-events: none; | |||
--mask: var(--icon-chevron-down) no-repeat; | |||
-webkit-mask: var(--mask); | |||
mask: var(--mask); | |||
-webkit-mask-size: 100% 100%; | |||
mask-size: 100% 100%; | |||
-webkit-mask-position: center center; | |||
mask-position: center center; | |||
background-color: var(--theme-icon-color); | |||
width: 14px; | |||
height: 14px; | |||
flex: 0 0 auto; | |||
transform: scaleY(-1); | |||
} | } | ||
.toctogglecheckbox:checked + .toctitle .toctogglelabel:after { | .toctogglecheckbox:checked + .toctitle .toctogglelabel:after { | ||
transform: none; | |||
} | } | ||
.toc > ul { | .toc > ul { | ||
margin: 6px 0 0 0; | |||
border-top: 1px solid var(--theme-border); | |||
padding-top: 2px; | |||
} | } | ||
#searchInput:focus { | #searchInput:focus { | ||
outline: 2px solid var(--color-contrast); | |||
} | } | ||
.toctogglecheckbox:focus + .toctitle .toctogglelabel { | .toctogglecheckbox:focus + .toctitle .toctogglelabel { | ||
outline: none; | |||
} | } | ||
.mw-content-ltr .tocnumber { | .mw-content-ltr .tocnumber { | ||
color: grey | |||
} | } | ||
.quickbox { | .quickbox { | ||
border: 1px solid var(--ooui--border); | |||
background: var(--ooui--bg); | |||
} | } | ||
.quickboxhead { | .quickboxhead { | ||
border-bottom: 1px solid var(--ooui--border); | |||
background: #1b1b1f; | |||
text-align: center | |||
} | } | ||
.client-js .mw-changeslist ul, .client-js .mw-changeslist table.mw-enhanced-rc { | .client-js .mw-changeslist ul, .client-js .mw-changeslist table.mw-enhanced-rc { | ||
margin: 0; | |||
} | } | ||
.results-info { | .results-info { | ||
color: var(--theme-color-text-dark); | |||
} | } | ||
.mw-search-result-data { | .mw-search-result-data { | ||
color: var(--theme-color-text-dark); | |||
} | } | ||
.oo-ui-buttonElement-frameless.oo-ui-labelElement > .oo-ui-buttonElement-button { | .oo-ui-buttonElement-frameless.oo-ui-labelElement > .oo-ui-buttonElement-button { | ||
font-size: 14px; | |||
} | } | ||
.mw-rcfilters-ui-filterWrapperWidget-bottom { | .mw-rcfilters-ui-filterWrapperWidget-bottom { | ||
gap: 4px; | |||
} | } | ||
.mw-changeslist.oo-ui-widget.oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget { | .mw-changeslist.oo-ui-widget.oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget { | ||
padding: 0.6em; | |||
border: 1px solid var(--ooui--border); | |||
} | } | ||
.mw-rcfilters-ui-changesListWrapperWidget-previousChangesIndicator { | .mw-rcfilters-ui-changesListWrapperWidget-previousChangesIndicator { | ||
border-color: var(--ooui--border-lighter); | |||
} | } | ||
.mw-changeslist-legend { | .mw-changeslist-legend { | ||
max-width: 300px; | |||
} | } | ||
.mw-changeslist-legend { | .mw-changeslist-legend { | ||
display: none; | |||
} | } | ||
.mw-changeslist.oo-ui-widget.oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget > .mw-changeslist-legend { | .mw-changeslist.oo-ui-widget.oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget > .mw-changeslist-legend { | ||
display: block; | |||
background: var(--ooui--bg-light); | |||
} | } | ||
.mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label { | .mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label { | ||
color: lightgray; | |||
} | } | ||
.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { | .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { | ||
color: lightgray; | |||
} | } | ||
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-rcfilters-ui-changesListWrapperWidget { | .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-rcfilters-ui-changesListWrapperWidget { | ||
background: var(--ooui--bg); | |||
border-color: var(--ooui--border); | |||
color: white; | |||
border-radius: 0.4em 0.4em 0 0; | |||
} | } | ||
.mw-rcfilters-ui-datePopupWidget { | .mw-rcfilters-ui-datePopupWidget { | ||
border-color: var(--ooui--border-lighter); | |||
} | } | ||
.mw-rcfilters-ui-datePopupWidget .mw-rcfilters-ui-valuePickerWidget-title { | .mw-rcfilters-ui-datePopupWidget .mw-rcfilters-ui-valuePickerWidget-title { | ||
color: var(--theme-color-text-dark); | |||
} | } | ||
.mw-rcfilters-ui-changesListWrapperWidget:not(.mw-rcfilters-ui-changesListWrapperWidget-highlighted) .mw-changeslist-watchedseen div.mw-rcfilters-ui-highlights-color-none { | .mw-rcfilters-ui-changesListWrapperWidget:not(.mw-rcfilters-ui-changesListWrapperWidget-highlighted) .mw-changeslist-watchedseen div.mw-rcfilters-ui-highlights-color-none { | ||
background-color: var(--ooui--border-light); | |||
border: 1px solid var(--color-contrast); | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button { | .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button { | ||
background-color: var(--color-contrast2); | |||
border-color: var(--color-contrast2); | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button:hover { | .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button:hover { | ||
border-color: var(--color-contrast); | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { | .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { | ||
background-color: var(--color-contrast2); | |||
border-color: var(--color-contrast); | |||
color: white; | |||
} | } | ||
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:hover { | .oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:hover { | ||
background-color: var(--color-contrast2); | |||
border-color: var(--color-contrast); | |||
color: white; | |||
} | } | ||
.tdg-templateDataParamWidget-param-description { | .tdg-templateDataParamWidget-param-description { | ||
color: var(--theme-color-text-dark); | |||
} | } | ||
.oo-ui-processDialog .oo-ui-actionWidget.oo-ui-iconElement > .oo-ui-buttonElement-button { | .oo-ui-processDialog .oo-ui-actionWidget.oo-ui-iconElement > .oo-ui-buttonElement-button { | ||
border-color: transparent; | |||
border-right-color: var(--ooui--border); | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button { | .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button { | ||
border-color: transparent; | |||
border-right-color: var(--ooui--border); | |||
} | } | ||
.oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active { | .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active { | ||
border-color: transparent; | |||
border-right-color: var(--ooui--border); | |||
} | } | ||
.oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:hover, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active { | .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:hover, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active { | ||
background-color: var(--color-contrast2); | |||
border-color: var(--color-contrast); | |||
} | } | ||
.mw-revslider-container { | .mw-revslider-container { | ||
border-color: var(--ooui--border-light); | |||
} | } | ||
.mw-revslider-slider-wrapper { | .mw-revslider-slider-wrapper { | ||
border-color: var(--ooui--border-light); | |||
} | } | ||
.oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input { | .oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input { | ||
background-color: var(--ooui--bg); | |||
border-color: var(--ooui--border-light); | |||
color: white; | |||
text-shadow: none; | |||
} | } | ||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle { | .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle { | ||
background-color: var(--ooui--bg); | |||
border-color: var(--ooui--border-light); | |||
color: white; | |||
} | } | ||
.oo-ui-tagMultiselectWidget-handle .oo-ui-tagMultiselectWidget-group > input { | .oo-ui-tagMultiselectWidget-handle .oo-ui-tagMultiselectWidget-group > input { | ||
color: white; | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover { | .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover { | ||
background-color: var(--color-contrast2); | |||
} | } | ||
.oo-ui-processDialog-content > .oo-ui-window-head, .oo-ui-processDialog-content > .oo-ui-window-foot { | .oo-ui-processDialog-content > .oo-ui-window-head, .oo-ui-processDialog-content > .oo-ui-window-foot { | ||
outline-color: var(--ooui--border); | |||
background: var(--ooui--bg); | |||
} | } | ||
.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 { | ||
background: transparent; | |||
} | } | ||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled { | .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled { | ||
background: transparent; | |||
} | } | ||
.mw-templateData-template-map-list-menu-panel { | .mw-templateData-template-map-list-menu-panel { | ||
border-color: var(--ooui--border); | |||
} | } | ||
.oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted { | .oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted { | ||
background: var(--bg-contrast-m--rgba); | |||
color: white; | |||
} | } | ||
.oo-ui-searchWidget-query { | .oo-ui-searchWidget-query { | ||
border-color: var(--ooui--border-lighter); | |||
} | } | ||
.oo-ui-searchWidget-results { | .oo-ui-searchWidget-results { | ||
background: var(--ooui--bg-darkened); | |||
} | } | ||
.oo-ui-searchWidget-query { | .oo-ui-searchWidget-query { | ||
border-color: var(--ooui--border-light); | |||
background: var(--ooui--bg-darkened); | |||
} | } | ||
.mw-templateData-template-add-map-button-panel.oo-ui-layout.oo-ui-panelLayout.oo-ui-panelLayout-padded.oo-ui-panelLayout-expanded.tdg-templateDataDialog-addNewMapButtonPanel { | .mw-templateData-template-add-map-button-panel.oo-ui-layout.oo-ui-panelLayout.oo-ui-panelLayout-padded.oo-ui-panelLayout-expanded.tdg-templateDataDialog-addNewMapButtonPanel { | ||
display: flex; | |||
align-items: center; | |||
} | } | ||
.oo-ui-buttonSelectWidget .oo-ui-buttonOptionWidget .oo-ui-buttonElement-button { | .oo-ui-buttonSelectWidget .oo-ui-buttonOptionWidget .oo-ui-buttonElement-button { | ||
border-radius: 0; | |||
} | } | ||
.mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-ui-highlights > div { | .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-ui-highlights > div { | ||
margin-right: 8px; | |||
} | } | ||
.oo-ui-popupWidget-popup { | .oo-ui-popupWidget-popup { | ||
background: var(--ooui--bg-light); | |||
border-color: var(--ooui--border-light); | |||
color: lightgray; | |||
} | } | ||
.oo-ui-menuSelectWidget { | .oo-ui-menuSelectWidget { | ||
border-color: var(--ooui--border); | |||
background: var(--ooui--gradient); | |||
box-shadow: var(--box-shadow); | |||
} | } | ||
.oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover { | .oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover { | ||
background: var(--ooui--border); | |||
} | } | ||
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected { | .oo-ui-menuOptionWidget.oo-ui-optionWidget-selected { | ||
background: var(--ooui--bg--hover); | |||
outline: 1px solid var(--ooui--border); | |||
} | } | ||
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, .oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted { | .oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, .oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted { | ||
background-color: var(--bg-contrast-m--rgba) !important; | |||
} | } | ||
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget { | .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget { | ||
border-color: var(--ooui--border); | |||
color: lightgrey; | |||
transition: all 0.01s; | |||
cursor: pointer; | |||
} | } | ||
.mw-rcfilters-ui-itemMenuOptionWidget-label-title { | .mw-rcfilters-ui-itemMenuOptionWidget-label-title { | ||
color: lightgrey; | |||
cursor: pointer; | |||
} | } | ||
.mw-rcfilters-ui-itemMenuOptionWidget-label-desc { | .mw-rcfilters-ui-itemMenuOptionWidget-label-desc { | ||
color: var(--theme-color-text-dark); | |||
cursor: pointer; | |||
} | } | ||
| Строка 2372: | Строка 2374: | ||
/* Заголовок */ | /* Заголовок */ | ||
.mw-body h1.firstHeading { | .mw-body h1.firstHeading { | ||
border-width: 3px; | |||
} | } | ||
/* Содержание */ | /* Содержание */ | ||
.mw-body { | .mw-body { | ||
background: var(--theme-bg); | |||
color: lightgrey; | |||
padding: 12px 14px; | |||
border-radius: var(--border-radius-low); | |||
box-shadow: var(--box-shadow-outline); | |||
border: none; | |||
border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x)); | |||
} | } | ||
@media screen and (max-width: 850px) { | @media screen and (max-width: 850px) { | ||
.mw-body { | |||
padding: 6px; | |||
} | |||
} | } | ||
/* Категории */ | /* Категории */ | ||
#content-bottom-stuff .catlinks { | #content-bottom-stuff .catlinks { | ||
margin-top: 6px; | |||
border-radius: var(--border-radius-low); | |||
border: none; | |||
box-shadow: var(--box-shadow-outline); | |||
border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x)); | |||
} | } | ||
| Строка 2407: | Строка 2409: | ||
/* Выдвижной блок */ | /* Выдвижной блок */ | ||
.suggestions { | .suggestions { | ||
box-shadow: var(--box-shadow-high); | |||
border-radius: 0 0 0.3em 0.3em; | |||
background: var(--theme-bg-dark); | |||
border: 1px solid var(--ooui--border); | |||
border-top: 2px solid var(--color-contrast); | |||
padding-top: 4px; | |||
} | } | ||
.suggestions .suggestions-results, /* Блок страниц */ | .suggestions .suggestions-results, /* Блок страниц */ | ||
.suggestions .suggestions-special /* Блок поиска страниц, содержащих введённый текст */ { | .suggestions .suggestions-special /* Блок поиска страниц, содержащих введённый текст */ { | ||
border-radius: 0.4em; | |||
margin: 0.5em; | |||
background: var(--ooui--bg); | |||
border: 1px outset rgb(0 0 0 / 20%); | |||
} | } | ||
/* Страницы */ | /* Страницы */ | ||
.suggestions .suggestions-result { | .suggestions .suggestions-result { | ||
color: white; | |||
margin: 6px; | |||
} | } | ||
/* Если пустой */ | /* Если пустой */ | ||
.suggestions .suggestions-results:empty { | .suggestions .suggestions-results:empty { | ||
display: none; | |||
} | } | ||
.suggestions-special .special-label { | .suggestions-special .special-label { | ||
color: lightgray; | |||
} | } | ||
.suggestions-special .special-query { | .suggestions-special .special-query { | ||
color: white; | |||
} | } | ||
/* Подсветка при наведении */ | /* Подсветка при наведении */ | ||
.suggestions .suggestions-result-current { | .suggestions .suggestions-result-current { | ||
background-color: var(--color-contrast2); | |||
outline: 1px solid var(--color-contrast); | |||
border-radius: var(--border-radius-low); | |||
border-color: var(--color-contrast2); | |||
} | } | ||
| Строка 2453: | Строка 2455: | ||
.suggestions .suggestions-result, | .suggestions .suggestions-result, | ||
.suggestions .suggestions-special { | .suggestions .suggestions-special { | ||
padding: 0.5em 0.5em 0.35em; | |||
} | } | ||
.mw-rcfilters-ui-menuSelectWidget-footer { | .mw-rcfilters-ui-menuSelectWidget-footer { | ||
border-color: var(--ooui--border); | |||
background: var(--ooui--bg); | |||
} | } | ||
.mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget { | .mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget { | ||
color: lightgrey; | |||
} | } | ||
.mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) { | .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) { | ||
background: transparent; | |||
} | } | ||
.mw-rcfilters-ui-itemMenuOptionWidget .mw-rcfilters-ui-table { | .mw-rcfilters-ui-itemMenuOptionWidget .mw-rcfilters-ui-table { | ||
font-size: 0.9em; | |||
} | } | ||
.oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget.oo-ui-textInputWidget > .oo-ui-inputWidget-input, .oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-dropdownWidget-handle, .oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-tagMultiselectWidget-handle { | .oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget.oo-ui-textInputWidget > .oo-ui-inputWidget-input, .oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-dropdownWidget-handle, .oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-tagMultiselectWidget-handle { | ||
margin: 0; | |||
} | } | ||
.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; | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover { | .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover { | ||
background-color: var(--color-contrast2); | |||
border-color: var(--color-contrast); | |||
color: white; | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-iconElement-icon:not(.oo-ui-image-invert), .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-indicatorElement-indicator:not(.oo-ui-image-invert) { | .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-iconElement-icon:not(.oo-ui-image-invert), .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-indicatorElement-indicator:not(.oo-ui-image-invert) { | ||
opacity: 0.87; | |||
} | } | ||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled { | .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled { | ||
background: var(--ooui--bg-dark); | |||
border-color: var(--ooui--border-light); | |||
color: lightgray; | |||
border-radius: 0.3em; | |||
} | } | ||
.oo-ui-buttonSelectWidget.oo-ui-widget-enabled:focus .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected .oo-ui-buttonElement-button { | .oo-ui-buttonSelectWidget.oo-ui-widget-enabled:focus .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected .oo-ui-buttonElement-button { | ||
box-shadow: none; | |||
} | } | ||
.mw-widget-dateInputWidget-calendar { | .mw-widget-dateInputWidget-calendar { | ||
border-color: var(--ooui--border); | |||
background: var(--ooui--gradient); | |||
} | } | ||
.mw-widget-dateInputWidget.oo-ui-widget-enabled .mw-widget-dateInputWidget-handle:hover { | .mw-widget-dateInputWidget.oo-ui-widget-enabled .mw-widget-dateInputWidget-handle:hover { | ||
border-color: var(--ooui--border-light); | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-indicatorElement > .oo-ui-buttonElement-button { | .oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-indicatorElement > .oo-ui-buttonElement-button { | ||
border-radius: var(--border-radius-low); | |||
} | } | ||
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { | .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { | ||
font-weight: bold; | |||
} | } | ||
.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover { | .oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover { | ||
background-color: var(--color-contrast2); | |||
color: white; | |||
} | } | ||
.tool-button:hover, .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover { | .tool-button:hover, .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover { | ||
background: var(--bg-contrast-m--rgba); | |||
transition: all 0.01s; | |||
} | } | ||
.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button { | .oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button { | ||
display: flex; | |||
align-items: center; | |||
} | } | ||
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { | .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { | ||
color: lightgrey; | |||
} | } | ||
.mw-widget-calendarWidget-day-heading { | .mw-widget-calendarWidget-day-heading { | ||
color: lightgray; | |||
} | } | ||
.mw-widget-calendarWidget-day { | .mw-widget-calendarWidget-day { | ||
color: lightgray; | |||
} | } | ||
.mw-widget-calendarWidget-labelButton .oo-ui-buttonElement-button .oo-ui-labelElement-label { | .mw-widget-calendarWidget-labelButton .oo-ui-buttonElement-button .oo-ui-labelElement-label { | ||
color: lightgrey; | |||
} | } | ||
.mw-editform #wpTextbox1, textarea { | .mw-editform #wpTextbox1, textarea { | ||
background: #1b1b1f; | |||
border: none; | |||
color: lightgray; | |||
} | } | ||
.group.group-search { | .group.group-search { | ||
border: none; | |||
} | } | ||
.editOptions,.mw-editform .editOptions { | .editOptions,.mw-editform .editOptions { | ||
background: var(--theme-bg); | |||
border: 1px solid var(--ooui--border-light); | |||
border-top: none; | |||
color: white; | |||
} | } | ||
.oo-ui-tagMultiselectWidget-input.oo-ui-widget.oo-ui-widget-enabled.oo-ui-inputWidget.oo-ui-iconElement.oo-ui-textInputWidget.oo-ui-textInputWidget-type-text { | .oo-ui-tagMultiselectWidget-input.oo-ui-widget.oo-ui-widget-enabled.oo-ui-inputWidget.oo-ui-iconElement.oo-ui-textInputWidget.oo-ui-textInputWidget-type-text { | ||
background: var(--ooui--border); | |||
} | } | ||
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { | .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { | ||
color: lightgrey; | |||
} | } | ||
.mw-rcfilters-ui-filterMenuHeaderWidget-header-highlight { | .mw-rcfilters-ui-filterMenuHeaderWidget-header-highlight { | ||
padding-right: 0.3em; | |||
padding-left: 0.3em; | |||
} | } | ||
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget { | .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget { | ||
border-color: var(--ooui--border); | |||
padding: 0; | |||
} | } | ||
.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button { | .oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button { | ||
min-height: 2.5em; | |||
} | } | ||
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { | .mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { | ||
color: var(--theme-color-text-dark); | |||
} | } | ||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined { | .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined { | ||
background: var(--ooui--bg); | |||
border-color: var(--ooui--border); | |||
} | } | ||
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget { | .mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget { | ||
border-color: var(--ooui--border); | |||
display: flex; | |||
align-items: center; | |||
padding: 0; | |||
gap: 2px; | |||
} | } | ||
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle { | .mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle { | ||
background: var(--ooui--bg); | |||
border-color: var(--ooui--border); | |||
border-radius: 0.4em 0.4em 0 0; | |||
} | } | ||
@media screen { | @media screen { | ||
.mw-body-content .recipeimg a > img { | |||
padding: 0; | |||
margin: 0; | |||
border: 0; | |||
width: 32px !important; | |||
max-width: 32px !important; | |||
height: 32px !important; | |||
max-height: 32px !important | |||
} | |||
} | } | ||
.positive { | .positive { | ||
color: #00FF00; | |||
font-weight: bold | |||
} | } | ||
.negative { | .negative { | ||
color: #FF0000; | |||
font-weight: bold | |||
} | } | ||
.anglerect { | .anglerect { | ||
--angle-rect-clip-size: 16px; | |||
clip-path: polygon(0 0,calc(100% - var(--angle-rect-clip-size)) 0,100% var(--angle-rect-clip-size),100% 100%,var(--angle-rect-clip-size) 100%,0 calc(100% - var(--angle-rect-clip-size))) | |||
} | } | ||
.flex { | .flex { | ||
display: flex | |||
} | } | ||
.mw-body dd { | .mw-body dd { | ||
margin: 0.2em; | |||
margin-left: 1.6em | |||
} | } | ||
/* Стили для блока */ | /* Стили для блока */ | ||
.tabs-tabbox, .tabs-togglebox { | .tabs-tabbox, .tabs-togglebox { | ||
display: flow-root; | |||
} | } | ||
/* Общие стили для вкладок */ | /* Общие стили для вкладок */ | ||
.tabs-label { | .tabs-label { | ||
cursor: pointer; | |||
padding: 1px 6px; | |||
background: transparent; | |||
border: 1px solid black; | |||
} | } | ||
.tabs-label:hover { | .tabs-label:hover { | ||
z-index: 2; | |||
background: #ddddff0d !important; | |||
transition: all 0.1s; | |||
} | } | ||
| Строка 2670: | Строка 2672: | ||
.tabs-tabbox > .tabs-input:checked + .tabs-label, | .tabs-tabbox > .tabs-input:checked + .tabs-label, | ||
.tabs-input-0:checked + .tabs-input-1 + .tabs-label { | .tabs-input-0:checked + .tabs-input-1 + .tabs-label { | ||
background: #ddddff0d; | |||
border-top: 1px solid rgb(255 255 255 / 15%); | |||
border-bottom: 1px solid var(--color-contrast); | |||
z-index: 2; | |||
} | } | ||
/* Стили для структуры вкладок */ | /* Стили для структуры вкладок */ | ||
.tabs-tabbox > .tabs-input + .tabs-input + .tabs-label { | .tabs-tabbox > .tabs-input + .tabs-input + .tabs-label { | ||
margin: 0; | |||
} | } | ||
.tabs-tabbox > .tabs-label { | .tabs-tabbox > .tabs-label { | ||
margin: 0; | |||
vertical-align: baseline; | |||
border-radius: 0; | |||
background: transparent; | |||
border: 1px solid rgb(0 0 0 / 50%); | |||
border-top: 1px solid rgb(255 255 255 / 10%); | |||
} | } | ||
/* Стили для контейнера вкладок */ | /* Стили для контейнера вкладок */ | ||
.tabs-tabbox > .tabs-container { | .tabs-tabbox > .tabs-container { | ||
padding: 14px 10px; | |||
background: #ddddff0d; | |||
border-radius: 0; | |||
border: 1px solid rgb(0 0 0 / 50%); | |||
} | } | ||
/* Класс для уменьшения яркости фона tabs */ | /* Класс для уменьшения яркости фона tabs */ | ||
.tabs-no-background > .tabs-container { | .tabs-no-background > .tabs-container { | ||
background: #ddddff06; | |||
} | } | ||
.tooltip { | .tooltip { | ||
position: relative; | |||
display: inline; | |||
} | } | ||
.tooltiptext { | .tooltiptext { | ||
position: absolute; | |||
min-width: 240px; | |||
max-width: 100%; | |||
left: -240px; | |||
right: -240px; | |||
top: 125%; | |||
margin-left: auto; | |||
margin-right: auto; | |||
z-index: 99; | |||
padding: 22px; | |||
pointer-events: none; | |||
visibility: hidden; | |||
transition: all 0.05s; | |||
border: 1px solid var(--color-contrast); | |||
border-radius: 1.4rem; | |||
background-color: var(--ooui--bg); | |||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); | |||
} | } | ||
.tooltip:hover>.tooltiptext { | .tooltip:hover>.tooltiptext { | ||
visibility: visible; | |||
opacity: 1; | |||
} | } | ||
@media screen and (min-width: 851px) { | @media screen and (min-width: 851px) { | ||
.mobile { | |||
display:none | |||
} | |||
.headder { | |||
width: 25%; | |||
float: right; | |||
margin-left: 1em | |||
} | |||
.stiky { | |||
position: sticky; | |||
top: 0.1em | |||
} | |||
} | } | ||
@media screen and (max-width: 850px) { | @media screen and (max-width: 850px) { | ||
.nomobile { | |||
display:none | |||
} | |||
.headder { | |||
width: 100%; | |||
margin-left: 0 | |||
} | |||
.tooltip { | |||
position: static | |||
} | |||
.tooltiptext { | |||
box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%); | |||
position: fixed!important; | |||
width: 80vw !important; | |||
top: 40vh !important; | |||
left: 0 !important; | |||
margin: 0 auto !important; | |||
right: 0!important; | |||
} | |||
/* | |||
.mobilefont { | |||
font-size: 80% | |||
} | |||
*/ | |||
.mobile-image img { | |||
width: 32px; | |||
height: 32px; | |||
} | |||
} | } | ||
.mw-mmv-above-fold,.mw-mmv-dialog,.mw-mmv-image-links li,.mw-mmv-options-cancel-button.mw-ui-button.mw-ui-quiet,.mw-mmv-options-dialog-header,.mw-mmv-options-text-header { | .mw-mmv-above-fold,.mw-mmv-dialog,.mw-mmv-image-links li,.mw-mmv-options-cancel-button.mw-ui-button.mw-ui-quiet,.mw-mmv-options-dialog-header,.mw-mmv-options-text-header { | ||
color: #e0e0e0 | |||
} | } | ||
.mw-mmv-above-fold { | .mw-mmv-above-fold { | ||
background: #222; | |||
border-top: 1px solid #333 | |||
} | } | ||
.mw-mmv-image-metadata { | .mw-mmv-image-metadata { | ||
background-color: #111; | |||
border-color: #333 | |||
} | } | ||
.mw-mmv-dialog { | .mw-mmv-dialog { | ||
border: 1px solid #333; | |||
background: #222; | |||
box-shadow: none | |||
} | } | ||
.mw-mmv-dialog .mw-mmv-dialog-down-arrow { | .mw-mmv-dialog .mw-mmv-dialog-down-arrow { | ||
background: #222; | |||
border-bottom: 1px solid #333; | |||
border-right: 1px solid #333 | |||
} | } | ||
.mw-mmv-options-enable-alert { | .mw-mmv-options-enable-alert { | ||
background: #333; | |||
color: #e0e0e0 | |||
} | } | ||
.mw-mmv-filepage-buttons .mw-ui-button { | .mw-mmv-filepage-buttons .mw-ui-button { | ||
background: var(--color-contrast); | |||
color: #e0e0e0; | |||
border-color: #1d4699 | |||
} | } | ||
.mw-default-size { | .mw-default-size { | ||
background-color: #21212600 !important; | |||
border-color: black !important | |||
} | } | ||
.mw-default-size img { | .mw-default-size img { | ||
border-color: black !important | |||
} | } | ||
.mw-default-size figcaption { | .mw-default-size figcaption { | ||
background-color: #21212600 !important; | |||
border-color: black !important | |||
} | } | ||
.mw-halign-right { | .mw-halign-right { | ||
background-color: #27272d00 !important; | |||
border-color: black !important | |||
} | } | ||
.mw-halign-right img { | .mw-halign-right img { | ||
border-color: black !important | |||
} | } | ||
.mw-halign-right figcaption { | .mw-halign-right figcaption { | ||
background-color: #27272d00 !important; | |||
border-color: black !important | |||
} | } | ||
.mw-halign-left { | .mw-halign-left { | ||
background-color: #27272d00 !important; | |||
border-color: black !important | |||
} | } | ||
.mw-halign-left img { | .mw-halign-left img { | ||
border-color: black !important | |||
} | } | ||
.mw-halign-left figcaption { | .mw-halign-left figcaption { | ||
background-color: #27272d00 !important; | |||
border-color: black !important | |||
} | } | ||
.mw-halign-center { | .mw-halign-center { | ||
background-color: #27272d00 !important; | |||
border-color: black !important | |||
} | } | ||
.mw-halign-center img { | .mw-halign-center img { | ||
border-color: black !important | |||
} | } | ||
.mw-halign-center figcaption { | .mw-halign-center figcaption { | ||
background-color: #27272d00 !important; | |||
border-color: black !important | |||
} | } | ||
.reference { | .reference { | ||
background-color: #27272d00; | |||
} | } | ||
ol.references li:target,sup.reference:target { | ol.references li:target,sup.reference:target { | ||
background-color: #ffffff0f; | |||
padding: 0px 1px 3px 1px; | |||
} | } | ||
.oo-ui-textInputWidget .oo-ui-inputWidget-input { | .oo-ui-textInputWidget .oo-ui-inputWidget-input { | ||
background-color: var(--ooui--bg); | |||
border-color: var(--ooui--border-light); | |||
color: white; | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button { | .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button { | ||
background-color: var(--color-contrast2); | |||
border-color: var(--color-contrast2); | |||
} | } | ||
.oo-ui-messageDialog-message { | .oo-ui-messageDialog-message { | ||
color: lightgray; | |||
} | } | ||
.oo-ui-messageDialog-content > .oo-ui-window-foot { | .oo-ui-messageDialog-content > .oo-ui-window-foot { | ||
outline-color: var(--ooui--border); | |||
} | } | ||
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget { | .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget { | ||
border-color: var(--ooui--border); | |||
} | } | ||
.oo-ui-windowManager-modal > .oo-ui-dialog { | .oo-ui-windowManager-modal > .oo-ui-dialog { | ||
background-color: rgba(0, 0, 0, var(--alpha-m)); | |||
} | } | ||
.oo-ui-windowManager-modal:not(.oo-ui-windowManager-size-full) > .oo-ui-dialog > .oo-ui-window-frame { | .oo-ui-windowManager-modal:not(.oo-ui-windowManager-size-full) > .oo-ui-dialog > .oo-ui-window-frame { | ||
border-color: var(--ooui--border-light); | |||
background: var(--ooui--bg); | |||
} | } | ||
.oo-ui-textInputWidget.oo-ui-widget-enabled:hover { | .oo-ui-textInputWidget.oo-ui-widget-enabled:hover { | ||
z-index: 1; | |||
} | } | ||
.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input { | .oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input { | ||
border-color: var(--ooui--border-lighter); | |||
} | } | ||
.mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-editField:hover { | .mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-editField:hover { | ||
background-color: var(--bg-contrast-m--rgba); | |||
} | } | ||
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select { | .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select { | ||
background-color: var(--ooui--bg); | |||
border-color: var(--ooui--border); | |||
color: lightgray; | |||
} | } | ||
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:hover { | .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:hover { | ||
border-color: var(--ooui--border-light); | |||
color: lightgray; | |||
} | } | ||
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:active { | .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:active { | ||
color: lightgray; | |||
} | } | ||
form:not(.oo-ui-layout) button:not(:disabled):hover, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):hover, form:not(.oo-ui-layout) button:not(:disabled):active, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):active { | form:not(.oo-ui-layout) button:not(:disabled):hover, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):hover, form:not(.oo-ui-layout) button:not(:disabled):active, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):active { | ||
background-color: var(--color-contrast2); | |||
border-color: var(--color-contrast); | |||
color: white; | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button { | .oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button { | ||
background: var(--ooui--bg); | |||
border-color: var(--ooui--border-light); | |||
color: lightgray; | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { | .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { | ||
background-color: var(--color-contrast2); | |||
border-color: var(--color-contrast2); | |||
color: white; | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { | .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { | ||
background-color: var(--color-contrast2); | |||
border-color: var(--color-contrast); | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus { | .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus { | ||
box-shadow: inset var(--box-shadow-medium); | |||
} | } | ||
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle { | .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle { | ||
background-color: var(--ooui--bg); | |||
border-color: var(--ooui--border); | |||
color: lightgray; | |||
} | } | ||
.oo-ui-comboBoxInputWidget-field { | .oo-ui-comboBoxInputWidget-field { | ||
display: flex; | |||
align-items: center; | |||
} | } | ||
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover { | .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover { | ||
border-color: var(--ooui--border-lighter); | |||
background-color: var(--ooui--bg); | |||
color: lightgray; | |||
} | } | ||
.mw-widget-dateInputWidget-handle { | .mw-widget-dateInputWidget-handle { | ||
background-color: var(--ooui--bg); | |||
border-color: var(--ooui--border); | |||
color: white !important; | |||
} | } | ||
.mw-search-profile-tabs { | .mw-search-profile-tabs { | ||
background-color: var(--ooui--bg) !important; | |||
border: var(--ooui--border) !important; | |||
} | } | ||
.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 { | ||
background: var(--color-contrast2); | |||
border-color: var(--color-contrast2); | |||
color: white; | |||
} | } | ||
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'] { | ||
background: var(--color-contrast2); | |||
border-color: var(--color-contrast2); | |||
color: white; | |||
} | } | ||
#wpDestFile { | #wpDestFile { | ||
background: var(--ooui--bg); | |||
border-color: var(--ooui--border-light); | |||
color: white; | |||
} | } | ||
#wpUploadDescription { | #wpUploadDescription { | ||
background: var(--ooui--bg); | |||
border-color: var(--ooui--border-light); | |||
color: white; | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button, .oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget-handle, button, select { | .oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button, .oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget-handle, button, select { | ||
background: var(--ooui--bg); | |||
border-color: var(--ooui--border-light); | |||
color: lightgray; | |||
} | } | ||
.mw-widgets-datetime-calendarWidget { | .mw-widgets-datetime-calendarWidget { | ||
background: var(--ooui--gradient); | |||
border-color: var(--ooui--border-light); | |||
} | } | ||
.mw-widgets-datetime-dateTimeInputWidget-handle { | .mw-widgets-datetime-dateTimeInputWidget-handle { | ||
background-color: var(--ooui--bg); | |||
border-color: var(--ooui--border-light); | |||
border-radius: var(--border-radius-low); | |||
color: white; | |||
} | } | ||
.mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-handle:hover { | .mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-handle:hover { | ||
border-color: var(--ooui--border-lighter); | |||
} | } | ||
.mw-rcfilters-ui-savedLinksListWidget-placeholder.oo-ui-optionWidget .oo-ui-labelElement-label { | .mw-rcfilters-ui-savedLinksListWidget-placeholder.oo-ui-optionWidget .oo-ui-labelElement-label { | ||
color: lightgray; | |||
} | } | ||
.mw-rcfilters-ui-savedLinksListWidget-placeholder-description { | .mw-rcfilters-ui-savedLinksListWidget-placeholder-description { | ||
color: var(--theme-color-text-dark); | |||
} | } | ||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button:focus { | .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button:focus { | ||
box-shadow: inset var(--box-shadow-medium); | |||
} | } | ||
.search-types .current a { | .search-types .current a { | ||
color: #d3d3d3 !important; | |||
cursor: default !important | |||
} | } | ||
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 { | ||
background-color: var(--bg-error-subtle); | |||
border-color: var(--border-error); | |||
} | } | ||
#mw-header-nav-hack { | #mw-header-nav-hack { | ||
border-top: solid 2px var(--theme-bg) !important; | |||
display: block; | |||
position: absolute; | |||
z-index: 98; | |||
background: var(--theme-bg) !important; | |||
width: 100% | |||
} | } | ||
.ui-widget-overlay { | .ui-widget-overlay { | ||
background: #000000 !important; | |||
opacity: .3 !important | |||
} | } | ||
.ui-widget-content { | .ui-widget-content { | ||
border: 1px solid #4a4a57 !important; | |||
background: var(--theme-bg) !important; | |||
color: #e0e0e0 !important | |||
} | } | ||
.ui-widget-header { | .ui-widget-header { | ||
border: 1px solid #4a4a57 !important; | |||
background: var(--theme-bg) !important; | |||
color: #e0e0e0 !important; | |||
font-weight: bold !important | |||
} | } | ||
#wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt { | #wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt { | ||
width: 100% !important; | |||
background-color: var(--ooui--bg) !important; | |||
color: #e0e0e0 !important | |||
} | } | ||
.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] { | .wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] { | ||
box-sizing: border-box !important; | |||
background-color: var(--ooui--bg) !important; | |||
color: #e0e0e0 !important | |||
} | } | ||
.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button { | .ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button { | ||
font-family: Verdana,Arial,sans-serif !important; | |||
font-size: 1em !important; | |||
background-color: var(--ooui--bg) !important; | |||
color: #e0e0e0 !important | |||
} | } | ||
.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default { | .ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default { | ||
border: 1px solid #4a4a57 !important; | |||
background: var(--ooui--bg) !important; | |||
font-weight: normal !important; | |||
color: #e0e0e0 !important | |||
} | } | ||
.ui-state-hover,.ui-widget-contetn .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus { | .ui-state-hover,.ui-widget-contetn .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus { | ||
border: 1px solid #4a4a57 !important; | |||
background: #4c4c59 !important; | |||
font-weight: normal !important; | |||
color: #e0e0e0 !important | |||
} | } | ||
body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close { | body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close { | ||
right: 0.9em !important; | |||
background: #4c4c59 !important | |||
} | } | ||
.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus { | .ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus { | ||
padding: 0 !important; | |||
background: #6c6c80 !important | |||
} | } | ||
.diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context { | .diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context { | ||
font-family: monospace,monospace !important; | |||
background-color: #1b1b1f !important; | |||
border-color: #1b1b1f !important; | |||
color: white !important | |||
} | } | ||
.diff-deletedline .diffchange { | .diff-deletedline .diffchange { | ||
background: #4c3c16 !important | |||
} | } | ||
.diff-addedline .diffchange { | .diff-addedline .diffchange { | ||
background: #16324d !important | |||
} | } | ||
.mw-json th,.mw-json td { | .mw-json th,.mw-json td { | ||
border: 1px solid #000000; | |||
font-size: 16px; | |||
padding: 0.5em 1em | |||
} | } | ||
.mw-json tr { | .mw-json tr { | ||
background-color: var(--theme-bg); | |||
margin-bottom: 0.5em | |||
} | } | ||
.mw-json th { | .mw-json th { | ||
background-color: #303037; | |||
font-weight: normal; | |||
vertical-align: top; | |||
color: #d3d3d3 | |||
} | } | ||
.mw-json th span { | .mw-json th span { | ||
-webkit-position: sticky; | |||
position: sticky; | |||
top: 0.5em | |||
} | } | ||
.mw-json-value,.mw-json-single-value { | .mw-json-value,.mw-json-single-value { | ||
background-color: #1b5929; | |||
font-family: monospace,monospace; | |||
white-space: pre-wrap; | |||
color: #d3d3d3 | |||
} | } | ||
.mw-json-empty { | .mw-json-empty { | ||
background-color: #1b5929; | |||
font-style: italic; | |||
color: #d3d3d3 | |||
} | } | ||
.hover_img_special { | .hover_img_special { | ||
top: 0; | |||
left: 0; | |||
display: none | |||
} | } | ||
.img_special:hover .hover_img_special { | .img_special:hover .hover_img_special { | ||
display: inline | |||
} | } | ||
.img_special:hover .img_spec { | .img_special:hover .img_spec { | ||
display: none | |||
} | } | ||
.ace-tm .ace_gutter { | .ace-tm .ace_gutter { | ||
background: var(--theme-bg); | |||
color: var(--theme-color-text-dark); | |||
} | } | ||
.ace-tm .ace_print-margin { | .ace-tm .ace_print-margin { | ||
width: 1px; | |||
background-color: #1b1b1f | |||
} | } | ||
.ace_mobile-menu { | .ace_mobile-menu { | ||
color: lightgray; | |||
background: var(--ooui--bg); | |||
border-color: var(--ooui--border-light); | |||
box-shadow: var(--box-shadow-medium); | |||
} | } | ||
.ace-tm { | .ace-tm { | ||
background-color: #1b1b1f; | |||
color: lightgrey | |||
} | } | ||
.ace-tm .ace_cursor { | .ace-tm .ace_cursor { | ||
color: white | |||
} | } | ||
.ace-tm .ace_storage,.ace-tm .ace_keyword { | .ace-tm .ace_storage,.ace-tm .ace_keyword { | ||
color: rgb(153,153,255) | |||
} | } | ||
.ace-tm .ace_constant.ace_numeric { | .ace-tm .ace_constant.ace_numeric { | ||
color: rgb(153,153,205) | |||
} | } | ||
.ace-tm .ace_constant { | .ace-tm .ace_constant { | ||
color: rgb(241,89,92) | |||
} | } | ||
.ace-tm .ace_support.ace_function { | .ace-tm .ace_support.ace_function { | ||
color: rgb(68,118,235) | |||
} | } | ||
.ace-tm .ace_support.ace_constant { | .ace-tm .ace_support.ace_constant { | ||
color: rgb(23,202,33) | |||
} | } | ||
.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class { | .ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class { | ||
color: rgb(182,187,236) | |||
} | } | ||
.ace-tm .ace_string { | .ace-tm .ace_string { | ||
color: rgb(6,142,13) | |||
} | } | ||
.ace-tm .ace_comment { | .ace-tm .ace_comment { | ||
color: rgb(103,193,150) | |||
} | } | ||
.ace-tm .ace_constant.ace_numeric { | .ace-tm .ace_constant.ace_numeric { | ||
color: rgb(153,153,255) | |||
} | } | ||
.ace-tm .ace_marker-layer .ace_selection { | .ace-tm .ace_marker-layer .ace_selection { | ||
background: rgb(28,45,68) | |||
} | } | ||
.ace-tm .ace_marker-layer .ace_bracket { | .ace-tm .ace_marker-layer .ace_bracket { | ||
margin: -1px 0 0 -1px; | |||
border: 1px solid rgb(94,94,94) | |||
} | } | ||
.ace-tm .ace_marker-layer .ace_active-line { | .ace-tm .ace_marker-layer .ace_active-line { | ||
background: rgb(153,153,183,7%) | |||
} | } | ||
.ace-tm .ace_gutter-active-line { | .ace-tm .ace_gutter-active-line { | ||
background-color: rgb(44,44,51) | |||
} | } | ||
.ace-tm .ace_marker-layer .ace_selected-word { | .ace-tm .ace_marker-layer .ace_selected-word { | ||
background: rgb(37,59,89); | |||
border: 1px solid rgb(36,36,42) | |||
} | } | ||
.codeEditor-status { | .codeEditor-status { | ||
clear: both; | |||
width: 100%; | |||
background-color: var(--theme-bg); | |||
border-top: 1px solid #40404b; | |||
display: table | |||
} | } | ||
.codeEditor-status-message { | .codeEditor-status-message { | ||
border-left: 1px solid #40404b; | |||
border-right: 1px solid #40404b; | |||
padding: 0 0.3em; | |||
width: 100%; | |||
display: table-cell | |||
} | } | ||
::-webkit-scrollbar { | ::-webkit-scrollbar { | ||
background-color: #313137; | |||
} | } | ||
::-webkit-scrollbar-thumb { | ::-webkit-scrollbar-thumb { | ||
background-color: #505057; | |||
border: 3px solid #313137; | |||
border-radius: 0.3em; | |||
} | } | ||
::-webkit-scrollbar-thumb:hover { | ::-webkit-scrollbar-thumb:hover { | ||
background-color: #616169; | |||
} | } | ||
::-webkit-scrollbar-thumb:active { | ::-webkit-scrollbar-thumb:active { | ||
background-color: #72727b; | |||
} | } | ||
@media (hover: none) and (pointer: coarse) { | @media (hover: none) and (pointer: coarse) { | ||
::-webkit-scrollbar { | |||
all: unset; | |||
width: 0; | |||
height: 0; | |||
} | |||
::-webkit-scrollbar-thumb { | |||
all: unset; | |||
} | |||
} | } | ||
.overflowed { | .overflowed { | ||
margin: 0; | |||
} | } | ||
.scroll-left.overflowed .content-table-left, | .scroll-left.overflowed .content-table-left, | ||
.scroll-right.overflowed .content-table-right { | .scroll-right.overflowed .content-table-right { | ||
border-left: solid 1px rgba(var(--color-lighter--rgb), 0.4); | |||
z-index: 9999; | |||
} | } | ||
.scroll-left.overflowed .content-table-left { | .scroll-left.overflowed .content-table-left { | ||
box-shadow: 1px 0px 2px 2px rgba(0, 0, 0, 0.2); | |||
} | } | ||
.scroll-right.overflowed .content-table-right { | .scroll-right.overflowed .content-table-right { | ||
box-shadow: -1px 0px 2px 2px rgba(0, 0, 0, 0.2); | |||
} | } | ||
.style-for-sub-numbered-lists ol { | .style-for-sub-numbered-lists ol { | ||
counter-reset: item | |||
} | } | ||
.style-for-sub-numbered-lists li { | .style-for-sub-numbered-lists li { | ||
display: block | |||
} | } | ||
.style-for-sub-numbered-lists li:before { | .style-for-sub-numbered-lists li:before { | ||
content: counters(item,".") ". "; | |||
counter-increment: item | |||
} | } | ||
.section { | .section { | ||
display: flex; | |||
flex-wrap: wrap | |||
} | } | ||
.section .col { | .section .col { | ||
flex: 1 1 auto | |||
} | } | ||
.section .line-break { | .section .line-break { | ||
flex-basis: 100%; | |||
width: 0px; | |||
height: 0px; | |||
overflow: hidden | |||
} | } | ||
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend, .mw-body fieldset#mw-searchoptions, .mw_metadata, .mw-datatable { | .mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend, .mw-body fieldset#mw-searchoptions, .mw_metadata, .mw-datatable { | ||
color: #d3d3d3; | |||
background: var(--ooui--gradient); | |||
border: 1px solid var(--ooui--bg); | |||
padding: 12px 10px; | |||
box-shadow: var(--box-shadow-medium); | |||
} | } | ||
.mw-rcfilters-ui-filterMenuHeaderWidget-header { | .mw-rcfilters-ui-filterMenuHeaderWidget-header { | ||
background: var(--ooui--bg); | |||
border-color: var(--ooui--border-light); | |||
} | } | ||
.mw-footer-container { | .mw-footer-container { | ||
border-color: var(--ooui--border-light); | |||
} | } | ||
.mw-rcfilters-ui-filterMenuHeaderWidget-title.oo-ui-labelElement-label { | .mw-rcfilters-ui-filterMenuHeaderWidget-title.oo-ui-labelElement-label { | ||
color: lightgray; | |||
font-weight: bold; | |||
} | } | ||
#mw-search-toggleall { | #mw-search-toggleall { | ||
background-color: var(--ooui--bg); | |||
border-color: var(--ooui--border); | |||
} | } | ||
#mw-search-togglenone { | #mw-search-togglenone { | ||
background-color: var(--ooui--bg); | |||
border-color: var(--ooui--border); | |||
} | } | ||
#mw-searchoptions .divider { | #mw-searchoptions .divider { | ||
border-color: var(--ooui--border-light); | |||
} | } | ||
.mw_metadata > tr > th,.mw-datatable > tr > th,.wikitable > tr > th,.mw_metadata > tr > td,.mw-datatable > tr > td,.wikitable > tr > td,.mw_metadata > * > tr > th,.mw-datatable > * > tr > th,.wikitable > * > tr > th,.mw_metadata > * > tr > td,.mw-datatable > * > tr > td,.wikitable > * > tr > td { | .mw_metadata > tr > th,.mw-datatable > tr > th,.wikitable > tr > th,.mw_metadata > tr > td,.mw-datatable > tr > td,.wikitable > tr > td,.mw_metadata > * > tr > th,.mw-datatable > * > tr > th,.wikitable > * > tr > th,.mw_metadata > * > tr > td,.mw-datatable > * > tr > td,.wikitable > * > tr > td { | ||
border:none; | |||
padding:0.5em; | |||
} | } | ||
.mw-datatable th { | .mw-datatable th { | ||
background: var(--theme-bg) | |||
} | } | ||
.mw-datatable td { | .mw-datatable td { | ||
background-color: #303037 | |||
} | } | ||
.mw-datatable tr:hover td { | .mw-datatable tr:hover td { | ||
background-color: #3f3f48 | |||
} | } | ||
.pretoclip-copy-button { | .pretoclip-copy-button { | ||
float: right | |||
} | } | ||
.mw-scribunto-message { | .mw-scribunto-message { | ||
color: var(--se-cm--xml-tag-color); | |||
} | } | ||
#mw-scribunto-input { | #mw-scribunto-input { | ||
width: 100%; | |||
border: 0; | |||
overflow: auto; | |||
background: var(--ooui--bg); | |||
border: 1px solid var(--ooui--border-light); | |||
font-weight: normal; | |||
color: lightgray; | |||
} | } | ||
.mw-scribunto-input { | .mw-scribunto-input { | ||
color: #d3d3d3; | |||
font: inherit; | |||
font-weight: bold; | |||
margin-top: 0.5em | |||
} | } | ||
.table-flex { | .table-flex { | ||
display: flex; | |||
flex-direction: row; | |||
flex-wrap: wrap; | |||
justify-content: space-evenly | |||
} | } | ||
.boxes-flex { | .boxes-flex { | ||
padding: 0; | |||
margin: 0; | |||
text-align: center | |||
} | } | ||
.role-big-title { | .role-big-title { | ||
margin: 0px; | |||
text-align: center; | |||
font-size: 40px; | |||
line-height: 50px; | |||
border-radius: 8px | |||
} | } | ||
.role-block-radius { | .role-block-radius { | ||
border-radius: 8px | |||
} | } | ||
.role-block-name { | .role-block-name { | ||
padding: 2px; | |||
border-radius: .3em; | |||
margin-bottom: .2em; | |||
} | } | ||
.story-text { | .story-text { | ||
text-indent: 19px; | |||
text-align: justify | |||
} | } | ||
.story-dialogue { | .story-dialogue { | ||
line-height: 1.2 | |||
} | } | ||
.oo-ui-stackLayout-continuous > .oo-ui-panelLayout { | .oo-ui-stackLayout-continuous > .oo-ui-panelLayout { | ||
display: block; | |||
position: relative; | |||
margin: 0px 25% | |||
} | } | ||
.mw-gallery-slideshow .gallerybox.slideshow-current { | .mw-gallery-slideshow .gallerybox.slideshow-current { | ||
background: #28282e | |||
} | } | ||
.gallerytext { | .gallerytext { | ||
overflow: hidden; | |||
font-size: 94%; | |||
padding: 2px 4px; | |||
word-wrap: break-word; | |||
text-align: center | |||
} | } | ||
#content .gallerybox div.thumb { | #content .gallerybox div.thumb { | ||
background-color: #f8f9fa00 | |||
} | } | ||
.mw-body li.gallerybox div.thumb { | .mw-body li.gallerybox div.thumb { | ||
background: #f8f9fa00; | |||
border: solid #28282e; | |||
border-width: 1px 1px 0.2em; | |||
padding: 1.25em 1.75em; | |||
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02); | |||
padding: 0 | |||
} | } | ||
.title-no-bottom-border { | .title-no-bottom-border { | ||
border-bottom: none !important | |||
} | } | ||
.title-top-border { | .title-top-border { | ||
border-top: solid 2px #c8ccd1 | |||
} | } | ||
@media (min-width: 1340px) { | @media (min-width: 1340px) { | ||
#mw-content-block { | |||
display:block | |||
} | |||
#mw-content { | |||
margin-left: 14em; | |||
padding: 2em 0 0 | |||
} | |||
#mw-content-wrapper { | |||
float: right; | |||
margin-left: -14em; | |||
background: transparent; | |||
width: 100% | |||
} | |||
.color-middle { | |||
margin-right: 1em !important; | |||
} | |||
.mw-wiki-logo { | |||
display: inline-block | |||
} | |||
#catlinks { | |||
margin-left: 14em | |||
} | |||
} | } | ||
#footer { | #footer { | ||
padding-right: 1em | |||
} | } | ||
.mw-body h1 { | .mw-body h1 { | ||
font-family: 'oswald'; | |||
font-size: 2em; | |||
} | } | ||
.mw-body h2 { | .mw-body h2 { | ||
font-size: 1.6em; | |||
border-bottom: solid 2px var(--color-contrast); | |||
font-family: 'Linux Libertine', 'Georgia', 'Times', serif; | |||
margin-bottom: 0.4em; | |||
margin-top: 1em; | |||
} | } | ||
.mw-body h3 { | .mw-body h3 { | ||
font-size: 1.2em; | |||
font-weight: bold; | |||
font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif; | |||
margin-top: 0.5em; | |||
margin-bottom: 0.3em; | |||
padding-bottom: 0; | |||
line-height: 1.6; | |||
padding-top: 0.3em; | |||
} | } | ||
.mw-body h4 { | .mw-body h4 { | ||
font-size: 1.05em; | |||
font-weight: bold; | |||
font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif; | |||
} | } | ||
.target { | .target { | ||
border-bottom: 1px solid darkblue | |||
} | } | ||
.target:target { | .target:target { | ||
border-bottom: 2px solid gold; | |||
transition: border 0.7s cubic-bezier(0.4,0,0.2,1) | |||
} | } | ||
.backlight:hover { | .backlight:hover { | ||
box-shadow: 0 0 0.3em gold; | |||
background-color: #00000025; | |||
} | } | ||
#main.backlight:hover { | #main.backlight:hover { | ||
box-shadow: inset 0 0 23em #00000066; | |||
border-radius: 8px; | |||
} | } | ||
#strongwhite, #strongwhite p, #strongwhite h1, #strongwhite h2, #strongwhite h3, #strongwhite h4, #strongwhite h5, #strongwhite h6, #strongwhite li { | #strongwhite, #strongwhite p, #strongwhite h1, #strongwhite h2, #strongwhite h3, #strongwhite h4, #strongwhite h5, #strongwhite h6, #strongwhite li { | ||
color: #e9e9e9 !important | |||
} | } | ||
/*затемнение для мобилок*/ | /*затемнение для мобилок*/ | ||
#menus-cover { | #menus-cover { | ||
background: #000000; | |||
opacity: var(--alpha-s); | |||
} | } | ||
.oo-ui-tagMultiselectWidget-handle, .oo-ui-panelLayout-padded { | .oo-ui-tagMultiselectWidget-handle, .oo-ui-panelLayout-padded { | ||
background: var(--ooui--bg-darkened); | |||
border: none; | |||
border-radius: var(--border-radius-low); | |||
} | } | ||
/*Красивые картинки*/ | /*Красивые картинки*/ | ||
.mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] { | .mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] { | ||
margin: 0 0 0.5em 0.5em; | |||
border:1px solid black; | |||
border-bottom:0; | |||
border-radius:0.9em 0.9em 0 0; | |||
background:#1b1b1f; | |||
} | } | ||
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption { | figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption { | ||
border-radius: 0 0 0.9em 0.9em; | |||
border:1px solid black; | |||
border-top:0; | |||
background:#1b1b1f; | |||
padding-bottom:5px; | |||
font-family:oswald; | |||
font-size:1em; | |||
} | } | ||
figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child:not(.mw-broken-media) { | figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child:not(.mw-broken-media) { | ||
margin: 5px; | |||
border-radius: 0.4em; | |||
} | } | ||
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame']{ | figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame']{ | ||
border-collapse:separate; | |||
} | } | ||
.mw-content-ltr figure[typeof~='mw:File/Thumb']:not([typeof~='mw:Error']) > a.mw-file-description:after{ | .mw-content-ltr figure[typeof~='mw:File/Thumb']:not([typeof~='mw:Error']) > a.mw-file-description:after{ | ||
border-bottom: 1px solid var(--color-contrast); | |||
} | } | ||
/*кнопка для главного меню*/ | /*кнопка для главного меню*/ | ||
.StupidButton { | .StupidButton { | ||
width: 100%; | |||
height: 100%; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
z-index: 100; | |||
} | } | ||
| Строка 3678: | Строка 3680: | ||
/* Таблица */ | /* Таблица */ | ||
#MED.wikitable { | #MED.wikitable { | ||
background: #01453e; | |||
border-spacing: 0px; | |||
} | } | ||
| Строка 3685: | Строка 3687: | ||
#MED.wikitable thead tr th, | #MED.wikitable thead tr th, | ||
#MED.wikitable:not(:has(thead)) tr:first-of-type th { | #MED.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #01453e; | |||
border-bottom: 3px solid #00000015; | |||
} | } | ||
| Строка 3693: | Строка 3695: | ||
#MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#MED.wikitable thead + tbody > tr th { | #MED.wikitable thead + tbody > tr th { | ||
background: #005b53; | |||
border-bottom: 1px solid #01453e; | |||
} | } | ||
| Строка 3700: | Строка 3702: | ||
#MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | #MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | ||
#MED.wikitable thead + tbody > tr td { | #MED.wikitable thead + tbody > tr td { | ||
background: #1f635d; | |||
border-bottom: 1px solid #01453e; | |||
border-left: 1px solid #005b53; | |||
} | } | ||
/* Таблица */ | /* Таблица */ | ||
#ENG.wikitable { | #ENG.wikitable { | ||
background: #775f0e; | |||
border-spacing: 0px; | |||
} | } | ||
| Строка 3714: | Строка 3716: | ||
#ENG.wikitable thead tr th, | #ENG.wikitable thead tr th, | ||
#ENG.wikitable:not(:has(thead)) tr:first-of-type th { | #ENG.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #775f0e; | |||
border-bottom: 3px solid #00000015; | |||
} | } | ||
| Строка 3722: | Строка 3724: | ||
#ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#ENG.wikitable thead + tbody > tr th { | #ENG.wikitable thead + tbody > tr th { | ||
background: #8f7210; | |||
border-bottom: 1px solid #775f0e; | |||
} | } | ||
| Строка 3729: | Строка 3731: | ||
#ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | #ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | ||
#ENG.wikitable thead + tbody > tr td { | #ENG.wikitable thead + tbody > tr td { | ||
background: #977e31; | |||
border-bottom: 1px solid #775f0e; | |||
border-left: 1px solid #8f7210; | |||
} | } | ||
#SEC.wikitable { | #SEC.wikitable { | ||
background: #404144; | |||
color: #dddddd; | |||
} | } | ||
#SEC.wikitable>*>tr>th { | #SEC.wikitable>*>tr>th { | ||
background: #912424; | |||
color: #dddddd; | |||
} | } | ||
#SEC.wikitable > * > tr > td { | #SEC.wikitable > * > tr > td { | ||
background: #515255; | |||
color: #dddddd; | |||
} | } | ||
#SRV.wikitable { | #SRV.wikitable { | ||
background: #316f20; | |||
color: #dddddd; | |||
} | } | ||
#SRV.wikitable>*>tr>th { | #SRV.wikitable>*>tr>th { | ||
background: #316f20; | |||
color: #dddddd; | |||
} | } | ||
#SRV.wikitable >*> tr > td { | #SRV.wikitable >*> tr > td { | ||
background: #40852b; | |||
color: #dddddd; | |||
} | } | ||
/* Таблица */ | /* Таблица */ | ||
#RND.wikitable { | #RND.wikitable { | ||
background: #630069; | |||
border-spacing: 0px; | |||
} | } | ||
| Строка 3773: | Строка 3775: | ||
#RND.wikitable thead tr th, | #RND.wikitable thead tr th, | ||
#RND.wikitable:not(:has(thead)) tr:first-of-type th { | #RND.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #630069; | |||
border-bottom: 3px solid #00000015; | |||
} | } | ||
| Строка 3781: | Строка 3783: | ||
#RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#RND.wikitable thead + tbody > tr th { | #RND.wikitable thead + tbody > tr th { | ||
background: #7c0183; | |||
border-bottom: 1px solid #630069; | |||
} | } | ||
| Строка 3788: | Строка 3790: | ||
#RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | #RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | ||
#RND.wikitable thead + tbody > tr td { | #RND.wikitable thead + tbody > tr td { | ||
background: #84328f; | |||
border-bottom: 1px solid #630069; | |||
border-left: 1px solid #7c0183; | |||
} | } | ||
/* Таблица */ | /* Таблица */ | ||
#SUP.wikitable { | #SUP.wikitable { | ||
background: #6f3d0a; | |||
border-spacing: 0px; | |||
} | } | ||
| Строка 3802: | Строка 3804: | ||
#SUP.wikitable thead tr th, | #SUP.wikitable thead tr th, | ||
#SUP.wikitable:not(:has(thead)) tr:first-of-type th { | #SUP.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #6f3d0a; | |||
border-bottom: 3px solid #00000015; | |||
} | } | ||
| Строка 3810: | Строка 3812: | ||
#SUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #SUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#SUP.wikitable thead + tbody > tr th { | #SUP.wikitable thead + tbody > tr th { | ||
background: #85490c; | |||
border-bottom: 1px solid #6f3d0a; | |||
} | } | ||
| Строка 3817: | Строка 3819: | ||
#SUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | #SUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | ||
#SUP.wikitable thead + tbody > tr td { | #SUP.wikitable thead + tbody > tr td { | ||
background: #8f5a23; | |||
border-bottom: 1px solid #6f3d0a; | |||
border-left: 1px solid #85490c; | |||
} | } | ||
| Строка 3826: | Строка 3828: | ||
#aMED.wikitable thead tr th, | #aMED.wikitable thead tr th, | ||
#aMED.wikitable:not(:has(thead)) tr:first-of-type th { | #aMED.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #004d45; | |||
border-bottom: 0.2em solid #00000059; | |||
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1); | |||
} | } | ||
#aMED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #aMED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#aMED.wikitable thead + tbody > tr th { | #aMED.wikitable thead + tbody > tr th { | ||
background: #0d747f; | |||
border-bottom: 0.1em solid #00000059; | |||
border-left: 0.2em solid #00000059; | |||
} | } | ||
#aENG.wikitable thead tr th, | #aENG.wikitable thead tr th, | ||
#aENG.wikitable:not(:has(thead)) tr:first-of-type th { | #aENG.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #715609; | |||
border-bottom: 0.2em solid #00000059; | |||
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1); | |||
} | } | ||
#aENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #aENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#aENG.wikitable thead + tbody > tr th { | #aENG.wikitable thead + tbody > tr th { | ||
background: #957710; | |||
border-bottom: 0.1em solid #00000059; | |||
border-left: 0.2em solid #00000059; | |||
} | } | ||
#aRND.wikitable thead tr th, | #aRND.wikitable thead tr th, | ||
#aRND.wikitable:not(:has(thead)) tr:first-of-type th { | #aRND.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #4e0163; | |||
border-bottom: 0.2em solid #00000059; | |||
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1); | |||
} | } | ||
#aRND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #aRND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#aRND.wikitable thead + tbody > tr th { | #aRND.wikitable thead + tbody > tr th { | ||
background: #78027f; | |||
border-bottom: 0.1em solid #00000059; | |||
border-left: 0.2em solid #00000059; | |||
} | } | ||
#aSUP.wikitable thead tr th, | #aSUP.wikitable thead tr th, | ||
#aSUP.wikitable:not(:has(thead)) tr:first-of-type th { | #aSUP.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #6f390a; | |||
border-bottom: 0.2em solid #00000059; | |||
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1); | |||
} | } | ||
#aSUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #aSUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#aSUP.wikitable thead + tbody > tr th { | #aSUP.wikitable thead + tbody > tr th { | ||
background: #874b0e; | |||
border-bottom: 0.1em solid #00000059; | |||
border-left: 0.2em solid #00000059; | |||
} | } | ||
#aSEC.wikitable { | #aSEC.wikitable { | ||
background: var(--ooui--bg); | |||
color: #dddddd; | |||
} | } | ||
#aSEC.wikitable>*>tr>th { | #aSEC.wikitable>*>tr>th { | ||
background: #912424; | |||
color: #dddddd; | |||
} | } | ||
#aSEC.wikitable > * > tr > td { | #aSEC.wikitable > * > tr > td { | ||
background: #31313b; | |||
color: #dddddd; | |||
} | } | ||
/* Таблица */ | /* Таблица */ | ||
#aSRV.wikitable { | #aSRV.wikitable { | ||
background: #216321; | |||
border-spacing: 0px; | |||
} | } | ||
| Строка 3908: | Строка 3910: | ||
#aSRV.wikitable thead tr th, | #aSRV.wikitable thead tr th, | ||
#aSRV.wikitable:not(:has(thead)) tr:first-of-type th { | #aSRV.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #216321; | |||
border-bottom: 0.2em solid #00000021; | |||
} | } | ||
| Строка 3916: | Строка 3918: | ||
#aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#aSRV.wikitable thead + tbody > tr th { | #aSRV.wikitable thead + tbody > tr th { | ||
background: #297929; | |||
border-bottom: 1px solid #216321; | |||
} | } | ||
| Строка 3923: | Строка 3925: | ||
#aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | #aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | ||
#aSRV.wikitable thead + tbody > tr td { | #aSRV.wikitable thead + tbody > tr td { | ||
background: #3f833f; | |||
border-bottom: 1px solid #216321; | |||
border-left: 1px solid #297929; | |||
} | } | ||
/* Таблица */ | /* Таблица */ | ||
#BOTANY.wikitable { | #BOTANY.wikitable { | ||
background: #0d3f28; | |||
} | } | ||
| Строка 3936: | Строка 3938: | ||
#BOTANY.wikitable thead tr th, | #BOTANY.wikitable thead tr th, | ||
#BOTANY.wikitable:not(:has(thead)) tr:first-of-type th { | #BOTANY.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #04673e !important; | |||
border-bottom: 0.2em solid #00000021; | |||
} | } | ||
| Строка 3944: | Строка 3946: | ||
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#BOTANY.wikitable thead + tbody > tr th { | #BOTANY.wikitable thead + tbody > tr th { | ||
background: #0d7b39; | |||
} | } | ||
| Строка 3950: | Строка 3952: | ||
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-of-type, | #BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-of-type, | ||
#BOTANY.wikitable thead + tbody > tr th:first-of-type { | #BOTANY.wikitable thead + tbody > tr th:first-of-type { | ||
border-left: 0.2em solid #0000003b; | |||
} | } | ||
| Строка 3956: | Строка 3958: | ||
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | #BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | ||
#BOTANY.wikitable thead + tbody > tr td { | #BOTANY.wikitable thead + tbody > tr td { | ||
background: #2a834e; | |||
} | } | ||
/* Таблица */ | /* Таблица */ | ||
#MUTATION.wikitable { | #MUTATION.wikitable { | ||
background: #220f3b; | |||
} | } | ||
| Строка 3967: | Строка 3969: | ||
#MUTATION.wikitable thead tr th, | #MUTATION.wikitable thead tr th, | ||
#MUTATION.wikitable:not(:has(thead)) tr:first-of-type th { | #MUTATION.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #330b65 !important; | |||
border-bottom: 0.2em solid #00000021; | |||
} | } | ||
| Строка 3975: | Строка 3977: | ||
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#MUTATION.wikitable thead + tbody > tr th { | #MUTATION.wikitable thead + tbody > tr th { | ||
background: #3a1769; | |||
} | } | ||
| Строка 3981: | Строка 3983: | ||
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-of-type, | #MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-of-type, | ||
#MUTATION.wikitable thead + tbody > tr th:first-of-type { | #MUTATION.wikitable thead + tbody > tr th:first-of-type { | ||
border-left: 0.2em solid #0000003b; | |||
} | } | ||
| Строка 3987: | Строка 3989: | ||
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | #MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | ||
#MUTATION.wikitable thead + tbody > tr td { | #MUTATION.wikitable thead + tbody > tr td { | ||
background: #422371; | |||
} | } | ||
| Строка 4000: | Строка 4002: | ||
.hlist-items-nowrap dt, | .hlist-items-nowrap dt, | ||
.hlist-items-nowrap li { | .hlist-items-nowrap li { | ||
white-space: nowrap; | |||
} | } | ||
/* Прекращение действия лицензии CC BY-SA 4.0*/ | /* Прекращение действия лицензии CC BY-SA 4.0*/ | ||
| Строка 4013: | Строка 4015: | ||
.hlist.hlist ol, | .hlist.hlist ol, | ||
.hlist.hlist ul { | .hlist.hlist ul { | ||
margin: 0; | |||
padding: 0; | |||
} | } | ||
/* Display list items inline */ | /* Display list items inline */ | ||
| Строка 4020: | Строка 4022: | ||
.hlist dt, | .hlist dt, | ||
.hlist li { | .hlist li { | ||
margin: 0; | |||
display: inline; | |||
} | } | ||
/* Display nested lists inline */ | /* Display nested lists inline */ | ||
| Строка 4031: | Строка 4033: | ||
.hlist ol dl, .hlist ol ol, .hlist ol ul, | .hlist ol dl, .hlist ol ol, .hlist ol ul, | ||
.hlist ul dl, .hlist ul ol, .hlist ul ul { | .hlist ul dl, .hlist ul ol, .hlist ul ul { | ||
display: inline; | |||
} | } | ||
/* Hide empty list items */ | /* Hide empty list items */ | ||
.hlist .mw-empty-li, | .hlist .mw-empty-li, | ||
.hlist .mw-empty-elt { | .hlist .mw-empty-elt { | ||
display: none; | |||
} | } | ||
/* Generate bullets */ | /* Generate bullets */ | ||
.hlist dt:after { | .hlist dt:after { | ||
content: ": "; | |||
} | } | ||
.hlist dd:after, | .hlist dd:after, | ||
.hlist li:after { | .hlist li:after { | ||
content: "\00a0· "; | |||
font-weight: bold; | |||
} | } | ||
.hlist dd:last-child:after, | .hlist dd:last-child:after, | ||
.hlist dt:last-child:after, | .hlist dt:last-child:after, | ||
.hlist li:last-child:after { | .hlist li:last-child:after { | ||
content: none; | |||
} | } | ||
/* Add parentheses around nested lists */ | /* Add parentheses around nested lists */ | ||
| Строка 4056: | Строка 4058: | ||
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, | .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, | ||
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { | .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { | ||
content: " ("; | |||
font-weight: normal; | |||
} | } | ||
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, | .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, | ||
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, | .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, | ||
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { | .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { | ||
content: ")"; | |||
font-weight: normal; | |||
} | } | ||
/* Put ordinals in front of ordered list items */ | /* Put ordinals in front of ordered list items */ | ||
.hlist ol { | .hlist ol { | ||
counter-reset: listitem; | |||
} | } | ||
.hlist ol > li { | .hlist ol > li { | ||
counter-increment: listitem; | |||
} | } | ||
.hlist ol > li:before { | .hlist ol > li:before { | ||
content: " " counter(listitem) "\a0"; | |||
} | } | ||
.hlist dd ol > li:first-child:before, | .hlist dd ol > li:first-child:before, | ||
.hlist dt ol > li:first-child:before, | .hlist dt ol > li:first-child:before, | ||
.hlist li ol > li:first-child:before { | .hlist li ol > li:first-child:before { | ||
content: " (" counter(listitem) "\a0"; | |||
} | } | ||
/* Прекращение действия лицензии CC BY-SA 4.0*/ | /* Прекращение действия лицензии CC BY-SA 4.0*/ | ||
| Строка 4088: | Строка 4090: | ||
.pseudomodal { | .pseudomodal { | ||
overflow-y: auto; | |||
display: flex; | |||
flex-direction: column; | |||
visibility: hidden; | |||
opacity: 0; | |||
background-color: var(--theme-bg); | |||
width: 60%; | |||
height: 80%; | |||
border: 1px solid black; | |||
border-radius: 0.5rem; | |||
padding: 5px 25px; | |||
position: fixed; | |||
margin: auto; | |||
top: 0; | |||
right: 0; | |||
bottom: 0; | |||
left: 0; | |||
z-index: 100 !important; | |||
box-shadow: 0px 0px 0px 100vh rgba(0, 0, 0, 0.6); | |||
} | } | ||
| Строка 4155: | Строка 4157: | ||
/* Key press */ | /* Key press */ | ||
.keyboard-key { | .keyboard-key { | ||
border: 1px solid #555555; | |||
border-radius: var(--border-radius-low); | |||
box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.1); | |||
background-image: linear-gradient(to bottom, #1e1e1e, #393838, #1e1e1e); | |||
color: lightgrey; | |||
padding: 0.1em 0.3em; | |||
font-family: inherit; | |||
font-size: 0.8em; | |||
} | } | ||
@media only screen and (max-width: 600px) { | @media only screen and (max-width: 600px) { | ||
.flex--row-column { | |||
flex-direction:column; width: 50%; margin: auto; | |||
} | |||
} | } | ||
| Строка 4174: | Строка 4176: | ||
.forumMessage, .wikiMessage { | .forumMessage, .wikiMessage { | ||
background: #1b1b1f; | |||
} | } | ||
.forumMessage { | .forumMessage { | ||
padding: 10px 10px 30px; | |||
} | } | ||
.wikiMessage { | .wikiMessage { | ||
padding: 10px 10px 10px; | |||
margin-bottom: 10px; | |||
} | } | ||
.forumMessageInfo, .wikiMessageInfo{ | .forumMessageInfo, .wikiMessageInfo{ | ||
padding: 0; | |||
margin-left: 160px; | |||
border-bottom: 1px none black; | |||
zoom: 1; | |||
color: rgb(255, 255, 255); | |||
} | } | ||
.forumMessageContent, .wikiMessageContent { | .forumMessageContent, .wikiMessageContent { | ||
padding-bottom: 2px; | |||
padding-left:4px; | |||
border-style: hidden; | |||
min-height: 100px; | |||
overflow: hidden; | |||
} | } | ||
.forumMessageContent { | .forumMessageContent { | ||
background-color: #303037 | |||
} | } | ||
.forumMessageUserInfo, .wikiIMG { | .forumMessageUserInfo, .wikiIMG { | ||
float: left; | |||
width: 140px; | |||
position: relative; | |||
} | } | ||
.forumAvatarHolder, .wikiIMGHolder { | .forumAvatarHolder, .wikiIMGHolder { | ||
padding: 10px; | |||
text-align: center; | |||
position:relative; | |||
} | } | ||
.forumAvatarHolder { | .forumAvatarHolder { | ||
background:#303037 | |||
} | } | ||
.forumUserText { | .forumUserText { | ||
padding: 1px 10px; | |||
background:#303037 | |||
} | } | ||
.forumUserName { | .forumUserName { | ||
font-size: 14px; | |||
color: rgb(255, 148, 7); | |||
margin-bottom: 5px; | |||
display: block; | |||
overflow: hidden; | |||
line-height: 16px; | |||
text-align: center; | |||
} | } | ||
.forumBanner { | .forumBanner { | ||
font-size: 11px; | |||
text-align: center; | |||
padding: 5px; | |||
color: black; | |||
border-color: silver; | |||
height: 16px; | |||
width: 105px; | |||
display: block; | |||
margin-bottom: 5px | |||
} | } | ||
.forumAdmin { | .forumAdmin { | ||
background: silver | |||
} | } | ||
/* CodeMirror */ | /* CodeMirror */ | ||
.CodeMirror { | .CodeMirror { | ||
height: 600px; | |||
position: relative; | |||
overflow: hidden; | |||
background: #1b1b1f; | |||
color: inherit; | |||
} | } | ||
.CodeMirror-gutters { | .CodeMirror-gutters { | ||
border-right: 1px solid var(--theme-bg); | |||
background-color: var(--theme-bg); | |||
white-space: nowrap; | |||
} | } | ||
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { | .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { | ||
background: #1c2d44; | |||
} | } | ||
| Строка 4276: | Строка 4278: | ||
.mw-mmv-image>*, .fullImageLink>*>* { | .mw-mmv-image>*, .fullImageLink>*>* { | ||
image-rendering: auto !important; | |||
} | } | ||
/* Для тестов */ | /* Для тестов */ | ||
.skameykatable{ | .skameykatable{ | ||
border:1px solid black; | |||
border-radius:1.4rem; | |||
} | } | ||
.skameykatable>*>tr>th{ | .skameykatable>*>tr>th{ | ||
text-align:center; | |||
font-weight:bold; | |||
} | |||
.skameykatable>*>tr>td{ | .skameykatable>*>tr>td{ | ||
border:none; | |||
} | |||
.skameykatable>*>tr:not(:first-child)>*{ | .skameykatable>*>tr:not(:first-child)>*{ | ||
border-top:1px solid black !important; | |||
} | } | ||
.skameykatable>*>tr:not(:first-child):not(:last-child):hover{ | .skameykatable>*>tr:not(:first-child):not(:last-child):hover{ | ||
| Строка 4298: | Строка 4300: | ||
} | } | ||
.skameykatable>*>tr:last-child{ | .skameykatable>*>tr:last-child{ | ||
box-shadow: inset 30em 30em 0 #1b1b20; | |||
border-bottom-left-radius:1.3rem; | |||
border-bottom-right-radius:1.3rem; | |||
} | } | ||
.skameykatable>*>tr>*{ | .skameykatable>*>tr>*{ | ||
padding:0.4em; | |||
background:transparent; | |||
border:none !important; | |||
} | } | ||
.headerSort::after { | .headerSort::after { | ||
content: "\21C5"; | |||
} | } | ||
.headerSort.headerSortUp::after { | .headerSort.headerSortUp::after { | ||
content: "\2191"; | |||
} | } | ||
.headerSort.headerSortDown::after { | .headerSort.headerSortDown::after { | ||
content: "\2193"; | |||
} | } | ||
.headerSort { | .headerSort { | ||
background-size: 0 0 !important; | |||
white-space: nowrap; | |||
} | } | ||
.pseudomodal p { | .pseudomodal p { | ||
margin: 0 !important; | |||
} | } | ||
| Строка 4340: | Строка 4342: | ||
/* Hide noscript only elements */ | /* Hide noscript only elements */ | ||
.client-js *.noscript { | .client-js *.noscript { | ||
display: none; | |||
} | } | ||
| Строка 4351: | Строка 4353: | ||
/* Стили для первого ряда в таблицах без thead */ | /* Стили для первого ряда в таблицах без thead */ | ||
#highlighted-header.wikitable:not(:has(thead)) tr:first-of-type th { | #highlighted-header.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #3d3d4f; | |||
border-bottom: 0.2em solid #00000059; | |||
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1); | |||
} | } | ||
| Строка 4361: | Строка 4363: | ||
/* Стили для последующих строк в таблицах с thead */ | /* Стили для последующих строк в таблицах с thead */ | ||
#highlighted-header.wikitable thead + tbody > tr th { | #highlighted-header.wikitable thead + tbody > tr th { | ||
background: #972626; | |||
border-bottom: 0.1em solid #00000059; | |||
border-left: 0.2em solid #00000059; | |||
} | } | ||
| Строка 4369: | Строка 4371: | ||
#highlighted-header-classic.wikitable thead tr th, | #highlighted-header-classic.wikitable thead tr th, | ||
#highlighted-header-classic.wikitable:not(:has(thead)) tr:first-of-type th { | #highlighted-header-classic.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #323240; | |||
border-bottom: 0.2em solid #00000045; | |||
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1); | |||
} | } | ||
#highlighted-header-classic.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #highlighted-header-classic.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#highlighted-header-classic.wikitable thead + tbody > tr th { | #highlighted-header-classic.wikitable thead + tbody > tr th { | ||
background: #3e3e4d; | |||
border-bottom: 0.1em solid #0000000d; | |||
border-left: 0.2em solid #00000024; | |||
} | } | ||
| Строка 4385: | Строка 4387: | ||
#highlighted-header-cold.wikitable thead tr th, | #highlighted-header-cold.wikitable thead tr th, | ||
#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; | |||
background-color: #006587; | |||
border-bottom: 0.2em solid #00000059; | |||
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1); | |||
} | } | ||
#highlighted-header-cold.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #highlighted-header-cold.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#highlighted-header-cold.wikitable thead + tbody > tr th { | #highlighted-header-cold.wikitable thead + tbody > tr th { | ||
background: #00707b; | |||
border-bottom: 0.1em solid #00000059; | |||
border-left: 0.2em solid #00000059; | |||
} | } | ||
| Строка 4401: | Строка 4403: | ||
#highlighted-header-dark.wikitable thead tr th, | #highlighted-header-dark.wikitable thead tr th, | ||
#highlighted-header-dark.wikitable:not(:has(thead)) tr:first-of-type th { | #highlighted-header-dark.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #3d3d4f; | |||
border-bottom: 0.2em solid #00000059; | |||
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1); | |||
} | } | ||
#highlighted-header-dark.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #highlighted-header-dark.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#highlighted-header-dark.wikitable thead + tbody > tr th { | #highlighted-header-dark.wikitable thead + tbody > tr th { | ||
background: #8d2121; | |||
border-bottom: 0.1em solid #00000059; | |||
border-left: 0.2em solid #00000059; | |||
} | } | ||
| Строка 4417: | Строка 4419: | ||
#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; | |||
background-color: #313d45; | |||
border-bottom: 0.2em solid #00000059; | |||
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1); | |||
} | } | ||
#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; | |||
border-bottom: 0.1em solid #00000059; | |||
border-left: 0.2em solid #00000059; | |||
} | } | ||
| Строка 4433: | Строка 4435: | ||
#highlighted-header-xenomorph.wikitable thead tr th, | #highlighted-header-xenomorph.wikitable thead tr th, | ||
#highlighted-header-xenomorph.wikitable:not(:has(thead)) tr:first-of-type th { | #highlighted-header-xenomorph.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #3c1d5f; | |||
border-bottom: 0.2em solid #00000059; | |||
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1); | |||
} | } | ||
#highlighted-header-xenomorph.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #highlighted-header-xenomorph.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#highlighted-header-xenomorph.wikitable thead + tbody > tr th { | #highlighted-header-xenomorph.wikitable thead + tbody > tr th { | ||
background: #5d1c55; | |||
border-bottom: 0.1em solid #00000059; | |||
border-left: 0.2em solid #00000059; | |||
} | } | ||
/* Если не нужен другой стиль кроме цвета */ | /* Если не нужен другой стиль кроме цвета */ | ||
#no-highlight { | #no-highlight { | ||
border-bottom: none !important; | |||
box-shadow: none !important; | |||
} | } | ||
| Строка 4455: | Строка 4457: | ||
/* Таблица */ | /* Таблица */ | ||
#VIOLET.wikitable { | #VIOLET.wikitable { | ||
background: #391b5d; | |||
border-spacing: 0px; | |||
} | } | ||
| Строка 4462: | Строка 4464: | ||
#VIOLET.wikitable thead tr th, | #VIOLET.wikitable thead tr th, | ||
#VIOLET.wikitable:not(:has(thead)) tr:first-of-type th { | #VIOLET.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #391b5d; | |||
border-bottom: 0.2em solid #00000021; | |||
} | } | ||
| Строка 4470: | Строка 4472: | ||
#VIOLET.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #VIOLET.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#VIOLET.wikitable thead + tbody > tr th { | #VIOLET.wikitable thead + tbody > tr th { | ||
background: #44206f; | |||
border-bottom: 1px solid #391b5d; | |||
} | } | ||
| Строка 4477: | Строка 4479: | ||
#VIOLET.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | #VIOLET.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | ||
#VIOLET.wikitable thead + tbody > tr td { | #VIOLET.wikitable thead + tbody > tr td { | ||
background: #4a2b6f; | |||
border-bottom: 1px solid #391b5d; | |||
} | } | ||
| Строка 4484: | Строка 4486: | ||
/* Таблица */ | /* Таблица */ | ||
#YELLOW.wikitable { | #YELLOW.wikitable { | ||
background: #405d1b; | |||
border-spacing: 0px; | |||
} | } | ||
| Строка 4491: | Строка 4493: | ||
#YELLOW.wikitable thead tr th, | #YELLOW.wikitable thead tr th, | ||
#YELLOW.wikitable:not(:has(thead)) tr:first-of-type th { | #YELLOW.wikitable:not(:has(thead)) tr:first-of-type th { | ||
position: relative; | |||
background-color: #405d1b; | |||
border-bottom: 0.2em solid #00000021; | |||
} | } | ||
| Строка 4499: | Строка 4501: | ||
#YELLOW.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | #YELLOW.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th, | ||
#YELLOW.wikitable thead + tbody > tr th { | #YELLOW.wikitable thead + tbody > tr th { | ||
background: #4c6d20; | |||
border-bottom: 1px solid #405d1b; | |||
} | } | ||
| Строка 4506: | Строка 4508: | ||
#YELLOW.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | #YELLOW.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td, | ||
#YELLOW.wikitable thead + tbody > tr td { | #YELLOW.wikitable thead + tbody > tr td { | ||
background: #577332; | |||
border-bottom: 1px solid #405d1b; | |||
} | } | ||
@media (max-width: 800px) { | @media (max-width: 800px) { | ||
.grid-adaptive { | |||
grid-template-columns: 1fr !important; | |||
} | |||
} | } | ||
.grid-item-adaptive { | .grid-item-adaptive { | ||
display: grid; | |||
gap: 8px; | |||
grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 300px), 1fr)); | |||
} | } | ||
.grid-item-compressed { | .grid-item-compressed { | ||
display: grid; | |||
gap: 10px; | |||
grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 350px), 0fr)); | |||
} | } | ||
| Строка 4531: | Строка 4533: | ||
/* Удаление верхних и нижних отступов для первого и последнего дочернего элемента */ | /* Удаление верхних и нижних отступов для первого и последнего дочернего элемента */ | ||
.no-margin-edges > :first-child, | .no-margin-edges > :first-child, | ||
.tabs-content > :first-child, | .tabs-content > :first-child, | ||
.doc | .doc > :first-child { | ||
margin-top: 0 !important; | |||
} | } | ||
.no-margin-edges > :last-child, | .no-margin-edges > :last-child, | ||
.tabs-content > :last-child, | .tabs-content > :last-child, | ||
.doc | .doc > :last-child { | ||
margin-bottom: 0 !important; | |||
} | } | ||
/* Сброс и настройка отступов для списков */ | /* Сброс и настройка отступов для списков */ | ||
.list-reset-margin ol { | .list-reset-margin ol { | ||
margin: 0 0 0 24px; | |||
padding: 0; | |||
} | } | ||
.list-reset-margin > ol:not(:first-child) > li:not(:first-child), | .list-reset-margin > ol:not(:first-child) > 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; | |||
} | } | ||
/* Кнопка копирования текста */ | /* Кнопка копирования текста */ | ||
.copy-icon { | .copy-icon { | ||
cursor: pointer; | |||
} | } | ||
/* Кнопка копирования текста */ | /* Кнопка копирования текста */ | ||
.brightness-overlay::before { | .brightness-overlay::before { | ||
content: ""; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
z-index: -1; | |||
background: var(--background-color); | |||
} | } | ||
| Строка 4573: | Строка 4575: | ||
/* Псевдоэлемент для добавления фона, который изменяет яркость при наведении */ | /* Псевдоэлемент для добавления фона, который изменяет яркость при наведении */ | ||
.brightness-overlay::before { | .brightness-overlay::before { | ||
content: ""; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
z-index: 0; | |||
background: var(--background-color); | |||
} | } | ||
.brightness-overlay:hover::before { | .brightness-overlay:hover::before { | ||
filter: brightness(103%); | |||
} | } | ||
/* Уменьшеная полоса прокрутки */ | /* Уменьшеная полоса прокрутки */ | ||
.short-scrollbar::-webkit-scrollbar { | .short-scrollbar::-webkit-scrollbar { | ||
width: 10px; | |||
} | } | ||
.short-scrollbar::-webkit-scrollbar-track { | .short-scrollbar::-webkit-scrollbar-track { | ||
background: var(--ooui--bg-light); | |||
} | } | ||
.short-scrollbar::-webkit-scrollbar-thumb { | .short-scrollbar::-webkit-scrollbar-thumb { | ||
background: #44444d; border: 2px solid var(--ooui--bg-light); border-radius: 0; | |||
} | } | ||
/* Для для динамичного вида кнопки "[развернуть]" */ | /* Для для динамичного вида кнопки "[развернуть]" */ | ||
.collapsible-absolute .mw-collapsible-toggle { | .collapsible-absolute .mw-collapsible-toggle { | ||
position: absolute; | |||
left: 0; | |||
right: 0; | |||
} | } | ||
| Строка 4612: | Строка 4614: | ||
.shortcut { | .shortcut { | ||
clear: right; | |||
float: right; | |||
margin-left: 0.75em; | |||
font-size: smaller; | |||
background: var(--bg-code-light); | |||
border: 1px solid var(--color-code-border-light); | |||
} | } | ||
.shortcut-1, .shortcut-2 { | .shortcut-1, .shortcut-2 { | ||
padding: 4px; | |||
} | } | ||
.shortcut-2 { | .shortcut-2 { | ||
line-height: 1.25em; | |||
font-weight: bold; | |||
vertical-align: middle; | |||
} | } | ||
| Строка 4636: | Строка 4638: | ||
/* Всплывающие окна */ | /* Всплывающие окна */ | ||
.mwe-popups { | .mwe-popups { | ||
background: var(--ooui--gradient-light); | |||
box-shadow: 0 5px 30px 0px rgba(0, 0, 0, 0.35), 0 0 1px 1px rgba(0, 0, 0, 0.1); | |||
} | } | ||
.mwe-popups img { | .mwe-popups img { | ||
image-rendering: auto; | |||
} | } | ||
.mwe-popups .mwe-popups-container { | .mwe-popups .mwe-popups-container { | ||
background: var(--ooui--gradient-light); | |||
} | } | ||
.mwe-popups .mwe-popups-extract { | .mwe-popups .mwe-popups-extract { | ||
color: #dddddd; | |||
} | } | ||
.mwe-popups .mwe-popups-extract:hover { | .mwe-popups .mwe-popups-extract:hover { | ||
color: #e8e8e8; | |||
} | } | ||
.mwe-popups .mwe-popups-extract[dir='ltr']::after { | .mwe-popups .mwe-popups-extract[dir='ltr']::after { | ||
background: linear-gradient(90deg, #ffffff00 0%, #2a2a3387 50%); | |||
} | } | ||
.mwe-popups .mwe-popups-extract[dir='rtl']::after { | .mwe-popups .mwe-popups-extract[dir='rtl']::after { | ||
background: linear-gradient(90deg, #2a2a3387 50%, #ffffff00 0%); | |||
} | } | ||
/* Настройки */ | /* Настройки */ | ||
.mwe-popups-overlay { | .mwe-popups-overlay { | ||
background-color: rgba(0, 0, 0, 0.6); | |||
} | } | ||
#mwe-popups-settings { | #mwe-popups-settings { | ||
border: 1px solid #41414d; | |||
background: #27272f; | |||
} | } | ||
#mwe-popups-settings header { | #mwe-popups-settings header { | ||
border-bottom: 1px solid #41414d; | |||
} | } | ||
#mwe-popups-settings main#mwe-popups-settings-form p { | #mwe-popups-settings main#mwe-popups-settings-form p { | ||
color: lightgray; | |||
} | } | ||
#mwe-popups-settings main#mwe-popups-settings-form form label > span { | #mwe-popups-settings main#mwe-popups-settings-form form label > span { | ||
color: #dddddd; | |||
} | } | ||
| Строка 4691: | Строка 4693: | ||
.mw-ui-input { | .mw-ui-input { | ||
background-color: var(--ooui--bg); | |||
color: white; | |||
} | } | ||
form:not(.oo-ui-layout) textarea, form:not(.oo-ui-layout) input { | form:not(.oo-ui-layout) textarea, form:not(.oo-ui-layout) input { | ||
border-radius: var(--border-radius-low); | |||
border-color: var(--ooui--border); | |||
} | } | ||
.mw-ui-input:hover { | .mw-ui-input:hover { | ||
border-color: var(--ooui--border-light); | |||
} | } | ||
| Строка 4709: | Строка 4711: | ||
.mw-content-ltr.mw-highlight-lines pre, .mw-content-ltr.content .mw-highlight-lines pre { | .mw-content-ltr.mw-highlight-lines pre, .mw-content-ltr.content .mw-highlight-lines pre { | ||
background: var(--theme-bg-dark); | |||
border-color: var(--ooui--border); | |||
box-shadow: var(--ooui--bg-dark) 2.75em 0px 0px inset; | |||
font-size: 90%; | |||
color: lightgrey; | |||
} | } | ||
.mw-content-ltr.mw-highlight .linenos { | .mw-content-ltr.mw-highlight .linenos { | ||
color: var(--theme-color-text-dark); | |||
} | } | ||
| Строка 4725: | Строка 4727: | ||
:root { | :root { | ||
--synt-high--color-darkCreamy: #262421; | |||
--synt-high--color-lightCreamy: hsl(38, 5%, 45%); | |||
--synt-high--color-comment: var(--synt-high--color-lightCreamy); | |||
--synt-high--color-err: #ff1a94; | |||
--synt-high--color-operator: #e7236a; | |||
--synt-high--color-punctuation: #f8f8f2; | |||
--synt-high--color-string: #e6db74; | |||
--synt-high--color-date: var(--synt-high--color-string); | |||
/* names for things such as variables, functions, classes, etc. */ | |||
--synt-high--color-name: #a6e22e; | |||
/* literals, mostly numbers, some string stuff too. */ | |||
--synt-high--color-literal: #ae81ff; | |||
/* keywords and constants */ | |||
--synt-high--color-keyword: #57b8cb; | |||
--action-color: hsl(220, 60%, 50%); | |||
} | } | ||
| Строка 4748: | Строка 4750: | ||
/* Highlighted Lines */ | /* Highlighted Lines */ | ||
.mw-highlight .hll { | .mw-highlight .hll { | ||
background-color: var(--action-color); | |||
} | } | ||
/* Error */ | /* Error */ | ||
.mw-highlight .err { | .mw-highlight .err { | ||
color: var(--synt-high--color-err); | |||
background-color: hsl(328, 40%, 16%); | |||
} | } | ||
/* Keyword */ | /* Keyword */ | ||
.mw-highlight .k { | .mw-highlight .k { | ||
color: var(--synt-high--color-keyword); | |||
} | } | ||
/* Literal */ | /* Literal */ | ||
.mw-highlight .l { | .mw-highlight .l { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* Name */ | /* Name */ | ||
.mw-highlight .n { | .mw-highlight .n { | ||
color: #f8f8f2; | |||
} | } | ||
/* Operator */ | /* Operator */ | ||
.mw-highlight .o { | .mw-highlight .o { | ||
color: var(--synt-high--color-operator); | |||
} | } | ||
/* Punctuation */ | /* Punctuation */ | ||
.mw-highlight .p { | .mw-highlight .p { | ||
color: var(--synt-high--color-punctuation); | |||
} | } | ||
/* Comment */ | /* Comment */ | ||
.mw-highlight .c { | .mw-highlight .c { | ||
color: var(--synt-high--color-comment); | |||
} | } | ||
/* Comment.Hashbang */ | /* Comment.Hashbang */ | ||
.mw-highlight .ch { | .mw-highlight .ch { | ||
color: var(--synt-high--color-comment); | |||
} | } | ||
/* Comment.Multiline */ | /* Comment.Multiline */ | ||
.mw-highlight .cm { | .mw-highlight .cm { | ||
color: var(--synt-high--color-comment); | |||
} | } | ||
/* Comment.Preproc */ | /* Comment.Preproc */ | ||
.mw-highlight .cp { | .mw-highlight .cp { | ||
color: var(--synt-high--color-comment); | |||
} | } | ||
/* Comment.PreprocFile */ | /* Comment.PreprocFile */ | ||
.mw-highlight .cpf { | .mw-highlight .cpf { | ||
color: var(--synt-high--color-comment); | |||
} | } | ||
/* Comment.Single */ | /* Comment.Single */ | ||
.mw-highlight .c1 { | .mw-highlight .c1 { | ||
color: var(--synt-high--color-comment); | |||
} | } | ||
/* Comment.Special */ | /* Comment.Special */ | ||
.mw-highlight .cs { | .mw-highlight .cs { | ||
color: var(--synt-high--color-comment); | |||
} | } | ||
/* Generic.Deleted */ | /* Generic.Deleted */ | ||
.mw-highlight .gd { | .mw-highlight .gd { | ||
color: #f92672; | |||
} | } | ||
/* Generic.Emph */ | /* Generic.Emph */ | ||
.mw-highlight .ge { | .mw-highlight .ge { | ||
font-style: italic; | |||
} | } | ||
/* Generic.Inserted */ | /* Generic.Inserted */ | ||
.mw-highlight .gi { | .mw-highlight .gi { | ||
color: var(--synt-high--color-name); | |||
} | } | ||
/* Generic.Strong */ | /* Generic.Strong */ | ||
.mw-highlight .gs { | .mw-highlight .gs { | ||
font-weight: bold; | |||
} | } | ||
/* Generic.Subheading */ | /* Generic.Subheading */ | ||
.mw-highlight .gu { | .mw-highlight .gu { | ||
color: #75715e; | |||
} | } | ||
/* Keyword.Constant */ | /* Keyword.Constant */ | ||
.mw-highlight .kc { | .mw-highlight .kc { | ||
color: var(--synt-high--color-keyword); | |||
} | } | ||
/* Keyword.Declaration */ | /* Keyword.Declaration */ | ||
.mw-highlight .kd { | .mw-highlight .kd { | ||
color: var(--synt-high--color-keyword); | |||
} | } | ||
/* Keyword.Namespace */ | /* Keyword.Namespace */ | ||
.mw-highlight .kn { | .mw-highlight .kn { | ||
color: #f92672; | |||
} | } | ||
/* Keyword.Pseudo */ | /* Keyword.Pseudo */ | ||
.mw-highlight .kp { | .mw-highlight .kp { | ||
color: var(--synt-high--color-keyword); | |||
} | } | ||
/* Keyword.Reserved */ | /* Keyword.Reserved */ | ||
.mw-highlight .kr { | .mw-highlight .kr { | ||
color: var(--synt-high--color-keyword); | |||
} | } | ||
/* Keyword.Type */ | /* Keyword.Type */ | ||
.mw-highlight .kt { | .mw-highlight .kt { | ||
color: var(--synt-high--color-keyword); | |||
} | } | ||
/* Literal.Date */ | /* Literal.Date */ | ||
.mw-highlight .ld { | .mw-highlight .ld { | ||
color: var(--synt-high--color-date); | |||
} | } | ||
/* Literal.Number */ | /* Literal.Number */ | ||
.mw-highlight .m { | .mw-highlight .m { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* Literal.String */ | /* Literal.String */ | ||
.mw-highlight .s { | .mw-highlight .s { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* Name.Attribute */ | /* Name.Attribute */ | ||
.mw-highlight .na { | .mw-highlight .na { | ||
color: var(--synt-high--color-name); | |||
} | } | ||
/* Name.Builtin */ | /* Name.Builtin */ | ||
.mw-highlight .nb { | .mw-highlight .nb { | ||
color: #f8f8f2; | |||
} | } | ||
/* Name.Class */ | /* Name.Class */ | ||
.mw-highlight .nc { | .mw-highlight .nc { | ||
color: var(--synt-high--color-name); | |||
} | } | ||
/* Name.Constant */ | /* Name.Constant */ | ||
.mw-highlight .no { | .mw-highlight .no { | ||
color: var(--synt-high--color-keyword); | |||
} | } | ||
/* Name.Decorator */ | /* Name.Decorator */ | ||
.mw-highlight .nd { | .mw-highlight .nd { | ||
color: var(--synt-high--color-name); | |||
} | } | ||
/* Name.Entity */ | /* Name.Entity */ | ||
.mw-highlight .ni { | .mw-highlight .ni { | ||
color: #f8f8f2; | |||
} | } | ||
/* Name.Exception */ | /* Name.Exception */ | ||
.mw-highlight .ne { | .mw-highlight .ne { | ||
color: var(--synt-high--color-name); | |||
} | } | ||
/* Name.Function */ | /* Name.Function */ | ||
.mw-highlight .nf { | .mw-highlight .nf { | ||
color: var(--synt-high--color-name); | |||
} | } | ||
/* Name.Label */ | /* Name.Label */ | ||
.mw-highlight .nl { | .mw-highlight .nl { | ||
color: #f8f8f2; | |||
} | } | ||
/* Name.Namespace */ | /* Name.Namespace */ | ||
.mw-highlight .nn { | .mw-highlight .nn { | ||
color: #f8f8f2; | |||
} | } | ||
/* Name.Other */ | /* Name.Other */ | ||
.mw-highlight .nx { | .mw-highlight .nx { | ||
color: var(--synt-high--color-name); | |||
} | } | ||
/* Name.Property */ | /* Name.Property */ | ||
.mw-highlight .py { | .mw-highlight .py { | ||
color: #f8f8f2; | |||
} | } | ||
/* Name.Tag */ | /* Name.Tag */ | ||
.mw-highlight .nt { | .mw-highlight .nt { | ||
color: #f92672; | |||
} | } | ||
/* Name.Variable */ | /* Name.Variable */ | ||
.mw-highlight .nv { | .mw-highlight .nv { | ||
color: #f8f8f2; | |||
} | } | ||
/* Operator.Word */ | /* Operator.Word */ | ||
.mw-highlight .ow { | .mw-highlight .ow { | ||
color: var(--synt-high--color-operator); | |||
} | } | ||
/* Text.Whitespace */ | /* Text.Whitespace */ | ||
.mw-highlight .w { | .mw-highlight .w { | ||
color: #f8f8f2; | |||
} | } | ||
/* Literal.Number.Bin */ | /* Literal.Number.Bin */ | ||
.mw-highlight .mb { | .mw-highlight .mb { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* Literal.Number.Float */ | /* Literal.Number.Float */ | ||
.mw-highlight .mf { | .mw-highlight .mf { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* Literal.Number.Hex */ | /* Literal.Number.Hex */ | ||
.mw-highlight .mh { | .mw-highlight .mh { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* Literal.Number.Integer */ | /* Literal.Number.Integer */ | ||
.mw-highlight .mi { | .mw-highlight .mi { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* Literal.Number.Oct */ | /* Literal.Number.Oct */ | ||
.mw-highlight .mo { | .mw-highlight .mo { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* Literal.String.Affix */ | /* Literal.String.Affix */ | ||
.mw-highlight .sa { | .mw-highlight .sa { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* Literal.String.Backtick */ | /* Literal.String.Backtick */ | ||
.mw-highlight .sb { | .mw-highlight .sb { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* Literal.String.Char */ | /* Literal.String.Char */ | ||
.mw-highlight .sc { | .mw-highlight .sc { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* Literal.String.Delimiter */ | /* Literal.String.Delimiter */ | ||
.mw-highlight .dl { | .mw-highlight .dl { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* Literal.String.Doc */ | /* Literal.String.Doc */ | ||
.mw-highlight .sd { | .mw-highlight .sd { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* Literal.String.Double */ | /* Literal.String.Double */ | ||
.mw-highlight .s2 { | .mw-highlight .s2 { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* Literal.String.Escape */ | /* Literal.String.Escape */ | ||
.mw-highlight .se { | .mw-highlight .se { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
/* Literal.String.Heredoc */ | /* Literal.String.Heredoc */ | ||
.mw-highlight .sh { | .mw-highlight .sh { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* Literal.String.Interpol */ | /* Literal.String.Interpol */ | ||
.mw-highlight .si { | .mw-highlight .si { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* Literal.String.Other */ | /* Literal.String.Other */ | ||
.mw-highlight .sx { | .mw-highlight .sx { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* Literal.String.Regex */ | /* Literal.String.Regex */ | ||
.mw-highlight .sr { | .mw-highlight .sr { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* Literal.String.Single */ | /* Literal.String.Single */ | ||
.mw-highlight .s1 { | .mw-highlight .s1 { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* Literal.String.Symbol */ | /* Literal.String.Symbol */ | ||
.mw-highlight .ss { | .mw-highlight .ss { | ||
color: var(--synt-high--color-string); | |||
} | } | ||
/* Name.Builtin.Pseudo */ | /* Name.Builtin.Pseudo */ | ||
.mw-highlight .bp { | .mw-highlight .bp { | ||
color: #f8f8f2; | |||
} | } | ||
/* Name.Function.Magic */ | /* Name.Function.Magic */ | ||
.mw-highlight .fm { | .mw-highlight .fm { | ||
color: var(--synt-high--color-name); | |||
} | } | ||
/* Name.Variable.Class */ | /* Name.Variable.Class */ | ||
.mw-highlight .vc { | .mw-highlight .vc { | ||
color: #f8f8f2; | |||
} | } | ||
/* Name.Variable.Global */ | /* Name.Variable.Global */ | ||
.mw-highlight .vg { | .mw-highlight .vg { | ||
color: #f8f8f2; | |||
} | } | ||
/* Name.Variable.Instance */ | /* Name.Variable.Instance */ | ||
.mw-highlight .vi { | .mw-highlight .vi { | ||
color: #f8f8f2; | |||
} | } | ||
/* Name.Variable.Magic */ | /* Name.Variable.Magic */ | ||
.mw-highlight .vm { | .mw-highlight .vm { | ||
color: #f8f8f2; | |||
} | } | ||
/* Literal.Number.Integer.Long */ | /* Literal.Number.Integer.Long */ | ||
.mw-highlight .il { | .mw-highlight .il { | ||
color: var(--synt-high--color-literal); | |||
} | } | ||
| Строка 5096: | Строка 5098: | ||
/* Test AsnDen */ | /* Test AsnDen */ | ||
.AsnDen { | .AsnDen { | ||
color: #55555555; | |||
} | } | ||
| Строка 5104: | Строка 5106: | ||
/* ============ */ | /* ============ */ | ||
:root { | :root { | ||
/* "se-cm" = Source Editor - Code Mirror */ | |||
/* same color as for source editor */ | |||
--se-cm--bg-color: var(--bg-color-light-x2); | |||
/* same color as for code block */ | |||
--se-cm--gutter-bg-color: var(--code-color-bg); | |||
/* margin to the left for the main contents of the editor */ | |||
--se-cm--main-contents-left-margin: 0.25rem; | |||
/* bg color for pre/nowiki tags contents */ | |||
--se-cm--pre-bg-color: hsl(205, 21%, 15%); | |||
/* from the <syntaxhighlight> theme */ | |||
--se-cm--comment-color: var(--synt-high--color-comment); | |||
--se-cm--error-color: var(--red-color); | |||
/* link itself */ | |||
--se-cm--link-color: #699ae9; | |||
/* link delimiter */ | |||
--se-cm--cm-mw-link-delimiter: var(--se-cm--template-delimiter-color); | |||
/* link text */ | |||
--se-cm--link-text-color: #3873d3; | |||
--se-cm--link-brackets-color: var(--se-cm--link-text-color); | |||
/* things like "DISPLAYTITLE" "templates" (the whole template except the value part) */ | |||
--se-cm--parser-function-color: #e0485a; | |||
/* function param values */ | |||
--se-cm--parser-function-values-color: #e0cacd; | |||
/* table brackets and row delimiter */ | |||
--se-cm--table-punctuation-color: var(--se-cm--parser-function-color); | |||
/* table settings */ | |||
--se-cm--table-settings-color: var(--se-cm--template-name-color); | |||
/* template name */ | |||
--se-cm--template-name-color: #a142cf; | |||
/* template arg names */ | |||
--se-cm--template-arg-name-color: #9e27da; | |||
/* template brackets */ | |||
--se-cm--template-brackets-color: var(--se-cm--template-name-color); | |||
/* template arg values */ | |||
--se-cm--template-values-color: #a3cced; | |||
/* template arg delimiters */ | |||
--se-cm--template-delimiter-color: var(--se-cm--link-color); | |||
/* template param name */ | |||
--se-cm--template-param-name-color: #d07b00; | |||
/* template param brackets */ | |||
--se-cm--template-param-brackets-color: #ac6600; | |||
/* template param values */ | |||
--se-cm--template-param-value-color: hsl(207,90%,83%); | |||
/* template param delimiter */ | |||
--se-cm--template-param-delimiter-color: var(--se-cm--template-delimiter-color); | |||
/* wiki formatting: headers, bullet points, bold/italic quotes, etc. */ | |||
--se-cm--wikitext-formatting-color: var(--se-cm--link-text-color); | |||
/* html tags, including ones specific for the wiki (like syntaxhighlight) */ | |||
--se-cm--xml-tag-color: #11a886; | |||
/* selection color */ | |||
--se-cm--selection-color: hsl(205, 21%, 30%); | |||
/* bg color applied when selecting a bracket that has a match (in templates) */ | |||
--se-cm--matching-brackets-bg-color: hsl(205, 21%, 44%); | |||
} | } | ||
/* the whole content body code mirror wrapper */ | /* the whole content body code mirror wrapper */ | ||
.CodeMirror-wrap { | .CodeMirror-wrap { | ||
/* same color as for source editor */ | |||
background-color: var(--se-cm--bg-color); | |||
/* color for the text that the other rules don't apply to (regular text, header text, etc.) */ | |||
color: var(--text-color); | |||
} | } | ||
/* the actual lines of text */ | /* the actual lines of text */ | ||
.CodeMirror pre.CodeMirror-line { | .CodeMirror pre.CodeMirror-line { | ||
/* a little bit of margin for the main content */ | |||
margin-left: var(--se-cm--main-contents-left-margin); | |||
} | } | ||
/* gutters?? */ | /* gutters?? */ | ||
.CodeMirror-wrap .CodeMirror-gutters { | .CodeMirror-wrap .CodeMirror-gutters { | ||
border-color: var(--ooui--border-dark); | |||
} | } | ||
/* gutter */ | /* gutter */ | ||
.CodeMirror-wrap .CodeMirror-gutter { | .CodeMirror-wrap .CodeMirror-gutter { | ||
/* same color as for code block */ | |||
background-color: var(--se-cm--gutter-bg-color); | |||
} | } | ||
/* selection */ | /* selection */ | ||
| Строка 5185: | Строка 5187: | ||
/* selection */ | /* selection */ | ||
.CodeMirror-line>span>span::selection { | .CodeMirror-line>span>span::selection { | ||
background-color: var(--se-cm--selection-color); | |||
} | } | ||
/* bullet point symbol */ | /* bullet point symbol */ | ||
| Строка 5191: | Строка 5193: | ||
/* ???? */ | /* ???? */ | ||
.cm-mw-indenting { | .cm-mw-indenting { | ||
color: var(--se-cm--wikitext-formatting-color); | |||
} | } | ||
/* magic words */ | /* magic words */ | ||
| Строка 5201: | Строка 5203: | ||
/* ???? hr tags prob */ | /* ???? hr tags prob */ | ||
.cm-mw-hr { | .cm-mw-hr { | ||
color: var(--se-cm--wikitext-formatting-color); | |||
/* override the defaults */ | |||
background-color: inherit; | |||
} | } | ||
/* html sequences like " " */ | /* html sequences like " " */ | ||
| Строка 5209: | Строка 5211: | ||
/* ???? */ | /* ???? */ | ||
.cm-mw-html-entity { | .cm-mw-html-entity { | ||
color: var(--se-cm--xml-tag-color); | |||
background-color: #684905; | |||
border-radius: 2px; | |||
} | } | ||
/* comments */ | /* comments */ | ||
.cm-mw-comment { | .cm-mw-comment { | ||
color: var(--se-cm--comment-color); | |||
} | } | ||
/* formatting: 3 apostrophes for bold text */ | /* formatting: 3 apostrophes for bold text */ | ||
| Строка 5222: | Строка 5224: | ||
todo make them separate? better eligibility */ | todo make them separate? better eligibility */ | ||
.cm-mw-apostrophes-italic { | .cm-mw-apostrophes-italic { | ||
color: var(--se-cm--wikitext-formatting-color); | |||
} | } | ||
/* template name */ | /* template name */ | ||
.cm-mw-template-name { | .cm-mw-template-name { | ||
color: var(--se-cm--template-name-color); | |||
/* disable the default */ | |||
text-decoration: none; | |||
} | } | ||
/* template arg names */ | /* template arg names */ | ||
.cm-mw-template-argument-name { | .cm-mw-template-argument-name { | ||
color: var(--se-cm--template-arg-name-color); | |||
} | } | ||
/* template arg values */ | /* template arg values */ | ||
.cm-mw-template { | .cm-mw-template { | ||
color: lightgray; | |||
} | } | ||
/* template pipe delimiters (maybe colon too for modules?) */ | /* template pipe delimiters (maybe colon too for modules?) */ | ||
.cm-mw-template-delimiter { | .cm-mw-template-delimiter { | ||
color: var(--se-cm--template-name-color); | |||
} | } | ||
/* template brackets */ | /* template brackets */ | ||
.cm-mw-template-bracket { | .cm-mw-template-bracket { | ||
color: var(--se-cm--template-brackets-color); | |||
} | } | ||
/* template variable (with 3 brackets) name */ | /* template variable (with 3 brackets) name */ | ||
.cm-mw-templatevariable-name { | .cm-mw-templatevariable-name { | ||
color: var(--se-cm--template-param-name-color); | |||
} | } | ||
/* template variable (with 3 brackets) value */ | /* template variable (with 3 brackets) value */ | ||
.cm-mw-templatevariable { | .cm-mw-templatevariable { | ||
color: var(--se-cm--template-param-brackets-color); | |||
} | } | ||
/* template variable brackets (3 brackets) */ | /* template variable brackets (3 brackets) */ | ||
.cm-mw-templatevariable-bracket { | .cm-mw-templatevariable-bracket { | ||
color: var(--se-cm--template-param-brackets-color); | |||
} | } | ||
/* template variable (with 3 brackets) delimiter */ | /* template variable (with 3 brackets) delimiter */ | ||
.cm-mw-templatevariable-delimiter { | .cm-mw-templatevariable-delimiter { | ||
color: var(--se-cm--template-param-brackets-color); | |||
} | } | ||
/* parser functions (things like "DISPLAYTITLE" or invokes) → name */ | /* parser functions (things like "DISPLAYTITLE" or invokes) → name */ | ||
.cm-mw-parserfunction-name { | .cm-mw-parserfunction-name { | ||
color: var(--se-cm--parser-function-color) !important; | |||
} | } | ||
/* parser functions (things like "DISPLAYTITLE" or invokes) → value */ | /* parser functions (things like "DISPLAYTITLE" or invokes) → value */ | ||
.cm-mw-parserfunction { | .cm-mw-parserfunction { | ||
color: var(--se-cm--parser-function-values-color); | |||
} | } | ||
/* parser functions (things like "DISPLAYTITLE" or invokes) → brackets */ | /* parser functions (things like "DISPLAYTITLE" or invokes) → brackets */ | ||
.cm-mw-parserfunction-bracket { | .cm-mw-parserfunction-bracket { | ||
color: var(--se-cm--parser-function-color); | |||
} | } | ||
/* parser functions (things like "DISPLAYTITLE" or invokes) → delimiters */ | /* parser functions (things like "DISPLAYTITLE" or invokes) → delimiters */ | ||
.cm-mw-parserfunction-delimiter { | .cm-mw-parserfunction-delimiter { | ||
color: var(--se-cm--parser-function-color); | |||
} | } | ||
/* wiki html tag names? like >syntaxhighlight> */ | /* wiki html tag names? like >syntaxhighlight> */ | ||
| Строка 5282: | Строка 5284: | ||
/* html tag names */ | /* html tag names */ | ||
.cm-mw-htmltag-name { | .cm-mw-htmltag-name { | ||
color: var(--se-cm--xml-tag-color); | |||
} | } | ||
/* if a string starts with an empty space, it will generate a pre block. | /* if a string starts with an empty space, it will generate a pre block. | ||
| Строка 5288: | Строка 5290: | ||
same style as for html tag names, but for bg here */ | same style as for html tag names, but for bg here */ | ||
.cm-mw-skipformatting { | .cm-mw-skipformatting { | ||
background-color: var(--se-cm--xml-tag-color); | |||
} | } | ||
/* wiki html tag brackets */ | /* wiki html tag brackets */ | ||
| Строка 5298: | Строка 5300: | ||
/* html tag attributes (name, delimiter, value) */ | /* html tag attributes (name, delimiter, value) */ | ||
.cm-mw-htmltag-attribute { | .cm-mw-htmltag-attribute { | ||
color: var(--se-cm--xml-tag-color); | |||
} | } | ||
/* pre tag BLOCK contents */ | /* pre tag BLOCK contents */ | ||
| Строка 5317: | Строка 5319: | ||
/* nowiki tag contents */ | /* nowiki tag contents */ | ||
.cm-mw-tag-nowiki { | .cm-mw-tag-nowiki { | ||
background-color: var(--se-cm--pre-bg-color); | |||
} | } | ||
/* pre tag BLOCK contents */ | /* pre tag BLOCK contents */ | ||
| Строка 5323: | Строка 5325: | ||
/* nowiki tag BLOCK contents */ | /* nowiki tag BLOCK contents */ | ||
pre.CodeMirror-line.cm-mw-tag-nowiki { | pre.CodeMirror-line.cm-mw-tag-nowiki { | ||
/* colors the margin gap bg for block variants */ | |||
box-shadow: calc(-1 * var(--se-cm--main-contents-left-margin)) 0 | |||
var(--se-cm--pre-bg-color); | |||
} | } | ||
/* pre tag INLINE contents */ | /* pre tag INLINE contents */ | ||
| Строка 5331: | Строка 5333: | ||
/* nowiki tag INLINE contents */ | /* nowiki tag INLINE contents */ | ||
.CodeMirror-line span.cm-mw-tag-nowiki { | .CodeMirror-line span.cm-mw-tag-nowiki { | ||
/* a little corner rounding won't hurt a thing! */ | |||
border-radius: 2px; | |||
} | } | ||
/* ???? */ | /* ???? */ | ||
| Строка 5340: | Строка 5342: | ||
/* header equal signs */ | /* header equal signs */ | ||
.cm-mw-section-header { | .cm-mw-section-header { | ||
color: var(--se-cm--wikitext-formatting-color); | |||
} | } | ||
/* link itself */ | /* link itself */ | ||
| Строка 5352: | Строка 5354: | ||
/* ???? same as above, maybe? */ | /* ???? same as above, maybe? */ | ||
.cm-mw-free-extlink-protocol { | .cm-mw-free-extlink-protocol { | ||
color: var(--se-cm--link-color); | |||
} | } | ||
/* link brackets */ | /* link brackets */ | ||
| Строка 5358: | Строка 5360: | ||
/* external link brackets */ | /* external link brackets */ | ||
.cm-mw-extlink-bracket { | .cm-mw-extlink-bracket { | ||
color: var(--se-cm--link-color); | |||
} | } | ||
/* link delimiter */ | /* link delimiter */ | ||
.cm-mw-link-delimiter { | .cm-mw-link-delimiter { | ||
color: var(--se-cm--cm-mw-link-delimiter); | |||
} | } | ||
/* link text */ | /* link text */ | ||
| Строка 5368: | Строка 5370: | ||
/* external link text */ | /* external link text */ | ||
.cm-mw-extlink-text { | .cm-mw-extlink-text { | ||
color: var(--se-cm--link-text-color); | |||
} | } | ||
/* tables opening "{|" and closing "|}" brackets */ | /* tables opening "{|" and closing "|}" brackets */ | ||
| Строка 5374: | Строка 5376: | ||
/* table row delimiter (doesn't include cols!) */ | /* table row delimiter (doesn't include cols!) */ | ||
.cm-mw-table-delimiter { | .cm-mw-table-delimiter { | ||
color: var(--se-cm--table-punctuation-color); | |||
} | } | ||
/* the table settings I guess? (like «class="wikitable"») */ | /* the table settings I guess? (like «class="wikitable"») */ | ||
.cm-mw-table-definition { | .cm-mw-table-definition { | ||
color: var(--se-cm--table-settings-color); | |||
} | } | ||
/* ???? idk some kind of formatting errors? */ | /* ???? idk some kind of formatting errors? */ | ||
| Строка 5384: | Строка 5386: | ||
.cm-mw-error, | .cm-mw-error, | ||
.cm-s-default .cm-error { | .cm-s-default .cm-error { | ||
color: var(--se-cm--error-color); | |||
} | } | ||
.cm-mw-matchingbracket { | .cm-mw-matchingbracket { | ||
background-color: var(--se-cm--matching-brackets-bg-color); | |||
/* disable the default */ | |||
box-shadow: none; | |||
} | } | ||
/* various inline bg targeting things, idk what each of them target exactly */ | /* various inline bg targeting things, idk what each of them target exactly */ | ||
| Строка 5422: | Строка 5424: | ||
.cm-mw-template3-ext2-link-ground, | .cm-mw-template3-ext2-link-ground, | ||
.cm-mw-template3-ext3-link-ground { | .cm-mw-template3-ext3-link-ground { | ||
/* just disable them */ | |||
background-color: inherit; | |||
} | } | ||
/* new code */ | /* new code */ | ||
| Строка 5429: | Строка 5431: | ||
.cm-mw-template2-ground.cm-mw-template, | .cm-mw-template2-ground.cm-mw-template, | ||
.cm-mw-template3-ground.cm-mw-template { | .cm-mw-template3-ground.cm-mw-template { | ||
color: var(--se-cm--template-values-color); | |||
} | } | ||
/* #endregion */ | /* #endregion */ | ||
| Строка 5446: | Строка 5448: | ||
/* --------------------------------- */ | /* --------------------------------- */ | ||
/* Safe to edit ABOVE this line */ | /* Safe to edit ABOVE this line */ | ||
/* --------------------------------- */ | /* --------------------------------- */ | ||
/* --------------------------------- */ | /* --------------------------------- */ | ||
/* | /* Do not edit below this line */ | ||
/* --------------------------------- */ | /* --------------------------------- */ | ||
.druid-container { | .druid-container { | ||
--druid-border-color: var(--theme-border); | |||
--druid-color-contrast: var(--color-contrast2); | |||
--druid-color-contrast-darkened: color-mix(in srgb, var(--druid-color-contrast) 10%, rgb(var(--theme-color-darkened--rgb))); | |||
} | } | ||
.druid-container { | .druid-container { | ||
background: var(--theme-bg-light); | |||
float: right; | |||
clear: right; | |||
margin: 0 0 1em 1em; | |||
max-width: 375px; | |||
box-sizing: border-box; | |||
position: relative; | |||
z-index: 1; | |||
border: 1px solid var(--druid-border-color); | |||
border-radius: 0.2em; | |||
overflow: auto; | |||
font-size: 90%; | |||
border-spacing: 0; | |||
padding: 2px; | |||
} | } | ||
@media screen and (max-width: 720px) { | @media screen and (max-width: 720px) { | ||
.druid-container { | .druid-container { | ||
float: none; | |||
margin: 0.5rem auto; | |||
min-width: 100%; | |||
} | } | ||
} | } | ||
| Строка 5486: | Строка 5488: | ||
.druid-main-images-file, | .druid-main-images-file, | ||
.druid-main-image { | .druid-main-image { | ||
text-align: center; | |||
} | } | ||
.druid-infobox .druid-title, | .druid-infobox .druid-title, | ||
.druid-infobox .druid-section { | .druid-infobox .druid-section { | ||
background: var(--druid-color-contrast); | |||
border-bottom: 2px solid var(--color-darkened-border); | |||
border-radius: 0.1em; | |||
padding: 5px; | |||
text-align: center; | |||
font-size: 120%; | |||
font-weight: bold; | |||
} | } | ||
.druid-infobox .druid-section { | .druid-infobox .druid-section { | ||
font-size: 110%; | |||
background: var(--druid-color-contrast-darkened); | |||
padding: 4px; | |||
border-top: 1px solid var(--druid-border-color); | |||
} | } | ||
.druid-infobox .druid-collapsible .druid-section { | .druid-infobox .druid-collapsible .druid-section { | ||
flex-grow: 1; | |||
} | } | ||
.druid-row > .druid-label, | .druid-row > .druid-label, | ||
.druid-row > .druid-data { | .druid-row > .druid-data { | ||
padding-inline: 0.3em; | |||
} | } | ||
.druid-main-image, | .druid-main-image, | ||
.druid-main-images { | .druid-main-images { | ||
background: var(--theme-bg-light); | |||
border-bottom: 1px solid var(--druid-border-color); | |||
padding: 2px 0; | |||
} | } | ||
.mw-body-content .druid-main-image img, | .mw-body-content .druid-main-image img, | ||
.mw-body-content .druid-main-images img { | .mw-body-content .druid-main-images img { | ||
max-width: 100% !important; | |||
height: auto !important; | |||
} | } | ||
.druid-main-images-labels { | .druid-main-images-labels { | ||
display: flex; | |||
flex-direction: row; | |||
flex-wrap: wrap; | |||
justify-content: space-evenly; | |||
margin: 0.25em; | |||
gap: 0.25em; | |||
} | } | ||
.druid-main-images-label { | .druid-main-images-label { | ||
cursor: pointer; | |||
flex: 1 1 auto; | |||
text-align: center; | |||
transition: .1s ease-in; | |||
outline: 1px solid var(--druid-link-color); | |||
} | } | ||
.druid-main-images-label.focused { | .druid-main-images-label.focused { | ||
background: var(--druid-link-color); | |||
color: var(--druid-link-label-color); | |||
} | } | ||
.druid-main-images-label:not(.focused):hover { | .druid-main-images-label:not(.focused):hover { | ||
background: var(--druid-link-color); /* fallback */ | |||
background: color-mix(in srgb, var(--druid-link-color) 25%, transparent); | |||
} | } | ||
| Строка 5559: | Строка 5561: | ||
.druid-main-images-file:not(.focused), | .druid-main-images-file:not(.focused), | ||
.druid-toggleable-heading:not(.focused) { | .druid-toggleable-heading:not(.focused) { | ||
display: none; | |||
} | } | ||
.druid-grid { | .druid-grid { | ||
display:grid; | |||
gap: 0.3em; | |||
padding: 0.35em; | |||
} | } | ||
.druid-grid-item { | .druid-grid-item { | ||
background: var(--druid-tertiary-background-color); | |||
padding: 0.25em; | |||
border: 1px solid var(--druid-border-color); /* fallback */ | |||
border: 1px solid color-mix(in srgb, var(--druid-border-color) 50%, transparent); | |||
border-radius: 2px; | |||
} | } | ||
.druid-grid-item .druid-label, | .druid-grid-item .druid-label, | ||
.druid-grid-item .druid-data { | .druid-grid-item .druid-data { | ||
text-align: center; | |||
} | } | ||
.druid-data-wide { | .druid-data-wide { | ||
width: 100%; | |||
} | } | ||
.druid-section-container > .druid-collapsible { | .druid-section-container > .druid-collapsible { | ||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
} | } | ||
.druid-collapsed { | .druid-collapsed { | ||
display: none !important; | |||
} | } | ||
.druid-collapsible { | .druid-collapsible { | ||
cursor: pointer; | |||
position: relative; | |||
} | } | ||
.druid-collapsible::after { | .druid-collapsible::after { | ||
content: ""; | |||
display: block; | |||
position: absolute; | |||
right: 10px; | |||
width: 20px; | |||
height: 20px; | |||
--mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3E collapse %3C/title%3E%3Cpath d='M1 13.75l1.5 1.5 7.5-7.5 7.5 7.5 1.5-1.5-9-9-9 9z'/%3E%3C/svg%3E") no-repeat; | |||
-webkit-mask: var(--mask); | |||
mask: var(--mask); | |||
-webkit-mask-size: 100% 100%; | |||
mask-size: 100% 100%; | |||
-webkit-mask-position: center center; | |||
mask-position: center center; | |||
background-color: var(--druid-secondary-background-label-color); | |||
} | } | ||
.druid-collapsible-collapsed::after { | .druid-collapsible-collapsed::after { | ||
transform: rotate(180deg); | |||
} | } | ||
| Строка 5628: | Строка 5630: | ||
.druid-container tbody tr.data-druid-section:nth-child(4), | .druid-container tbody tr.data-druid-section:nth-child(4), | ||
.druid-container tbody tr.data-druid-section:nth-child(5) { | .druid-container tbody tr.data-druid-section:nth-child(5) { | ||
display: none; | |||
} | } | ||
.druid-container tbody tr.druid-row:nth-child(3) { | .druid-container tbody tr.druid-row:nth-child(3) { | ||
background: var(--theme-bg-lighter) !important; | |||
} | } | ||
.druid-container tbody tr.druid-row:nth-child(3) th { | .druid-container tbody tr.druid-row:nth-child(3) th { | ||
border-right: 1px solid var(--theme-bg-light) !important; | |||
} | } | ||
.druid-container tr:not(.data-druid-section):nth-child(odd) { | .druid-container tr:not(.data-druid-section):nth-child(odd) { | ||
background: var(--theme-bg-light); | |||
} | } | ||
.druid-container tr:not(.data-druid-section):nth-child(even) { | .druid-container tr:not(.data-druid-section):nth-child(even) { | ||
background: var(--theme-bg-lighter); | |||
} | } | ||
.druid-container tr:nth-child(even) th:not([colspan]) { | .druid-container tr:nth-child(even) th:not([colspan]) { | ||
border-right: 1px solid var(--theme-bg-light); | |||
} | } | ||
| Строка 5654: | Строка 5656: | ||
.druid-container td, | .druid-container td, | ||
.druid-container th .mw-collapsible-toggle { | .druid-container th .mw-collapsible-toggle { | ||
padding: 4px; | |||
font-size: 14px; | |||
} | } | ||
.druid-container th { | .druid-container th { | ||
width: 35%; | |||
text-align: left; | |||
} | } | ||
.druid-container ul { | .druid-container ul { | ||
list-style: none; | |||
margin: 0; | |||
margin-left: 10px; | |||
} | } | ||
.druid-container ul li::before { | .druid-container ul li::before { | ||
content: "•"; | |||
display: inline-block; | |||
font-size: 15px; | |||
margin-left: -10px; | |||
margin-right: 4px; | |||
} | } | ||
| Строка 5683: | Строка 5685: | ||
div.druid-stacked.druid-row, | div.druid-stacked.druid-row, | ||
.druid-stacked div.druid-row { | .druid-stacked div.druid-row { | ||
flex-direction: column; | |||
} | } | ||
.druid-stacked.druid-row > .druid-data, | .druid-stacked.druid-row > .druid-data, | ||
.druid-stacked .druid-row > .druid-data { | .druid-stacked .druid-row > .druid-data { | ||
padding-left: 0.75em; | |||
} | } | ||
/* --------------------------------- */ | /* --------------------------------- */ | ||
/* Do not edit above this line | /* Do not edit above this line */ | ||
/* --------------------------------- */ | /* --------------------------------- */ | ||
| Строка 5700: | Строка 5702: | ||
.druid-infobox .druid-title { | .druid-infobox .druid-title { | ||
--clip: 0.6em; | |||
clip-path: polygon( 0 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% 100%, var(--clip) 100%, 0 calc(100% - var(--clip)) ); | |||
margin: 3px; | |||
} | } | ||
| Строка 5715: | Строка 5717: | ||
==========*/ | ==========*/ | ||
.link-card__image:has(img) { | .link-card__image:has(img) { | ||
min-width: unset !important; | |||
} | } | ||