mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-19 02:17:26 +08:00
fix: 适配夜间模式
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
--page-max-width-mobile: 900px;
|
--page-max-width-mobile: 900px;
|
||||||
--article-info-background-color: #f0f0f0;
|
--article-info-background-color: #f0f0f0;
|
||||||
--activity-card-background-color: #fafafa;
|
--activity-card-background-color: #fafafa;
|
||||||
|
--poll-option-button-background-color: rgb(218, 218, 218);
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-theme='dark'] {
|
[data-theme='dark'] {
|
||||||
@@ -61,6 +62,7 @@
|
|||||||
--blockquote-text-color: #999;
|
--blockquote-text-color: #999;
|
||||||
--article-info-background-color: #747373;
|
--article-info-background-color: #747373;
|
||||||
--activity-card-background-color: #585858;
|
--activity-card-background-color: #585858;
|
||||||
|
--poll-option-button-background-color: #3a3a3a;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root[data-frosted='off'] {
|
:root[data-frosted='off'] {
|
||||||
|
|||||||
@@ -1291,7 +1291,7 @@ onMounted(async () => {
|
|||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background-color: rgb(218, 218, 218);
|
background-color: var(--poll-option-button-background-color);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user