I've taken the default Monobook skin and inverted and tweaked most of the colors in the css to get a "dark" look for my horror-themed wiki. ( http://www.fraternityofshadows.com/wiki ) But some of the links aren't following the "a" color defined in the css. I have this in the css:a { text-decoration: none; color: #989cff; background: none;}
and most links took the lighter blue color, except the personal toolbar links in the upper right (my preferences, my watchlist, etc)
Looking in the source of the page, those links are in <div class="portlet" id="p-personal"> ... <div class="pBody">
but the links themselves have no class. (some links in there have class "new" if they don't point to anything yet)
I see in the css this code: a.new, #p-personal a.new { color: #ba0000; }
which does seem to affect the "new" links in p-personal, but I tried adding this: #p-personal a { color: #989cff;}
to get the classless links, but it didn't work.
Any ideas? Ron -- Ron Laufer
try using instead #p-personal li a {color: #989cff;}
That is how the text colour is currently being defined, and the existing declaration should be in the main.css file.
Jesse Groppi On 04/01/2010 10:55, Ron Laufer wrote:
I've taken the default Monobook skin and inverted and tweaked most of the colors in the css to get a "dark" look for my horror-themed wiki. ( http://www.fraternityofshadows.com/wiki ) But some of the links aren't following the "a" color defined in the css. I have this in the css:a { text-decoration: none; color: #989cff; background: none;}
and most links took the lighter blue color, except the personal toolbar links in the upper right (my preferences, my watchlist, etc)
Looking in the source of the page, those links are in
<div class="portlet" id="p-personal"> ... <div class="pBody">
but the links themselves have no class. (some links in there have class "new" if they don't point to anything yet)
I see in the css this code: a.new, #p-personal a.new { color: #ba0000; }
which does seem to affect the "new" links in p-personal, but I tried adding this: #p-personal a { color: #989cff;}
to get the classless links, but it didn't work.
Any ideas? Ron -- Ron Laufer _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org