Skip to content

tigerillustrated/rivals forum cleanup by ppepper6

Details

Authorppepper6

LicenseNo License

Categoryclemson.forums.rivals.com

Created

Updated

Code size1.5 kB

Code checksum790785bb

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A new userstyle

Notes

Userstyle doesn't have notes.

Source code

        /* ==UserStyle==
@name           ? - Apr 2024
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
        @-moz-document domain("forums.rivals.com") {

            /* remove sidebar crap  - WORKING */
            .p-body-sidebar {
                display: none;
            }

            /* make main forum body extend across entire page - WORKING */
            .p-body-main--withSidebar .p-body-content {
                width: calc(100%);
                max-width: calc(100% - 0px);
                display: inline-block;
                margin: 0 auto;
            }

            /* adjust forum body to screen size */
            .p-body-inner {
                max-width: 2000px;
            }

            
            /* remove padding */
            .p-body > * {
                padding-top: 0px;
            }

            /* match forum header to forum body width */
            .p-pageWrapper > .breadcrumb.block .pageContent {
                max-width: 2000px;
            }


            /* match page header to forum width */
            .p-sectionLinks .pageContent {
                max-width: 2000px
            }

            /* ^ part 2 ^ */
            .p-nav-inner {
                max-width: 1800px;
            }

            /* remove ad deadspace */
            .rivals-ad-type-1 {
                min-height: 0px;
            }
        }

Reviews

No reviews yet.