Skip to content

Wikipedia Deep Dark Theme by n0x-styles

Screenshot of Wikipedia Deep Dark Theme

Details

Authorn0x-styles

LicenseCC0 - Public Domain

Categorywikipedia.org

Created

Updated

Size60 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Wikipedia Deep Dark Theme.
Get a cleaner, easier-to-read at night, to focus on content

Theme by n0x, inspired by Wikipedia Minimalistic.

Notes

You can buy me a ☕️ via Bitcoin here: 112r8akXCYEjqjtUJEn1kgt1FjgZLseEvq
I also support Brave Rewards' Basic Attention Token on my GitHub, making it easy to tip creators!

Thanks a lot for your support!
Note: R2L languages and mobile version are not supported yet, feel free to contribute!

You can contribute to this style or report an issue here: https://github.com/n0x-styles/wikipedia-dark

11/15/2023 UPDATE: Other wiki projects first support
11/11/2023 UPDATE: Russian version support
05/31/2023 FIX: Fixed Vector 2022 logo and minor bugs
05/29/2023 FIX: Fixed major breaks from 2022 Wikipedia style update
10/25/2021 FIX: Top menu buttons fix on FR version
03/25/2021 FIX: Multiple corrections to adapt to the new EN and FR versions
04/25/2020 FIX: Multiple corrections on wikieditor and user sites from Github pull requests USER COMMITS
03/10/2020 FIX: Minor edits from Github pull requests USER COMMITS
02/03/2019 FIX: Major update from Github pull requests USER COMMITS
04/28/2018 FIX: Added support for warning/error messages, style attribute selectors USER COMMIT
01/18/2018 FIX: Fixing search bar location on homepage
01/16/2018 UPDATE: German and French version support for most pages
01/15/2018 FIX: Fix advanced search layout, ToC numbers and today's feature list background USER REPORT
01/06/2018 FIX: Fix search input on Firefox, added support for German main page USER COMMIT
12/21/2017 FIX: Fix image preview UI when using the new Media Viewer
12/12/2017 FIX: Fix logged user preferences and template documentation USER REPORTED
11/29/2017 FIX: Fix math formula issue on some inline img USER REPORTED
11/21/2017 FIX: Fixed global page colors USER REPORTED
11/20/2017 FIX: Fixed issues on complex tables, article's history browsing and other bugs. USER REPORTED
07/24/2017 UPDATE: Page reference popups are now supported
07/24/2017 FIX: Fixed sidebar when resizing browser, formulae highlighting, minor bugs USER REPORTED
01/15/2017 FIX: Fixed external links background color & code highlighting issues USER REPORTED
07/06/2016 FIX: People information card fix USER REPORTED
05/08/2016 FIX: Restored footnote references tool tip USER REPORTED
03/23/2016 FIX: Fixed logo on global homepage
01/19/2016 FIX: Fixed metadata table on file pages & track listing for albums USER REPORTED
01/13/2016 FIX: Fixed TeX formulae colors on Chrome USER REPORTED
01/06/2016 UPDATE: Added support for Wikipedia global homepage, as well as portals
01/05/2016 UPDATE: Changed to a custom dark logo, added search suggestions theme support, improved tables
12/23/2015 UPDATE: Updated some tables design, titles style, quotes, references/bibliography background
12/20/2015 FIX: Fixed source code and TeX formulae colors.
12/19/2015 FIX: Darkened color of homepage tables, general article tables, header, links


Please report bugs and/or make new features suggestions!

Keywords: firefox, wikipedia, modern, minimal, flat, dark, black, material, design, github, css, wikiwand, wiki, chrome, wiki, wikia, clean, light, wide, style, kat, dark, n0x, nox, duckduckgo, navigation, FT Deepdark

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name         Wikipedia Deep Dark Theme
@version      1.1.0
@description  Dark Wikipedia theme. Get a cleaner, easier-to-read wiki at night to focus on content while browsing a beautiful dark website.
@namespace    http://www.w3.org/1999/xhtml
@author       n0x
@homepageURL  https://github.com/n0x-styles/wikipedia-dark
@supportURL   https://github.com/n0x-styles/wikipedia-dark/issues
@license      CC0
@preprocessor default
==/UserStyle== */

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain('wikipedia.org'), domain("wikimedia.org"), domain("wiktionary.org"), domain("wikibooks.org"), domain("wikinews.org"), domain("wikisource.org"), domain("wikivoyage.org") {

    body {
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
        color: #ddd;
        background-color: #222 !important;
    }

    a {
        color: #608dff !important;
        text-decoration: none;
    }

    a:hover {
        color: #637ab5 !important;
        text-decoration: underline;
    }

    a:visited {
        color: #637ab5 !important;
    }

    b {
        font-weight: bold;
    }

    .b, div, th {
        color: #fff !important;
    }

    h1 {
        border: 0 !important;
        font-family: 'Arial' !important;
        font-weight: 700 !important;
        font-size: 36px !important;
        color: #fff !important;
    }

    h2 {
        border: 0 !important;
        font-family: 'Arial' !important;
        font-weight: 400 !important;
        font-size: 26px !important;
        color: #eee !important;
    }

    h3 {
        border: 0 !important;
        font-family: 'Arial' !important;
        font-weight: 400 !important;
        font-size: 16px !important;
        color: #ddd !important;
    }

    h4 {
        color: #ccc !important;
    }

    [style*="color: black"] {
        color: #fff !important;
    }

    [style*="background:#f8f9fa"] {
        background: #2d2c2b !important;
        border: none !important;
    }

    .reflist,
    .refbegin {
        background-color: #282828 !important;
    }

    #content h3 {
        font-size: 20px !important;
    }

    p {
        font-weight: 300 !important;
        line-height: 1.7 !important;
        color: #ddd !important;
    }

    .portal-column-right span,
    .portal-column-left span,
    body.ns-100 .mw-body-content h2,
    .mw_metadata th,
    .tracklist th,
    #mp-tfl-h2 {
        color: #ddd !important;
        background-color: #444 !important;
    }

    body.ns-100 .mw-body-content th,
    body.ns-100 .mw-body-content div,
    body.ns-100 #portal td,
    .mw_metadata td,
    .tracklist td,
    .tracklist div {
        color: #ddd !important;
        border-width: 0px !important;
        background-color: #333 !important;
    }

    .portal-column-right,
    .portal-column-left,
    body.ns-100 .mw-body-content .subpages {
        color: #ddd !important;
        background-color: #222 !important;
        border-width: 0 !important;
    }

    .mw-highlight {
        background-color: #222 !important;
    }

    .mw-highlight .nc,
    .mw-highlight .nf {
        color: #068dff;
    }

    .mw-highlight .no {
        color: #dd0000;
    }

    .mw-notification {
        background-color: #333 !important;
    }

    #Example {
        color: #ddd !important;
    }

    #disambigbox {
        width: 99% !important;
        border-width: 1px 0 1px 0 !important;
        border-style: solid !important;
        border-color: #777 !important;
    }

    .hlist.hlist-separated.inline {
        background-color: transparent !important;
    }

    table,
    td,
    th {
        border: 0 !important;
        border-collapse: collapse !important;
        padding: 5px !important;
        /* color: #333 !important; */

        background-color: #444 !important;
        /* With this feature enabled, you loose visibility on colored table cells */
    }

    ul,
    .skin-vector .compact-ambox table .mbox-text-span {
        list-style-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='13'%3E%3Ccircle cx='2.5' cy='9' r='2.5' fill='%23ddd'/%3E%3C/svg%3E");
    }

    /* Table of Contents */

    .toc {
        background: #333 !important;
        border: none !important;
        display: block !important;
        max-width: 300px !important;
        padding: 7px 14px !important
    }

    .tocnumber {
        color: #ddd !important;
    }

    .tocnumber:hover {
        text-decoration: none !important;
    }

    .toctogglelabel {
        color: #608dff !important;
        outline: 0 !important;
    }

    .toctogglespan {
        float: right !important;
        margin-top: 11px !important;
        margin-left: 10px !important;
    }

    .toctogglespan::before, .toctogglespan::after {
        content: "" !important;
    }

    .toc a:hover {
        text-decoration: none !important;
    }

    a:hover .toctext {
        color: #637ab5 !important;
        text-decoration: underline;
    }

    /* End */

    ul,
    li,
    caption {
        background: transparent !important;
        border: 0px !important;
        line-height: 1.8 !important;
        font-size: 14px !important;
        font-weight: 300 !important;
    }

    li span {
        background-color: transparent !important;
        border: 0 !important;
        font-size: 14px !important;
    }

    .referencetooltip {
        background-color: #282828 !important;
    }

    dl {
        font-weight: 300 !important;
    }

    dt {
        font-style: italic;
        font-size: 16px !important;
        margin-top: 10px !important;
    }

    dd {
        font-size: 15px !important;
    }

    /* Change Vector 2022 Wikipedia logo */
    .mw-logo-icon {
        content: var(--wiki-logo) !important;
        width: 3.5rem;
        height: 4rem;
    }

    /* Remove Vector 2022 Wikipedia title and subtitle */
    .mw-logo-container {
        transform: scale(0) !important;
    }

    /* Vector 2017 logo change */
    .mw-wiki-logo {
        padding-left: 15px !important;
        padding-top: 10px !important;
        border: 0 !important;
        outline: 0 !important;
    }

    code {
        padding: 3px !important;
        background: transparent !important;
        color: #39892f !important;
        border: 1px solid #555 !important;
    }

    .hatnote span {
        color: #888 !important;
        background-color: #222 !important;
    }

    tt {
        font-family: 'Source Code Pro', 'Lucida Sans Unicode', 'Courier New' !important;
        font-size: 16px !important;
    }

    .new,
    .new:link,
    .new:visited {
        color: #cd5b45 !important;
    }

    blockquote {
        border: 0 !important;
        font-style: italic !important;
        font-size: 20px !important;
        margin: 35px 75px !important;
        line-height: 1.5 !important;
        font-weight: 300 !important;
        background: transparent !important;
    }

    select {
        padding: 0 10px;
    }

    .mw-ui-button,
    .mw-ui-progressive {
        border: none !important;
        color: #347Bff !important;
        background: #222 !important;
        text-shadow: 0 0 0;
    }

    .mw-logo-container, .mw-ui-icon, .searchButton {
        filter: invert(100%);
    }

    .mw-ui-button.mw-ui-progressive:hover,
    .mw-ui-button.mw-ui-progressive:focus,
    .mw-ui-button.mw-ui-progressive:active,
    .mw-ui-button:hover,
    .mw-ui-progressive:hover,
    .mw-ui-button:focus,
    .mw-ui-progressive:focus {
        box-shadow: 0 0 0 !important;
        text-shadow: 0 0 0 !important;
        border: 1px solid #347Bff !important;
    }

    .mw-helplink {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 10 10A10 10 0 0 0 10 0zm1 16H9v-2h2zm2.71-7.6a2.64 2.64 0 0 1-.33.74 3.16 3.16 0 0 1-.48.55l-.54.48c-.21.18-.41.35-.58.52a2.54 2.54 0 0 0-.47.56A2.3 2.3 0 0 0 11 12a3.79 3.79 0 0 0-.11 1H9.08a8.9 8.9 0 0 1 .07-1.25 3.28 3.28 0 0 1 .25-.9 2.79 2.79 0 0 1 .41-.67 4 4 0 0 1 .58-.58c.17-.16.34-.3.51-.44a3 3 0 0 0 .43-.44 1.83 1.83 0 0 0 .3-.55 2 2 0 0 0 .11-.72 2.06 2.06 0 0 0-.17-.86 1.71 1.71 0 0 0-1-.9 1.7 1.7 0 0 0-.5-.1 1.77 1.77 0 0 0-1.53.68 3 3 0 0 0-.5 1.82H6.16a4.74 4.74 0 0 1 .28-1.68 3.56 3.56 0 0 1 .8-1.29 3.88 3.88 0 0 1 1.28-.83A4.59 4.59 0 0 1 10.18 4a4.44 4.44 0 0 1 1.44.23 3.51 3.51 0 0 1 1.15.65 3.08 3.08 0 0 1 .78 1.06 3.54 3.54 0 0 1 .29 1.45 3.39 3.39 0 0 1-.13 1.01z' fill='%23ddd'/%3E%3C/svg%3E") !important;
    }

    /* Media Viewer, image preview */

    .mw-mmv-above-fold  {
        background-color: #333 !important;
    }

    .mw-mmv-image-metadata {
        background-color: #111 !important;
    }

    .mw-message-box,
    .mw-mmv-dialog,
    .mw-mmv-dialog-down-arrow,
    .mw-mmv-download-attribution,
    .mw-mmv-download-pane,
    .mw-mmv-download-pane:hover {
        background-color: #333 !important;
    }

    /* End */

    /* Language Settings modal */
    .language-settings-dialog, .languagesettings-menu .menu-section:hover, #uls-display-settings-font-selectors .uls-font-item,
    .uls-menu, .uls-search, .uls-language-list, #uls-settings-block {
        background-color: #333 !important;
    }

    .languagesettings-menu .menu-section:focus {
        border-right: 0 !important;
        border-top: 0 !important;
        border-bottom: 0 !important;
    }

    #languagesettings-settings-panel, .uls-language-settings-close-block, .uls-input-settings .uls-input-settings-inputmethods-list {
        background-color: #444 !imp...

Reviews

No reviews yet.