Skip to content

Instantly share code, notes, and snippets.

@AnomalousUnderdog
Last active July 29, 2018 15:16
Show Gist options
  • Save AnomalousUnderdog/c267bebf51d6ffbd306ae020920cd935 to your computer and use it in GitHub Desktop.
Save AnomalousUnderdog/c267bebf51d6ffbd306ae020920cd935 to your computer and use it in GitHub Desktop.
Dark skin userstyle for the Unity3d Documentation (both online and offline docs), compatible as of July 2018
/* ==UserStyle==
@name Unity Docs Dark Skin
@namespace AnomalousUnderdog
@description Based on Unity3d True Dark 2018 (https://userstyles.org/styles/149601/unity3d-true-dark-2018), but updated to work with the latest documentation website as of July 29, 2018.
@version 1.0.0
@author Anomalous Underdog <[email protected]>
@license CC0 (https://creativecommons.org/publicdomain/zero/1.0/)
==/UserStyle== */
@-moz-document domain("docs.unity3d.com"), regexp("file:///.*Unity.*/Documentation/.*") {
.content,
.content-wrap,
#master-wrapper,
body,
html {
background-color: #2b2b2b;
}
.menu,
.filler {
background: transparent;
background-color: #111;
}
div.header .more ul li a {
border: none;
}
div.header .more .filler {
/* background:none; */
background-color: #111;
/* border:none; */;
}
div.toolbar div.content {
background-color: #252525;
}
div.toolbar div.script-lang ul li {
color: #3e3e3e;
background-color: #6d6d6d;
}
div.toolbar div.script-lang ul li:hover,
div.toolbar div.script-lang ul li.selected {
background-color: #1c1c1c;
}
table,
td,
tr {
background-color: #333;
}
pre,
.feedbackbox {
color: #aaa;
background-color: #333;
border: none;
}
td::odd {
background-color: #333;
}
.sidebar-menu,
p {
color: #aaa;
}
div.sidebar-wrap,
div.search-results h2 {
border: none;
background: transparent;
}
div.sidebar-menu ul li a {
color: #aaa;
}
div.sidebar-menu ul li a.current {
color: #aaa;
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
background-color: #da6;
}
a,
div.search-results div.result a.title {
color: #da6;
}
.mCSB_scrollTools .mCSB_dragger {
background-color: #222;
}
.mCSB_scrollTools .mCSB_draggerRail {
background-color: #222;
border: none;
}
div.sidebar-menu ul li div.expanded {
background: transparent;
}
div.sidebar-menu ul li div.collapsed {
background-color: #18523f;
border: #18523f91 1px solid;
}
div.sidebar-menu ul li div.leafnode {
background-color: #18523f00;
border: #18523f00 1px solid;
}
div.header div.search-form:before,
div.header .more .filler:before,
input {
background-color: #000;
background: transparent;
color: #fff !important;
}
div.header div.search-form input.field:focus {
background-color: #000 !important;
color: #fff !important;
}
#q {
background-color: #000;
}
body {
color: #8ca9c5;
}
h3 {
color: #6495c5;
}
div.frontpage-section h3 a {
color: #8a8a8a;
}
div.toolbar {
background: #525252;
}
.nextprev {
background: #525252;
}
h1 {
color: #9aabbb;
}
h1 a {
color: #9aabbb;
text-decoration: underline;
}
h1 a:hover {
color: #9aabbb;
}
h2 {
color: #9aabbb;
}
div.sidebar-menu h2 {
color: #6d8dad;
}
.otherversionscontent {
background-color: #2b2b2b;
}
pre code {
color: #c5c5c5;
background-color: #2b2b2b;
}
div.footer div.copy,
div.footer div.menu {
background-color: #2b2b2b;
}
.comment-policy {
color: #fff;
background-color: #2b2b2b;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment