Ko-fi responsive + customizations

Ko-fi website is more suitable for wide screens.

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

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

/* ==UserStyle==
@name           Ko-fi responsive + customizations
@version        1.0.2
@description    Ko-fi website is more suitable for wide screens.
@author         BreatFR (https://breat.fr)
@namespace      https://gitlab.com/breatfr
@homepageURL    https://gitlab.com/breatfr/ko-fi
@supportURL     https://discord.gg/Q8KSHzdBxs
@license        AGPL-3.0-or-later; https://www.gnu.org/licenses/agpl-3.0.txt
@preprocessor   stylus

@var    checkbox    hidescrollbars  "Hide scrollbars"   1
@var    checkbox    widemode        "Wide mode"         1
==/UserStyle== */

/* === Credits ===
Website         https://breat.fr
facebook        https://www.facebook.com/breatfroff
mastodon        https://mastodon.social/@breat_fr
telegram        https://t.me/breatfr
vk              https://vk.com/breatfroff
X (twitter)     https://x.com/breatfroff
=== Credits === */

@-moz-document domain("ko-fi.com") {
    :root {
        --themeversion: 'Theme v1.0.2 by BreatFR (https://breat.fr)';
        --install1: ' usercssjs.breat.fr ';
        --install2: ' gitlab.com/breatfr/ko-fi ';
        --space: '\00a0\00a0\00a0\00a0\00a0';
        --support1: ' ko-fi.com/breatfr ';
        --support2: ' paypal.me/breat';
    }
	
    @media screen and (min-width: 900px) {
        body::before {
            background: -webkit-linear-gradient(88.55deg, rgb(139, 109, 255) 22.43%, rgb(254, 132, 132) 92.28%);
            background: -o-linear-gradient(88.55deg, rgb(139, 109, 255) 22.43%, rgb(254, 132, 132) 92.28%);
            background: -ms-linear-gradient(88.55deg, rgb(139, 109, 255) 22.43%, rgb(254, 132, 132) 92.28%);
            background: -moz-linear-gradient(88.55deg, rgb(139, 109, 255) 22.43%, rgb(254, 132, 132) 92.28%);
            background: linear-gradient(88.55deg, rgb(139, 109, 255) 22.43%, rgb(254, 132, 132) 92.28%);
            -webkit-background-clip: text;
            -o-background-clip: text;
            -ms-background-clip: text;
            -moz-background-clip: text;
            background-clip: text;
            color: transparent;
            content: var(--themeversion) '\A''Install: ' url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAAK/INwWK6QAAAAlwSFlzAAAOwgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAARxSURBVDhPvZR5TJNnGMAfBIUFzLSctqWUlqPcCBlQjhpdkGvNWCY2rQfKBihImMc4VgUhoIM4mG5z7MicCROZbBBxICAUHEeG6IRF2nKUwteDclhbbkq/7gO+ZRoy+W+/5P3n+Z7n9z7fm+d94X/DALDF0PC7v7alJVlVW1sir668qaiqKFf8cufG+G+1l2eaW+PQm02WePrrUd6uYg+WlTUKs8+phfHv6QdimLqhUM/FIZb74lC496IolqV/lnp0pb+0QDhaXs7ByzZi6OnZ+qiwuPhx8lH9ANNxQUUHZMEZBlZ2gkhvASJ0OwhRJxDqyCCaMYEhCflNbRf3gK4vvygWV7xKY3o6vzuGaVC7whjqDv3YEi8zYHiFZCTWO2BSexAvEWEYJWByG2y5Qr+UbKJ9wIsVoFcHTHHNOoLMy9R7rEBE4wZy1AdEiJ+16s9w5mQHlzvax96NoG4gHN1PHG2L440P+Lso9V4gxroVrZBhpJXpMdK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SaSC3xy45AN1oUbCcr8zfJiBlCGkZzoGwxBS+nvqGk1ikiekMwgZIbNLvALiYYTdhJj+zkyk/A7TzQbbz/GUSTaVd0RebPfGPhTIsV7hk90VD0TgVx5dHxQ4gRB9Z4Fn0y+v5heP9Lv7aaLMNWHUn0JvPgSYmlyGxVLu8nl/MZxnMiNTgWcsqmmvJid4I6+WbiFPg5fAxxsf3yOv/J3r3fVAfnncAvKG4TL898YlS+TmPCgr+AaBy8VrppmCMAAAAAElFTkSuQmCC") var(--support2);
            display: inline-block;
            font-family: CascadiaCode, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
            font-size: 1em;
            left: 0;
            pointer-events: none;
            position: fixed;
            text-align: center;
            top: 0;
            width: 100vw;
            white-space: pre-line;
            z-index: 9999;
        }
    }
    
    if hidescrollbars {
        *,
        :root ::-webkit-scrollbar {
            scrollbar-width: none !important;
            -ms-overflow-style: none !important;
            -moz-overflow-style: none !important;
            -webkit-overflow-style: none !important;
        }
        ::-webkit-scrollbar {
            display: none;
            width: 0;
        }
    }

    if widemode {
        .navbar > div {
            max-width: 100%;
        }

        .modal-dialog {
            left: 50%;
            margin: auto !important;
            position: absolute !important;
            top: 50%;
            transform: translate(-50%, -50%) !important;
            width: 80vw !important;
        }
    }
}

@-moz-document url("https://ko-fi.com/Manage/") {
    /* Manage */
    if widemode {
        #wrapper,
        #mainView > div:nth-of-type(2),
        #mainView > div:nth-of-type(2) > div:nth-of-type(2),
        [class="kfds-lyt-row kfds-top-mrgn-16 kfds-lyt-width-100"] > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/feed") {
    /* Feed */
    if widemode {
        #wrapper,
        #mainView > div:nth-of-type(1) > div:nth-of-type(1) {
            max-width: 100% !important;
            width: 100% !important;
        }
        .kfds-c-srf-offer-update-cover {
            max-height: unset;
        }
        #mainView > div:nth-of-type(1) > div:nth-of-type(1) img {
            height: auto;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/settings") {
    /* Settings */
    if widemode {
        #wrapper,
        #mainView > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/manage/supportreceived") {
    /* Payments and Orders */
    if widemode {
        #wrapper,
        #mainView > div:nth-of-type(2),
        #mainView > div:nth-of-type(2) > div:nth-of-type(3) > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/messages") {
    /* Messages */
    if widemode {
        #wrapper,
        #conversation-app {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/memberships/settings") {
    /* Memberships setup */
    if widemode {
        #wrapper,
        #shopSettingPage {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url("https://ko-fi.com/shop/settings?src=sidemenu&productType=0") {
    /* Shop settings */
    if widemode {
        #wrapper,
        #mainView > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url("https://ko-fi.com/shop/settings?src=sidemenu&productType=1") {
    /* Commissions */
    if widemode {
        #wrapper,
        #mainView > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/manage/widgets") {
    /* Buttons & widgets */
    if widemode {
        #wrapper,
        #mainView > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
    .form-group .container {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@-moz-document url-prefix("https://ko-fi.com/Manage/donation-widget-setup") {
    /* Ko-fi Tip Widget */
    if widemode {
        #wrapper,
        #mainView > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/Discord/Settings") {
    /* Discord settings */
    if widemode {
        #wrapper,
        #discord-settings-page,
        #discord-settings-page > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/streamalerts/settings") {
    /* Stream alerts */
    if widemode {
        #wrapper,
        #mainView > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/Manage/BrandAssets") {
    /* Logos, buttons & badges */
    if widemode {
        #wrapper,
        #mainView > div,
        #mainView > div > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/Manage/Zapier") {
    /* Zapier */
    if widemode {
        #wrapper,
        #mainView > div,
        #mainView > div > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/QRCode") {
    /* QRCode */
    if widemode {
        #wrapper,
        #mainView > div,
        #mainView > div > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/promote") {
    /* Promote */
    if widemode {
        #wrapper,
        #mainView > div,
        #mainView > div > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/account/") {
    /* Account & billing */
    if widemode {
        #wrapper,
        #mainView > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/discount/") {
    /* Discount */
    if widemode {
        #wrapper,
        #mainView > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/manage/webhooks") {
    /* API */
    if widemode {
        #wrapper,
        #mainView > div,
        #mainView > div > div {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document regexp("https://ko-fi.com/[^/]+") {
    /* About */
    if widemode {
        #profile-header,
        #profile-header-v2,
        #tab-menu-container > div > div:nth-of-type(1),
        .lg-fit-container > div,
        .ds-support-panel-wrapper > div > div {
            max-width: 100% !important;
            width: 100% !important;
        }
        #profile-header-v2 {
            padding: 0 1em;
        }
        
        .lg-fit-container > div:first-child {
            align-items: center;
            display: flex !important;
            flex-flow: wrap;
            gap: 1em;
            height: auto !important;
            justify-content: space-evenly;
            margin: auto !important;
            max-width: 100% !important;
            padding: 0 !important;
            width: 100% !important;
            will-change: uset !important;
        }
        #second-col-v2 {
            left: 1em !important;
            position: absolute !important;
        }
        .sidebar__inner.d-contents-top {
            display: flex !important;
            flex-flow: wrap;
            gap: 1em;
            height: auto !important;
            justify-content: space-evenly;
            position: relative !important;
            transform: none !important;
            will-change: uset !important;
        }
        #column-primary-v2 {
            margin-left: calc(400px + 2em);
            margin-right: 1em;
            max-width: 100% !important;
            width: 100%;
        }
        .ds-support-panel-wrapper > div > div > div:nth-of-type(2) {
            display: flex;
            flex-direction: column;
        }
        .ds-support-panel-wrapper > div > div > div:nth-of-type(2) > div:nth-of-type(3) {
            display: flex;
            flex-flow: wrap;
            justify-content: space-evenly;
        }
        .ds-support-panel-wrapper > div > div > div:nth-of-type(2) > div:nth-of-type(3) > div:nth-of-type(1) {
            display: none;
        }
        .ds-support-panel-wrapper > div > div > div:nth-of-type(2) > div:nth-of-type(3) > .tier-container {
            width: auto;
        }
    }
}

@-moz-document regexp("https://ko-fi.com/[^/]+/tiers"), regexp("https://ko-fi.com/[^/]+/tiers#") {
    /* Tiers */
    if widemode {
        #profile-header,
        #profile-header-v2,
        #tab-menu-container > div > div:nth-of-type(1),
        #tab6-content {
            max-width: 100% !important;
            width: 100% !important;
        }
    }
}

@-moz-document regexp("https://ko-fi.com/[^/]+/gallery") {
    /* Gallery */
    if widemode {
        #profile-header,
        #profile-header-v2,
        #tab-menu-container > div > div:nth-of-type(1),
        #tab2-content {
            max-width: 100% !important;
            width: 100% !important;
        }
        #profile-header-v2 {
            padding: 0 1em;
        }
        
        #galleryContainer {
            align-items: center;
            display: flex !important;
            flex-flow: wrap;
            gap: 1em;
            height: auto !important;
            justify-content: space-evenly;
            margin: auto;
            padding: 0 !important;
            width: 100% !important;
        }
        #galleryContainer > li {
            align-items: center;
            display: flex !important;
            flex-direction: column;
            justify-content: space-evenly;
            position: initial !important;
        }
        #galleryContainer > li img {
            height: 300px;
            object-fit: contain;
            width: 300px;
        }
    }
}

@-moz-document regexp("https://ko-fi.com/[^/]+/posts") {
    /* Posts */
    if widemode {
        #profile-header,
        #profile-header-v2,
        #tab-menu-container > div > div:nth-of-type(1),
        #tab3-content > div,
        .kfds-c-srf-creator-content-wrapper,
        .kfds-c-srf-creator-content-wrapper > div {
            max-width: 100% !important;
            width: 100% !important;
        }
        #profile-header-v2 {
            padding: 0 1em;
        }
        
        .kfds-c-srf-creator-content-wrapper {
            align-items: center;
            display: flex !important;
            flex-flow: wrap;
            gap: 1em;
            height: auto !important;
            justify-content: space-evenly;
            margin: auto;
            padding: 0 !important;
        }
        .kfds-c-srf-creator-content-wrapper img {
            max-height: 100%;
        }
    }
}

@-moz-document regexp("https://ko-fi.com/[^/]+/shop") {
    /* Shop */
    if widemode {
        #profile-header,
        #profile-header-v2,
        #tab-menu-container > div > div:nth-of-type(1),
        #tab5-content {
            max-width: 100% !important;
            width: 100% !important;
        }
        #profile-header-v2 {
            padding: 0 1em;
        }
        
        #tab5-content > div > div:nth-of-type(4) {
            align-items: center;
            display: flex !important;
            flex-flow: wrap;
            gap: 1em;
            height: auto !important;
            justify-content: space-evenly;
            margin: auto;
            padding: 0 1em !important;
        }
    }
}

@-moz-document url-prefix("https://ko-fi.com/s/") {
    /* Product page */
    if widemode {
        #body-content,
        #shop-item-detail {
            max-width: 100% !important;
            width: 100% !important;
        }
        .kfds-c-carousel-control {
            margin-left: 1em;
        }
        #shop-item-detail > div > div:nth-of-type(2) {
            margin: auto 1em !important;
        }
    }
}