forked from AnYiEE/AwesomeGadgets
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(SkinCitizen_CSS): 修复工具栏样式和图片背景色问题
- 修复了工具栏样式,防止在无内容时显示 - 优化了图片背景色设置,适应深色模式 - 调整了代码格式,提高了可读性
- Loading branch information
Showing
3 changed files
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
// 修复图片背景色。 by awajie | ||
.client-darkmode { | ||
&[typeof~='mw:File'] img, | ||
&[typeof~='mw:File/Thumb'] img, | ||
&[typeof~='mw:File/Frame'] img, | ||
&[typeof~='mw:File/Frameless'] img, | ||
.mw-halign-left img, | ||
.mw-halign-right img, | ||
.mw-halign-center img { | ||
width: auto; | ||
background: rgba(0, 0, 0, 0) !important; | ||
} | ||
[typeof~='mw:File'] img, | ||
[typeof~='mw:File/Thumb'] img, | ||
[typeof~='mw:File/Frame'] img, | ||
[typeof~='mw:File/Frameless'] img, | ||
.mw-halign-left img, | ||
.mw-halign-right img, | ||
.mw-halign-center img { | ||
width: auto; | ||
background: rgba(0, 0, 0, 0) !important; | ||
} | ||
} |