User:Tespi40/vector.css

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Note – after saving, you may have to bypass your browser’s cache to see the changes.

  • Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
  • Konqueror and Chrome: click Reload or press F5;
  • Opera: clear the cache in Tools → Preferences;
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

This CSS is applied for Tespi40 to every page, when User:Tespi40 is using the Vector skin.


body, #mw-page-base {
  background: #000;
  color: #bbb;
  font-family: serif;
}

#content {
  background: #000;
  color: #bbb;
  border: none;
}

a, .toctogglelabel {
  color: #4ce !important;
}

.new {
  color: #f88 !important;
}

h1, h2, h3, h4, h5 {
  color: #ccc;
  font-family: serif !important;
}

:lang(ja), .Jpan {
  font-family: "Noto Serif CJK JP" !important;
  font-weight: normal !important;
}

:lang(ja) b
, .Jpan b
, .Hani b
, .Hant b
, .Hans b
{
  text-decoration: underline;
  text-decoration-style: double;
}

.wikitable th {
  background: #222 !important;
  color: #eee;
}
.wikitable td {
  background: #000 !important;
  color: #eee;
}

.wikitable td, .wikitable th {
  border-color: #555 !important;
}
.vector-menu-tabs {
  background: black !important;
}

.toc, .NavHead, .catlinks, #searchInput, .mw-ui-button, .oo-ui-popupWidget * {
  background: #222 !important;
  color: #eee !important;
  border-color: #555 !important;
}

.vector-menu-tabs li {
  background: linear-gradient(to bottom, #333, #000) !important;
  color: #eee !important;
  border-color: #555 !important;
  border-radius: 10px 10px 0 0;
}

.vector-menu-tabs li.selected {
  background-color: black !important;
}

#footer, #footer li {
  color: #ddd !important;
}

/* editing */
.wikiEditor-ui-toolbar {
  display: none; /* I don't really use the toolbar */
}

.editOptions, .oo-ui-buttonElement-button {
  background: #222 !important;
  color: #bbb !important;
}

textarea, input, select {
  background: black !important;
  color: #bbb !important;
  border: 1px solid #555;
  border-radius: 5px;
}

.wikiEditor-ui * {
  border-color: #555 !important;
}

.ext-WikiEditor-ResizingDragBar {
  background: #333;
}

.ext-WikiEditor-ResizingDragBar span {
  background: #888;
}

.mw-message-box-warning {
  background-color: #432;
  color: #dd2;
}

.mw-wiki-logo
, .oo-ui-icon-bell
, .oo-ui-icon-tray
, .oo-ui-checkboxInputWidget-checkIcon
{
  filter: invert() grayscale();
}

#footer-icons img {
  background: white !important;
  filter: invert() hue-rotate(180deg);
}

.toc {
	display: none;
}
figure, figcaption, img {
  background: black !important;
  border-color: #555 !important;
}
.jouyou-reading {
  background: #035 !important;
  color: #bbb;
  padding: 4px;
}

.toccolours, div[style] {
  background: #222 !important;
}

.Hani, .Hant {
  font-family: "Noto Serif CJK TC" !important;
}

.Hans {
  font-family: "Noto Serif CJK SC" !important;
}

.zh-glyph img, .kanji-table img  {
  background: white !important;
  filter: invert() brightness(0.9);
}
code {
  background: black;
  border-color: #555;
  color: #bbb !important;
}