MediaWiki:Timeless.css: Difference between revisions

From Ghost Theory Wiki
No edit summary
Tag: Manual revert
No edit summary
Tag: Bots
Line 8: Line 8:
}
}


 
/* Hide all category links on article pages */
 
#catlinks {
css
     display: none !important;
/* 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 */
/* Hide empty category page warnings and edit notices */
Line 36: Line 22:
}
}


 
/* Hide the "Category" tab on category pages (optional) */
 
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 {
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;
     display: none !important;
}
}

Revision as of 19:47, 2 January 2026

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

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

/* Hide all category links on article pages */
#catlinks {
    display: none !important;
}

/* 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;
}

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