fix: fix image path in default article css

[autofix.ci] apply automated fixes
This commit is contained in:
YiFang Xiao 2023-10-09 18:06:54 +08:00 committed by YiFang Xiao
parent 64529805ff
commit 5e148eaea6
5 changed files with 12 additions and 12 deletions

BIN
icons/audio.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

BIN
icons/document.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

View file

@ -1,6 +1,8 @@
<RCC> <RCC>
<qresource prefix="/"> <qresource prefix="/">
<file>icons/add-anki-icon.svg</file> <file>icons/add-anki-icon.svg</file>
<file>icons/document.png</file>
<file>icons/audio.png</file>
<file>version.txt</file> <file>version.txt</file>
<file>icons/arrow.png</file> <file>icons/arrow.png</file>
<file>icons/prefix.png</file> <file>icons/prefix.png</file>

View file

@ -1661,7 +1661,7 @@ in the bottom-right corner of the content area */
.mwiki #bodyContent a.external[href$=".wma"], .mwiki #bodyContent a.external[href$=".wma"],
.mwiki #bodyContent a.external[href$=".WMA"], .mwiki #bodyContent a.external[href$=".WMA"],
.mwiki .link-audio { .mwiki .link-audio {
background: url("audio.png") center right no-repeat; background: url("qrc:///icons/audio.png") center right no-repeat;
padding-right: 1em; padding-right: 1em;
} }
.mwiki #bodyContent a.external[href$=".ogm"], .mwiki #bodyContent a.external[href$=".ogm"],
@ -1673,7 +1673,7 @@ in the bottom-right corner of the content area */
.mwiki #bodyContent a.external[href$=".mpg"], .mwiki #bodyContent a.external[href$=".mpg"],
.mwiki #bodyContent a.external[href$=".MPG"], .mwiki #bodyContent a.external[href$=".MPG"],
.mwiki .link-video { .mwiki .link-video {
background: url("video.png") center right no-repeat; background: url("qrc:///icons/video.png") center right no-repeat;
padding-right: 1em; padding-right: 1em;
} }
.mwiki #bodyContent a.external[href$=".pdf"], .mwiki #bodyContent a.external[href$=".pdf"],
@ -1683,7 +1683,7 @@ in the bottom-right corner of the content area */
.mwiki #bodyContent a.external[href*=".pdf?"], .mwiki #bodyContent a.external[href*=".pdf?"],
.mwiki #bodyContent a.external[href*=".PDF?"], .mwiki #bodyContent a.external[href*=".PDF?"],
.mwiki .link-document { .mwiki .link-document {
background: url("document.png") center right no-repeat; background: url("qrc:///icons/document.png") center right no-repeat;
padding-right: 12px; padding-right: 12px;
} }
@ -2980,8 +2980,7 @@ table#sv-hooks,
/****** Wiktionary-specific excerpts *********/ /****** Wiktionary-specific excerpts *********/
.mwiki .audiolink a { .mwiki .audiolink a {
background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/16px-Loudspeaker.svg.png") background: url("qrc:///icons/audio.png") center left no-repeat !important;
center left no-repeat !important;
padding-left: 20px !important; padding-left: 20px !important;
padding-right: 0 !important; padding-right: 0 !important;
} }

View file

@ -1720,7 +1720,7 @@ in the bottom-right corner of the content area */
.mwiki #bodyContent a.external[href$=".wma"], .mwiki #bodyContent a.external[href$=".wma"],
.mwiki #bodyContent a.external[href$=".WMA"], .mwiki #bodyContent a.external[href$=".WMA"],
.mwiki .link-audio { .mwiki .link-audio {
background: url("audio.png") center right no-repeat; background: url("qrc:///icons/audio.png") center right no-repeat;
padding-right: 1em; padding-right: 1em;
} }
.mwiki #bodyContent a.external[href$=".ogm"], .mwiki #bodyContent a.external[href$=".ogm"],
@ -1732,7 +1732,7 @@ in the bottom-right corner of the content area */
.mwiki #bodyContent a.external[href$=".mpg"], .mwiki #bodyContent a.external[href$=".mpg"],
.mwiki #bodyContent a.external[href$=".MPG"], .mwiki #bodyContent a.external[href$=".MPG"],
.mwiki .link-video { .mwiki .link-video {
background: url("video.png") center right no-repeat; background: url("qrc:///icons/video.png") center right no-repeat;
padding-right: 1em; padding-right: 1em;
} }
.mwiki #bodyContent a.external[href$=".pdf"], .mwiki #bodyContent a.external[href$=".pdf"],
@ -1742,7 +1742,7 @@ in the bottom-right corner of the content area */
.mwiki #bodyContent a.external[href*=".pdf?"], .mwiki #bodyContent a.external[href*=".pdf?"],
.mwiki #bodyContent a.external[href*=".PDF?"], .mwiki #bodyContent a.external[href*=".PDF?"],
.mwiki .link-document { .mwiki .link-document {
background: url("document.png") center right no-repeat; background: url("qrc:///icons/document.png") center right no-repeat;
padding-right: 12px; padding-right: 12px;
} }
@ -3039,8 +3039,7 @@ table#sv-hooks,
/****** Wiktionary-specific excerpts *********/ /****** Wiktionary-specific excerpts *********/
.mwiki .audiolink a { .mwiki .audiolink a {
background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/16px-Loudspeaker.svg.png") background: url("qrc:///icons/audio.png") center left no-repeat !important;
center left no-repeat !important;
padding-left: 20px !important; padding-left: 20px !important;
padding-right: 0 !important; padding-right: 0 !important;
} }
@ -3064,7 +3063,7 @@ table#sv-hooks,
height: 16px; height: 16px;
vertical-align: text-bottom; vertical-align: text-bottom;
background-size: contain; background-size: contain;
content: url("qrc://localhost/icons/arrow.png"); content: url("qrc:///icons/arrow.png");
} }
.gdcollapseicon { .gdcollapseicon {
@ -3073,7 +3072,7 @@ table#sv-hooks,
height: 16px; height: 16px;
vertical-align: text-bottom; vertical-align: text-bottom;
background-size: contain; background-size: contain;
content: url("qrc://localhost/icons/downarrow.png"); content: url("qrc:///icons/downarrow.png");
} }
/********** Slob dictionaries ***********/ /********** Slob dictionaries ***********/