MediaWiki:Vector.css: Difference between revisions
| No edit summary | No edit summary | ||
| (182 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| /* CSS placed here will affect users of the Vector skin */ | /* CSS placed here will affect users of the Vector skin */ | ||
| @font-face { | @font-face { | ||
|    font-family: Rubik; |    font-family: "Rubik"; | ||
|    src: url( |    src: url("/resources/assets/Rubik.woff2") format("woff2"), | ||
|        url("/resources/assets/Rubik-Bold.woff2") format("woff2"), | |||
|        url("/resources/assets/Rubik-Italic.woff2") format("woff2"); | |||
|   font-weight: normal; | |||
|   font-style: normal; | |||
| } in | |||
| @font-face {bl | |||
|   font-family: "Rubik"; | |||
|   src: url("/resources/assets/Rubik-Bold.woff2") format("woff2"); | |||
|   font-weight: bold; | |||
|   font-style: normal; | |||
| } | |||
| @font-face {# | |||
|   font-family: "Rubik"; | |||
|   src: url("/resources/assets/Rubik-Italic.woff2") format("woff2"); | |||
|   font-weight: normal; | |||
|   font-style: italic; | |||
| } | |||
| @font-face { | |||
|   font-family: "Rubik"; | |||
|   src: url("/resources/assets/Rubik-Italic.woff2") format("woff2"); | |||
|   font-weight: bold; | |||
|   font-style: italic; | |||
| } | } | ||
| body, .mw-headline { | body, .mw-headline { | ||
| font-family: Rubik, "Helvetica Neue", "Segoe UI",  | font-family: "Rubik", "Arial", "Helvetica Neue", "Segoe UI", Rubix, sans-serif !important; | ||
| } | } | ||
| Line 15: | Line 40: | ||
|   font-size: 90% |   font-size: 90% | ||
| } | } | ||
| a | |||
| .mw-editsection { | .mw-editsection { | ||
| padding-left: 10px; | padding-left: 10px; | ||
| } | }h | ||
| .toctogglelabel { | .toctogglelabel { | ||
| Line 25: | Line 50: | ||
| .toc { | .toc { | ||
| display: none; | |||
| } | } | ||
| Line 184: | Line 209: | ||
| } | } | ||
| #CodeMirror { | |||
| 	background-color: #FFFFFF !important; | |||
| } | |||
| .mw-undelete-revlist { | |||
| 	color: white; | |||
| } | |||
| #mw-delete-table label.oo-ui-labelElement-label { | |||
|   color: white !important; | |||
| } | |||
| form.mw-htmlform .oo-ui-labelElement-label { | |||
|   color: white; | |||
| } | |||
| #movepage-wrapper label.oo-ui-labelElement-label { | |||
| 	color: white !important; | |||
| } | |||
| #wpSummaryLabel label, #mw-editpage-minoredit label, #mw-editpage-watch label { | |||
|   color: white !important; | |||
| } | |||
| .cancelLink .oo-ui-labelElement-label { | |||
|   color: white !important; | |||
| } | |||
| .oo-ui-fieldLayout-header { | |||
| 	color: black !important; | |||
| } | |||
| .oo-ui-tabOptionWidget, | .oo-ui-tabOptionWidget, | ||
| .oo-ui-tabSelectWidget-framed { | .oo-ui-tabSelectWidget-framed { | ||
|      color: #e87057 !important; |      color: #e87057 !important; | ||
| } | |||
| .oo-ui-window-body { | |||
| 	color: lightgray; !important | |||
| } | } | ||
| Line 247: | Line 300: | ||
| .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected .oo-ui-labelElement-label { | .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected .oo-ui-labelElement-label { | ||
|      border-bottom-color: transparent !important; |      border-bottom-color: transparent !important; | ||
| } | |||
| /* CSS for post-edit message */ | |||
| #mw-notification-area .oo-ui-labelElement-label { | |||
|     color: black !important; | |||
| } | } | ||
| input, | input, | ||
| Line 342: | Line 400: | ||
| .mw-mmv-post-image,.mw-mmv-image-metadata{ | .mw-mmv-post-image,.mw-mmv-image-metadata{ | ||
|      background-color: #4c4c4c !important; |      background-color: #4c4c4c !important; | ||
| } | |||
| .mw-searchoptions { | |||
| color: black !important; | |||
| } | } | ||
| Line 364: | Line 426: | ||
| .oo-ui-tagItemWidget.oo-ui-widget-enabled { | .oo-ui-tagItemWidget.oo-ui-widget-enabled { | ||
|      background-color: #aaa !important; |      background-color: #aaa !important; | ||
| } | |||
| .movepage-wrapper { | |||
|   color: white !important; | |||
| } | } | ||
| Line 394: | Line 459: | ||
|      background-color: #3d3d3d; |      background-color: #3d3d3d; | ||
|      border-color: #666 |      border-color: #666 | ||
| } | |||
| figure, figcaption { | |||
|     background-color: #3d3d3d !important; | |||
|     border-color: #3d3d3d !important; | |||
|     border-style: solid !important; | |||
|     border-width: 2px !important; | |||
| } | } | ||
| Line 486: | Line 557: | ||
| div#simpleSearch #searchButton { | div#simpleSearch #searchButton { | ||
|      background-color: rgba( |      background-color: rgba(232, 112, 87 0.27)!important; | ||
| } | |||
| .oo-ui-messageDialog-text label { | |||
|   color: black !important; | |||
| } | } | ||
| .oo-ui-buttonElement-button, | .oo-ui-buttonElement-button, | ||
| Line 535: | Line 610: | ||
| } | } | ||
| # | #p-namespaces .vector-menu-content-list, | ||
| # | #p-views .vector-menu-content-list { | ||
|   display: flex; | |||
|   gap: 2px; | |||
|   border-bottom: 1px solid #444; | |||
|   background: transparent; | |||
|   margin: 0; | |||
|   padding: 0; | |||
| } | } | ||
| # | /* Base tab look */ | ||
| # | #p-namespaces li a, | ||
| #p-views li a { | |||
|   display: block; | |||
|   padding: .6em .9em; | |||
|   background: #2a2a2a; | |||
|   color: #e87057; | |||
|   text-decoration: none; | |||
|   border: 1px solid #e87057; | |||
|   border-bottom: none; | |||
|   transition: background .2s, color .2s; | |||
| } | } | ||
| # | #p-namespaces li a:hover, | ||
| # | #p-views li a:hover { | ||
|   background: #3a3a3a; | |||
|   color: #fff; | |||
| } | } | ||
| # | #p-namespaces .selected a, | ||
| # | #p-views .selected a { | ||
| # |   background: #222; | ||
| # |   color: #D28A0D; | ||
|   font-weight: bold; | |||
|   border: 2px solid #e87057; | |||
|   border-bottom: none; | |||
|   position: relative; | |||
|   top: 1px; | |||
|   z-index: 2; | |||
| } | } | ||
| # | #p-namespaces li a.new, | ||
| # | #p-views li a.new { | ||
|   color: #d44 !important; | |||
| } | } | ||
| # | #p-cactions .vector-menu-heading { | ||
|   display: inline-block; | |||
| # |   padding: .6em .9em; | ||
| # |   background: #2a2a2a; | ||
|   color: #e87057; | |||
|   border: 1px solid #e87057; | |||
|   border-bottom: none; | |||
|   cursor: pointer; | |||
| } | } | ||
| # | #p-cactions .vector-menu-content-list { | ||
| # |   background: #333; | ||
|   border: 1px solid #e87057; | |||
| } | } | ||
| # | #p-cactions .vector-menu-content-list li a { | ||
|   display: block; | |||
|   padding: .4em .8em; | |||
|   background: #333; | |||
|   color: #c1c1c1; | |||
|   border-bottom: 1px solid #444; | |||
| } | } | ||
| # | #p-cactions .vector-menu-content-list li a:hover { | ||
|   background: #3a3a3a; | |||
|   color: #fff; | |||
| } | } | ||
| .vector-menu-tabs li a, | |||
| .vector-menu-tabs li.selected a { | |||
|      outline: none !important; | |||
|     box-shadow: none !important; | |||
|     border: none !important; | |||
| } | } | ||
| .vector-menu-tabs li.selected { | |||
|      background:  |     border: 1px solid #e87057 !important; | ||
|      background: #333; | |||
| } | } | ||
| .vector-menu-tabs li.selected a { | |||
|      color: #e87057 !important; | |||
|      color: # | |||
| } | } | ||
| Line 753: | Line 829: | ||
| } | } | ||
| body. | body.darkvector-animateLayout .mw-body, | ||
| body. | body.darkvector-animateLayout #footer, | ||
| body. | body.darkvector-animateLayout #left-navigation { | ||
|      -webkit-transition: margin-left 250ms, padding 250ms; |      -webkit-transition: margin-left 250ms, padding 250ms; | ||
|      -moz-transition: margin-left 250ms, padding 250ms; |      -moz-transition: margin-left 250ms, padding 250ms; | ||
| Line 762: | Line 838: | ||
| } | } | ||
| body. | body.darkvector-animateLayout #p-logo { | ||
|      -webkit-transition: left 250ms; |      -webkit-transition: left 250ms; | ||
|      -moz-transition: left 250ms; |      -moz-transition: left 250ms; | ||
| Line 769: | Line 845: | ||
| } | } | ||
| body. | body.darkvector-animateLayout #mw-panel { | ||
|      -webkit-transition: padding-right 250ms; |      -webkit-transition: padding-right 250ms; | ||
|      -moz-transition: padding-right 250ms; |      -moz-transition: padding-right 250ms; | ||
| Line 776: | Line 852: | ||
| } | } | ||
| body. | body.darkvector-animateLayout #p-search { | ||
|      -webkit-transition: margin-right 250ms; |      -webkit-transition: margin-right 250ms; | ||
|      -moz-transition: margin-right 250ms; |      -moz-transition: margin-right 250ms; | ||
| Line 783: | Line 859: | ||
| } | } | ||
| body. | body.darkvector-animateLayout #p-personal { | ||
|      -webkit-transition: right 250ms; |      -webkit-transition: right 250ms; | ||
|      -moz-transition: right 250ms; |      -moz-transition: right 250ms; | ||
| Line 790: | Line 866: | ||
| } | } | ||
| body. | body.darkvector-animateLayout #mw-head-base { | ||
|      -webkit-transition: margin-left 250ms; |      -webkit-transition: margin-left 250ms; | ||
|      -moz-transition: margin-left 250ms; |      -moz-transition: margin-left 250ms; | ||
| Line 922: | Line 998: | ||
|      overflow: hidden; |      overflow: hidden; | ||
|      background-image: url('images/search-ltr.png'); |      background-image: url('images/search-ltr.png'); | ||
|      background-image: -webkit-linear-gradient(transparent, transparent), url('skins/ |      background-image: -webkit-linear-gradient(transparent, transparent), url('skins/DarkVector/images/search.svg'); | ||
|      background-image: linear-gradient(transparent, transparent), url('skins/DarkVector/images/search.svg'); |      background-image: linear-gradient(transparent, transparent), url('skins/DarkVector/images/search.svg'); | ||
|      background-position: center center; |      background-position: center center; | ||
| Line 932: | Line 1,008: | ||
| } | } | ||
| div. | div.darkvectorTabs h3 { | ||
|      display: none |      display: none | ||
| } | } | ||
| div. | div.darkvectorTabs { | ||
|      float: left; |      float: left; | ||
|      height: 2.5em; |      height: 2.5em; | ||
| Line 945: | Line 1,021: | ||
| } | } | ||
| div. | div.darkvectorTabs ul { | ||
|      float: left; |      float: left; | ||
|      height: 100%; |      height: 100%; | ||
| Line 957: | Line 1,033: | ||
| } | } | ||
| div. | div.darkvectorTabs ul li { | ||
|      float: left; |      float: left; | ||
|      line-height: 1.125em; |      line-height: 1.125em; | ||
| Line 971: | Line 1,047: | ||
| } | } | ||
| div. | div.darkvectorTabs ul>li { | ||
|      display: block |      display: block | ||
| } | } | ||
| div. | div.darkvectorTabs li.new a, | ||
| div. | div.darkvectorTabs li.new a:visited { | ||
|      color: #a55858 |      color: #a55858 | ||
| } | } | ||
| div. | div.darkvectorTabs li.selected { | ||
|      background-image: url('images/tab-current-fade.png') |      background-image: url('images/tab-current-fade.png') | ||
| } | } | ||
| div. | div.darkvectorTabs li.selected a, | ||
| div. | div.darkvectorTabs li.selected a:visited { | ||
|      color: #333; |      color: #333; | ||
|      text-decoration: none |      text-decoration: none | ||
| } | } | ||
| div. | div.darkvectorTabs li.icon a { | ||
|      background-position: bottom right; |      background-position: bottom right; | ||
|      background-repeat: no-repeat |      background-repeat: no-repeat | ||
| } | } | ||
| div. | div.darkvectorTabs li a { | ||
|      display: inline-block; |      display: inline-block; | ||
|      height: 1.9em; |      height: 1.9em; | ||
| Line 1,005: | Line 1,081: | ||
| } | } | ||
| div. | div.darkvectorTabs li>a { | ||
|      display: block |      display: block | ||
| } | } | ||
| div. | div.darkvectorTabs span { | ||
|      display: inline-block; |      display: inline-block; | ||
|      background-image: url('images/tab-break.png'); |      background-image: url('images/tab-break.png'); | ||
| Line 1,016: | Line 1,092: | ||
| } | } | ||
| div. | div.darkvectorTabs span a { | ||
|      display: inline-block; |      display: inline-block; | ||
|      padding-top: 1.25em |      padding-top: 1.25em | ||
| } | } | ||
| div. | div.darkvectorTabs span>a { | ||
|      float: left; |      float: left; | ||
|      display: block |      display: block | ||
| } | } | ||
| div. | div.darkvectorMenu { | ||
|      direction: ltr; |      direction: ltr; | ||
|      float: left; |      float: left; | ||
| Line 1,033: | Line 1,109: | ||
| } | } | ||
| body.rtl div. | body.rtl div.darkvectorMenu { | ||
|      direction: rtl |      direction: rtl | ||
| } | } | ||
| #mw-head div. | #mw-head div.darkvectorMenu h3 { | ||
|      float: left; |      float: left; | ||
|      background-image: url('images/tab-break.png'); |      background-image: url('images/tab-break.png'); | ||
| Line 1,049: | Line 1,125: | ||
| } | } | ||
| div. | div.darkvectorMenu h3 span { | ||
|      display: block; |      display: block; | ||
|      font-size: .8em; |      font-size: .8em; | ||
| Line 1,059: | Line 1,135: | ||
| } | } | ||
| div. | div.darkvectorMenu h3 a { | ||
|      position: absolute; |      position: absolute; | ||
|      top: 0; |      top: 0; | ||
| Line 1,076: | Line 1,152: | ||
| } | } | ||
| div. | div.darkvectorMenu.menuForceShow h3 a { | ||
|      background-position: 100% 100% |      background-position: 100% 100% | ||
| } | } | ||
| div. | div.darkvectorMenuFocus h3 a { | ||
|      background-image: url('images/arrow-down-focus-icon.png'); |      background-image: url('images/arrow-down-focus-icon.png'); | ||
|      background-image: -webkit-linear-gradient(transparent, transparent), url('images/arrow-down-focus-icon.svg'); |      background-image: -webkit-linear-gradient(transparent, transparent), url('images/arrow-down-focus-icon.svg'); | ||
| Line 1,086: | Line 1,162: | ||
| } | } | ||
| div. | div.darkvectorMenu div.menu { | ||
|      min-width: 100%; |      min-width: 100%; | ||
|      position: absolute; |      position: absolute; | ||
| Line 1,099: | Line 1,175: | ||
| } | } | ||
| div. | div.darkvectorMenu:hover div.menu, | ||
| div. | div.darkvectorMenu.menuForceShow div.menu { | ||
|      display: block |      display: block | ||
| } | } | ||
| div. | div.darkvectorMenu ul { | ||
|      list-style-type: none; |      list-style-type: none; | ||
|      list-style-image: none; |      list-style-image: none; | ||
| Line 1,112: | Line 1,188: | ||
| } | } | ||
| div. | div.darkvectorMenu ul, | ||
| x:-moz-any-link { | x:-moz-any-link { | ||
|      min-width: 5em |      min-width: 5em | ||
| } | } | ||
| div. | div.darkvectorMenu ul, | ||
| x:-moz-any-link, | x:-moz-any-link, | ||
| x:default { | x:default { | ||
| Line 1,123: | Line 1,199: | ||
| } | } | ||
| div. | div.darkvectorMenu li { | ||
|      padding: 0; |      padding: 0; | ||
|      margin: 0; |      margin: 0; | ||
| Line 1,130: | Line 1,206: | ||
| } | } | ||
| div. | div.darkvectorMenu li a { | ||
|      display: inline-block; |      display: inline-block; | ||
|      padding: .5em; |      padding: .5em; | ||
| Line 1,139: | Line 1,215: | ||
| } | } | ||
| div. | div.darkvectorMenu li>a { | ||
|      display: block |      display: block | ||
| } | } | ||
| div. | div.darkvectorMenu li.selected a, | ||
| div. | div.darkvectorMenu li.selected a:visited { | ||
|      color: #333; |      color: #333; | ||
|      text-decoration: none |      text-decoration: none | ||
| Line 1,213: | Line 1,289: | ||
|      background-position: 5px 60% |      background-position: 5px 60% | ||
| } | } | ||
| #ca-unwatch.icon a, | |||
| #ca-watch.icon a, | |||
| #ca-unwatch.icon a:hover, | |||
| #ca-watch.icon a:hover, | |||
| #ca-unwatch.icon a:focus, | |||
| #ca-watch.icon a:focus, | |||
| #ca-unwatch.icon a.loading, | |||
| #ca-watch.icon a.loading { | |||
|   background-repeat: no-repeat; | |||
| } | |||
| #ca-unwatch.icon a { | #ca-unwatch.icon a { | ||
|      background-image: url('images/unwatch-icon.svg'); |      background-image: url('images/unwatch-icon.svg'); | ||
| Line 1,243: | Line 1,328: | ||
| #ca-watch.icon a.loading { | #ca-watch.icon a.loading { | ||
|      background-image: url('images/watch-icon-loading.svg'); |      background-image: url('images/watch-icon-loading.svg'); | ||
|      background-image: -webkit-linear-gradient(transparent, transparent), url('images/watch-icon-loading.svg'); |      background-image: -webkit-linear-gradient(transparent, transparent), url('skins/DarkVector/images/watch-icon-loading.svg'); | ||
|      background-image: linear-gradient(transparent, transparent), url('images/watch-icon-loading.svg'); |      background-image: linear-gradient(transparent, transparent), url('skins/DarkVector/images/watch-icon-loading.svg'); | ||
|      -webkit-animation: rotate 700ms infinite linear; |      -webkit-animation: rotate 700ms infinite linear; | ||
|      -moz-animation: rotate 700ms infinite linear; |      -moz-animation: rotate 700ms infinite linear; | ||
| Line 1,342: | Line 1,427: | ||
|      background-repeat: no-repeat; |      background-repeat: no-repeat; | ||
|      background-image: url('images/portal-break.png') |      background-image: url('images/portal-break.png') | ||
| } | |||
| .mw-search-result-data { | |||
| 	color: #999; | |||
| } | |||
| .history-deleted { | |||
| 	color: #999 !important; | |||
| } | } | ||
| Line 1,455: | Line 1,546: | ||
| background-color: transparent; | background-color: transparent; | ||
| border-color:#666; | border-color:#666; | ||
| color:# | color: #e87057 | ||
| } | } | ||
| .toctogglelabel { | .toctogglelabel { | ||
|      cursor: pointer; |      cursor: pointer; | ||
|      color: # |      color: #e87057 | ||
| } | } | ||
| .mw-changeslist-legend { | .mw-changeslist-legend { | ||
| Line 1,483: | Line 1,574: | ||
|      color: #c9c9c9 |      color: #c9c9c9 | ||
| } | } | ||
| div#mw-panel div.portal div.body ul li a:visited{color:# | div#mw-panel div.portal div.body ul li a:visited{color:#e87057} | ||
| div#mw-panel div.portal div.body ul li a{color:#e87057} | div#mw-panel div.portal div.body ul li a{color:#e87057} | ||
| div#mw-panel div.portal h3 {color:#7c7c7c} | div#mw-panel div.portal h3 {color:#7c7c7c} | ||
| /* Portable Infobox CSS here */ | /* Portable Infobox CSS here */ | ||
| .portable-infobox.pi-background { | .portable-infobox.pi-background { | ||
| Line 1,521: | Line 1,611: | ||
|   background-color: #312B2A; |   background-color: #312B2A; | ||
| } | } | ||
| gallerytext{ | gallerytext{ | ||
| Line 1,538: | Line 1,629: | ||
| 	url('skins/Vector/resources/common/images/external-link-ltr-icon.svg'); | 	url('skins/Vector/resources/common/images/external-link-ltr-icon.svg'); | ||
| 	padding-right:13px | 	padding-right:13px | ||
| } | |||
| .label.format { | |||
| color: #999999; | |||
| } | |||
| /* CommentStreams */ | |||
| .cs-comment-header { | |||
| 	background-color: black; | |||
| } | } | ||
| Line 1,543: | Line 1,642: | ||
| body { | body { | ||
|    cursor: url(' |    cursor: url('https://screamer.wiki/images/4/4c/Cursor.png'), pointer; height:40; width:30;} | ||
| a:link { | a:link { | ||
|    cursor: url(' |    cursor: url('https://screamer.wiki/images/f/fd/Link.png'), pointer; } | ||
| a:hover{ | a:hover{ | ||
|    cursor: url(' |    cursor: url('https://screamer.wiki/images/f/fd/Link.png'), pointer; } | ||
| a:active{ | a:active{ | ||
|    cursor: url(' |    cursor: url('https://screamer.wiki/images/c/ce/Press.png'), pointer; } | ||
| a:element{ | a:element{ | ||
|    cursor: url(' |    cursor: url('https://screamer.wiki/images/4/4c/Cursor.png'), pointer; } | ||
| /* Scrollbar */ | /* Scrollbar */ | ||
| Line 1,589: | Line 1,688: | ||
| } | } | ||
| /* Add your usernames here */ | /* Add your usernames here */ | ||
| a[href$=": | a[href$=":Lawiki"], a[href$="/Lawiki"], a[visited$=":Lawiki"], a[visited$="/Lawiki"]{ | ||
|      font-weight:bold; |      font-weight:bold; | ||
|      color: #2871F7 !important; |      color: #2871F7 !important; | ||
| Line 1,601: | Line 1,696: | ||
|      color: cyan !important; |      color: cyan !important; | ||
| } | } | ||
| a[href$=": | a[href$=":Sump"], a[href$="/Sump"]{ | ||
|      font-weight:bold; |      font-weight:bold; | ||
|      color:  |      color: cyan !important; | ||
| } | } | ||
| a[href$=": | a[href$=":Tankman_fan_44"], a[href$="/Tankman_fan_44"]{ | ||
|      font-weight:bold; |      font-weight:bold; | ||
|      color:  |      color: #FFFFFF !important; | ||
|     text-shadow: 0px 0px 5px #2a9df4; | |||
| } | } | ||
| a[href$=": | a[href$=":LuaGunsX"], a[href$="/LuaGunsX"]{ | ||
|      font-weight:bold; |      font-weight:bold; | ||
|      color:  |      color: #9C3838 !important; | ||
| } | } | ||
| a[href$=": | a[href$=":TheEpikShyGuy"], a[href$="/TheEpikShyGuy"]{ | ||
|      font-weight:bold; |      font-weight:bold; | ||
|      color:  |     text-shadow: 0px 0px 10px #ffffff; | ||
|      color: black !important; | |||
| } | } | ||
