Skip to content

Custom TV Tropes by alphashitlord

Screenshot of Custom TV Tropes

Details

Authoralphashitlord

LicenseNo License

Categoryhttps://tvtropes.org

Created

Updated

Size18 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Modifications to DarthWiki and SugarWiki

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name         Custom TV Tropes
@version      20241221.05.55
@namespace    https://userstyles.world/user/alphashitlord
@description  Modifications to DarthWiki and SugarWiki
@author       alphashitlord
@license      No License
==/UserStyle== */

@-moz-document domain("tvtropes.org") {
body {
    --darthwiki-link-color: #cc1812;
}

body.darthWiki #main-container #main-content h1.entry-title > .entry-breadcrumb > a {
    font-family: IM Fell English SC,serif;
}

/* Link colors */

body.darthWiki #main-container #main-content .article-content a,
body.darthWiki #main-container #main-content h1.entry-title > .entry-breadcrumb > a,
body.darthWiki div#main-container div#main-content #main-entry .section-links > .links > ul > li > a,
body.darthWiki #main-container #main-content #main-content-sidebar a:hover
{
    color: var(--darthwiki-link-color);
}

body.darthWiki > #user-prefs:not(.show-spoilers) ~ div#main-container div#main-content #main-entry .article-content .spoiler.off a {
    color: var(--darthwiki-link-color) !important;
}

body.darthWiki ul.subpage-links > li > a
{
    color: var(--darthwiki-link-color);
}

/* BG color */

body.darthWiki #main-container #main-content.page-Article,
body.darthWiki #main-container #main-content-sidebar,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .folderlabel.is-open
{
    background-color: #1d1d1d;
}

body.darthWiki #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .folderlabel:hover,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .folderlabel.is-open
{
    background: #292929 !important;
}

body.darthWiki #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > h1,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .quoteright,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .acaptionright,
body.darthWiki #main-container #main-content.page-Article #main-entry .section-links div.titles div,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > h1,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > h2,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > h3,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > h4
{
    background-color: #575757;
    color: lightgrey;
}


body.darthWiki #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .quoteright,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .acaptionright
{
    border-color: #575757;
}

body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > p,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > dl,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > dd,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > em,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > strong,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > ul > li,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > .folderlabel,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > .folder,
body.darthWiki #main-container #main-content.page-Article #main-entry h1.entry-title,
body.darthWiki #main-container #main-content.page-Article #main-entry.with-sidebar div.article-banner.subjective.type-shrug p,
body.darthWiki.skinned div#main-container div#main-content.page-Article article#main-entry.with-sidebar div#main-article.article-content.retro-folders div.indent,
body.darthWiki.skinned div#main-container div#main-content.page-Article article#main-entry.with-sidebar div.article-banner.flamebait.type-flame
{
    color: lightgrey;
}

/* Nightvision mode link colors */

body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content .article-content a,
body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content h1.entry-title > .entry-breadcrumb > a,
body.darthWiki > #user-prefs.night-vision ~ #main-container div#main-content #main-entry .section-links > .links > ul > li > a,
body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content #main-content-sidebar a:hover
{
    color: var(--darthwiki-link-color);
}

body.darthWiki > #user-prefs.night-vision ~ ul.subpage-links > li > a
{
    color: var(--darthwiki-link-color);
}

/* Nightvision mode BG color */

body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article,
body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content-sidebar,
body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .folderlabel.is-open
{
    background-color: #0d0d0d;
}

body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .folderlabel:hover,
body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .folderlabel.is-open
{
    background: #292929 !important;
}

body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > h1,
body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .quoteright,
body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .acaptionright,
body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article #main-entry .section-links div.titles div,
body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > h1,
body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > h2,
body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > h3,
body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > h4
{
    background-color: #1d1d1d;
    color: lightgrey;
}


body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .quoteright,
body.darthWiki > #user-prefs.night-vision ~ #main-container #main-content.page-Article #main-entry #main-article.retro-folders.article-content > .acaptionright
{
    border-color: #1d1d1d;
}

body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > p,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > dl,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > dd,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > em,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > strong,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > ul > li,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > .folderlabel,
body.darthWiki #main-container #main-content.page-Article #main-entry #main-article > .folder,
body.darthWiki #main-container #main-content.page-Article #main-entry h1.entry-title,
body.darthWiki #main-container #main-content.page-Article #main-entry.with-sidebar div.article-banner.subjective.type-shrug p,
body.darthWiki.skinned div#main-container div#main-content.page-Article article#main-entry.with-sidebar div#main-article.article-content.retro-folders div.indent,
body.darthWiki.skinned div#main-container div#main-content.page-Article article#main-entry.with-sidebar div.article-banner.flamebait.type-flame
{
    color: lightgrey;
}

@media (max-width: 765px) {
    #main-container {
        max-width: calc(100% - 36px);
    }
    
    body.darthWiki > #user-prefs.night-vision {
        background: #0d0d0d !important
    }
    body.darthWiki {
        background: #1d1d1d !important
    }
}
}

@-moz-document domain("tvtropes.org") {
body {
    --sugarwiki-link-color: #ff6192;
}

body.sugarWiki #main-container #main-content h1.entry-title > .entry-breadcrumb > a {
    font-family: Leckerli One,cursive;
}

/* Link colors */

body.sugarWiki #main-container #main-content .article-content a,
body.sugarWiki #main-container #main-content h1.entry-title > .entry-breadcrumb > a,
body.sugarWiki div#main-container div#main-content #main-entry .section-links > .links > ul > li > a,
body.sugarWiki #main-container #main-content #main-content-sidebar a:hover
{
    color: var(--sugarwiki-link-color);
}

body.sugarWiki > #user-prefs:not(.show-spoilers) ~ div#main-container div#main-content #main-entry .article-content .spoiler.off a {
    color: var(--sugarwiki-link-color) !important;
}

body.sugarWiki ul.subpage-links > li > a
{
    color: var(--sugarwiki-link-color);
}

/* BG color */

body.sugarWiki #main-container #main-content.page-Article,
body.sugarWiki #main-container #main-content #main-content-sidebar,
body.sugarWiki #main-container #main-content.p...

Reviews

No reviews yet.