MediaWiki:Timeless.css: Difference between revisions

From Ghost Theory Wiki
No edit summary
No edit summary
Tag: Reverted
Line 64: Line 64:
body.ns-14 #mw-content-text p {
body.ns-14 #mw-content-text p {
     display: none !important;
     display: none !important;
}
/* Disable Timeless collapsible sections on mobile */
.client-js .mw-parser-output .mw-heading {
    cursor: default !important;
}
.client-js .mw-parser-output .mw-heading::after {
    display: none !important;
}
.client-js .mw-parser-output .mw-collapsible-content {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
}
}

Revision as of 15:23, 17 December 2025

#ca-talk { display: none !important; }

/* Hide the entire Anonymous dropdown menu in Timeless */
#p-personal,
#personal,
#user-tools {
    display: none !important;
}



css
/* Style categories like tags */
#catlinks ul li a {
    background: #333;
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    margin: 2px;
    display: inline-block;
    text-decoration: none;
}

#catlinks ul li a:hover {
    background: #555;
}


/* Hide empty category page warnings and edit notices */
body.page-Category .mw-parser-output > p,
body.page-Category .noarticletext,
body.page-Category .mw-empty-elt,
body.page-Category #contentSub,
body.page-Category #contentSub2 {
    display: none !important;
}



body.page-Category .mw-parser-output {
    display: none !important;
}


/* Hide the "no text / no permission" warning on empty category pages */
body.ns-14 .mw-parser-output > p {
    display: none !important;
}


/* Hide the "no text / no permission" warning on category pages (Timeless) */
body.ns-14 #mw-content-text > .mw-parser-output > p {
    display: none !important;
}


/* Hide the "Category" tab on category pages */
body.ns-14 #ca-nstab-category {
    display: none !important;
}


/* Broader kill-switch for that warning paragraph on category pages */
body.ns-14 #mw-content-text p {
    display: none !important;
}

/* Disable Timeless collapsible sections on mobile */
.client-js .mw-parser-output .mw-heading {
    cursor: default !important;
}

.client-js .mw-parser-output .mw-heading::after {
    display: none !important;
}

.client-js .mw-parser-output .mw-collapsible-content {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
}