Notice: The devs are no longer actively involved in the forum, so any bug reports regarding the Stylish extension or this website should be sent to them directly at contact@userstyles.org.
Changing your Avatar.
The only way to currently change a forum avatar is through Gravatar.com. The email address used for your Userstyles.org account must be one of the email addresses that is registered to your Gravatar account.

stretching a site to full widht

NSFW warning!

on darkfetishnet.com, adblock is blocking some ads to the left and right side, resulting in the site having empty space to both sides. Is it possible to create a style that could stretch it back to full width?

Comments

  • edited July 2018 Firefox

    Modify inner width to your needs.

    @-moz-document domain("darkfetishnet.com") {
        :root {
            --innerWidth: 1200px;
        }
        /*
        table.body {
            width: 100% !important;
        }/**/
        div.content {
            width: var(--innerWidth) !important;
        }
        div.content > div:nth-of-type(2) {
            width: calc(var(--innerWidth) - 420px) !important;
        }
    }
    
  • you can use percentage and put it at: 100% that way it adapts to your screen. or "auto" could work too. if you need help, anna, i can make it but just till i get home to be safe of lookouts.
Sign In or Register to comment.