MediaWiki:Timeless.css: Difference between revisions
From Ghost Theory Wiki
No edit summary |
No edit summary |
||
| Line 55: | Line 55: | ||
/* | /* Broader removal of subtitle area on category pages */ | ||
body.ns-14 .mw-subtitle { | body.ns-14 #contentSub, | ||
body.ns-14 #contentSub2, | |||
body.ns-14 .mw-subtitle, | |||
body.ns-14 h1 + div { | |||
display: none !important; | display: none !important; | ||
} | } | ||
Revision as of 04:52, 16 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;
}
/* Broader removal of subtitle area on category pages */
body.ns-14 #contentSub,
body.ns-14 #contentSub2,
body.ns-14 .mw-subtitle,
body.ns-14 h1 + div {
display: none !important;
}
/* Broader kill-switch for that warning paragraph on category pages */
body.ns-14 #mw-content-text p {
display: none !important;
}
