Help:Todo List/Improve Cat Films Plan B

From Ephemeral Film Wiki
< Help:Todo List
Revision as of 23:35, 27 November 2021 by JJR (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The second solution does the same thing with CSS basically:

// Strip "Foo:" namespace from category pages fix
div#mw-pages                               // declare the category listing section
a[title^='Foo:'] {
    font-family: 'Lucida Grande', Arial, monospace;  // your font(s) +", monspace"
    font-size: 12px;        // Set to whatever font-size those items currently use
    display: inline-block;
    overflow: hidden;
    text-indent: -1em;      // fudge this number until your Foo: prefix disappears
}
// strip "NS:" namespace from category pages fix end