|
|
| (2 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| /* ===================================
| |
| <pre>
| |
| =================================== */
| |
| :root {
| |
|
| |
|
| /* ===================================
| |
| THEME VARIABLES
| |
| =================================== */
| |
| /* -----------------------------------
| |
| Lists
| |
| ----------------------------------- */
| |
| --ul-list-style-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='13'%3E%3Ccircle cx='2.5' cy='9' r='2.5'");
| |
|
| |
| /* -----------------------------------
| |
| Vector Menu
| |
| ----------------------------------- */
| |
| --personal-links-bg: var(--body-main);
| |
|
| |
| /* -----------------------------------
| |
| Vector Search
| |
| ----------------------------------- */
| |
| --searchbutton-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23fff' d='M12.2 13.6a7 7 0 1 1 1.4-1.4l5.4 5.4-1.4 1.4zM3 8a5 5 0 1 0 10 0A5 5 0 0 0 3 8z'/%3E%3C/svg%3E");
| |
|
| |
| /* -----------------------------------
| |
| Vector Tabs
| |
| ----------------------------------- */
| |
| --vector-tab-background: var(--lotus-blue-dark);
| |
| --vector-tab-background--hover: var(--lotus-blue);
| |
| --vector-tab-link-color: var(--light-gray);
| |
| --vector-tab-gap: var(--mid-darker-gray);
| |
| --watch-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='transparent' stroke='%235BB7E5' stroke-width='.8' d='m8.1 1.1 2.2 4.5 4.8.7-3.5 3.4.9 4.8L8 12.2l-4.3 2.3.8-4.8L1 6.3l4.8-.7z'/%3E%3C/svg%3E");
| |
| --unwatch-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='%235BB7E5' stroke='%235BB7E5' stroke-width='.8' d='m8.1 1.1 2.2 4.5 4.8.7-3.5 3.4.9 4.8L8 12.2l-4.3 2.3.8-4.8L1 6.3l4.8-.7z'/%3E%3C/svg%3E");
| |
|
| |
| /* -----------------------------------
| |
| Table of Contents
| |
| ----------------------------------- */
| |
| --toc-bg: var(--body mid);
| |
| --toc-title-bg: var(--body-dark);
| |
| --toc-title-text: var(--text-color);
| |
| --toc-border-color: var(--body-border);
| |
| --toc-list-border-color: var(--body-border);
| |
|
| |
| /* -----------------------------------
| |
| External Links
| |
| ----------------------------------- */
| |
| --external-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231B4D6D' d='M6 1h5v5L8.86 3.85 4.7 8 4 7.3l4.15-4.16L6 1Z M2 3h2v1H2v6h6V8h1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E");
| |
| --external-icon-darkmode: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234892B7' d='M6 1h5v5L8.86 3.85 4.7 8 4 7.3l4.15-4.16L6 1Z M2 3h2v1H2v6h6V8h1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E");
| |
| }
| |
|
| |
| /* ===================================
| |
| Page Elements
| |
| =================================== */
| |
| /* -----------------------------------
| |
| Core
| |
| ----------------------------------- */
| |
| html {
| |
| /* Prevent weird font scaling in Safari - is also in minerva */
| |
| /* TODO: Still needed? Move to common.css? */
| |
| -webkit-text-size-adjust: 100%;
| |
| }
| |
| body {
| |
| background: var(--body-background-image) var(--body-background-color) top left / 105% no-repeat;
| |
| background-attachment: fixed;
| |
| }
| |
| .page-WARFRAME_Wiki .mw-parser-output {
| |
| max-width: 1800px;
| |
| margin: auto;
| |
| }
| |
|
| |
| /* -----------------------------------
| |
| Page Title
| |
| ----------------------------------- */
| |
| .firstHeading {
| |
| font-weight: bold;
| |
| }
| |
|
| |
| /* -----------------------------------
| |
| Misc
| |
| ----------------------------------- */
| |
| pre,
| |
| code,
| |
| .mw-code {
| |
| color: inherit;
| |
| background-color: var(--mw-code-background-color);
| |
| overflow-wrap: anywhere;
| |
| }
| |
| .mw-code {
| |
| border: 1px solid var(--body-border);
| |
| }
| |
| pre,
| |
| code {
| |
| border: 1px solid var(--border-color-code);
| |
| }
| |
| ul {
| |
| list-style-image: var(--ul-list-style-image);
| |
| }
| |
| hr {
| |
| background: none;
| |
| border-color: var(--sidebar);
| |
| border-style: solid;
| |
| border-width: 1px 0 0 0;
| |
| height: initial;
| |
| }
| |
| fieldset {
| |
| border-color: var(--sidebar);
| |
| }
| |
| .vector-body blockquote {
| |
| border-color: var(--body-light);
| |
| }
| |
| .nodesktop {
| |
| display: none;
| |
| }
| |
| .mw-editsection {
| |
| font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif;
| |
| }
| |
| .client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
| |
| .client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type),
| |
| .mw-editsection-divider {
| |
| color: var(--text-color);
| |
| }
| |
| #mw-content-subtitle,
| |
| #contentSub2 {
| |
| color: var(--byline-color);
| |
| margin: 0;
| |
| }
| |
| #mw-content-subtitle:not(:empty),
| |
| #contentSub2:not(:empty) {
| |
| margin: 0 0 1.4em 0;
| |
| }
| |
| .mw-content-ltr ol,
| |
| .mw-content-rtl .mw-content-ltr ol {
| |
| margin: .3em 0 0 1.6em;
| |
| }
| |
|
| |
| /* ===================================
| |
| Table of Contents
| |
| =================================== */
| |
| .toc {
| |
| font-size: .9em;
| |
| background: var(--toc-bg);
| |
| margin-top: 1em;
| |
| padding: 0;
| |
| border-color: var(--toc-border-color);
| |
| box-shadow: 0 .25rem .35rem -.25rem var(--transparent-black-more);
| |
| clear: left;
| |
| }
| |
| .toc .toctitle {
| |
| background: var(--toc-title-bg);
| |
| padding: .25em 1em;
| |
| color: var(--toc-title-text);
| |
| }
| |
| .toc .toctitle h2 {
| |
| font-family: inherit;
| |
| color: var(--toc-title-text);
| |
| }
| |
| .toc>ul {
| |
| line-height: 1.8em;
| |
| padding: .75em 1.75em;
| |
| margin: 0;
| |
| }
| |
| .toc ul ul {
| |
| border-left: 1px dotted var(--toc-list-border-color);
| |
| padding-left: .5em;
| |
| }
| |
| .tocnumber {
| |
| display: none;
| |
| }
| |
| .toctogglespan {
| |
| padding-left: .2em;
| |
| font-size: .9em;
| |
| }
| |
| .toctogglelabel {
| |
| color: var(--byline-color);
| |
| }
| |
| .toclimit-2 #toc .toclevel-2,
| |
| .toclimit-3 #toc .toclevel-3,
| |
| .toclimit-4 #toc .toclevel-4,
| |
| .toclimit-5 #toc .toclevel-5,
| |
| .toclimit-6 #toc .toclevel-6,
| |
| .toclimit-7 #toc .toclevel-7 {
| |
| display: none;
| |
| }
| |
| .toctext span:nth-child(even) {
| |
| display: none;
| |
| }
| |
|
| |
| /* ===================================
| |
| Interactive Diffs
| |
| =================================== */
| |
| .mw-revslider-pointer-container {
| |
| z-index: 2;
| |
| }
| |
|
| |
| /* ===================================
| |
| Vector Menu
| |
| =================================== */
| |
| .vector-menu-dropdown {
| |
| height: 2.5em;
| |
| }
| |
| .vector-menu-dropdown .vector-menu-heading {
| |
| background-color: var(--vector-tab-background);
| |
| margin: 0;
| |
| padding: 0 .75em;
| |
| height: 100%;
| |
| }
| |
| .vector-menu-dropdown .vector-menu-heading,
| |
| .vector-menu-dropdown .vector-menu-heading:hover,
| |
| .vector-menu-dropdown .vector-menu-heading:focus {
| |
| color: var(--background-text-color);
| |
| }
| |
| .vector-menu-dropdown .vector-menu-heading:after {
| |
| background-image: var(--arrow-down);
| |
| opacity: 1;
| |
| align-self: center;
| |
| background-size: 0.9625em;
| |
| filter: invert(1);
| |
| }
| |
| .vector-menu.vector-menu-tabs-legacy li a,
| |
| .vector-menu-dropdown .vector-menu-heading .vector-menu-heading-label {
| |
| align-content: center;
| |
| display: grid;
| |
| }
| |
| .vector-menu-dropdown .vector-menu-content {
| |
| border-color: transparent;
| |
| background-color: var(--body-dark);
| |
| box-shadow: 0 2px 3px 0 var(--transparent-black-more);
| |
| left: 0;
| |
| }
| |
| .vector-menu-dropdown .mw-list-item a {
| |
| color: var(--link-color);
| |
| }
| |
| .vector-menu-dropdown .mw-list-item.selected a,
| |
| .vector-menu-dropdown .mw-list-item.selected a:visited {
| |
| color: var(--text-color);
| |
| }
| |
|
| |
| /* ===================================
| |
| Top Links
| |
| =================================== */
| |
| #p-personal {
| |
| background: var(--personal-links-bg);
| |
| top: 0;
| |
| right: 0;
| |
| border-radius: 0 0 0 4px;
| |
| height: 1.875em;
| |
| }
| |
| #p-personal ul {
| |
| padding: 0 1em 0 0.4375em;
| |
| }
| |
|
| |
| /* ===================================
| |
| Vector Search
| |
| =================================== */
| |
| .vector-search-box {
| |
| font-size: 0.8125em;
| |
| min-width: unset;
| |
| max-width: 20em;
| |
| margin: 0;
| |
| }
| |
| .vector-search-box form {
| |
| margin: 0;
| |
| }
| |
| .vector-search-box .cdx-search-input__end-button.cdx-button {
| |
| top: 1px;
| |
| right: 1px;
| |
| background-image: var(--searchbutton-icon);
| |
| }
| |
| .vector-search-box-vue input.cdx-text-input__input,
| |
| .vector-search-box-vue input.cdx-text-input__input:enabled {
| |
| background: var(--search-box);
| |
| color: var(--vector-tab-link-color);
| |
| padding: 7px 2.15384615em 7px 0;
| |
| border: none;
| |
| box-shadow: inset 0 -7px 7px -7px #00000026;
| |
| border-radius: 0;
| |
| min-height: 2.5rem;
| |
| }
| |
| .vector-search-box-vue .cdx-text-input__input::placeholder {
| |
| opacity: 1;
| |
| }
| |
| .vector-search-box-vue .cdx-menu {
| |
| background-color: var(--template-background-color-1);
| |
| border-color: var(--template-background-color-1);
| |
| }
| |
| .vector-search-box-vue .cdx-menu .cdx-menu-item--enabled,
| |
| .vector-search-box-vue .cdx-menu .cdx-menu-item--enabled .cdx-menu-item__content {
| |
| color: var(--text-color);
| |
| }
| |
| .vector-search-box-vue .cdx-menu .cdx-thumbnail__placeholder,
| |
| .vector-search-box-vue .cdx-menu .cdx-thumbnail__image {
| |
| background-color: var(--template-background-color-2);
| |
| border-color: var(--body-border);
| |
| }
| |
| .vector-search-box-vue .cdx-menu .cdx-typeahead-search__search-footer__icon {
| |
| color: var(--text-color);
| |
| }
| |
| .vector-search-box-vue .cdx-menu .cdx-menu-item--enabled.cdx-menu-item--highlighted {
| |
| background-color: var(--body-mid);
| |
| }
| |
| .vector-search-box-vue .cdx-menu .cdx-menu-item--enabled.cdx-menu-item--highlighted,
| |
| .vector-search-box-vue .cdx-menu .cdx-menu-item--enabled.cdx-menu-item--highlighted .cdx-menu-item__content,
| |
| .vector-search-box-vue .cdx-menu .cdx-menu-item--enabled.cdx-menu-item--highlighted .cdx-menu-item__text__description {
| |
| color: var(--text-color);
| |
| }
| |
| .vector-search-box-vue .cdx-menu .cdx-menu-item__text__description {
| |
| color: var(--byline-color);
| |
| }
| |
| .vector-search-box-vue .cdx-search-input--has-end-button {
| |
| background: none;
| |
| border: none;
| |
| }
| |
| .vector-search-box-vue .cdx-search-input--has-end-button .cdx-search-input__input-wrapper {
| |
| margin: 0;
| |
| }
| |
| .vector-search-box-vue .cdx-menu--has-footer .cdx-menu-item:last-of-type:not(:first-of-type) {
| |
| border-color: var(--body-border);
| |
| }
| |
| .vector-search-box-vue input {
| |
| border-left: .25em solid var(--vector-tab-gap) !important;
| |
| }
| |
|
| |
| /* ===================================
| |
| Vector Sidebar
| |
| =================================== */
| |
| #mw-panel {
| |
| padding-top: 2.5em;
| |
| color: var(--almost-white);
| |
| font-family: 'Quantico', 'Roboto', sans-serif;
| |
| }
| |
|
| |
| /* -----------------------------------
| |
| Links
| |
| ----------------------------------- */
| |
| div#mw-panel .vector-menu-portal .vector-menu-heading {
| |
| color: var(--sidebar-heading-text-color);
| |
| font-weight: bold;
| |
| display: flex;
| |
| justify-content: center;
| |
| align-content: center;
| |
| text-align: center;
| |
| background: var(--sidebar-heading-background);
| |
| text-transform: uppercase;
| |
| margin: 0;
| |
| clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 0 100%);
| |
| text-shadow: 1px 1px 1px var(--transparent-black-less);
| |
| }
| |
| div#mw-panel .vector-menu-portal .vector-menu-content {
| |
| background: var(--sidebar-content-background);
| |
| padding: .25em .5em;
| |
| margin: 0;
| |
| box-shadow: 2px 3px 5px 0px var(--transparent-black-subtle);
| |
| }
| |
| div#mw-panel .vector-menu-portal .vector-menu-heading .vector-menu-heading-label {
| |
| display: inline-block;
| |
| position: relative;
| |
| right: 10px;
| |
| }
| |
| div#mw-panel .vector-menu-portal .vector-menu-content ul {
| |
| padding-top: 0;
| |
| }
| |
| div#mw-panel li a,
| |
| div#mw-panel li a:visited {
| |
| color: var(--sidebar-content-link-color);
| |
| }
| |
| div#mw-panel li a:hover {
| |
| color: var(--sidebar-content-link-color-hover);
| |
| }
| |
| #p-interaction li,
| |
| #p-navigation li,
| |
| #p-Navigation ul,
| |
| #p-personal,
| |
| #p-tb ul {
| |
| text-transform: capitalize;
| |
| }
| |
|
| |
| /* -----------------------------------
| |
| Logo
| |
| ----------------------------------- */
| |
| #p-logo {
| |
| filter: drop-shadow(0 2px 5px var(--transparent-black));
| |
| margin: -1.5em 0 0;
| |
| }
| |
| #n-Discord a {
| |
| color: #FFF !important;
| |
| font-weight: bold;
| |
| border-radius: 4px;
| |
| border: 1px solid #4C57D0;
| |
| background-color: #5865F2;
| |
| display: block;
| |
| position: relative;
| |
| padding: 4px 4px 5px calc(17px + 6.5px * 2);
| |
| box-shadow: 0 2px 3px var(--transparent-black-more);
| |
| transition: .2s;
| |
| }
| |
| #n-Discord a::before {
| |
| content: 'Chat on ';
| |
| font-weight: normal;
| |
| opacity: .85;
| |
| }
| |
| #n-Discord a::after {
| |
| content: '';
| |
| background: url('filepath://Discord_logo_icon.svg') no-repeat;
| |
| background-size: 17px 13px;
| |
| filter: drop-shadow(0 1px 1px var(--transparent-black-more));
| |
| position: absolute;
| |
| top: 5px;
| |
| left: 7px;
| |
| width: 17px;
| |
| height: 13px;
| |
| }
| |
| #n-Discord a:hover {
| |
| text-decoration: none;
| |
| background-color: #525EE0;
| |
| }
| |
| .wgl-theme-dark #n-Discord a {
| |
| background-color: #525EE0;
| |
| }
| |
| .wgl-theme-dark #n-Discord a:hover {
| |
| background-color: #4C57D0;
| |
| }
| |
|
| |
| /* ===================================
| |
| Upper Nav
| |
| =================================== */
| |
| /* -----------------------------------
| |
| Tabs
| |
| ----------------------------------- */
| |
| .vector-menu-tabs-legacy {
| |
| padding: 0;
| |
| }
| |
| .vector-menu-tabs-legacy .new a,
| |
| .vector-menu-tabs-legacy .new a:visited {
| |
| color: var(--redlink-color);
| |
| }
| |
| .vector-menu-tabs-legacy .selected {
| |
| background: var(--body-main);
| |
| }
| |
| .vector-menu-tabs-legacy .selected a,
| |
| .vector-menu-tabs-legacy .selected a:visited {
| |
| color: var(--text-color);
| |
| }
| |
| .vector-menu-tabs-legacy li a {
| |
| color: var(--vector-tab-link-color);
| |
| padding: 0 .75em;
| |
| align-content: center;
| |
| }
| |
| .vector-menu-tabs-legacy li a:visited {
| |
| color: var(--vector-tab-link-color);
| |
| }
| |
| .vector-menu-tabs-legacy ul li {
| |
| background: var(--vector-tab-background);
| |
| }
| |
| .vector-menu-tabs-legacy ul a:hover {
| |
| text-decoration: none;
| |
| }
| |
| #ca-view {
| |
| display: none !important;
| |
| }
| |
| .vector-menu-tabs ul li:not(.selected):hover,
| |
| #p-cactions:hover #p-cactions-label {
| |
| background: var(--vector-tab-background--hover);
| |
| }
| |
| .vector-menu-tabs ul li:not(.selected),
| |
| #mw-head .vector-menu-dropdown .vector-menu-heading {
| |
| box-shadow: inset 0 -7px 7px -7px #00000026;
| |
| }
| |
| .vector-menu-tabs,
| |
| .vector-menu-tabs a,
| |
| #mw-head .vector-menu-dropdown .vector-menu-heading {
| |
| background-image: none;
| |
| }
| |
| .ve-activated .vector-menu-tabs .selected {
| |
| box-shadow: none;
| |
| }
| |
| .vector-menu-tabs #ca-watch.icon a:before,
| |
| .vector-menu-tabs #ca-watch.icon a:hover:before,
| |
| .vector-menu-tabs #ca-watch.icon a:focus:before {
| |
| background-image: var(--watch-icon);
| |
| top: .9em;
| |
| }
| |
| .vector-menu-tabs #ca-unwatch.icon a:before,
| |
| .vector-menu-tabs #ca-unwatch.icon a:hover:before,
| |
| .vector-menu-tabs #ca-unwatch.icon a:focus:before {
| |
| background-image: var(--unwatch-icon);
| |
| top: .9em;
| |
| }
| |
| /* tilted tabs at the top of the page */
| |
| #mw-head #left-navigation .mw-list-item {
| |
| transform: skew(30deg);
| |
| padding: 0 .25em;
| |
| border-left: .25em solid var(--vector-tab-gap);
| |
| font-weight: 600;
| |
| text-transform: uppercase;
| |
| font-variant-caps: all-small-caps;
| |
| }
| |
| #mw-head #right-navigation nav:not(.mw-portlet-cactions) .mw-list-item {
| |
| transform: skew(-30deg);
| |
| padding: 0 .26em;
| |
| margin: 0 -.1em; /* Use negative margin to fill in one pixel gaps that can occur */
| |
| border-left: .25em solid var(--vector-tab-gap);
| |
| font-weight: 600;
| |
| text-transform: uppercase;
| |
| font-variant-caps: all-small-caps;
| |
| }
| |
| #mw-head #left-navigation .mw-list-item>a>span {
| |
| display: inline-block;
| |
| transform: skew(-30deg);
| |
| }
| |
| #mw-head #right-navigation nav:not(.mw-portlet-cactions) .mw-list-item>a>span {
| |
| display: inline-block;
| |
| transform: skew(30deg);
| |
| position: relative;
| |
| left: -2px;
| |
| }
| |
| #ca-edit,
| |
| .ve-not-available body:is(.action-edit,.action-view,.action-submit):has([title^="Start a new section"],[title^="Create the source"]) #mw-head #right-navigation nav:not(.mw-portlet-cactions) #ca-edit,
| |
| body:is(.action-edit,.action-view,.action-submit) #mw-head #right-navigation:has([title^="Create this page"]) nav:not(.mw-portlet-cactions) #ca-ve-edit {
| |
| transform: skew(-30deg) !important;
| |
| padding: 0 .26em !important;
| |
| clip-path: unset;
| |
| }
| |
| .ve-not-available body:is(.action-edit,.action-view,.action-submit):not([title^="Start a new section"]):has([title^="Create the source"]) #mw-head #right-navigation nav:not(.mw-portlet-cactions) #ca-edit a,
| |
| body:is(.action-edit,.action-view,.action-submit) #mw-head #right-navigation:has([title^="Create this page"]) nav:not(.mw-portlet-cactions) #ca-ve-edit a {
| |
| transform: skew(30deg) !important;
| |
| }
| |
| html:not(.ve-not-available) #ca-edit,
| |
| .ve-not-available body:is(.action-edit,.action-view,.action-submit):not([title^="Start a new section"]):has([title^="Create the source"]) #p-views .vector-menu-content-list:has(#ca-edit) li:nth-child(2),
| |
| body:is(.action-edit,.action-view,.action-submit) #mw-head #right-navigation:has([title^="Create this page"]) #p-views .vector-menu-content-list:has(#ca-ve-edit) li:nth-child(2) {
| |
| border-left: .25em solid var(--vector-tab-gap) !important;
| |
| }
| |
| #mw-head #right-navigation nav:not(.mw-portlet-cactions) .mw-list-item#ca-watch span,
| |
| #mw-head #right-navigation nav:not(.mw-portlet-cactions) .mw-list-item#ca-unwatch span {
| |
| display: none;
| |
| }
| |
| .vector-menu-tabs #ca-watch.icon a::before,
| |
| .vector-menu-tabs #ca-watch.icon a:hover::before,
| |
| .vector-menu-tabs #ca-watch.icon a:focus::before,
| |
| .vector-menu-tabs #ca-unwatch.icon a::before,
| |
| .vector-menu-tabs #ca-unwatch.icon a:hover::before,
| |
| .vector-menu-tabs #ca-unwatch.icon a:focus::before,
| |
| #p-cactions-label::after,
| |
| #p-cactions-label span {
| |
| transform: skew(30deg);
| |
| }
| |
| .vector-menu-dropdown .vector-menu-heading {
| |
| font-weight: 600;
| |
| /* Ensuring "More" text for drop down menu uses same color as other Vector tab elements
| |
| which are nested in a different nav element (nav#p-views vs nav#p-cactions) */
| |
| color: var(--vector-tab-link-color);
| |
| }
| |
| .mw-portlet-cactions {
| |
| transform: skew(-30deg);
| |
| margin-right: -.875em;
| |
| border-left: .25em solid var(--vector-tab-gap);
| |
| font-weight: 600;
| |
| text-transform: uppercase;
| |
| font-variant-caps: all-small-caps;
| |
| }
| |
| nav .vector-menu-content-list li:first-child {
| |
| transform: none !important;
| |
| border-left: 0 !important;
| |
| padding-right: 1.25em !important;
| |
| margin-right: -1em;
| |
| clip-path: polygon(0% 0%, calc(100% - 24px) 0%, 100% 100%, 0 100%);
| |
| }
| |
| nav .vector-menu-content-list li:first-child a span{
| |
| transform: none !important;
| |
| }
| |
| /*body.ns-special #p-cactions,*/
| |
| #p-views .vector-menu-content-list li:nth-child(2) {
| |
| border-left: 0 !important;
| |
| }
| |
| #p-cactions #p-cactions-label {
| |
| padding-right: 20px;
| |
| }
| |
| #p-cactions>.vector-menu-content {
| |
| transform: skew(30deg);
| |
| transform-origin: top;
| |
| margin-left: 0;
| |
| }
| |
|
| |
| /* ===================================
| |
| Misc
| |
| =================================== */
| |
| /* -----------------------------------
| |
| To Do?
| |
| ----------------------------------- */
| |
| figure[typeof~='mw:File/Thumb'],
| |
| figure[typeof~='mw:File/Frame'],
| |
| div.thumbinner {
| |
| border: none;
| |
| background-color: var(--thumb-bg);
| |
| }
| |
| figure[typeof~='mw:File/Thumb']>:not(figcaption) .mw-file-element,
| |
| figure[typeof~='mw:File/Frame']>:not(figcaption) .mw-file-element,
| |
| .thumbimage {
| |
| border: none;
| |
| background: var(--thumb-bg);
| |
| margin-bottom: 0;
| |
| }
| |
| figure[typeof~='mw:File/Thumb']>figcaption,
| |
| figure[typeof~='mw:File/Frame']>figcaption,
| |
| .thumbcaption {
| |
| border: none;
| |
| background-color: var(--thumb-caption-bg);
| |
| padding: 4px 6px;
| |
| }
| |
| figure[typeof~='mw:File/Thumb']>.mw-file-description::after,
| |
| figure[typeof~='mw:File/Thumb']>.mw-file-magnify::after {
| |
| bottom: -15px;
| |
| }
| |
|
| |
| /* -----------------------------------
| |
| External Links
| |
| ----------------------------------- */
| |
| .mw-parser-output a.external {
| |
| background-image: var(--external-icon);
| |
| background-size: 0.833em;
| |
| }
| |
| .wgl-theme-dark .mw-parser-output a.external {
| |
| background-image: var(--external-icon-darkmode);
| |
| }
| |
|
| |
| /* ===================================
| |
| Templates
| |
| =================================== */
| |
| /* -----------------------------------
| |
| [[Template:CustomCollapsible]]
| |
| ----------------------------------- */
| |
| .mw-collapsible.mw-collapsed {
| |
| min-width: 250px;
| |
| }
| |
| .mw-collapsible:not( .mw-made-collapsible) th::before,
| |
| .mw-collapsible .mw-collapsible-toggle {
| |
| font-weight: normal;
| |
| margin-left: .2em;
| |
| }
| |
| .mw-collapsible-toggle-default .mw-collapsible-text,
| |
| .mw-collapsible-toggle-default:active .mw-collapsible-text {
| |
| color: var(--link-color);
| |
| }
| |
|
| |
| /* ===================================
| |
| CodeMirror Editor
| |
| =================================== */
| |
| .ve-init-mw-desktopArticleTarget .CodeMirror-linenumber {
| |
| color: var(--byline-color);
| |
| }
| |
| .mw-editform #wpTextbox1 {
| |
| color: var(--text-color);
| |
| background: var(--sourceeditor-input-background);
| |
| border-color: var(--sourceeditor-border);
| |
| }
| |
| input[name="model"][value="Scribunto"] ~ .wikiEditor-ui #wpTextbox1,
| |
| input[name="model"][value="css"] ~ .wikiEditor-ui #wpTextbox1,
| |
| input[name="model"][value="less"] ~ .wikiEditor-ui #wpTextbox1,
| |
| input[name="model"][value="javascript"] ~ .wikiEditor-ui #wpTextbox1,
| |
| input[name="model"][value="json"] ~ .wikiEditor-ui #wpTextbox1 {
| |
| height: 600px;
| |
| }
| |
| .tdg-templateDataDialog-listParamsPanel textarea.oo-ui-textInputWidget-autosized {
| |
| resize: vertical;
| |
| }
| |
| #wpAceFilterEditor {
| |
| resize: horizontal;
| |
| }
| |
|
| |
| /* ===================================
| |
| File Upload
| |
| =================================== */
| |
| .warn-userupload,
| |
| .ns-2 .upload-own-work {
| |
| display: none;
| |
| }
| |
| .ns-2 .warn-userupload {
| |
| display: inline;
| |
| }
| |
| textarea[name="wfUploadDescription"] {
| |
| height: 3em;
| |
| }
| |
| #editform {
| |
| margin-top: 1.25em;
| |
| }
| |
|
| |
| /* ===================================
| |
| Lua Debug Console
| |
| =================================== */
| |
| #mw-scribunto-input,
| |
| #mw-scribunto-output {
| |
| padding: 3px;
| |
| font-family: monospace;
| |
| font-size: 13px;
| |
| line-height: 1.5em;
| |
| }
| |
| #mw-scribunto-input {
| |
| background-color: var(--ooui-input);
| |
| border-color: var(--ooui-input-border);
| |
| }
| |
| .mw-scribunto-console-fieldset {
| |
| color: inherit;
| |
| background-color: var(--ooui-interface);
| |
| border-color: var(--ooui-interface-border);
| |
| }
| |
| .mw-scribunto-normalOutput,
| |
| .mw-scribunto-print,
| |
| .mw-scribunto-error,
| |
| .mw-scribunto-propList,
| |
| .mw-scribunto-message,
| |
| .mw-scribunto-tabcomplete {
| |
| background: none;
| |
| }
| |
| .mw-scribunto-input {
| |
| color: var(--scribuntoconsole-input);
| |
| }
| |
| .mw-scribunto-normalOutput {
| |
| color: inherit;
| |
| }
| |
| .mw-scribunto-print {
| |
| color: var(--scibuntoconsole-print);
| |
| }
| |
| .mw-scribunto-error {
| |
| color: var(--scribuntoconsole-error);
| |
| }
| |
| .mw-scribunto-propList,
| |
| .mw-scribunto-message {
| |
| color: var(--scribuntoconsole-message);
| |
| }
| |
| .mw-scribunto-tabcomplete {
| |
| color: var(--scribuntoconsole-tabcomplete);
| |
| }
| |
| .mw-scribunto-clear {
| |
| color: var(--scribuntoconsole-clear);
| |
| border-bottom-color: var(--scribuntoconsole-clear);
| |
| }
| |
|
| |
| /* ===================================
| |
| Buttons
| |
| =================================== */
| |
| .ui-widget-overlay {
| |
| background: var(--ooui-window-background);
| |
| }
| |
| .ui-dialog,
| |
| .ui-widget-content {
| |
| background-color: var(--body-dark);
| |
| border-color: var(--body-border);
| |
| background-image: none;
| |
| color: var(--text-color);
| |
| }
| |
| .ui-dialog .ui-dialog-titlebar.ui-widget-header,
| |
| .ui-widget-content .ui-dialog-titlebar.ui-widget-header {
| |
| background-image: none !important;
| |
| background-color: var(--body-dark) !important;
| |
| border-color: var(--body-border) !important;
| |
| }
| |
| .ui-dialog .ui-dialog-titlebar .ui-dialog-title,
| |
| .ui-widget-content .ui-dialog-titlebar .ui-dialog-title {
| |
| color: var(--text-color);
| |
| }
| |
| .ui-dialog .ui-dialog-titlebar-close,
| |
| .ui-widget-content .ui-dialog-titlebar-close {
| |
| background-color: var(--ooui-normal);
| |
| }
| |
| .ui-dialog .ui-dialog-titlebar-close:hover,
| |
| .ui-widget-content .ui-dialog-titlebar-close:hover {
| |
| background: var(--ooui-normal--hover);
| |
| border: var(--link-color);
| |
| }
| |
| .ui-button,
| |
| .ui-state-default,
| |
| .ui-widget-content .ui-state-default,
| |
| .ui-widget-header .ui-state-default {
| |
| background: var(--ooui-normal) !important;
| |
| color: var(--ooui-text);
| |
| border-color: var(--ooui-normal-border) !important;
| |
| }
| |
| .ui-button:hover,
| |
| .ui-state-default:hover,
| |
| .ui-widget-content .ui-state-default:hover,
| |
| .ui-widget-header .ui-state-default:hover {
| |
| background: var(--ooui-normal--hover) !important;
| |
| color: var(--ooui-text);
| |
| }
| |
|
| |
| /* ===================================
| |
| User
| |
| =================================== */
| |
| /* -----------------------------------
| |
| User Page
| |
| ----------------------------------- */
| |
| :root {
| |
| --echo-icon-moon-bg-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m8.85464918.37900488c-1.91149353 1.51069427-3.13816124 3.84973402-3.13816124 6.47527736 0 4.55564936 3.69308349 8.24873286 8.24873286 8.24873286 2.5815709 0 4.8861545-1.1859235 6.3986798-3.0426994-.8206378 4.7389755-4.9523867 8.343122-9.9259291 8.343122-5.56375572 0-10.07407088-4.5103151-10.07407088-10.0740709 0-5.02506013 3.67919933-9.19079725 8.49074856-9.95036192z' fill='%23d5d5d5'/%3E%3C/svg%3E");
| |
| --echo-icon-person-bg-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2213.836%22 viewBox=%220 0 12 13.836%22%3E %3Cpath fill='%23d5d5d5' d=%22M1.938%2C6.656c-1.32%2C1.485-1.47%2C3.15-0.97%2C4.25c0.323%2C0.707%2C0.78%2C1.127%2C1.313%2C1.375 c0.496%2C0.229%2C1.074%2C0.273%2C1.658%2C0.282c0.023%2C0%2C0.04%2C0.03%2C0.062%2C0.03h4.187c0.61%2C0%2C1.225-0.125%2C1.75-0.405 c0.527-0.28%2C0.961-0.718%2C1.188-1.376c0.335-0.964%2C0.175-2.529-1.094-4.03C9.094%2C7.954%2C7.68%2C8.719%2C6.065%2C8.719 c-1.677%2C0-3.182-0.812-4.125-2.063H1.938z%22/%3E %3Cpath fill='%23d5d5d5' d=%22M6.063%2C0c-1.89%2C0-3.595%2C1.674-3.594%2C3.563C2.467%2C5.45%2C4.173%2C7.155%2C6.06%2C7.155 c1.89%2C0%2C3.564-1.705%2C3.563-3.593C9.625%2C1.673%2C7.95%2C0%2C6.063%2C0L6.063%2C0z%22/%3E %3C/svg%3E");
| |
| --echo-icon-bell-bg-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Ebell%3C/title%3E%3Cpath d=%22M16 7a5.38 5.38 0 00-4.46-4.85C11.6 1.46 11.53 0 10 0S8.4 1.46 8.46 2.15A5.38 5.38 0 004 7v6l-2 2v1h16v-1l-2-2zm-6 13a3 3 0 003-3H7a3 3 0 003 3z%22 fill='%23d5d5d5'/%3E%3C/svg%3E");
| |
| --echo-icon-tray-bg-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Etray%3C/title%3E%3Cpath d=%22M3 1a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V3a2 2 0 00-2-2zm14 12h-4l-1 2H8l-1-2H3V3h14z%22 fill='%23d5d5d5'/%3E%3C/svg%3E");
| |
| --echo-icon-fullscreen-bg-image: 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 fullscreen %3C/title%3E%3Cg fill='%23d5d5d5'%3E%3Cpath d='M1 1v6h2V3h4V1zm2 12H1v6h6v-2H3zm14 4h-4v2h6v-6h-2zm0-16h-4v2h4v4h2V1z'/%3E%3C/g%3E%3Cscript xmlns=''/%3E%3C/svg%3E");
| |
| --echo-icon-exitFullscreen-bg-image: 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 exit fullscreen %3C/title%3E%3Cg fill='%23d5d5d5'%3E%3Cpath d='M7 7V1H5v4H1v2zM5 19h2v-6H1v2h4zm10-4h4v-2h-6v6h2zm0-8h4V5h-4V1h-2v6z'/%3E%3C/g%3E%3Cscript xmlns=''/%3E%3C/svg%3E");
| |
| }
| |
| .vector-user-menu-legacy #pt-userpage a,
| |
| .vector-user-menu-legacy #pt-anonuserpage {
| |
| background-image: var(--echo-icon-person-bg-image);
| |
| padding-top: 0;
| |
| background-position-y: 0;
| |
| }
| |
| .vector-user-menu-legacy #pt-anonuserpage {
| |
| color: var(--byline-color);
| |
| }
| |
|
| |
| /* -----------------------------------
| |
| Alerts
| |
| ----------------------------------- */
| |
| #pt-notifications-alert .mw-echo-notifications-badge,
| |
| #pt-notifications-notice .mw-echo-notifications-badge {
| |
| background-size: 1.25em;
| |
| background-position: center 80%;
| |
| background-repeat: no-repeat;
| |
| opacity: unset;
| |
| top: unset !important;
| |
| width: 1.66em;
| |
| height: unset;
| |
| }
| |
| #pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read,
| |
| #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read {
| |
| opacity: unset;
| |
| }
| |
| #pt-notifications-alert .oo-ui-icon-bell {
| |
| background-image: var(--echo-icon-bell-bg-image);
| |
| }
| |
| #pt-notifications-notice .oo-ui-icon-tray {
| |
| background-image: var(--echo-icon-tray-bg-image);
| |
| }
| |
| #pt-anontalk {
| |
| padding-top: .6em;
| |
| }
| |
| .mw-echo-ui-crossWikiNotificationItemWidget .mw-echo-ui-notificationItemWidget-icon,
| |
| .mw-echo-ui-notificationItemWidget-icon {
| |
| background: var(--transparent-black);
| |
| padding: 1%;
| |
| border-radius: 1%;
| |
| }
| |
| .mw-echo-ui-notificationItemWidget-icon img {
| |
| filter: hue-rotate(330deg) brightness(105%) saturate(68%);
| |
| }
| |
| .mw-echo-ui-crossWikiNotificationItemWidget .mw-echo-ui-notificationItemWidget-content,
| |
| .mw-echo-ui-notificationItemWidget-content {
| |
| margin-left: 3em;
| |
| }
| |
|
| |
| /* -----------------------------------
| |
| Toggles
| |
| ----------------------------------- */
| |
| #pt-fixed-width .oo-ui-icon-advanced {
| |
| background-image: var(--echo-icon-exitFullscreen-bg-image);
| |
| }
| |
| body.wgl-fixedWidth #pt-fixed-width .oo-ui-icon-advanced {
| |
| background-image: var(--echo-icon-fullscreen-bg-image);
| |
| }
| |
| #pt-theme-toggles .oo-ui-icon-advanced {
| |
| background-image: var(--echo-icon-moon-bg-image);
| |
| }
| |
|
| |
| /* ===================================
| |
| Native ToolTips
| |
| =================================== */
| |
| .mwe-popups,
| |
| .mwe-popups-container,
| |
| .mwe-popups .mwe-popups-extract,
| |
| .mwe-popups .mwe-popups-container {
| |
| background-color: var(--template-background-color-1);
| |
| color: var(--template-text-color-1);
| |
| }
| |
| .mwe-popups .mwe-popups-extract[dir='ltr']::after {
| |
| right: 0;
| |
| background-image: linear-gradient(to right, #FFF0, var(--template-background-color-1) 50%);
| |
| }
| |
|
| |
| /* ===================================
| |
| Comments
| |
| =================================== */
| |
| #ext-comments-container p {
| |
| overflow-wrap: anywhere;
| |
| max-width: 100%;
| |
| }
| |
| #ext-comments-container .ext-comments-comment-item .comment-author-wrapper {
| |
| display: block;
| |
| line-height: 1.5;
| |
| }
| |
| #ext-comments-container .ext-comments-comment-item .comment-info {
| |
| font-size: .8em;
| |
| padding-bottom: .3rem;
| |
| }
| |
| #ext-comments-container .ext-comments-comment-item .comment-content img {
| |
| max-width: 75% !important;
| |
| width: auto;
| |
| max-height: 35vmin !important;
| |
| }
| |