/* ==UserStyle== @name Gitea Modern @version 1.0.1 @description A modern style for Gitea and Codeberg! @updateURL https://codeberg.org/Freeplay/CSS-Styles/raw/branch/main/Gitea/Gitea-modern.user.css -- AUTHOR STUFF -- @namespace Freeplay @author Freeplay (https://freeplay.codeberg.page/) @homepageURL https://codeberg.org/Freeplay/UserStyles @supportURL https://codeberg.org/Freeplay/UserStyles/issues ==/UserStyle== */ /* Make sure you're using the "Stylus" /// browser extension!: /// https://add0n.com/stylus.html /// Don't use "Stylish". */ /* You may need to enable: /// Stylus Options > Advanced > /// "Patch CSP to allow style assets" */ /* You can apply more Gita instances by /// Clicking the plus button next to the /// Textboxes below, and inserting the /// instance URL. */ @-moz-document domain("codeberg.org"), domain("gitea.com"), domain("try.gitea.io"), domain("gitdab.com"), domain("git.fsfe.org"), domain("git.passageenseine.fr"), domain("dev.sum7.eu") { @import url("https://codeberg.org/Freeplay/CSS-Styles/raw/branch/main/Gitea/theme-gitea-modern.css"); } @-moz-document domain("codeberg.org") { /* Fix Codeberg Logo */ .item.brand a { border-radius: 100px; background-color: var(--color-primary) !important; box-shadow: 0 1px 2px var(--color-primary); } }