Listography Tweaks

Tweaks for listography.com

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

/* ==UserStyle==
@name           Listography Tweaks
@description    Tweaks for listography.com
@author         petracoding
@license        MIT
@homepageURL    https://petracoding.github.io/
@supportURL     https://petracoding.github.io/
@version        1.0.0

@namespace      petracoding
@preprocessor   stylus

@var checkbox   broaderLists "Broader Lists on Detail Page" 1
@var color      textColor  "Main Text Color" #333333
@var color      textColor2  "Secondary Text Color" #777777
@var color      linkColor  "Link Color" #0055aa
@var checkbox   darkMode "Dark Mode" 0

==/UserStyle== */

@-moz-document domain("listography.com") {
    
    body {
         if darkMode {
             color: #ccc;
         } else {
              color: textColor;
         }
    }
    
    a:link, 
    a:visited {
      color: linkColor;
    }

    div.user-box table.main td.left div.title span.title a:link, div.user-box table.main td.left div.title span.title a:visited,
    div.user-box table.main td.middle div.header span.title, 
    .box-title a, .box-title a:visited, .box-subtitle,
    div.list_index div.body h2 a {
        if darkMode {
             color: #ccc;
        } else {
              color: textColor;
        }
    }
    
    div.global-menu a,
    .list-color-number-11,
    div.global-menu a:visited,
    .backup-button,
    div.list_index div.body div.list .date,
    div.list_index div.header div.create a,
    div.list_index div.header div.view_select a {
        if darkMode {
             color: #bbb;
        } else {
              color: textColor2;
        }
    }

    if broaderLists {
        body.list div.center_container {
            width: 900px;
            max-width: 100%;
        }
    }

    if darkMode {
        div.user-box,
        div.user-box table.menu td.search input,
        .listbox-color-11,
        .list-title-box-color-11,
        .settings-main,
        .page-footer,
        div.list_index {
            background: black;
        }
        
        div.user-box table.menu td.selected,
        div.list_index div.body div.category a.selected {
            background: #112246;
        }
    }

}