Ruqqus Stylesheets

this is meant just to help make the website interface a little easier to handle, and is not intended as a best style implementation, also it may cease to work for future site updates

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Ruqqus Stylesheets
// @namespace    http://ruqqus.com/
// @version      0.3
// @description  this is meant just to help make the website interface a little easier to handle, and is not intended as a best style implementation, also it may cease to work for future site updates
// @source       https://www.ruqqus.com/post/16p
// @source       https://openuserjs.org/scripts/jasonkhanlar/Ruqqus_Stylesheets/source
// @source       https://greasyfork.org/en/scripts/396924-ruqqus-stylesheets/code
// @author       Jason Khanlar
// @copyright    2020, jasonkhanlar (https://openuserjs.org/users/jasonkhanlar / https://greasyfork.org/en/users/449983-jasonkhanlar)
// @license      MIT
// @match        https://www.ruqqus.com/*
// @grant        GM_addStyle
// ==/UserScript==

// ==OpenUserJS==
// @author jasonkhanlar
// ==/OpenUserJS==

(function() {
    'use strict';

    // Left sidebar scale
    GM_addStyle('#sidebar-left { height: auto; min-height: 100vh; }');

    // A links (hover)
    GM_addStyle('a:hover { color: #766bd3; }');

    // Page navigation links color (hover)
    GM_addStyle('.page-link:hover { color: #766bd3; }');

    // Home page

    // Home page title color
    GM_addStyle('#main-content-col > .guild-border-top > .col > .justify-content-between > .font-weight-bold { color: #ACACAC !important }');

    // Home page sort dropdown color (hover) -- make sure to not include #dropdownMenuButton:hover for other pages that have different styles for some reason
    GM_addStyle('.justify-content-between #dropdownMenuButton:hover { color: #8c8d94 !important; }');

    // Home page sort dropdown color (when expanded) -- make sure to not include #dropdownMenuButton:hover for other pages that have different styles for some reason
    GM_addStyle('.justify-content-between #dropdownMenuButton[aria-expanded=true] { color: #8c8d94 !important; }');

    // Home page sort dropdown option color (hover)
    GM_addStyle('#main-content-col > .border-bottom .justify-content-between .dropdown-menu .dropdown-item:hover { color: #cfcfcf !important; }');

    // Guild browse page

    // Guild browse page guild name color
    GM_addStyle('div[id^=board-] .card-title { color: #ACACAC; }');
    GM_addStyle('div[id^=board-] .card-title:hover { color: #766bd3; }');

    // Guild browse page duild description color
    GM_addStyle('div[id^=board-] .card-text { color: #ACACAC; }');

    // Guild content page

    // Guild content page post entry (gover) text color
    GM_addStyle('#guild .posts .card:hover a { color: #8c8d94; }');
    GM_addStyle('#guild .posts .card:hover a:hover { color: #ff8f66; text-decoration: none; }');
    GM_addStyle('#guild .posts .card:hover a:hover .fas { color: #ff8f66; }');
    GM_addStyle('#guild .posts .card:hover .score { color: #6c6d74; }');

    // User page

    // User page text color on variable background image
    GM_addStyle('#userpage .jumbotron .mb-2, #userpage .jumbotron .font-weight-normal, #userpage .jumbotron .mt-2 { color: #acacac; text-shadow: 1px 1px 1px #444, -1px -1px 1px #bbb; }');

    // Thread post page

    // post-body
    GM_addStyle('#thread #post-body { display: block !important; }');
})();