Skip to content

BGG clean by AucaCoyan

Details

AuthorAucaCoyan

LicenseMIT

Categoryboardgamegeek.com

Created

Updated

Size2.0 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Remove all the clutter in boardgamegeek.com

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         BGG clean
@version      20231209.16.03
@namespace    ?
==/UserStyle== */

/* ==UserStyle==
@name           BGG clean
@namespace      github.com/openstyles/stylus
@version        0.9.0
@description    remove all the clutter in boardgamegeek.com
@author         AucaCoyan
==/UserStyle== */

@-moz-document url-prefix("https://boardgamegeek.com") {
/* hide these elements */

    /* support BGG */
    .support-drive-description,
    /* geek gold */
    .support-drive,
    /* we may earn from affilated links */
    #maincontent > form:nth-child(1),
  
    /* ads */
    .global-body-content>gg-support-leaderboard-ad:nth-child(2),
    /* inline ad */
    .global-body-content-primary>gg-articles:nth-child(5)>gg-articles-ui:nth-child(1)>section:nth-child(1)>gg-article:nth-child(12)>gg-post:nth-child(1)>gg-post-inline-ad,
    .geekcollection_ad,
    /* sidebar */
    .sidebar-open,
    geekoutput-sidebar.ng-isolate-scope:nth-child(1)
    {
        display: none !important
    }

    /* make the header slim */
#global-header-outer {
    margin-bottom: 0px
}
}

@-moz-document url-prefix("https://boardgamegeek.com") {
/* page width */
nav.container-fluid,
.global-body-content 
{
        max-width: 1400px;

        margin-left: auto;
        margin-right: auto;
}
}

@-moz-document url-prefix("https://boardgamegeek.com/thread/") {
/* forums */

    /* page width */
    nav.container-fluid,
    #mainbody {
        max-width: 1400px;

        margin-left: auto;
        margin-right: auto;
    }

    .global-body-content-primary>gg-articles:nth-child(5)>gg-articles-ui:nth-child(1)>section:nth-child(1)>gg-article>gg-post>article {
        border: 0px;
    }


}

@-moz-document url-prefix("https://boardgamegeek.com") {
/* footer */
/* center the footer grid */
.tw-gap-x-4
{
    justify-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important
}


/* remove the 2 middle colums of the footer */
.tw-gap-x-4 > div:nth-child(2),
.tw-gap-x-4 > div:nth-child(3)
{
    display: none
}
}

Reviews

No reviews yet.