Midnight Cyan Greasyfork 1.31

changes the color theme of the page to cool dark colors.

当前为 2025-03-28 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Midnight Cyan Greasyfork 1.31
// @namespace    http://tampermonkey.net/
// @version      1.31
// @description  changes the color theme of the page to cool dark colors.
// @author       Gullampis810
// @license      MIT
// @match        https://greasyfork.org/*
// @icon         https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/6f/d0/b6/6fd0b6b2-d0f4-54b8-3ae4-4bc709de11c4/AppIcon-0-0-2x_U007euniversal-0-4-85-220.png/1200x630bb.png
// @grant        GM_addStyle
// ==/UserScript==




(function() {
    'use strict';



   GM_addStyle(`
    /* значок js */
    .badge-js {
    background-color: #FFC107;  /* Жёлтый цвет (можно также использовать #FFFF00 для более яркого жёлтого) */
    color: #000000 !important;  /* Чёрный текст */
    mix-blend-mode: inherit;
}
.rating-icon.rating-icon-good {
    background-color: #2F4F4F !important;  /* Тёмно-зелёный цвет */
    color: #FFFFFF !important;  /* Белый текст для контраста, можно изменить при необходимости */
}

    /* уведомление об ошибках */
    .validation-errors {
        background-color: rgba(74, 194, 229, 0.2);
        border: none;
        border-left: 6px solid #4AC2E5;
    }

    td {
        background: #1A2535 !important;
        border-radius: 20px !important;
        padding: 10px !important;
    }

    td.ban-text {
        color: #FF5555 !important;
        background-color: rgba(255, 85, 85, 0.2) !important;
    }

    button.lum-next-button.lum-gallery-button,
    button.lum-previous-button.lum-gallery-button {
        background: #2A3545 !important;
    }

    .language-selector-locale {
        padding: 6px;
        border-radius: 25px !important;
        border: solid 2px #4AC2E5 !important;
    }

    .text-content.log-table {
        background: #141D2B !important;
    }

    .discussion-list.discussion-list-logged-in {
        background: #1E2A3C !important;
        box-shadow: 4px 4px 7px 0px #0A0F1A !important;
    }

    .discussion-list-container.discussion-read {
        background: #253040;
    }

    .list-option-button {
        background: #2A3545 !important;
        color: #4AC2E5 !important;
        border-radius: 30px !important;
    }

    a.script-link {
        color: #4AC2E5 !important;
        box-shadow: 0px 0px 14px 1px #4AC2E5;
        background: #2A3545;
        padding: 5px;
        border-radius: 7px;
    }

    input[type="search"] {
        box-shadow: inset 0px 0px 14px 1px #0A0F1A;
        background: #2A3545;
        padding: 8px;
        border-radius: 30px;
        border: 2px solid #4AC2E5;
    }

    p#deleted-note {
        color: #FF5555 !important;
    }

    .pagination>*,
    .script-list+.pagination>*,
    .user-list+.pagination>* {
        background-color: #2A3545;
        border-radius: 5px;
    }

    .pagination>a:hover,
    .pagination>a:focus {
        background-color: #4AC2E5;
    }

    a.self-link,
    a.self-link:visited {
        opacity: 1.2;
        background-color: #2A3545;
        border: 2px solid #4AC2E5;
        border-radius: 5px;
    }

    a {
        color: #4AC2E5;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    a:hover {
        color: #FFFFFF;
        background-color: #141D2B;
        padding: 7px 10px;
        border-radius: 5px;
        box-shadow: -1px 9px 9px 0px rgba(0, 0, 0, 0.6);
    }

    .sidebar a {
        display: block;
        padding: 10px;
        color: #4AC2E5;
        border-radius: 4px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .sidebar a:hover {
        background-color: #4AC2E5;
        color: #1A2535;
    }

    * {
        color: #E0E5EC !important;
    }

    body, select, input {
        background-color: #141D2B;
        border-radius: 7px;
    }

    code {
        background-color: #2A3545;
    }

    .code-container {
        background: #0F1825;
    }

    body {
       background: linear-gradient(44deg, #0d141d 88%, #2A3545 56%, #116c5d 100%);
       background-size: 100% 500%;
    }
    nav {
        background-color: #374337 !important;
    }



    #main-header {
            background-color: #2A3545;
    background-image: linear-gradient(311deg, #1A2535, #408194);
    box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.6);
    padding: .25em 0;
    }

    .user-content {
        background: linear-gradient(to right, #2A3545, #1A2535 1em);
        border-left: 2px solid #4AC2E5;
    }

    .user-content > p:first-child {
        background: linear-gradient(268deg, #2A3545 0%, #1A2535 100%);
    }

    #additional-info .user-screenshots {
        background: linear-gradient(259deg, #2A3545 0%, #1A2535 100%);
    }

    .list-option.list-current {
        border-left: 7px solid #4AC2E5;
        box-shadow: 0 1px 0px 6px rgba(0, 0, 0, 0.1);
        background: linear-gradient(#1A2535, #2A3545);
    }

    form.new_user input[type="submit"] {
        color: #FFFFFF;
        background-color: #2A3545;
        background-image: linear-gradient(#4AC2E5, #1A2535);
    }

    .list-option-group a:hover,
    .list-option-group a:focus {
        background: linear-gradient(#2A3545, #4AC2E5);
        text-decoration: none;
        box-shadow: inset 0 -1px #ddd, inset 0 1px #eee;
    }

    #script-info {
        border: 1px solid #4AC2E5;
        border-radius: 5px;
        background-color: #1A2535;
        margin: 1em 0 0;
        box-shadow: 0px 14px 14px 1px rgba(0, 0, 0, 0.6);
    }

    .form-control textarea:not([rows]),#ace-editor {
        height: 20em;
        background-color: #13161a;
        color: #4AC2E5;
    }

    .previewable textarea {
        margin: 0;
        background-color: #1E2A3C;
    }

    .ace_gutter-cell {
        color: #4AC2E5;
    }

    .ace_folding-enabled {
        background-color: #2A3545;
    }

    a:visited {
        color: #87D8F0;
    }

    .reportable,
    .text-content:last-child,
    .script-list {
        background-color: #1E2A3C;
    }

    .list-option-group ul {
        background-color: #2A3545;
    }

    #add-additional-info,
    input[type="submit"][name="commit"] {
        background-color: #4AC2E5;
        color: #1e2a3c !important;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s;
    }

    input[type="submit"][name="commit"]:hover {
        background-color: #38A1C2;
    }
`);

// Scrollbar
GM_addStyle(`
    ::-webkit-scrollbar {
        width: 25px;
        background: linear-gradient(54deg, #1A2535 0%, #2A3545 56%, #13161a 100%) !important;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #4AC2E5;
        border-radius: 22px;
        border: 3px solid #1A2535;
        height: 80px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background-color: #87D8F0;
    }

    ::-webkit-scrollbar-thumb:active {
        background-color: #38A1C2;
    }

    ::-webkit-scrollbar-track {
        background: #397083 !important;
        border-radius: 0px 0px 8px 0px;
    }
`);

})();