MediaWiki:Vector.css: различия между версиями
Aylong (обсуждение | вклад) м (Как же без забывчивости) |
Aylong (обсуждение | вклад) Нет описания правки |
||
Строка 105: | Строка 105: | ||
--black-secondary: rgba(0, 0, 0, 0.5); | --black-secondary: rgba(0, 0, 0, 0.5); | ||
/* Cyan */ | /* Cyan */ | ||
--cyan-opaque: rgba( | --cyan-opaque: rgba(108, 217, 190, 1); | ||
--cyan-primary: rgba( | --cyan-primary: rgba(108, 217, 190, 0.75); | ||
--cyan-secondary: rgba( | --cyan-secondary: rgba(108, 217, 190, 0.5); | ||
/* Aqua blue */ | /* Aqua blue */ | ||
--blue-opaque: rgba( | --blue-opaque: rgba(22, 218, 218, 1); | ||
--blue-primary: rgba(108, 217, 217, 0.75); | --blue-primary: rgba(108, 217, 217, 0.75); | ||
--blue-secondary: rgba(108, 217, 217, 0.5); | --blue-secondary: rgba(108, 217, 217, 0.5); | ||
Строка 117: | Строка 117: | ||
--brown-secondary: rgba(166, 107, 25, 0.5); | --brown-secondary: rgba(166, 107, 25, 0.5); | ||
/* Green */ | /* Green */ | ||
--green-opaque: rgba( | --green-opaque: rgba(117, 217, 98, 1); | ||
--green-primary: rgba( | --green-primary: rgba(117, 217, 98, 0.75); | ||
--green-secondary: rgba( | --green-secondary: rgba(117, 217, 98, 0.5); | ||
/* Yellow */ | /* Yellow */ | ||
--yellow-opaque: rgba(242, | --yellow-opaque: rgba(242, 229, 85, 1); | ||
--yellow-primary: rgba(255, 242, 103, 0.75); | --yellow-primary: rgba(255, 242, 103, 0.75); | ||
--yellow-secondary: rgba(255, 248, 166, 0.5); | --yellow-secondary: rgba(255, 248, 166, 0.5); | ||
/* Light red */ | /* Light red */ | ||
--red-opaque: rgba( | --red-opaque: rgba(242, 97, 97, 1); | ||
--red-primary: rgba( | --red-primary: rgba(242, 97, 97, 0.75); | ||
--red-secondary: rgba( | --red-secondary: rgba(242, 97, 97, 0.5); | ||
/* Pink */ | /* Pink */ | ||
--pink-opaque: rgba(255, 128, 255, 1); | --pink-opaque: rgba(255, 128, 255, 1); | ||
Строка 133: | Строка 133: | ||
--pink-secondary: rgba(255, 128, 255, 0.5); | --pink-secondary: rgba(255, 128, 255, 0.5); | ||
/* Light green */ | /* Light green */ | ||
--civilian-opaque: rgba( | --civilian-opaque: rgba(67, 191, 108, 1); | ||
--civilian-primary: rgba( | --civilian-primary: rgba(67, 191, 108, 0.75); | ||
--civilian-secondary: rgba( | --civilian-secondary: rgba(67, 191, 108, 0.5); | ||
/* Blue */ | /* Blue */ | ||
--medical-opaque: rgba( | --medical-opaque: rgba(65, 179, 217, 1); | ||
--medical-primary: rgba( | --medical-primary: rgba(65, 179, 217, 0.75); | ||
--medical-secondary: rgba( | --medical-secondary: rgba(65, 179, 217, 0.5); | ||
/* Light brown */ | /* Light brown */ | ||
--supply-opaque: rgba( | --supply-opaque: rgba(191, 143, 77, 1); | ||
--supply-primary: rgba( | --supply-primary: rgba(191, 143, 77, 0.75); | ||
--supply-secondary: rgba( | --supply-secondary: rgba(191, 143, 77, 0.5); | ||
/* Purple */ | /* Purple */ | ||
--science-opaque: rgba( | --science-opaque: rgba(187, 98, 217, 1); | ||
--science-primary: rgba( | --science-primary: rgba(187, 98, 217, 0.75); | ||
--science-secondary: rgba( | --science-secondary: rgba(187, 98, 217, 0.5); | ||
/* Orange */ | /* Orange */ | ||
--engineer-opaque: rgba( | --engineer-opaque: rgba(230, 157, 11, 1); | ||
--engineer-primary: rgba( | --engineer-primary: rgba(230, 157, 11, 0.75); | ||
--engineer-secondary: rgba( | --engineer-secondary: rgba(230, 157, 11, 0.5); | ||
/* Red */ | /* Red */ | ||
--security-opaque: rgba( | --security-opaque: rgba(217, 65, 65, 1); | ||
--security-primary: rgba( | --security-primary: rgba(217, 65, 65, 0.75); | ||
--security-secondary: rgba( | --security-secondary: rgba(217, 65, 65, 0.5); | ||
/* Dark red */ | /* Dark red */ | ||
--antag-opaque: rgba( | --antag-opaque: rgba(191, 77, 77, 1); | ||
--antag-primary: rgba( | --antag-primary: rgba(191, 77, 77, 0.75); | ||
--antag-secondary: rgba( | --antag-secondary: rgba(191, 77, 77, 0.5); | ||
/* Magenta Pink */ | /* Magenta Pink */ | ||
--legal-opaque: rgba(230, 80, 167, 1); | --legal-opaque: rgba(230, 80, 167, 1); | ||
Строка 169: | Строка 169: | ||
--command-secondary: rgba(64, 143, 255, 0.5); | --command-secondary: rgba(64, 143, 255, 0.5); | ||
/* Blue Azure */ | /* Blue Azure */ | ||
--synthetic-opaque: rgba( | --synthetic-opaque: rgba(112, 160, 204, 1); | ||
--synthetic-primary: rgba( | --synthetic-primary: rgba(112, 160, 204, 0.75); | ||
--synthetic-secondary: rgba( | --synthetic-secondary: rgba(112, 160, 204, 0.5); | ||
/* Dark Purple */ | /* Dark Purple */ | ||
--special-opaque: rgba( | --special-opaque: rgba(147, 98, 217, 1); | ||
--special-primary: rgba( | --special-primary: rgba(147, 98, 217, 0.75); | ||
--special-secondary: rgba( | --special-secondary: rgba(147, 98, 217, 0.5); | ||
/* Dark Blue */ | /* Dark Blue */ | ||
--centcom-opaque: rgba(48, 120, 191, 1); | --centcom-opaque: rgba(48, 120, 191, 1); |
Версия от 09:15, 22 мая 2024
/* Весь CSS будет отсюда будет загружен пользователям темы оформления «Векторная» */ :root { /* Base Colors - Light */ --color-bg: hsl(0, 0%, 100%); --color-bg-hover: rgba(0, 0, 0, 0.075); --color-bg-focus: rgba(0, 0, 0, 0.125); --color-bg-translucent: rgba(204, 201, 198, 0.66); --color-bg-section: rgba(204, 201, 198, 0.33); --color-bg-section-opaque: hsl(30, 6%, 93%); --color-bg-section-light: rgba(158, 152, 148, 0.15); --color-bg-section-light-opaque: hsl(30, 7%, 88%); --color-text: rgba(0, 0, 0, 1); --color-text-darker: rgba(40, 40, 40, 1); --color-text-gray: rgba(80, 80, 80, 0.75); --color-text-translucent: rgba(0, 0, 0, 0.5); --color-border: rgba(0, 0, 0, 0.1); --color-border-input: rgba(128, 181, 255, 1); --color-border-input-focus: var(--color-blue); /* Scrollbar - Light */ --color-scrollbar-base: hsl(30, 6%, 93%); --color-scrollbar-thumb: hsl(30, 1%, 70%); /* Notices */ --color-notice: hsl(0, 0%, 60%); --color-notice-red: hsl(0, 100%, 70%); --color-notice-green: hsl(110, 50%, 50%); --color-notice-blue: hsl(200, 65%, 50%); --color-notice-brown: hsl(35, 50%, 60%); /* Links */ --color-hyperlink: hsl(220, 100%, 60%); --color-hyperlink-visited: hsl(280, 70%, 50%); --color-hyperlink-new: hsl(0, 100%, 45%); --color-hyperlink-new-visited: hsl(15, 100%, 33%); /* Hover */ --color-hyperlink-hover: hsl(220, 100%, 70%); --color-hyperlink-visited-hover: hsl(290, 85%, 55%); --color-hyperlink-new-hover: hsl(0, 100%, 70%); --color-hyperlink-new-visited-hover: hsl(15, 100%, 50%); /* Links Shadow */ --hyperlink-shadow: hsl(235, 75%, 85%) 0px 0px 0.25em; --hyperlink-shadow-new: hsl(0, 100%, 75%) 0px 0px 0.25em; /* Hover */ --hyperlink-shadow-hover: hsl(235, 75%, 85%) 0px 0px 0.5em; --hyperlink-shadow-new-hover: hsl(0, 100%, 75%) 0px 0px 0.5em; /* Invert */ --invert-icon: invert(0.1); --invert-button-icon: invert(1); --logo-invert: none; /* Shadow */ --box-shadow-small: 0px 15px 20px 0px rgba(0, 0, 0, 0.33); --box-shadow-medium: 0px 25px 30px 5px rgba(0, 0, 0, 0.33); --box-shadow-big: 0px 0px 35px 5px rgba(0, 0, 0, 0.33); /* TGUI Elements Colors */ --color-red: rgba(219, 40, 40, 1); --color-orange: rgba(240, 143, 17, 1); --color-yellow: rgba(251, 214, 8, 1); --color-olive: rgba(181, 204, 24, 1); --color-green: rgba(91, 170, 39, 1); --color-teal: rgba(0, 181, 173, 1); --color-blue: rgba(33, 133, 208, 1); --color-violet: rgba(100, 53, 201, 1); --color-purple: rgba(163, 51, 200, 1); --color-pink: rgba(224, 57, 151, 1); --color-brown: rgba(165, 103, 63, 1); --color-grey: rgba(118, 118, 118, 1); --color-primary: rgba(73, 114, 161, 1); --color-label: rgba(126, 144, 167, 1); --color-black: rgba(0, 0, 0, 1); --color-white: rgba(255, 255, 255, 1); --color-translucent: rgba(255, 255, 255, 0.5); /* TGUI Elements Colors (Light or Hover) */ --color-red-light: rgba(251, 58, 58, 1); --color-orange-light: rgba(255, 163, 40, 1); --color-yellow-light: rgba(255, 233, 29, 1); --color-olive-light: rgba(208, 225, 37, 1); --color-green-light: rgba(105, 195, 43, 1); --color-teal-light: rgba(0, 209, 193, 1); --color-blue-light: rgba(70, 168, 255, 1); --color-violet-light: rgba(168, 68, 255, 1); --color-purple-light: rgba(188, 68, 255, 1); --color-pink-light: rgba(255, 79, 181, 1); --color-brown-light: rgba(191, 123, 76, 1); --color-grey-light: rgba(136, 136, 136, 1); --color-primary-light: rgba(119, 148, 187, 1); --color-label-light: rgba(145, 166, 192, 1); --color-black-hover: rgb(30, 30, 30); --color-white-hover: rgba(225, 225, 225, 1); /* Wiki Palette. Use with ColorPalette template! */ /* Gray. Default */ --gray-opaque: rgba(127, 127, 127, 1); --gray-primary: rgba(127, 127, 127, 0.75); --gray-secondary: rgba(127, 127, 127, 0.5); /* Black */ --black-opaque: rgba(0, 0, 0, 1); --black-primary: rgba(0, 0, 0, 0.75); --black-secondary: rgba(0, 0, 0, 0.5); /* Cyan */ --cyan-opaque: rgba(108, 217, 190, 1); --cyan-primary: rgba(108, 217, 190, 0.75); --cyan-secondary: rgba(108, 217, 190, 0.5); /* Aqua blue */ --blue-opaque: rgba(22, 218, 218, 1); --blue-primary: rgba(108, 217, 217, 0.75); --blue-secondary: rgba(108, 217, 217, 0.5); /* Brown */ --brown-opaque: rgba(166, 107, 25, 1); --brown-primary: rgba(166, 107, 25, 0.75); --brown-secondary: rgba(166, 107, 25, 0.5); /* Green */ --green-opaque: rgba(117, 217, 98, 1); --green-primary: rgba(117, 217, 98, 0.75); --green-secondary: rgba(117, 217, 98, 0.5); /* Yellow */ --yellow-opaque: rgba(242, 229, 85, 1); --yellow-primary: rgba(255, 242, 103, 0.75); --yellow-secondary: rgba(255, 248, 166, 0.5); /* Light red */ --red-opaque: rgba(242, 97, 97, 1); --red-primary: rgba(242, 97, 97, 0.75); --red-secondary: rgba(242, 97, 97, 0.5); /* Pink */ --pink-opaque: rgba(255, 128, 255, 1); --pink-primary: rgba(255, 128, 255, 0.75); --pink-secondary: rgba(255, 128, 255, 0.5); /* Light green */ --civilian-opaque: rgba(67, 191, 108, 1); --civilian-primary: rgba(67, 191, 108, 0.75); --civilian-secondary: rgba(67, 191, 108, 0.5); /* Blue */ --medical-opaque: rgba(65, 179, 217, 1); --medical-primary: rgba(65, 179, 217, 0.75); --medical-secondary: rgba(65, 179, 217, 0.5); /* Light brown */ --supply-opaque: rgba(191, 143, 77, 1); --supply-primary: rgba(191, 143, 77, 0.75); --supply-secondary: rgba(191, 143, 77, 0.5); /* Purple */ --science-opaque: rgba(187, 98, 217, 1); --science-primary: rgba(187, 98, 217, 0.75); --science-secondary: rgba(187, 98, 217, 0.5); /* Orange */ --engineer-opaque: rgba(230, 157, 11, 1); --engineer-primary: rgba(230, 157, 11, 0.75); --engineer-secondary: rgba(230, 157, 11, 0.5); /* Red */ --security-opaque: rgba(217, 65, 65, 1); --security-primary: rgba(217, 65, 65, 0.75); --security-secondary: rgba(217, 65, 65, 0.5); /* Dark red */ --antag-opaque: rgba(191, 77, 77, 1); --antag-primary: rgba(191, 77, 77, 0.75); --antag-secondary: rgba(191, 77, 77, 0.5); /* Magenta Pink */ --legal-opaque: rgba(230, 80, 167, 1); --legal-primary: rgba(230, 80, 167, 0.75); --legal-secondary: rgba(230, 80, 167, 0.5); /* Blue Ribbon */ --command-opaque: rgba(61, 136, 242, 1); --command-primary: rgba(64, 143, 255, 0.75); --command-secondary: rgba(64, 143, 255, 0.5); /* Blue Azure */ --synthetic-opaque: rgba(112, 160, 204, 1); --synthetic-primary: rgba(112, 160, 204, 0.75); --synthetic-secondary: rgba(112, 160, 204, 0.5); /* Dark Purple */ --special-opaque: rgba(147, 98, 217, 1); --special-primary: rgba(147, 98, 217, 0.75); --special-secondary: rgba(147, 98, 217, 0.5); /* Dark Blue */ --centcom-opaque: rgba(48, 120, 191, 1); --centcom-primary: rgba(48, 120, 191, 0.75); --centcom-secondary: rgba(48, 120, 191, 0.5); /* Font sizes */ --font-size-x-small: 0.75rem; --font-size-small: 0.875rem; --font-size-medium: 1rem; --font-size-large: 1rem; --font-size-x-large: 1.125rem; --font-size-xx-large: 1.375rem; --font-size-xxx-large: 1.75rem; /* Font weight */ --font-weight-normal: 400; --font-weight-medium: ~'calc( var( --font-weight-normal ) + 100)'; --font-weight-semibold: ~'calc( var( --font-weight-normal ) + 200)'; --font-weight-bold: ~'calc( var( --font-weight-normal ) + 300)'; /* Opacity */ --opacity-icon-base: 0.5; --opacity-icon-base-hover: 0.75; --opacity-icon-base-active: 1; /* Values */ --border-radius-small: 0.25em; --border-radius-medium: 0.5em; --border-radius-large: 1em; --blur-intensity: blur(24px); --transition-time: 0.2s; --transition-delay: 0.2s; /* Shortcuts */ --border-classic: 1px solid var(--color-border); --border-classic-input: 1px solid var(--color-border-input); --border-classic-input-focus: 1px solid var(--color-border-input-focus); } /* Горизонтальный список */ #mw-content-text .hlist ul { display: inline; margin: 0; padding: 0; } #mw-content-text .hlist li { display: inline; } #mw-content-text .hlist li:not(:last-child) { padding-right: 0.285em; } #mw-content-text .hlist li:not(:last-child)::after { content: ""; display: inline-block; position: relative; left: 0.285em; bottom: 0.215em; background-color: var(--color-bg); height: 3px; width: 3px; } #mw-content-text .hlist li li:first-child::before { content: "("; font-weight: normal; } #mw-content-text .hlist li li:last-child::after { content: ")"; font-weight: normal; } #mw-content-text .hlist li li li { font-size: x-small; } /* Simulate link styling for JS only links */ .jslink { color: var(--color-hyperlink); user-select: none; outline: none; } .jslink:hover { text-decoration: underline; cursor: pointer; } .jslink:active { color: var(--color-hyperlink-visited); } /* Кнопка "Вверх": [[Файл:Scroll_top.png]] */ #scroll-top { display: none; background: url(https://wiki.ss220.space/images/f/f4/Scroll_top.gif) 0% 0%/38px 38px no-repeat; opacity: 0.3; width: 38px; height: 38px; cursor: pointer; position: fixed; left: calc(11em - 19px); bottom: 30px; z-index: 10; image-rendering: -moz-crisp-edges; image-rendering: pixelated; } #scroll-top:hover { opacity: 0.8; } /* Отступы сворачиваемого меню */ .vector-menu-portal { margin-left: 0.1em; } #mw-panel.collapsible-nav .portal .vector-menu-content { margin-left: 0.5em; } /* Прилипающий заголовок */ .sticky-head th { background-image: none !important; } .sticky-head abbr { writing-mode: vertical-rl; transform: rotate(0.5turn); display: inline-block; } .sticky-head thead { position: sticky; top: 0.1em; } .noautonum .tocnumber { display: none; }