Collection of optional changes to how TorrentGalaxy is viewed.
/* ==UserStyle== @name TorrentGalaxy Makeover @namespace NotNeo @version 2.0.0 @description Collection of optional changes to how TorrentGalaxy is viewed. @author NotNeo @license unlicense @preprocessor stylus @var checkbox HideHotTwitter "Hide Hot Picks & Twitter Feed" 0 @var checkbox HideNews "Hide News Items" 0 @var checkbox HideRadio "Hide Radio" 0 @var checkbox HideStaffPick "Hide Staff Picks" 0 @var text shoutHeight "Shoutbox height" 600px @var checkbox shoutAlwaysImg "Always show images in shoutbox" 0 ==/UserStyle== */ @-moz-document url-prefix("https://torrentgalaxy.to/lobby.php"), url-prefix("https://torrentgalaxy.org/lobby.php"), url-prefix("https://torrentgalaxy.pw/lobby.php") { /*Hide "News Items"*/ if HideNews { /*Can't remeber if there was a reason I count these in reverse order, but I suppose if there is an extra panel added to the top, then this should still work. Though conversly, if one is added to the bottom, this all breaks*/ #main > .row .col-lg-10 > #panelmain:nth-last-of-type(4) { display: none; } } /*Hide Radio*/ if HideRadio { #main > .row .col-lg-10 > #panelmain:nth-last-of-type(3) { display: none; } } /*Hide "Staff Picks"*/ if HideStaffPick { #main > .row .col-lg-10 > #panelmain:last-of-type { display: none; } } /*Shoutbox height*/ .shoutbox { max-height: shoutHeight; } /*Shoutbox always show images*/ if shoutAlwaysImg { .shoutbox .chatcellmsg > span.label.label-default { display: none; } .shoutbox .chatcellmsg > span.label.label-default + div { display: block !important; } } } @-moz-document domain("torrentgalaxy.to"), domain("torrentgalaxy.org"), domain("torrentgalaxy.pw") { /*Hide "Hot Picks" & "Twitter feed" */ if HideHotTwitter { #main > .row .col-lg-2 { display: none; } #main > .row .col-lg-10 { width: 100%; } } }