Skip to content

RSI Platform - Optmized (USW) by 3of9

Screenshot of RSI Platform - Optmized (USW)

Details

Author3of9

LicenseCC-BY-SA-4.0

Categoryrobertsspaceindustries.com

Created

Updated

Size1.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Optimizations for the RobertsSpaceIndustries.com Platform.

Notes

  • Initial release on Userstyles World
    • Removes platform bar from all pages
    • Improves unread message coloring on Spectrum
    • Improves MotD visiblity on Spectrum
    • Adjusts spacing on Spectrum to be slightly more compact
    • Makes scrollbars more compact

Source code

/* ==UserStyle==
@name         RSI Platform - Optmized (USW)
@version      20250317.19.33
@namespace    https://userstyles.world/user/3of9
@description  Optimizations for the RobertsSpaceIndustries.com Platform.
@author       3of9
@license      CC-BY-SA-4.0
==/UserStyle== */

@-moz-document url-prefix("https://robertsspaceindustries.com/") {
* {
    --lobby-message-background-color: var(--subscription-fill-color);
    --lobby-message-border-color: var(--color-alert-unread);
    --lobby-message-text-color: var(--subscription-stroke-color);;
    --lobby-message-button-color: var(--subscription-stroke-color);

    scrollbar-width: thin;
    scrollbar-color: var(--color-primary-100) var(--color-primary-400);
}

#platform-bar-head {
    display: none;
}

[data-rsi-component=PlatformBar] {
    min-height: unset;
}

.o-navigationBar__content {
    max-width: unset !important;
}

/* Platform Bar Height Reduction - WIP
a.a-productHomeMainLogo, a.a-productHomeProductLogo {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.a-productHomeProductLogo::before {
    top: calc(1rem / 2) !important;
    height: calc(100% - 1rem) !important;
}
*/

.message-item {
    padding-top: 6px;
    padding-bottom: 6px;
}

.sidebar-list .sidebar-item.community {
    padding-top: 2px;
    padding-bottom: 2px;
}

.sidebar-list .sidebar-item {
    padding-top: 1px;
    padding-bottom: 1px;
}

.lobby-member-presences > .members-list .lobby-presence-item {
    padding-top: 2px;
    padding-bottom: 2px;
}

.theme-dark .sidebar-list .sidebar-item.unread .column.content a {
    color: var(--color-alert-unread);
}

.message-item.highlighted {
    background: color-mix(in srgb, var(--color-alert-unread) 25%, transparent);
}
}

Reviews

No reviews yet.