Difference between revisions of "Help:Todo List/Improve Cat Films Plan B"

From Ephemeral Film Wiki
Jump to navigation Jump to search
(Created page with "The second solution does the same thing with CSS basically: <nowiki>// Strip "Foo:" namespace from category pages fix div#mw-pages // declare the...")
 
Line 1: Line 1:
The second solution does the same thing with CSS basically:
The second solution does the same thing with CSS basically:
<nowiki>// Strip "Foo:" namespace from category pages fix
<nowiki><pre>
// Strip "Foo:" namespace from category pages fix
div#mw-pages                              // declare the category listing section
div#mw-pages                              // declare the category listing section
a[title^='Foo:'] {
a[title^='Foo:'] {
Line 9: Line 10:
     text-indent: -1em;      // fudge this number until your Foo: prefix disappears
     text-indent: -1em;      // fudge this number until your Foo: prefix disappears
}
}
// strip "NS:" namespace from category pages fix end</nowiki>
// strip "NS:" namespace from category pages fix end
</pre></nowiki>

Revision as of 23:35, 27 November 2021

The second solution does the same thing with CSS basically: <pre> // 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 </pre>