Dark Wiki

Turn Torn's wiki dark

Zainstaluj skrypt?
Skrypt zaproponowany przez autora

Może Ci się również spodobać. LAction

Zainstaluj skrypt

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Dark Wiki
// @namespace    Dark Wiki
// @version      2.0
// @description  Turn Torn's wiki dark
// @author       AfricanChild [3157295] 
// @owner        Phillip_J_Fry [2184575]
// @icon         https://www.google.com/s2/favicons?sz=64&domain=torn.com
// @match        https://wiki.torn.com/wiki/*
// @grant        GM_addStyle
// @license      Apache License 2.0
// ==/UserScript==

GM_addStyle(`
  /* Body */
  body, body[class], body[id], body[data-theme] {
    background-color: #191919 !important;
  }

  /* Main content */
  .col-12.col-md-8.content-area-wrapper {
    background-color: #333333 !important;
  }

  /* Headers */
  h1, h2, h3, h4 {
    color: #efb300;
    border-bottom: 1px solid #4d4d4d !important;
  }
  .firstHeading {
    border-bottom: none !important;
  }

  /* Paragraphs */
  p {
    color: white !important;
  }

  /* List */
  li {
    color: #a2a9b1 !important;
  }

  /* Link colors */
  a, .toctogglelabel {
    color: #4cc9ff !important;
  }

  /* Button */
  .torn-mass-collapse-control a {
    color: white !important;
    background-color: #4d4d4d !important;
    border: none !important;
  }

  /* Top navigation */
  .card.torn-navigation-header {
    background-image: none !important;
    background-color: #333333 !important;
  }
  .torn-back-button {
    color: white !important;
  }

  /* Bottom navigation */
  .card.torn-navigation-panel {
    background-color: #333333 !important;
  }

  /* Footer */
  .list-inline {
    color: #a2a9b1 !important;
  }
  .catlinks {
    border: 0.5px solid #4d4d4d !important;
  }

  /* Misc */
  pre {
    background-color: #292929 !important;
    color: white !important;
    border: none !important;
  }
  th {
    background-color: #292929 !important;
    color: white !important;
  }
  .content-area-wrapper #content {
    color: #a2a9b1 !important;
  }

  /* Table */
  .table th {
    border: 2px solid #4d4d4d !important;
  }
  .table td {
    border: 1px solid #4d4d4d !important;
  }
  td {
    background-color: #292929 !important;
    color: white !important;
  }
  .content-area-wrapper #content table.wikitable.mw-collapsible tr:first-child > th,
  .content-area-wrapper #content table.wikitable.mw-collapsible tr:first-child > td {
    background-color: #333333 !important;
    color: white !important;
    border-top: 0.5px solid #737373 !important;
  }
`);