User:OwenBlacker/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 OwenBlacker to every page, when User:OwenBlacker is using the Vector skin.


.ns-0 .mw-body-content h3, #bodyContent a[href$="User:OwenBlacker"]
{
	/* background-color: #ffd; */
	background-color: #7d6a37;
}

/* Jira Dark 2020 theme from Stylus */
html {
    filter: invert(86%) hue-rotate(180deg) brightness(105%) contrast(105%);
    background: white;
}
body {
    background: white;
}
span[role="img"], img, svg, iframe, .emoji-common-emoji-sprite, .mw-hiero-table,
#pt-globalstyles, #pt-userstyles, #pt-groupscripts, #pt-userscripts
{
	filter: invert(100%) hue-rotate(180deg) brightness(105%) contrast(105%);
}

.zh-glyph tr td
{
	background-color: black; /* will be white after inversion */
}

.zh-glyph caption, .zh-glyph .gallerybox .gallerytext
{
	background-color: white;
}

/* Hide the VectorV2 LHS sidebar */
.mw-table-of-contents-container
{
	display: none;
}
.vector-toc-visible .mw-workspace-container .mw-content-container,
.vector-toc-visible .mw-workspace-container .mw-article-toolbar-container,
.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container,
.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container
{
	margin-left: 0 !important;
}