适配Citizen色板

master
落雨楓 4 months ago
parent f49bd60c6a
commit f3a256e429

@ -66,3 +66,20 @@
padding-left: 0; padding-left: 0;
margin-left: 8px; margin-left: 8px;
} }
// 使用Citizen色板
.skin-citizen {
.isekai-collapse {
background: var(--color-surface-1);
.isekai-collapse-title {
background-color: var(--color-surface-2);
color: var(--color-base);
&::before {
top: 1.5rem;
border-color: transparent transparent transparent var(--color-base);
}
}
}
}

@ -217,39 +217,51 @@
padding: 0.5em 1em; padding: 0.5em 1em;
} }
.skin-citizen-dark, .skin-timeless-dark { .skin-citizen {
.isekai-list { .isekai-list {
a { a {
color: white; color: var(--color-base);
text-decoration: none; text-decoration: none;
&:hover { &:hover {
color: white; color: var(--color-base);
text-decoration: none; text-decoration: none;
} }
&:visited { &:visited {
color: white; color: var(--color-base);
text-decoration: none; text-decoration: none;
&:hover { &:hover {
color: white; color: var(--color-base);
text-decoration: none; text-decoration: none;
} }
} }
} }
.isekai-list-item {
border-bottom: 1px solid var(--border-color-base);
&.active {
box-shadow: inset 4px 0 0 0 var(--color-progressive);
}
}
} }
.isekai-well { .isekai-well {
background-color: #090909; background-color: var(--color-surface-1);
} }
.isekai-card { .isekai-card {
background-color: #000; background-color: var(--color-surface-1);
.card-header { .card-header {
background-color: #090909; background-color: var(--color-surface-2);
color: white; color: var(--color-base);
} }
.card-title {
border-bottom: 1px solid var(--border-color-base);
}
} }
} }

@ -1,10 +1,6 @@
@feed-list-height: 23.3rem; @feed-list-height: 23.3rem;
@feed-list-height-mobile: 70vh; @feed-list-height-mobile: 70vh;
.isekai-feed-list-card > .card-header {
height: 2.2rem;
}
.isekai-feed-list { .isekai-feed-list {
margin: 0; margin: 0;
height: @feed-list-height; height: @feed-list-height;

@ -257,6 +257,7 @@ $(function() {
var menuNumStringBuilder = []; var menuNumStringBuilder = [];
headNum[indentNum - 1] ++; headNum[indentNum - 1] ++;
for (var i = 0; i < indentNum; i ++) { for (var i = 0; i < indentNum; i ++) {
if (headNum[i] == 0) continue;
menuNumStringBuilder.push(headNum[i]); menuNumStringBuilder.push(headNum[i]);
} }
for (var i = indentNum; i < headNum.length; i ++) { for (var i = indentNum; i < headNum.length; i ++) {

@ -76,6 +76,7 @@
.card-header { .card-header {
flex: 0 0; flex: 0 0;
border-top-left-radius: 0;
} }
.back-button-container { .back-button-container {

Loading…
Cancel
Save