Skip to content

Tavern's Closed, Go Home by citrusella

Screenshot of Tavern's Closed, Go Home

Details

Authorcitrusella

LicenseCC-BY-NC-SA-4.0

CategoryHabitica

Created

Updated

Size1.5 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Hides the Tavern chat on Habitica. This applies on both its normal page and its "guild format" pages. Still allows access to the inn for pausing tasks.

Notes

This style is unlikely to be updated if it breaks. However, the terms of its license allow derivative works as long as they credit the original author, aren't used for commercial purposes, and are shared under the same license (or a compatible license, but there's no current non-CC license compatible with BY-NC-SA).

Source code

/* ==UserStyle==
@name           Tavern's Closed, Go Home
@namespace      https://userstyles.world/user/citrusella
@version        1.0.0
@description    You can still sleep here, though. That's fine.
@author         citrusella
@license        CC-BY-NC-SA-4.0
@supportURL     https://habitica.com/profile/2d6ef231-50b4-4a22-90e7-45eb97147a2c
==/UserStyle== */

@-moz-document domain("habitica.com") {
    a[href$="/groups/tavern"]:not(.topbar-item .nav-link):not(p a) {
        text-indent: -9999px;
        line-height: 0 !important; /* Collapse the original line */
    }
    a[href$="/groups/tavern"]:not(.topbar-item .nav-link):not(p a)::after {
        content: "Inn";
	    text-indent: 0;
        display: block;
        line-height: initial !important; /* New content takes up original line height */
        padding-top: 0.3em;
}
}
@-moz-document url-prefix("https://habitica.com/groups/tavern") {
    .standard-page,.sidebar .px-4:not(.sleep) {
        display: none !important;
    }
    .sidebar {
        max-width: 100% !important;
        flex: 0 0 100% !important;
        width: 100% !important;
    }
}
@-moz-document url-prefix("https://habitica.com/groups/guild/habitrpg"), url-prefix("https://habitica.com/groups/guild/00000000-0000-4000-A000-000000000000") {
    .row.chat-row .col-12 .row:not(:nth-child(5)):not(:nth-child(6)),.row.chat-row .col-12 [class*="float"] {
        display: none !important;
    }
}

Reviews

No reviews yet.