/* ==UserStyle== @name Fanbox - Customization @description Provides some extra customization options for Fanbox. @version 2024.05.16.17.41 @author MetalTxus @namespace https://github.com/jesuscc1993/ @license CC BY-SA 4.0 @preprocessor stylus @var checkbox wide-content "Wide content" 0 @var checkbox restrict-artist-cover-size "Restrict artist cover size" 0 @var checkbox hide-post-cover "Hide post cover" 0 @var checkbox hide-paid "Hide paid items" 0 ==/UserStyle== */ @-moz-document domain("fanbox.cc") { if (wide-content) { @media (min-width: 1024px) { [class*="TwoColumnLayout__Wrapper"] { max-width: calc(100% - 300px); margin-left: 300px; } } } if (restrict-artist-cover-size) { [class*="styled__Wrapper"] [class*="CoverImage__CoverInner"] { max-height: 256px; } } if (hide-post-cover) { [class*="PostDetailPage__Wrapper"] [class*="Cover__Wrapper"] { display: none; } } if (hide-paid) { [class*="CardPostItem__Wrapper"]:has([class*="FeeRequirementBox"]) { display: none; } } }