MediaWiki:Vector.css

From Cheese-E-Pedia
Revision as of 00:51, 28 July 2023 by The 64th Gamer (talk | contribs) (Fixed h2-6 colors)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* MediaWiki Page Title */
.firstHeading {
  font-size: 64px;
}

/* General Styles */
body,
#content h1,{
  background-color: #1e2c4c;
  color: #FFFFFF;
}

#content h1 {
     font-size: 3em;
}

#content h2,
#content h3,
#content h4,
#content h5,
#content h6,{
  color: #96e1ff;
}

/* Hiding specific elements */
.mw-category-generated,
.mw-page-title-namespace,
.mw-page-title-separator,
.mw-sidebar-action,
.mw-editsection,
.mw-body-subheader {
  display: none;
}

/* Font Face */
@font-face {
  font-family: "PT Mono";
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/ptmono/v13/9oRONYoBnWILk-9AnC8zMw.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+1a1c1aD;
}

/* Specific Styling */
.ve-ui-targetWidget:not(.oo-ui-pendingElement-pending) {
  background: #1e2c4c;
}

.mw-search-profile-tabs {
  background-color: #344c81;
}

.vector-menu-tabs .mw-list-item.selected a,
.vector-menu-tabs .mw-list-item.selected a:visited {
  color: #96e1ff;
}

.mw-parser-output .ts-doc-footer {
  background-color: #344c81;
}

.ve-ui-mwSaveDialog-license {
  color: #ffffff;
}

.ve-ui-mwSaveDialog-options {
  background-color: #36c;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
  background-color: #36c;
  color: #ffffff;
}

.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:checked + span,
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:indeterminate + span {
  background-color: #447ff5;
  border-color: #ffffff;
}

.mw-page-container,
.mw-sidebar {
  padding: 0 1em 1.5em 1em;
  background: #1e2c4c;
  color: #FFF;
  border: 1px solid #344c81;
  line-height: 1.5em;
  position: relative;
  z-index: 0;
}

.oo-ui-popupWidget-popup {
  background-color: #2a4b8d;
}

.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
  background-color: #344c81;
}

#simpleSearch input,
#wpSummary,
.createboxInput {
  background-color: #344c81;
  color: white;
}

.sidebar-toc {
  background-color: #1e2c4c;
  color: white;
}

.oo-ui-tabSelectWidget-framed,
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected,
.oo-ui-tabOptionWidget {
  background-color: #1e2c4c;
  color: #ffffff;
}

.ve-ui-mwGalleryDialog-highlighted-image {
  background-color: #1e2c4c;
}

.vector-sticky-header {
  background-color: #1e2c4c;
}

#mw-page-base {
  background: none;
}

/* Link Styling */
a {
  color: #96e1ff;
}

a:visited {
  color: #4070D0;
}

.tabber__tab,
.tabber__tab:visited {
  color: #66bbff;
}

.tabber__tab[aria-selected='true'],
.tabber__tab[aria-selected='true']:visited {
  color: #96e1ff;
}

.vector-menu-portal .vector-menu-heading {
  color: #ffffff;
}

/* Wikitable background fix to make the text readable */
.wikitable,
.wikitable th,
.mw-datatable td {
  background-color: transparent !important;
}

/* Rounded Corners */
.pBody,
div#content,
.toc {
  border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  -webkit-border-radius: 0.5em;
}

/* Thumbnails */
div.thumb div,
div.gallerybox div.thumb {
  border: 1px solid #344c81;
}

div.thumb div {
  padding: 3px !important;
  background-color: #1e2c4c;
  font-size: 94%;
  text-align: center;
  overflow: hidden;
}

div.gallerytext {
  font-size: smaller;
  text-align: center;
  background-color: inherit;
  border: none;
}

/* User Notification Thing */
.usermessage {
  background-color: #394A5C;
  border: 1px solid #96e1ff;
  color: #FFFFFF;
  text-align: center;
}

/* Error Styling */
.error {
  color: #FF0000;
}

.errorbox {
  border-color: #660000;
  background-color: #401F22;
  color: #FF0000;
}

.successbox {
  border-color: #96e1ff;
  background-color: #394A5C;
}

/* Content Styles */
#toc,
.toc,
.mw-warning {
  background-color: #1e2c4c;
}

#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle {
  background-color: transparent;
}

#toc ul ul,
.toc ul ul {
  margin: 0 0 0 1em;
}

div.toc ul li:hover,
#p-cactions ul li:hover {
  list-style-image: none !important;
}

#toc .toctoggle,
.toc .toctoggle {
  font-size: 100%;
}