Spotify Side Mode

Re-arrange elements in now playing bar to fit narrow window.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ==UserStyle==
@name         Spotify Side Mode
@namespace    https://github.com/dearrrfish/my-userscripts
@version      1.0.0
@description  Re-arrange elements in now playing bar to fit narrow window.
@author       dearrrfish
@license      MIT
@homepageURL  https://github.com/dearrrfish/my-userscripts
@supportURL   https://github.com/dearrrfish/my-userscripts/issues
==/UserStyle== */

body {
    font-family: Microsoft Yahei;
}

@media screen and (max-width: 700px) {
    body {
        min-width: unset;
    }

    .now-playing-bar-container {
        min-width: unset
    }

    .now-playing-bar {
        width: 100%;
        min-height: 70px;
        padding: 10px 20px;
        height: unset;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .now-playing-bar__left {
        width: auto;
        order: 1;
    }

    .now-playing-bar__center {
        width: 100%;
        order: 3;
    }

    .now-playing-bar__right {
        max-width: 25%;
        min-width: unset;
        order: 2;
    }

    .now-playing-bar__right__inner {
        width: 100%;
    }
}