MediaWiki:Darkvector.css: Difference between revisions
From PSP2i Wiki
No edit summary |
No edit summary |
||
Line 336: | Line 336: | ||
.CodeMirror-selected { | .CodeMirror-selected { | ||
background: # | background: #0078D7; !important; | ||
} | } | ||
.CodeMirror-focused .CodeMirror-selected { | .CodeMirror-focused .CodeMirror-selected { | ||
background: # | background: #0078D7; !important; | ||
} | } |
Revision as of 03:04, 6 November 2021
/* CSS placed here will affect users of the DarkVector skin */ .mwe-popups .mwe-popups-container { background-color: #2A2A2A; } .mwe-popups { background: #2a2a2a; box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0); } .mwe-popups .mwe-popups-extract[dir='ltr']:after { right:0; background-image:-webkit-linear-gradient(to right,rgba(255,255,255,0),#2a2a2a 50%); background-image:linear-gradient(to right,rgba(255,255,255,0),#2a2a2a 50%) } .mwe-popups .mwe-popups-settings-icon { display: none; } ul.tabbernav li.tabberactive a:hover { background: #333; border-bottom: 1px solid #333; border-top: 1px solid #666; border-left: 1px solid #666; border-right: 1px solid #666; } ul.tabbernav li a { background: #2a2a2a; border-bottom: 1px solid #666; border-top: 1px solid #666; border-left: 1px solid #666; border-right: 1px solid #666; } ul.tabbernav li.tabberactive a { background-color: #333; border-bottom: 1px solid #333; border-top: 1px solid #666; border-left: 1px solid #666; border-right: 1px solid #666; } ul.tabbernav li a:hover { background: #333; border-bottom: 1px solid #666; border-top: 1px solid #666; border-left: 1px solid #666; border-right: 1px solid #666; } ul.tabbernav { border-bottom: 1px solid #666; } .tabber .tabbertab { border: 1px solid #666; border-top: 0; } .thumbimage { background-color: #333; } /* set max width and fix the background */ #skin-vector-maxwidth-wrapper { position: relative; margin-left: auto; margin-right: auto; max-width: 1900px; } html, body { background-position: top left; background-repeat: repeat-x; background-size: 100% 5em; background-color: #2a2a2a; background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#33333),color-stop(100%,#2a2a2a)); background-image: -webkit-linear-gradient(top,#333333 50%,#2a2a2a 100%); background-image: -moz-linear-gradient(top,#333333 50%,#2a2a2a 100%); background-image: linear-gradient(#333333 50%,#2a2a2a 100%); } /* set blue right border */ .mw-body { border-right: 1px solid #250B2D; } /** fix the position of: personal user menu search bar the pop-up indicator of language selector search suggestions **/ #p-personal { right: 3pt; } #p-search { margin-right: 3pt; } .imeselector { position: fixed; } .suggestions { right: 3pt !important; } .mw-advancedSearch-namespace-selection { background:#2a2a2a; } .mw-advancedSearch-fieldContainer { background:#2a2a2a; } .mw-advancedSearch-fieldContainer .oo-ui-labelElement > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label { background:#2a2a2a; color:#c1c1c1; } #toc, .toc { font-size: 0.9em; margin-top: 0.75em; padding: 0; border: none; box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1); clear: left; } #toc .toctitle, .toc .toctitle { border: 1px solid #666; padding: 0.25em 1em; background:#2a2a2a; } #toc .toctoggle, .toc .toctoggle { padding-left: 0.2em; } #toc .tocnumber, .toc .tocnumber { display: none; } #toc > ul, .toc > ul { border: 1px solid #666; border-top: none; line-height: 1.8em; padding: 0.75em 1.75em; margin: 0; } #toc ul ul, .toc ul ul { border-left: 1px dotted #c7b67b; padding-left: 0.5em; } .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; } .gallerytext p { color:#c1c1c1; } .zoom_img img{ -moz-transition:-moz-transform 0.1s ease-in; -webkit-transition:-webkit-transform 0.1s ease-in; -o-transition:-o-transform 0.1s ease-in; transition:transform 0.1 ease-in; } .zoom_img img:hover{ -moz-transform:scale(2); -webkit-transform:scale(2); -o-transform:scale(2); transform:scale(2); } ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper, ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper, ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper { background: rgba(42,42,42,0.8); } .toc, .toccolours { border: 1px solid #666; background-color: #2a2a2a; } .cm-mw-pagename { text-decoration: underline; } .cm-mw-matching { background-color: #ffd700; } .cm-mw-skipformatting { background-color: #adf; } .cm-mw-list { color: #08f; font-weight: bold; } .cm-mw-doubleUnderscore, .cm-mw-signature, .cm-mw-hr { color: #08f; font-weight: bold; background-color: #eee; } .cm-mw-indenting { color: #08f; font-weight: bold; } .cm-mw-mnemonic { color: #290; } .cm-mw-comment { color: #84a0a0; font-weight: normal; } .cm-mw-apostrophes-bold, .cm-mw-apostrophes-italic { color: #08f; } pre.CodeMirror-line.cm-mw-section-1, pre.CodeMirror-line-like.cm-mw-section-1 { font-size: 1.8em; line-height: 1.2em; } pre.CodeMirror-line.cm-mw-section-2, pre.CodeMirror-line-like.cm-mw-section-2 { font-size: 1.5em; line-height: 1.2em; } pre.CodeMirror-line.cm-mw-section-3, pre.CodeMirror-line-like.cm-mw-section-3 { font-weight: bold; } pre.CodeMirror-line.cm-mw-section-4, pre.CodeMirror-line-like.cm-mw-section-4 { font-weight: bold; } pre.CodeMirror-line.cm-mw-section-5, pre.CodeMirror-line-like.cm-mw-section-5 { font-weight: bold; } pre.CodeMirror-line.cm-mw-section-6, pre.CodeMirror-line-like.cm-mw-section-6 { font-weight: bold; } .cm-mw-section-header { color: #08f; font-weight: normal; } .cm-mw-template { color: #b19cd9; font-weight: normal; } .cm-mw-template-name { color: #b19cd9; font-weight: bold; } .cm-mw-template-name-mnemonic { font-weight: normal; } .cm-mw-template-argument-name { color: #b19cd9; font-weight: bold; } .cm-mw-template-delimiter { color: #b19cd9; font-weight: bold; } .cm-mw-template-bracket { color: #b19cd9; font-weight: bold; } .cm-mw-templatevariable { color: #f50; font-weight: normal; } .cm-mw-templatevariable-name { color: #f50; font-weight: bold; } .cm-mw-templatevariable-bracket { color: #f50; font-weight: normal; } .cm-mw-templatevariable-delimiter { color: #f50; font-weight: bold; } .cm-mw-parserfunction { font-weight: normal; } .cm-mw-parserfunction-name { color: #a11; font-weight: bold; } .cm-mw-parserfunction-bracket { color: #a11; font-weight: bold; } .cm-mw-parserfunction-delimiter { color: #a11; font-weight: bold; } pre.CodeMirror-line.cm-mw-exttag, pre.CodeMirror-line-like.cm-mw-exttag { background-color: rgba( 119, 0, 170, 0.02 ); } .cm-mw-exttag { background-color: rgba( 119, 0, 170, 0.04 ); } .cm-mw-exttag-name { color: #290; font-weight: bold; } .cm-mw-exttag-bracket { color: #290; font-weight: normal; } .cm-mw-exttag-attribute { color: #290; font-weight: normal; } .cm-mw-htmltag-name { color: #290; font-weight: bold; } .cm-mw-htmltag-bracket { color: #290; font-weight: normal; } .cm-mw-htmltag-attribute { color: #290; font-weight: normal; } pre.CodeMirror-line.cm-mw-tag-pre, pre.CodeMirror-line-like.cm-mw-tag-pre, .cm-mw-tag-pre { background-color: rgba( 0, 0, 0, 0.04 ); } pre.CodeMirror-line.cm-mw-tag-nowiki, pre.CodeMirror-line-like.cm-mw-tag-nowiki, .cm-mw-tag-nowiki { background-color: rgba( 0, 0, 0, 0.04 ); } .cm-mw-link { color: #e69710; font-weight: normal; } .cm-mw-link-pagename { color: #e69710; font-weight: normal; } .cm-mw-link-tosection { color: #E5CC3B; font-weight: normal; } .cm-mw-link-bracket { color: #e69710; font-weight: normal; } /* .cm-mw-link-text { } */ .cm-mw-link-delimiter { color: #e69710; font-weight: normal; } .cm-mw-extlink, .cm-mw-free-extlink { color: #E25600; font-weight: normal; } .cm-mw-extlink-protocol, .cm-mw-free-extlink-protocol { color: #E25600; font-weight: bold; } /* .cm-mw-extlink-text { } */ .cm-mw-extlink-bracket { color: #E25600; font-weight: bold; } .cm-mw-table-bracket { color: #e0e; font-weight: bold; } .cm-mw-table-delimiter { color: #e0e; font-weight: bold; } .cm-mw-table-definition { color: #e0e; font-weight: normal; } .cm-mw-table-caption { font-weight: bold; } /* .cm-mw-template-ground {} */ .cm-mw-template2-ground { background-color: rgba( 170, 17, 17, 0.04 ); } .cm-mw-template3-ground { background-color: rgba( 170, 17, 17, 0.08 ); } .cm-mw-template-ext-ground { background-color: rgba( 119, 0, 170, 0.04 ); } .cm-mw-template-ext2-ground { background-color: rgba( 119, 0, 170, 0.08 ); } .cm-mw-template-ext3-ground { background-color: rgba( 119, 0, 170, 0.12 ); } .cm-mw-template-link-ground { background-color: rgba( 34, 17, 153, 0.04 ); } .cm-mw-template-ext-link-ground { background-color: rgba( 77, 9, 162, 0.08 ); } .cm-mw-template-ext2-link-ground { background-color: rgba( 91, 6, 164, 0.12 ); } .cm-mw-template-ext3-link-ground { background-color: rgba( 98, 4, 166, 0.16 ); } .cm-mw-template2-ext-ground { background-color: rgba( 145, 9, 94, 0.08 ); } .cm-mw-template2-ext2-ground { background-color: rgba( 136, 6, 119, 0.12 ); } .cm-mw-template2-ext3-ground { background-color: rgba( 132, 4, 132, 0.16 ); } .cm-mw-template2-link-ground { background-color: rgba( 102, 17, 85, 0.08 ); } .cm-mw-template2-ext-link-ground { background-color: rgba( 108, 11, 113, 0.12 ); } .cm-mw-template2-ext2-link-ground { background-color: rgba( 111, 9, 128, 0.16 ); } .cm-mw-template2-ext3-link-ground { background-color: rgba( 112, 7, 136, 0.2 ); } .cm-mw-template3-ext-ground { background-color: rgba( 153, 11, 68, 0.12 ); } .cm-mw-template3-ext2-ground { background-color: rgba( 145, 9, 94, 0.16 ); } .cm-mw-template3-ext3-ground { background-color: rgba( 139, 7, 109, 0.2 ); } .cm-mw-template3-link-ground { background-color: rgba( 125, 17, 62, 0.12 ); } .cm-mw-template3-ext-link-ground { background-color: rgba( 123, 13, 89, 0.16 ); } .cm-mw-template3-ext2-link-ground { background-color: rgba( 122, 10, 105, 0.2 ); } .cm-mw-template3-ext3-link-ground { background-color: rgba( 122, 9, 116, 0.24 ); } .cm-mw-ext-ground { background-color: rgba( 119, 0, 170, 0.04 ); } .cm-mw-ext2-ground { background-color: rgba( 119, 0, 170, 0.08 ); } .cm-mw-ext3-ground { background-color: rgba( 119, 0, 170, 0.12 ); } .cm-mw-ext-link-ground { background-color: rgba( 34, 17, 153, 0.04 ); } .cm-mw-ext2-link-ground { background-color: rgba( 77, 9, 162, 0.08 ); } .cm-mw-ext3-link-ground { background-color: rgba( 91, 6, 164, 0.12 ); } .cm-mw-link-ground { background-color: rgba( 34, 17, 153, 0.04 ); } .cm-mw-matchingbracket { background-color: #eee; box-shadow: inset 0 0 1px 1px #999; font-weight: bold; } .CodeMirror-gutter { background:#2a2a2a; } .CodeMirror-linenumber { background:#2a2a2a; color:#c1c1c1; } .CodeMirror-selected { background: #0078D7; !important; } .CodeMirror-focused .CodeMirror-selected { background: #0078D7; !important; }