arsava / dokuwiki-template-vector

"vector" brings you the MediaWiki/Wikipedia 2010 look and feel for DokuWiki.
http://www.dokuwiki.org/template:vector
GNU General Public License v2.0
38 stars 9 forks source link

wrong solved urls in css #29

Open Klap-in opened 10 years ago

Klap-in commented 10 years ago

Some not correct parsed urls:

at https://github.com/arsava/dokuwiki-template-vector/blob/master/static/3rd/vector/main-ltr.css#L1036

background: url("images/audio-icon.png") center right no-repeat;

is parsed as [wiki]/lib/tpl/vector/images/audio-icon.png

Solution:

background: url("../../images/audio-icon.png") center right no-repeat;

More general question: Is this maybe duplicated css code with respect to DokuWiki default media layouting?

selfthinker commented 9 years ago

Duplicate of #26, #27, #28 and #29.

This is a bug in the DokuWiki core (see splitbrain/dokuwiki#683). Until the core issue is fixed, you can "fix" it by disabling compression [https://www.dokuwiki.org/config:compress]

Klap-in commented 9 years ago

No, that is not related, so no duplicate. However I interpret the situation a bit wrong. So my suggestion was not correct.

Now I see that he would point to the file: https://github.com/arsava/dokuwiki-template-vector/blob/master/static/3rd/vector/audio-icon.png that still requires two fixes in this piece of the css:

Question: is it not more consistent to use for these external urls the same icons as for media syntaxes? That is using the icons in /lib/images/fileicons/?