Jump to content

Topic on Skin talk:DarkVector/Flow

How to make links (not exist) in red?

8
Summary by Martynov Maxim

Just edit MediaWiki:Darkvector.css page, and that's all.

106.114.67.104 (talkcontribs)

I tried to add some sentences in MediaWiki:Common.css but not working. Thank for any help!

C933103 (talkcontribs)
CayceP (talkcontribs)

You can control that in darkvector.less you may want to provide other hex color values in the the a.new, if necessary enforcing them with !important

Flounder ceo (talkcontribs)

You lose the default option with Vector-DarkCSS.

Martynov Maxim (talkcontribs)

You can add lines to MediaWiki:Common.css or to MediaWiki:Darkvector.css, and they will work. This is an internal MW mechanism of page rendering, it does not depend on skin at all:





Regarding non-working sentences, maybe you should add !important directive to your styles to rewrite default ones.

Flounder ceo (talkcontribs)

The way I change link colors is by editing darkvector.less. I think I once tried the Mediawiki:Darkvector.css method and it didn't work for me.

If you want to describe which links you want changed and what color you'd like I could take a shot at writing the code for you.

CayceP (talkcontribs)

Editing the Mediawiki:Darkvector.css method didn't work for me either, same for Vector-DarkCSS. There have been a lot of chnages to the master branch of the skin recently, so maybe update the Skin files (including darkvector.less) first and then start applying changes to link colour otherwise you may lose them with the next update you do to the skin extension files.

Martynov Maxim (talkcontribs)

Can you provide a link to MediaWiki:Darkvector.css on your wiki site?


The main issue of ignoring these custom styles is just wrong page name. It should be exactly MediaWiki.Darkvector.css, not Mediawiki, and not DarkVector.


Also I didn't get why you're discussing Vector-DarkCSS extension. Only some part of this extension is used in DarkVector, the backend is completely different. These extensions have nothing in common in terms of settings or custom styling.