🎨 代码格式化

This commit is contained in:
BTMuli
2023-06-26 20:56:08 +08:00
parent 8e8c01c40c
commit 2591e86e2e
54 changed files with 437 additions and 437 deletions

View File

@@ -6,25 +6,25 @@
*/ */
.anno-body { .anno-body {
margin: 0 auto;
width: 800px; width: 800px;
margin: 0 auto;
font-family: var(--font-text); font-family: var(--font-text);
} }
.anno-title { .anno-title {
font-family: var(--font-title);
color: var(--common-text-title); color: var(--common-text-title);
font-family: var(--font-title);
font-size: 24px; font-size: 24px;
} }
.anno-subtitle { .anno-subtitle {
font-size: 16px;
color: var(--common-text-quote); color: var(--common-text-quote);
font-size: 16px;
} }
.anno-img { .anno-img {
max-width: 100%;
width: 800px; width: 800px;
max-width: 100%;
height: auto; height: auto;
border-radius: 10px; border-radius: 10px;
margin-bottom: 10px; margin-bottom: 10px;
@@ -46,13 +46,13 @@
} }
.anno-content :deep(p) { .anno-content :deep(p) {
line-height: 2;
color: #4b5366; color: #4b5366;
line-height: 2;
} }
.anno-content :deep(details) { .anno-content :deep(details) {
border: #35acce 2px solid;
padding: 10px; padding: 10px;
border: #35acce 2px solid;
border-radius: 10px; border-radius: 10px;
margin: 10px; margin: 10px;
} }
@@ -71,6 +71,6 @@
} }
.anno-content :deep(td) { .anno-content :deep(td) {
line-height: 2;
padding-left: 10px; padding-left: 10px;
line-height: 2;
} }

View File

@@ -6,21 +6,21 @@
*/ */
.mys-post-body { .mys-post-body {
margin: 0 auto;
width: 800px; width: 800px;
font-family: var(--font-text); margin: 0 auto;
color: var(--post-default-text); color: var(--post-default-text);
font-family: var(--font-text);
} }
.mys-post-title { .mys-post-title {
font-family: var(--font-title);
color: var(--common-text-title); color: var(--common-text-title);
font-family: var(--font-title);
font-size: 24px; font-size: 24px;
} }
.mys-post-subtitle { .mys-post-subtitle {
font-size: 16px;
color: var(--common-text-quote); color: var(--common-text-quote);
font-size: 16px;
} }
.mys-post-content { .mys-post-content {
@@ -41,8 +41,8 @@
} }
:deep(.mys-post-details) { :deep(.mys-post-details) {
border: #35acce 2px solid;
padding: 10px; padding: 10px;
border: #35acce 2px solid;
border-radius: 10px; border-radius: 10px;
} }
@@ -61,8 +61,8 @@
} }
:deep(.mys-post-img) { :deep(.mys-post-img) {
max-width: 100%;
width: 800px; width: 800px;
max-width: 100%;
height: auto; height: auto;
border-radius: 10px; border-radius: 10px;
} }
@@ -74,31 +74,31 @@
} }
:deep(.mys-post-iframe) { :deep(.mys-post-iframe) {
overflow: hidden;
width: 800px; width: 800px;
height: 450px; height: 450px;
overflow: hidden;
border: 0; border: 0;
border-radius: 10px; border-radius: 10px;
} }
:deep(.mys-post-link-card) { :deep(.mys-post-link-card) {
display: flex;
width: 800px; width: 800px;
height: 200px; height: 200px;
padding: 10px; padding: 10px;
border-radius: 10px; border-radius: 10px;
display: flex;
background: var(--content-bg-2); background: var(--content-bg-2);
} }
:deep(.mys-post-unknown) { :deep(.mys-post-unknown) {
width: 800px; width: 800px;
padding: 10px;
border: 2px solid #485466;
border-radius: 10px;
margin: 10px auto;
background: #5b738f; background: #5b738f;
color: #faf7e8; color: #faf7e8;
font-family: Consolas, monospace; font-family: Consolas, monospace;
border-radius: 10px;
padding: 10px;
margin: 10px auto;
border: 2px solid #485466;
} }
:deep(.mys-post-link-card-cover) { :deep(.mys-post-link-card-cover) {
@@ -108,36 +108,36 @@
} }
:deep(.mys-post-link-card-cover) img { :deep(.mys-post-link-card-cover) img {
max-width: 400px;
width: auto; width: auto;
max-width: 400px;
height: 180px; height: 180px;
border-radius: 10px; border-radius: 10px;
} }
:deep(.mys-post-link-card-content) { :deep(.mys-post-link-card-content) {
width: 100%; width: 100%;
padding-left: 20px;
height: 180px; height: 180px;
padding-left: 20px;
} }
:deep(.mys-post-link-card-title) { :deep(.mys-post-link-card-title) {
font-size: 20px;
font-family: Genshin, serif;
color: #546d8b;
height: 150px; height: 150px;
color: #546d8b;
font-family: Genshin, serif;
font-size: 20px;
} }
:deep(.mys-post-link-card-price) { :deep(.mys-post-link-card-price) {
display: inline-block;
color: #ff6d6d;
font-size: 20px; font-size: 20px;
font-weight: bold; font-weight: bold;
color: #ff6d6d;
display: inline-block;
} }
:deep(.mys-post-link-card-btn) { :deep(.mys-post-link-card-btn) {
display: inline-block; display: inline-block;
float: right;
color: #00c3ff;
margin-right: 20px; margin-right: 20px;
color: #00c3ff;
float: right;
text-decoration: none; text-decoration: none;
} }

View File

@@ -39,13 +39,13 @@ html {
} }
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {
background: #faf7e8;
border-radius: 5px; border-radius: 5px;
background: #faf7e8;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background: #686868;
border-radius: 5px; border-radius: 5px;
background: #686868;
} }
::-webkit-scrollbar-thumb:hover { ::-webkit-scrollbar-thumb:hover {
@@ -63,10 +63,10 @@ html {
/* card action 内的按钮 */ /* card action 内的按钮 */
.card-btn { .card-btn {
background: #4a5366;
color: #ece5d8;
border-radius: 50px; border-radius: 50px;
margin-left: 5px; margin-left: 5px;
background: #4a5366;
color: #ece5d8;
} }
.card-btn img { .card-btn img {

View File

@@ -17,7 +17,7 @@ html.dark {
--common-bg-1: #3d424b; /* 一级背景色 */ --common-bg-1: #3d424b; /* 一级背景色 */
--common-bgt-1: #faf7e8; /* 一级背景色对应的文本色 */ --common-bgt-1: #faf7e8; /* 一级背景色对应的文本色 */
--common-bg-2: #3b3d3b; /* button 背景色 */ --common-bg-2: #3b3d3b; /* button 背景色 */
--common-bgt-2: #faf7e8; /* button 背景色对应的文本色 */ --common-bgt-2: #fec90b; /* button 背景色对应的文本色 */
/* text */ /* text */
--common-text-title: var(--common-color-white); /* title */ --common-text-title: var(--common-color-white); /* title */

View File

@@ -17,7 +17,7 @@ html.default {
--common-bg-1: #faf7e8; /* 一级背景色 */ --common-bg-1: #faf7e8; /* 一级背景色 */
--common-bgt-1: #3d424b; /* 一级背景色对应的文本色 */ --common-bgt-1: #3d424b; /* 一级背景色对应的文本色 */
--common-bg-2: #fec90b; /* button 背景色 */ --common-bg-2: #fec90b; /* button 背景色 */
--common-bgt-2: #393b40; /* button 背景色对应的文本色 */ --common-bgt-2: #5b738f; /* button 背景色对应的文本色 */
--common-text-title: #393b40; /* title */ --common-text-title: #393b40; /* title */
--common-text-content: var(--common-color-blue-2); /* text */ --common-text-content: var(--common-color-blue-2); /* text */

View File

@@ -61,16 +61,16 @@ onMounted(() => {
.back-top:hover { .back-top:hover {
border-radius: 50%; border-radius: 50%;
box-shadow: 0 0 10px 5px var(--back-top-shadow);
cursor: pointer; cursor: pointer;
transform: scale(0.9); transform: scale(0.9);
transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out;
box-shadow: 0 0 10px 5px var(--back-top-shadow);
} }
.back-top img { .back-top img {
transition: all 0.3s ease-in-out;
width: 60px; width: 60px;
height: 60px; height: 60px;
transition: all 0.3s ease-in-out;
} }
/* 动画 */ /* 动画 */

View File

@@ -148,21 +148,21 @@ function getContents(day: number): void {
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.calendar-box { .calendar-box {
margin-bottom: 10px;
padding: 10px; padding: 10px;
box-shadow: 0 0 10px var(--common-shadow-4);
border-radius: 5px; border-radius: 5px;
margin-bottom: 10px;
box-shadow: 0 0 10px var(--common-shadow-4);
} }
.calendar-title { .calendar-title {
color: var(--common-text-title);
font-family: var(--font-title);
font-size: 20px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: start; justify-content: start;
column-gap: 2rem;
padding-bottom: 5px; padding-bottom: 5px;
color: var(--common-text-title);
column-gap: 2rem;
font-family: var(--font-title);
font-size: 20px;
} }
.calendar-title-left { .calendar-title-left {
@@ -180,20 +180,20 @@ function getContents(day: number): void {
} }
.calendar-btn { .calendar-btn {
border-radius: 5px;
background: var(--common-bg-1); background: var(--common-bg-1);
color: var(--common-bgt-1); color: var(--common-bgt-1);
border-radius: 5px;
} }
.calendar-btn-selected { .calendar-btn-selected {
border-radius: 5px;
background: var(--common-bg-2); background: var(--common-bg-2);
color: var(--common-bgt-2); color: var(--common-bgt-2);
border-radius: 5px;
} }
.calendar-grid { .calendar-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
grid-gap: 10px; grid-gap: 10px;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
} }
</style> </style>

View File

@@ -37,30 +37,30 @@ const props = defineProps<TItemBox2Props>();
<style lang="css" scoped> <style lang="css" scoped>
.tib2-box { .tib2-box {
position: relative; position: relative;
height: v-bind(props[ "modelValue"][ "height"]);
width: v-bind(props[ "modelValue"][ "width"]);
display: flex; display: flex;
width: v-bind(props[ "modelValue"][ "width"]);
height: v-bind(props[ "modelValue"][ "height"]);
border-radius: 5px; border-radius: 5px;
background: rgb(20 20 20 / 30%); background: rgb(20 20 20 / 30%);
} }
.tib2-left { .tib2-left {
overflow: hidden;
width: v-bind(props[ "modelValue"][ "height"]); width: v-bind(props[ "modelValue"][ "height"]);
height: v-bind(props[ "modelValue"][ "height"]); height: v-bind(props[ "modelValue"][ "height"]);
border-top-left-radius: 5px;
border-bottom-left-radius: 5px; border-bottom-left-radius: 5px;
overflow: hidden; border-top-left-radius: 5px;
} }
.tib2-bg, .tib2-bg,
.tib2-icon { .tib2-icon {
position: absolute; position: absolute;
top: 0; top: 0;
overflow: hidden;
width: v-bind(props[ "modelValue"][ "height"]); width: v-bind(props[ "modelValue"][ "height"]);
height: v-bind(props[ "modelValue"][ "height"]); height: v-bind(props[ "modelValue"][ "height"]);
border-top-left-radius: 5px;
border-bottom-left-radius: 5px; border-bottom-left-radius: 5px;
overflow: hidden; border-top-left-radius: 5px;
} }
.tib2-bg img, .tib2-bg img,
@@ -82,12 +82,12 @@ const props = defineProps<TItemBox2Props>();
} }
.tib2-right { .tib2-right {
margin-left: 5px;
display: flex; display: flex;
overflow: hidden;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: calc(0.2 * v-bind(props[ "modelValue"][ "height"])); margin-left: 5px;
color: var(--common-color-white); color: var(--common-color-white);
overflow: hidden; font-size: calc(0.2 * v-bind(props[ "modelValue"][ "height"]));
} }
</style> </style>

View File

@@ -78,10 +78,10 @@ const getOuterFont = computed(() => `${props.modelValue.outerHeight / 2}px`);
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
overflow: hidden;
width: v-bind(modelValue[ "size"]); width: v-bind(modelValue[ "size"]);
height: v-bind(modelValue[ "size"]); height: v-bind(modelValue[ "size"]);
border-radius: 5px; border-radius: 5px;
overflow: hidden;
} }
.tib-bg img { .tib-bg img {
@@ -92,9 +92,9 @@ const getOuterFont = computed(() => `${props.modelValue.outerHeight / 2}px`);
.tib-icon { .tib-icon {
position: relative; position: relative;
overflow: hidden;
width: v-bind(modelValue[ "size"]); width: v-bind(modelValue[ "size"]);
height: v-bind(modelValue[ "size"]); height: v-bind(modelValue[ "size"]);
overflow: hidden;
border-radius: 5px; border-radius: 5px;
} }
@@ -108,25 +108,25 @@ const getOuterFont = computed(() => `${props.modelValue.outerHeight / 2}px`);
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
display: flex;
width: v-bind(modelValue[ "size"]); width: v-bind(modelValue[ "size"]);
height: v-bind(modelValue[ "size"]); height: v-bind(modelValue[ "size"]);
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column; flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 5px;
} }
.tib-lt { .tib-lt {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
padding: 5px; display: flex;
width: v-bind(modelValue[ "ltSize"]); width: v-bind(modelValue[ "ltSize"]);
height: v-bind(modelValue[ "ltSize"]); height: v-bind(modelValue[ "ltSize"]);
display: flex;
justify-content: center;
align-items: center; align-items: center;
justify-content: center;
padding: 5px;
} }
.tib-lt img { .tib-lt img {
@@ -139,33 +139,33 @@ const getOuterFont = computed(() => `${props.modelValue.outerHeight / 2}px`);
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
display: flex;
width: v-bind(modelValue[ "rtSize"]); width: v-bind(modelValue[ "rtSize"]);
height: v-bind(modelValue[ "rtSize"]); height: v-bind(modelValue[ "rtSize"]);
background: rgb(0 0 0 / 40%);
border-top-right-radius: 5px;
border-bottom-left-radius: 5px;
display: flex;
justify-content: center;
align-items: center; align-items: center;
font-family: var(--font-title); justify-content: center;
background: rgb(0 0 0 / 40%);
border-bottom-left-radius: 5px;
border-top-right-radius: 5px;
color: var(--common-color-white); color: var(--common-color-white);
font-family: var(--font-title);
} }
.tib-inner { .tib-inner {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; left: 0;
display: flex;
width: 100%; width: 100%;
height: v-bind(getInnerHeight); height: v-bind(getInnerHeight);
display: flex;
justify-content: center;
align-items: center; align-items: center;
justify-content: center;
background: rgb(20 20 20 / 40%); background: rgb(20 20 20 / 40%);
border-bottom-left-radius: 5px; border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px; border-bottom-right-radius: 5px;
color: var(--common-color-white); color: var(--common-color-white);
font-size: v-bind(getInnerFont);
font-family: var(--font-title); font-family: var(--font-title);
font-size: v-bind(getInnerFont);
} }
.tib-inner img { .tib-inner img {
@@ -179,8 +179,8 @@ const getOuterFont = computed(() => `${props.modelValue.outerHeight / 2}px`);
bottom: 0; bottom: 0;
width: 100%; width: 100%;
height: v-bind(getOuterHeight); height: v-bind(getOuterHeight);
text-align: center;
color: var(--common-text-title); color: var(--common-text-title);
font-size: v-bind(getOuterFont); font-size: v-bind(getOuterFont);
text-align: center;
} }
</style> </style>

View File

@@ -86,15 +86,15 @@ watch(
.tolo-box { .tolo-box {
position: fixed; position: fixed;
left: 0; z-index: 100;
top: 0; top: 0;
left: 0;
display: flex;
width: 100%; width: 100%;
height: 100%; height: 100%;
display: flex;
justify-content: center;
align-items: center; align-items: center;
background: rgb(0 0 0 / 50%); justify-content: center;
backdrop-filter: blur(v-bind(blurVal)); backdrop-filter: blur(v-bind(blurVal));
z-index: 100; background: rgb(0 0 0 / 50%);
} }
</style> </style>

View File

@@ -219,45 +219,45 @@ onUnmounted(() => {
<style lang="css" scoped> <style lang="css" scoped>
.pool-box { .pool-box {
margin-bottom: 10px;
padding: 10px; padding: 10px;
box-shadow: 0 0 10px var(--common-shadow-4);
border-radius: 5px; border-radius: 5px;
margin-bottom: 10px;
box-shadow: 0 0 10px var(--common-shadow-4);
} }
.pool-title { .pool-title {
display: flex;
color: var(--common-text-title); color: var(--common-text-title);
font-family: var(--font-title); font-family: var(--font-title);
font-size: 20px; font-size: 20px;
display: flex;
} }
.pool-title img { .pool-title img {
width: 25px; width: 25px;
height: 25px; height: 25px;
transform: translate(0, 2px);
margin-right: 10px;
border-radius: 50%; border-radius: 50%;
margin-right: 10px;
background: var(--common-shadow-2); background: var(--common-shadow-2);
transform: translate(0, 2px);
} }
.pool-grid { .pool-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
grid-gap: 20px;
margin-top: 10px; margin-top: 10px;
grid-gap: 20px;
grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
} }
.pool-card { .pool-card {
border-radius: 5px;
background: var(--common-bg-1); background: var(--common-bg-1);
color: var(--common-bgt-1); color: var(--common-bgt-1);
border-radius: 5px;
} }
.pool-list { .pool-list {
font-family: var(--font-title);
background: inherit; background: inherit;
color: inherit; color: inherit;
font-family: var(--font-title);
} }
.pool-voice-icon { .pool-voice-icon {
@@ -267,20 +267,20 @@ onUnmounted(() => {
} }
.pool-cover { .pool-cover {
margin: 0 20px 10px; display: flex;
overflow: hidden;
width: calc(100% - 40px); width: calc(100% - 40px);
height: auto; height: auto;
overflow: hidden;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center; align-items: center;
justify-content: center;
border-radius: 5px;
margin: 0 20px 10px;
} }
.pool-cover img { .pool-cover img {
width: 100%; width: 100%;
transition: all 0.5s;
border-radius: 10px; border-radius: 10px;
transition: all 0.5s;
} }
.pool-cover :hover { .pool-cover :hover {
@@ -290,16 +290,16 @@ onUnmounted(() => {
} }
.pool-character { .pool-character {
margin: 0 20px; display: flex;
width: 100%; width: 100%;
height: 70px; height: 70px;
display: flex; margin: 0 20px;
} }
.pool-icon-grid { .pool-icon-grid {
display: grid; display: grid;
grid-template-columns: repeat(4, 70px);
grid-column-gap: 10px; grid-column-gap: 10px;
grid-template-columns: repeat(4, 70px);
} }
.pool-icon { .pool-icon {

View File

@@ -138,19 +138,19 @@ onUnmounted(() => {
<style lang="css" scoped> <style lang="css" scoped>
.position-box { .position-box {
margin-bottom: 10px;
padding: 10px; padding: 10px;
box-shadow: 0 0 10px var(--common-shadow-4);
border-radius: 5px; border-radius: 5px;
margin-bottom: 10px;
box-shadow: 0 0 10px var(--common-shadow-4);
} }
.position-title { .position-title {
color: var(--common-text-title);
font-family: var(--font-title);
font-size: 20px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: start; justify-content: start;
color: var(--common-text-title);
font-family: var(--font-title);
font-size: 20px;
} }
.position-title img { .position-title img {
@@ -161,27 +161,27 @@ onUnmounted(() => {
.position-grid { .position-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(calc(400px + 2rem), 1fr));
grid-gap: 20px;
margin-top: 10px; margin-top: 10px;
grid-gap: 20px;
grid-template-columns: repeat(auto-fill, minmax(calc(400px + 2rem), 1fr));
} }
.position-card { .position-card {
border-radius: 5px;
background: var(--common-bg-1); background: var(--common-bg-1);
color: var(--common-bgt-1); color: var(--common-bgt-1);
border-radius: 5px;
} }
.position-list { .position-list {
font-family: var(--font-title);
background: inherit; background: inherit;
color: inherit; color: inherit;
font-family: var(--font-title);
} }
.position-list :deep(img) { .position-list :deep(img) {
border-radius: 5px;
width: 100%; width: 100%;
height: 100%; height: 100%;
border-radius: 5px;
object-fit: contain; object-fit: contain;
transition: all 0.3s; transition: all 0.3s;
} }
@@ -192,8 +192,8 @@ onUnmounted(() => {
} }
.position-card-text { .position-card-text {
min-width: 200px;
display: inline-block; display: inline-block;
min-width: 200px;
align-items: center; align-items: center;
} }

View File

@@ -25,9 +25,9 @@ async function shareContent() {
position: absolute; position: absolute;
top: 20px; top: 20px;
right: 20px; right: 20px;
cursor: pointer;
border-radius: 50%;
border: var(--theme-switch-icon) 2px solid; border: var(--theme-switch-icon) 2px solid;
border-radius: 50%;
cursor: pointer;
} }
.share-box:hover { .share-box:hover {
@@ -35,12 +35,12 @@ async function shareContent() {
} }
.share-btn { .share-btn {
display: flex;
width: 24px; width: 24px;
height: 24px; height: 24px;
display: flex;
justify-content: center;
align-items: center; align-items: center;
margin: 5px; justify-content: center;
padding-right: 2px; padding-right: 2px;
margin: 5px;
} }
</style> </style>

View File

@@ -195,27 +195,27 @@ async function switchTheme() {
} }
.side-list { .side-list {
font-family: var(--font-title);
height: 100%; height: 100%;
font-family: var(--font-title);
} }
.bottom-menu { .bottom-menu {
position: absolute; position: absolute;
width: 100%;
bottom: 0; bottom: 0;
width: 100%;
} }
.side-icon { .side-icon {
width: 24px; width: 24px;
height: 24px; height: 24px;
margin-right: 32px;
border-radius: 5px; border-radius: 5px;
margin-right: 32px;
} }
.side-icon-mini { .side-icon-mini {
width: 36px; width: 36px;
height: 36px; height: 36px;
transform: translateX(-6px);
margin-right: 20px; margin-right: 20px;
transform: translateX(-6px);
} }
</style> </style>

View File

@@ -15,15 +15,15 @@ defineProps({
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.tsl-box { .tsl-box {
background: var(--common-shadow-2);
display: flex; display: flex;
align-items: center;
height: 30px; height: 30px;
align-items: center;
padding: 0 10px; padding: 0 10px;
margin: 5px 0;
border-radius: 5px; border-radius: 5px;
font-family: var(--font-text); margin: 5px 0;
background: var(--common-shadow-2);
color: var(--common-color-white); color: var(--common-color-white);
font-family: var(--font-text);
} }
.tsl-box img { .tsl-box img {

View File

@@ -48,9 +48,9 @@ async function listenOnTheme() {
position: absolute; position: absolute;
top: 20px; top: 20px;
left: 20px; left: 20px;
cursor: pointer;
border-radius: 50%;
border: var(--theme-switch-icon) 2px solid; border: var(--theme-switch-icon) 2px solid;
border-radius: 50%;
cursor: pointer;
} }
.switch-box:hover { .switch-box:hover {
@@ -58,9 +58,9 @@ async function listenOnTheme() {
} }
.switch-btn { .switch-btn {
display: flex;
width: 24px; width: 24px;
height: 24px; height: 24px;
display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin: 5px; margin: 5px;

View File

@@ -95,30 +95,30 @@ function toDetail(item: TGApp.App.Calendar.Item) {
.box-div { .box-div {
height: 200px; height: 200px;
background: rgb(255 255 255 / 30%); align-items: center;
padding: 10px; padding: 10px;
border-radius: 5px; border-radius: 5px;
background: rgb(255 255 255 / 30%);
color: #faf7e8; color: #faf7e8;
align-items: center;
} }
.toc-top { .toc-top {
height: 100px;
width: 100%;
display: flex; display: flex;
width: 100%;
height: 100px;
} }
.toc-icon { .toc-icon {
height: 100px;
width: 100px; width: 100px;
height: 100px;
} }
.toc-material-grid { .toc-material-grid {
display: grid;
margin-left: 10px; margin-left: 10px;
font-family: Genshin, serif; font-family: Genshin, serif;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 10px; grid-gap: 10px;
grid-template-columns: repeat(2, 1fr);
} }
.toc-line { .toc-line {
@@ -127,13 +127,13 @@ function toDetail(item: TGApp.App.Calendar.Item) {
} }
.toc-bottom { .toc-bottom {
background: rgb(0 0 0 / 30%);
padding: 3px 10px;
width: 420px;
border-radius: 5px;
display: flex; display: flex;
justify-content: space-between; width: 420px;
align-items: center; align-items: center;
justify-content: space-between;
padding: 3px 10px;
border-radius: 5px;
background: rgb(0 0 0 / 30%);
} }
.toc-bottom img { .toc-bottom img {
@@ -142,20 +142,20 @@ function toDetail(item: TGApp.App.Calendar.Item) {
} }
.toc-src-box { .toc-src-box {
display: flex;
width: 300px; width: 300px;
height: 50px; height: 50px;
display: flex;
justify-content: left;
align-items: center; align-items: center;
justify-content: left;
} }
.toc-src-text { .toc-src-text {
height: 50px;
font-size: 20px;
font-family: Genshin-Light, serif;
display: flex; display: flex;
justify-content: center; height: 50px;
align-items: center; align-items: center;
justify-content: center;
font-family: Genshin-Light, serif;
font-size: 20px;
} }
.toc-btn-img { .toc-btn-img {
@@ -164,22 +164,22 @@ function toDetail(item: TGApp.App.Calendar.Item) {
} }
.close-div { .close-div {
height: 60px;
width: 100%;
display: flex; display: flex;
justify-content: center; width: 100%;
height: 60px;
align-items: center; align-items: center;
justify-content: center;
} }
.close-btn { .close-btn {
border-radius: 50%; display: flex;
width: 30px; width: 30px;
height: 30px; height: 30px;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgb(255 255 255 / 30%); background: rgb(255 255 255 / 30%);
color: #faf7e8; color: #faf7e8;
cursor: pointer; cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
} }
</style> </style>

View File

@@ -105,32 +105,32 @@ function toChannel(link: string) {
} }
.toc-top { .toc-top {
padding: 10px;
border-radius: 5px; border-radius: 5px;
background: rgb(255 255 255 / 30%); background: rgb(255 255 255 / 30%);
padding: 10px;
} }
.toc-title { .toc-title {
color: var(--common-color-blue);
font-family: var(--font-title); font-family: var(--font-title);
font-size: 20px; font-size: 20px;
color: var(--common-color-blue);
} }
.toc-list { .toc-list {
margin-top: 10px;
display: grid; display: grid;
grid-template-columns: repeat(2, 1fr); margin-top: 10px;
grid-gap: 10px; grid-gap: 10px;
grid-template-columns: repeat(2, 1fr);
} }
.toc-list-item { .toc-list-item {
cursor: pointer;
display: flex; display: flex;
background: rgb(0 0 0 / 20%);
border-radius: 5px;
align-items: center; align-items: center;
justify-content: start; justify-content: start;
border-radius: 5px;
background: rgb(0 0 0 / 20%);
color: var(--common-color-black); color: var(--common-color-black);
cursor: pointer;
transition: all 0.5s linear; transition: all 0.5s linear;
} }
@@ -142,34 +142,34 @@ function toChannel(link: string) {
.toc-list-item img { .toc-list-item img {
width: 45px; width: 45px;
height: 45px; height: 45px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
margin-right: 10px; margin-right: 10px;
border-bottom-left-radius: 5px;
border-top-left-radius: 5px;
} }
.toc-list-item span { .toc-list-item span {
margin-right: 10px;
font-family: var(--font-title); font-family: var(--font-title);
font-size: 16px; font-size: 16px;
margin-right: 10px;
} }
.toc-close { .toc-close {
height: 60px;
width: 100%;
display: flex; display: flex;
justify-content: center; width: 100%;
height: 60px;
align-items: center; align-items: center;
justify-content: center;
} }
.toc-close-btn { .toc-close-btn {
border-radius: 50%; display: flex;
width: 30px; width: 30px;
height: 30px; height: 30px;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgb(255 255 255 / 30%); background: rgb(255 255 255 / 30%);
color: #faf7e8; color: #faf7e8;
cursor: pointer; cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
} }
</style> </style>

View File

@@ -97,83 +97,83 @@ const onConfirm = () => {
<style scoped> <style scoped>
.confirm-div { .confirm-div {
position: absolute; position: absolute;
width: 40vw;
height: 20vh;
top: 40vh; top: 40vh;
left: 30vw; left: 30vw;
background: var(--content-bg-2);
border-radius: 10px;
padding: 10px;
display: flex; display: flex;
width: 40vw;
height: 20vh;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
padding: 10px;
border-radius: 10px;
background: var(--content-bg-2);
} }
.confirm-box { .confirm-box {
border-radius: 10px;
width: 100%; width: 100%;
height: 100%; height: 100%;
border-radius: 10px;
} }
.confirm-title { .confirm-title {
font-family: Genshin, serif;
text-align: center;
height: 20%;
width: 100%; width: 100%;
color: var(--content-text-2); height: 20%;
margin: 10px; margin: 10px;
color: var(--content-text-2);
font-family: Genshin, serif;
font-size: 30px; font-size: 30px;
text-align: center;
} }
.confirm-subtitle { .confirm-subtitle {
border-top: 1px solid var(--btn-bg-2);
font-family: Genshin-Light, serif;
text-align: center;
height: 20%;
width: 100%; width: 100%;
height: 20%;
border-top: 1px solid var(--btn-bg-2);
color: var(--content-text-2); color: var(--content-text-2);
font-family: Genshin-Light, serif;
font-size: 20px; font-size: 20px;
text-align: center;
} }
.confirm-input { .confirm-input {
font-family: Genshin-Light, serif;
text-align: center;
height: 20%;
width: 100%; width: 100%;
height: 20%;
color: var(--content-text-2); color: var(--content-text-2);
font-family: Genshin-Light, serif;
font-size: 20px; font-size: 20px;
text-align: center;
} }
.confirm-btn-box { .confirm-btn-box {
position: absolute; position: absolute;
height: 40%;
width: 100%;
display: flex; display: flex;
justify-content: space-around; width: 100%;
height: 40%;
align-items: flex-end; align-items: flex-end;
justify-content: space-around;
} }
.confirm-btn { .confirm-btn {
display: flex;
width: 30%; width: 30%;
min-width: 150px; min-width: 150px;
min-height: 30px; min-height: 30px;
align-items: center;
border-radius: 50px;
background: var(--btn-bg-2); background: var(--btn-bg-2);
color: var(--btn-text-1); color: var(--btn-text-1);
border-radius: 50px;
display: flex;
align-items: center;
} }
.btn-icon { .btn-icon {
margin: 5px;
width: 25px; width: 25px;
height: 25px; height: 25px;
margin: 5px;
} }
.btn-text { .btn-text {
width: calc(100% - 70px); width: calc(100% - 70px);
text-align: center;
font-family: Genshin-Light, serif; font-family: Genshin-Light, serif;
font-size: 20px; font-size: 20px;
text-align: center;
} }
</style> </style>

View File

@@ -56,54 +56,54 @@ watch(
min-width: 800px; min-width: 800px;
min-height: 300px; min-height: 300px;
padding: 15px; padding: 15px;
border-radius: 15px;
background: rgb(255 255 255 / 5%); background: rgb(255 255 255 / 5%);
box-shadow: 0 0 10px rgb(0 0 0 / 50%); box-shadow: 0 0 10px rgb(0 0 0 / 50%);
border-radius: 15px;
} }
.tol-box { .tol-box {
width: 100%;
padding: 10px;
display: flex; display: flex;
width: 100%;
box-sizing: content-box; box-sizing: content-box;
border: #f4d8a8 1px solid;
color: #f4d8a8;
border-radius: 5px;
flex-direction: column; flex-direction: column;
justify-content: center;
align-items: center; align-items: center;
justify-content: center;
padding: 10px;
border: #f4d8a8 1px solid;
border-radius: 5px;
color: #f4d8a8;
} }
.tol-title { .tol-title {
display: flex;
width: 100%; width: 100%;
height: 50px; height: 50px;
display: flex;
justify-content: center;
align-items: center; align-items: center;
font-size: 2rem; justify-content: center;
font-family: Genshin, serif; font-family: Genshin, serif;
font-size: 2rem;
font-weight: 600; font-weight: 600;
} }
.tol-subtitle { .tol-subtitle {
width: 100%; width: 100%;
text-align: center;
font-size: 1rem;
height: 25px; height: 25px;
font-family: Genshin-Light, serif; font-family: Genshin-Light, serif;
font-size: 1rem;
text-align: center;
} }
.tol-img { .tol-img {
display: flex;
width: 100%; width: 100%;
height: 200px; height: 200px;
display: flex;
justify-content: center;
align-items: center; align-items: center;
justify-content: center;
} }
.tol-img:deep(img) { .tol-img:deep(img) {
max-height: 200px;
max-width: 100%; max-width: 100%;
max-height: 200px;
border-radius: 5px; border-radius: 5px;
} }
</style> </style>

View File

@@ -22,15 +22,15 @@ const props = defineProps<TuaDetailBattleProps>();
<style lang="css" scoped> <style lang="css" scoped>
.tud-db-icons-grid { .tud-db-icons-grid {
display: grid; display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 10px;
margin-bottom: 10px; margin-bottom: 10px;
grid-gap: 10px;
grid-template-columns: repeat(4, 1fr);
} }
.tud-db-time { .tud-db-time {
width: 100%; width: 100%;
text-align: left;
font-size: 12px;
color: var(--common-text-quote); color: var(--common-text-quote);
font-size: 12px;
text-align: left;
} }
</style> </style>

View File

@@ -17,9 +17,9 @@ const props = defineProps<TuaDetailLevelProps>();
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.tud-dl-divider { .tud-dl-divider {
border-radius: 5px;
width: 100%; width: 100%;
height: 1px; height: 1px;
border-radius: 5px;
background: var(--common-text-content); background: var(--common-text-content);
} }
</style> </style>

View File

@@ -36,25 +36,25 @@ const getFontSize: ComputedRef<string> = computed(() => {
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.tud-t-box { .tud-t-box {
height: 30px;
width: 100%;
display: flex; display: flex;
width: 100%;
height: 30px;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
font-family: v-bind(getFont); font-family: v-bind(getFont);
} }
.tud-t-title { .tud-t-title {
font-size: v-bind(getFontSize);
color: var(--common-text-content); color: var(--common-text-content);
font-size: v-bind(getFontSize);
} }
.tud-t-val { .tud-t-val {
display: flex; display: flex;
align-items: center; align-items: center;
color: var(--common-color-white);
font-family: var(--font-text); font-family: var(--font-text);
font-size: v-bind(getFontSize); font-size: v-bind(getFontSize);
color: var(--common-color-white);
text-shadow: 0 0 10px var(--common-color-yellow); text-shadow: 0 0 10px var(--common-color-yellow);
} }
@@ -66,7 +66,7 @@ const getFontSize: ComputedRef<string> = computed(() => {
.tud-t-val img { .tud-t-val img {
width: 20px; width: 20px;
height: 20px; height: 20px;
object-fit: cover;
margin-right: 5px; margin-right: 5px;
object-fit: cover;
} }
</style> </style>

View File

@@ -27,10 +27,10 @@ const props = defineProps<TuaDetailProps>();
<style lang="css" scoped> <style lang="css" scoped>
.tuad-box { .tuad-box {
width: 100%; width: 100%;
margin-bottom: 10px;
border-radius: 5px;
background: var(--common-shadow-1);
padding: 10px; padding: 10px;
border-radius: 5px;
margin-bottom: 10px;
background: var(--common-shadow-1);
} }
.tuad-index-box { .tuad-index-box {

View File

@@ -38,27 +38,27 @@ const props = withDefaults(defineProps<TAOProps>(), {
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.tuao-box { .tuao-box {
display: flex;
width: 100%; width: 100%;
height: auto; height: auto;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 10px; padding: 10px;
border-radius: 5px; border-radius: 5px;
background: var(--common-shadow-1); background: var(--common-shadow-1);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
} }
.tuao-title { .tuao-title {
color: var(--common-text-content);
font-family: var(--font-title); font-family: var(--font-title);
font-size: 20px; font-size: 20px;
color: var(--common-text-content);
} }
.tuao-val-text { .tuao-val-text {
color: var(--common-color-white);
font-family: var(--font-text); font-family: var(--font-text);
font-size: 20px; font-size: 20px;
color: var(--common-color-white);
text-shadow: 0 0 10px var(--common-color-yellow); text-shadow: 0 0 10px var(--common-color-yellow);
} }
@@ -69,7 +69,7 @@ const props = withDefaults(defineProps<TAOProps>(), {
.tuao-val-icons { .tuao-val-icons {
display: grid; display: grid;
grid-template-columns: repeat(v-bind(iconNum), 1fr);
column-gap: 10px; column-gap: 10px;
grid-template-columns: repeat(v-bind(iconNum), 1fr);
} }
</style> </style>

View File

@@ -17,31 +17,31 @@ defineProps<TucDetailConstellationProps>();
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.tuc-dc-box { .tuc-dc-box {
display: flex;
width: 60px; width: 60px;
height: 60px; height: 60px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center; align-items: center;
justify-content: center;
border-radius: 50%;
cursor: pointer; cursor: pointer;
} }
.tuc-dc-lock { .tuc-dc-lock {
position: absolute; position: absolute;
display: flex;
width: 50px; width: 50px;
height: 50px; height: 50px;
align-items: center;
justify-content: center;
border-radius: 50%; border-radius: 50%;
background-color: rgb(0 0 0 / 50%); background-color: rgb(0 0 0 / 50%);
display: flex;
justify-content: center;
align-items: center;
} }
.tuc-dc-icon { .tuc-dc-icon {
width: 50px; width: 50px;
height: 50px; height: 50px;
border-radius: 50%;
padding: 5px; padding: 5px;
border-radius: 50%;
background: rgb(0 0 0/ 20%); background: rgb(0 0 0/ 20%);
} }

View File

@@ -50,16 +50,16 @@ function parseDesc(desc: string): string {
<style lang="css" scoped> <style lang="css" scoped>
.tuc-ddc-content { .tuc-ddc-content {
display: flex; display: flex;
height: 100%;
flex-direction: column; flex-direction: column;
align-items: start; align-items: start;
justify-content: space-around; justify-content: space-around;
height: 100%;
margin-left: 5px; margin-left: 5px;
} }
.tuc-ddc-top { .tuc-ddc-top {
color: var(--common-color-blue-2);
height: 20px; height: 20px;
color: var(--common-color-blue-2);
} }
.tuc-ddc-bottom { .tuc-ddc-bottom {

View File

@@ -39,10 +39,10 @@ const props = defineProps<TucDetailDescRelicProps>();
<style lang="css" scoped> <style lang="css" scoped>
.tuc-ddr-content { .tuc-ddr-content {
display: flex; display: flex;
height: 100%;
flex-direction: column; flex-direction: column;
align-items: start; align-items: start;
justify-content: space-around; justify-content: space-around;
height: 100%;
margin-left: 5px; margin-left: 5px;
} }
@@ -63,8 +63,8 @@ const props = defineProps<TucDetailDescRelicProps>();
} }
.tuc-ddrc-bottom img { .tuc-ddrc-bottom img {
height: 100%;
width: 100%; width: 100%;
height: 100%;
object-fit: contain; object-fit: contain;
} }

View File

@@ -44,10 +44,10 @@ const box = computed(() => {
<style lang="css" scoped> <style lang="css" scoped>
.tuc-ddw-content { .tuc-ddw-content {
display: flex; display: flex;
height: 100%;
flex-direction: column; flex-direction: column;
align-items: start; align-items: start;
justify-content: space-around; justify-content: space-around;
height: 100%;
margin-left: 5px; margin-left: 5px;
} }

View File

@@ -15,46 +15,46 @@
<style lang="css" scoped> <style lang="css" scoped>
.tuc-dd-box { .tuc-dd-box {
padding: 10px; padding: 10px;
border-radius: 5px;
border: 2px solid var(--common-color-grey-2); border: 2px solid var(--common-color-grey-2);
background: rgb(255 255 255 / 20%); border-radius: 5px;
backdrop-filter: blur(20px); backdrop-filter: blur(20px);
background: rgb(255 255 255 / 20%);
} }
.tuc-dd-title { .tuc-dd-title {
width: 100%;
color: var(--common-color-blue);
font-family: var(--font-title); font-family: var(--font-title);
font-size: 20px; font-size: 20px;
color: var(--common-color-blue);
width: 100%;
text-align: left; text-align: left;
} }
.tuc-dd-divider { .tuc-dd-divider {
width: 100%; width: 100%;
height: 2px; height: 2px;
background: var(--common-color-grey-2);
margin: 5px 0; margin: 5px 0;
background: var(--common-color-grey-2);
} }
.tuc-dd-content { .tuc-dd-content {
display: flex; display: flex;
flex-wrap: wrap;
justify-content: start;
align-items: center;
height: 60px; height: 60px;
flex-wrap: wrap;
align-items: center;
justify-content: start;
} }
.tuc-dd-desc { .tuc-dd-desc {
font-family: var(--font-text); overflow: hidden;
font-size: 14px; width: 100%;
max-height: 50px;
margin-top: 5px; margin-top: 5px;
color: var(--common-color-black); color: var(--common-color-black);
width: 100%; font-family: var(--font-text);
font-size: 14px;
overflow-y: scroll;
text-align: left; text-align: left;
word-break: break-all; word-break: break-all;
max-height: 50px;
overflow: hidden;
overflow-y: scroll;
&::-webkit-scrollbar { &::-webkit-scrollbar {
display: none; display: none;

View File

@@ -20,10 +20,10 @@ defineProps<TucDetailItemBoxProps>();
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.tuc-dib-box { .tuc-dib-box {
position: relative;
width: 60px; width: 60px;
height: 60px; height: 60px;
border-radius: 5px; border-radius: 5px;
position: relative;
} }
.tuc-dib-bg { .tuc-dib-bg {

View File

@@ -204,18 +204,18 @@ function switchBg() {
position: relative; position: relative;
width: 500px; width: 500px;
height: 620px; height: 620px;
background: rgb(255 255 255 / 30%);
border-radius: 5px;
padding: 10px; padding: 10px;
border-radius: 5px;
background: rgb(255 255 255 / 30%);
} }
.tuc-do-bg { .tuc-do-bg {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
margin: 0 auto;
width: 100%; width: 100%;
height: 100%; height: 100%;
margin: 0 auto;
} }
.tuc-do-bg img { .tuc-do-bg img {
@@ -226,45 +226,45 @@ function switchBg() {
.tuc-do-quote { .tuc-do-quote {
position: absolute; position: absolute;
bottom: 5px;
right: 10px; right: 10px;
bottom: 5px;
color: var(--common-color-grey-2);
font-family: var(--font-text); font-family: var(--font-text);
font-size: 12px; font-size: 12px;
color: var(--common-color-grey-2);
} }
.tuc-do-costume { .tuc-do-costume {
position: absolute; position: absolute;
z-index: 1;
top: 5px; top: 5px;
right: 10px; right: 10px;
z-index: 1;
} }
.tuc-do-costume-name { .tuc-do-costume-name {
position: absolute; position: absolute;
width: 100%;
top: 5px; top: 5px;
left: 0; left: 0;
text-align: center; width: 100%;
color: var(--common-color-white);
font-family: var(--font-text); font-family: var(--font-text);
font-size: 16px; font-size: 16px;
color: var(--common-color-white); text-align: center;
text-shadow: 0 0 10px var(--common-color-yellow); text-shadow: 0 0 10px var(--common-color-yellow);
} }
.tuc-do-show { .tuc-do-show {
position: absolute; position: absolute;
width: calc(100% - 20px);
display: flex; display: flex;
width: calc(100% - 20px);
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-around;
align-items: start; align-items: start;
justify-content: space-around;
} }
.tuc-do-left { .tuc-do-left {
position: relative;
width: 50%; width: 50%;
height: 400px; height: 400px;
position: relative;
} }
.tuc-do-right { .tuc-do-right {
@@ -280,8 +280,8 @@ function switchBg() {
/* 左侧显示区域 */ /* 左侧显示区域 */
.tuc-dol-item { .tuc-dol-item {
position: absolute; position: absolute;
cursor: pointer;
border-radius: 5px; border-radius: 5px;
cursor: pointer;
} }
/* 排列武器跟5个圣遗物 */ /* 排列武器跟5个圣遗物 */
@@ -318,9 +318,9 @@ function switchBg() {
/* 右侧显示区域 */ /* 右侧显示区域 */
.tuc-dor-box { .tuc-dor-box {
position: relative;
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative;
} }
.tuc-dor-item { .tuc-dor-item {
@@ -344,17 +344,17 @@ function switchBg() {
} }
.tuc-dor-item:nth-child(4) { .tuc-dor-item:nth-child(4) {
bottom: 130px;
right: 10px; right: 10px;
bottom: 130px;
} }
.tuc-dor-item:nth-child(5) { .tuc-dor-item:nth-child(5) {
bottom: 50px;
right: 40px; right: 40px;
bottom: 50px;
} }
.tuc-dor-item:nth-child(6) { .tuc-dor-item:nth-child(6) {
bottom: 0;
right: 100px; right: 100px;
bottom: 0;
} }
</style> </style>

View File

@@ -21,19 +21,19 @@ const props = defineProps<TucDetailRelicProps>();
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.tuc-dr-box { .tuc-dr-box {
position: relative;
width: 60px; width: 60px;
height: 60px; height: 60px;
border-radius: 5px; border-radius: 5px;
background: rgb(0 0 0 /20%); background: rgb(0 0 0 /20%);
position: relative;
} }
.tuc-dr-bg { .tuc-dr-bg {
width: 100%;
height: 100%;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
width: 100%;
height: 100%;
} }
.tuc-dr-bg:nth-child(1) { .tuc-dr-bg:nth-child(1) {
@@ -47,11 +47,11 @@ const props = defineProps<TucDetailRelicProps>();
} }
.tuc-dr-icon { .tuc-dr-icon {
width: 100%;
height: 100%;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
width: 100%;
height: 100%;
} }
.tuc-dr-icon img { .tuc-dr-icon img {

View File

@@ -91,10 +91,10 @@ function getAvatarName() {
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.tuc-rb-box { .tuc-rb-box {
position: relative;
padding: 5px; padding: 5px;
border: 1px inset var(--common-shadow-4); border: 1px inset var(--common-shadow-4);
border-radius: 5px; border-radius: 5px;
position: relative;
cursor: pointer; cursor: pointer;
transition: all 0.3s; transition: all 0.3s;
} }
@@ -105,18 +105,18 @@ function getAvatarName() {
.tuc-rb-top { .tuc-rb-top {
display: flex; display: flex;
justify-content: space-between;
align-items: center;
width: 100%; width: 100%;
align-items: center;
justify-content: space-between;
} }
.tuc-rb-bottom { .tuc-rb-bottom {
position: relative; position: relative;
align-items: center;
width: 100%; width: 100%;
margin-top: 5px;
height: 80px; height: 80px;
align-items: center;
border-radius: 5px; border-radius: 5px;
margin-top: 5px;
} }
.tuc-rbb-bg { .tuc-rbb-bg {
@@ -129,36 +129,36 @@ function getAvatarName() {
.tuc-rbb-bg img { .tuc-rbb-bg img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: contain;
border-radius: 5px; border-radius: 5px;
object-fit: contain;
} }
.tuc-rbb-lock { .tuc-rbb-lock {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
display: flex;
width: 100%; width: 100%;
height: 100%; height: 100%;
background: var(--common-shadow-4);
backdrop-filter: blur(5px);
display: flex;
justify-content: center;
align-items: center; align-items: center;
justify-content: center;
border-radius: 5px; border-radius: 5px;
backdrop-filter: blur(5px);
background: var(--common-shadow-4);
} }
.tuc-rbb-fetter { .tuc-rbb-fetter {
position: absolute; position: absolute;
top: 5px; top: 5px;
left: 5px; left: 5px;
display: flex;
width: calc(100% - 10px); width: calc(100% - 10px);
height: 20px; height: 20px;
display: flex;
justify-content: start;
align-items: center; align-items: center;
justify-content: start;
border-radius: 5px; border-radius: 5px;
color: var(--common-color-yellow);
background: rgb(0 0 0 / 50%); background: rgb(0 0 0 / 50%);
color: var(--common-color-yellow);
} }
.tuc-rbb-fetter :nth-child(1) { .tuc-rbb-fetter :nth-child(1) {

View File

@@ -20,8 +20,8 @@ const data = computed(() => JSON.parse(<string>props.modelValue) as TGApp.Sqlite
<style lang="css" scoped> <style lang="css" scoped>
.tur-ag-box { .tur-ag-box {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
grid-gap: 10px;
margin-bottom: 10px; margin-bottom: 10px;
grid-gap: 10px;
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
} }
</style> </style>

View File

@@ -24,8 +24,8 @@ const homes = computed(() => {
<style lang="css" scoped> <style lang="css" scoped>
.tur-hg-box { .tur-hg-box {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 10px;
width: 100%; width: 100%;
grid-gap: 10px;
grid-template-columns: repeat(3, 1fr);
} }
</style> </style>

View File

@@ -57,27 +57,27 @@ onMounted(async () => {
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.tur-hs-box { .tur-hs-box {
border-radius: 5px;
position: relative; position: relative;
border-radius: 5px;
} }
.tur-hs-name { .tur-hs-name {
position: absolute; position: absolute;
top: 10px; top: 10px;
right: 10px; right: 10px;
color: var(--common-color-white);
font-family: var(--font-text); font-family: var(--font-text);
font-size: 16px; font-size: 16px;
color: var(--common-color-white);
text-shadow: 0 0 10px rgb(0 0 0 / 40%); text-shadow: 0 0 10px rgb(0 0 0 / 40%);
} }
.tur-hs-title { .tur-hs-title {
padding: 10px;
font-family: var(--font-title);
font-size: 20px;
display: flex; display: flex;
align-items: center; align-items: center;
padding: 10px;
color: var(--common-color-white); color: var(--common-color-white);
font-family: var(--font-title);
font-size: 20px;
text-shadow: 0 0 10px rgb(0 0 0 / 40%); text-shadow: 0 0 10px rgb(0 0 0 / 40%);
} }
@@ -88,20 +88,20 @@ onMounted(async () => {
} }
.tur-hs-text-grid { .tur-hs-text-grid {
padding: 10px;
width: 100%;
display: flex; display: flex;
width: 100%;
justify-content: space-between; justify-content: space-between;
padding: 10px;
background: rgb(0 0 0 / 40%); background: rgb(0 0 0 / 40%);
border-bottom-left-radius: 5px; border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px; border-bottom-right-radius: 5px;
text-align: center;
color: var(--common-color-white); color: var(--common-color-white);
text-align: center;
} }
.tur-hs-text :nth-child(1) { .tur-hs-text :nth-child(1) {
font-family: var(--font-text);
color: var(--common-color-yellow); color: var(--common-color-yellow);
font-family: var(--font-text);
} }
.tur-hs-text :nth-child(2) { .tur-hs-text :nth-child(2) {

View File

@@ -33,8 +33,8 @@ const data = computed(() => JSON.parse(<string>props.modelValue) as TGApp.Sqlite
<style lang="css" scoped> <style lang="css" scoped>
.tur-og-box { .tur-og-box {
display: grid; display: grid;
grid-template-columns: repeat(5, 1fr);
grid-gap: 10px;
width: 100%; width: 100%;
grid-gap: 10px;
grid-template-columns: repeat(5, 1fr);
} }
</style> </style>

View File

@@ -22,27 +22,27 @@ defineProps<TAOProps>();
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.tur-os-box { .tur-os-box {
display: flex;
width: 100%; width: 100%;
height: auto; height: auto;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 5px; padding: 5px;
border-radius: 5px; border-radius: 5px;
background: var(--common-shadow-1); background: var(--common-shadow-1);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
} }
.tur-os-title { .tur-os-title {
color: var(--common-text-content);
font-family: var(--font-title); font-family: var(--font-title);
font-size: 20px; font-size: 20px;
color: var(--common-text-content);
} }
.tur-os-text { .tur-os-text {
color: var(--common-color-white);
font-family: var(--font-text); font-family: var(--font-text);
font-size: 20px; font-size: 20px;
color: var(--common-color-white);
text-shadow: 0 0 10px var(--common-color-yellow); text-shadow: 0 0 10px var(--common-color-yellow);
} }

View File

@@ -30,8 +30,8 @@ function getData() {
<style lang="css" scoped> <style lang="css" scoped>
.tur-wg-box { .tur-wg-box {
display: grid; display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 10px;
width: 100%; width: 100%;
grid-gap: 10px;
grid-template-columns: repeat(4, 1fr);
} }
</style> </style>

View File

@@ -82,11 +82,11 @@ async function listenOnTheme() {
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.tur-ws-box { .tur-ws-box {
display: flex;
align-items: center;
justify-content: center;
padding: 10px; padding: 10px;
border-radius: 5px; border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
background: var(--common-shadow-1); background: var(--common-shadow-1);
} }
@@ -102,23 +102,23 @@ async function listenOnTheme() {
} }
.tur-ws-content { .tur-ws-content {
color: var(--common-text-content);
width: calc(100% - 60px); width: calc(100% - 60px);
height: 100%; height: 100%;
color: var(--common-text-content);
} }
.tur-ws-title { .tur-ws-title {
border-bottom: 1px inset var(--common-text-content);
font-family: var(--font-title); font-family: var(--font-title);
font-size: 20px; font-size: 20px;
border-bottom: 1px inset var(--common-text-content);
} }
.tur-ws-sub { .tur-ws-sub {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: start;
font-family: var(--font-text); font-family: var(--font-text);
font-size: 14px; font-size: 14px;
justify-content: start;
} }
.tur-ws-sub img { .tur-ws-sub img {

View File

@@ -345,16 +345,16 @@ async function exportJson() {
.left-wrap { .left-wrap {
width: 400px; width: 400px;
height: calc(100vh - 100px); height: calc(100vh - 100px);
overflow-y: scroll;
overflow-x: hidden; overflow-x: hidden;
overflow-y: scroll;
} }
/* 右侧成就 */ /* 右侧成就 */
.right-wrap { .right-wrap {
width: calc(100% - 410px); width: calc(100% - 410px);
height: calc(100vh - 100px); height: calc(100vh - 100px);
overflow-y: scroll;
overflow-x: hidden; overflow-x: hidden;
overflow-y: scroll;
} }
.list-empty { .list-empty {
@@ -364,26 +364,26 @@ async function exportJson() {
/* 版本信息 */ /* 版本信息 */
.version-icon-series { .version-icon-series {
font-family: Genshin, serif;
position: absolute; position: absolute;
right: 0; right: 0;
bottom: 0; bottom: 0;
text-align: center;
width: 80px; width: 80px;
background: #546d8b;
border-radius: 10px 0 0; border-radius: 10px 0 0;
border-top: #fff 2px solid; border-top: #fff 2px solid;
border-left: #fff 2px solid; border-left: #fff 2px solid;
background: #546d8b;
color: #fec90b; color: #fec90b;
font-family: Genshin, serif;
font-size: 10px; font-size: 10px;
text-align: center;
} }
.version-icon-single { .version-icon-single {
font-family: Genshin, serif;
border-radius: 5px; border-radius: 5px;
text-align: center;
color: #ff6d6d; color: #ff6d6d;
font-family: Genshin, serif;
font-size: 10px; font-size: 10px;
text-align: center;
} }
.card-left { .card-left {
@@ -404,25 +404,25 @@ async function exportJson() {
/* 成就进度 */ /* 成就进度 */
.achievement-progress { .achievement-progress {
font-family: Genshin, serif;
position: absolute; position: absolute;
left: 0;
top: 0; top: 0;
text-align: center; left: 0;
width: 65px; width: 65px;
border-right: #fff 2px solid;
border-bottom: #fff 2px solid;
background: #8ba5c5; background: #8ba5c5;
border-bottom-right-radius: 20px; border-bottom-right-radius: 20px;
border-bottom: #fff 2px solid;
border-right: #fff 2px solid;
color: #485466; color: #485466;
font-family: Genshin, serif;
font-size: 10px; font-size: 10px;
text-align: center;
} }
/* 成就完成时间 */ /* 成就完成时间 */
.right-time { .right-time {
margin-right: 10px; margin-right: 10px;
font-size: small;
color: #faf7e8; color: #faf7e8;
font-size: small;
} }
/* 成就奖励 */ /* 成就奖励 */
@@ -439,13 +439,13 @@ async function exportJson() {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; left: 0;
display: flex;
width: 100%; width: 100%;
height: 10px; height: 10px;
align-items: center;
justify-content: center;
background: rgb(0 0 0 / 50%); background: rgb(0 0 0 / 50%);
color: #faf7e8; color: #faf7e8;
display: flex;
font-size: 8px; font-size: 8px;
justify-content: center;
align-items: center;
} }
</style> </style>

View File

@@ -666,27 +666,27 @@ async function updateDB() {
<style lang="css" scoped> <style lang="css" scoped>
.config-list { .config-list {
border-radius: 10px;
margin: 10px; margin: 10px;
font-family: Genshin-Light, serif;
background: var(--content-bg-2); background: var(--content-bg-2);
color: var(--content-text-3); color: var(--content-text-3);
border-radius: 10px; font-family: Genshin-Light, serif;
} }
.config-header { .config-header {
margin-top: 10px; margin-top: 10px;
font-family: Genshin, serif;
background: var(--content-bg-2); background: var(--content-bg-2);
color: #fec90b; color: #fec90b;
font-family: Genshin, serif;
font-size: large; font-size: large;
} }
.config-icon { .config-icon {
width: 40px; width: 40px;
height: 40px; height: 40px;
margin-right: 15px;
padding: 5px; padding: 5px;
background: var(--content-bg-3);
border-radius: 10px; border-radius: 10px;
margin-right: 15px;
background: var(--content-bg-3);
} }
</style> </style>

View File

@@ -142,19 +142,19 @@ async function shareAbyss(): Promise<void> {
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.ua-box { .ua-box {
box-shadow: 0 0 10px 0 var(--common-shadow-4);
display: flex; display: flex;
justify-content: left;
align-items: center;
height: calc(100vh - 35px); height: calc(100vh - 35px);
align-items: center;
justify-content: left;
border-radius: 5px; border-radius: 5px;
box-shadow: 0 0 10px 0 var(--common-shadow-4);
} }
.ua-tab { .ua-tab {
font-family: var(--font-text);
color: var(--common-text-title);
width: 100px; width: 100px;
height: 100%; height: 100%;
color: var(--common-text-title);
font-family: var(--font-text);
} }
.ua-tab-bottom { .ua-tab-bottom {
@@ -171,32 +171,32 @@ async function shareAbyss(): Promise<void> {
} }
.ua-window { .ua-window {
padding: 10px;
width: calc(100% - 100px); width: calc(100% - 100px);
height: 100%; height: 100%;
padding: 10px;
} }
.ua-window-item { .ua-window-item {
height: 100%; height: 100%;
padding: 10px; padding: 10px;
overflow-y: auto;
border-radius: 5px; border-radius: 5px;
box-shadow: 0 0 10px var(--common-shadow-2); box-shadow: 0 0 10px var(--common-shadow-2);
overflow-y: auto;
} }
.uaw-title { .uaw-title {
display: flex; display: flex;
align-items: center; align-items: center;
color: var(--common-text-title); color: var(--common-text-title);
font-size: 20px;
font-family: var(--font-title); font-family: var(--font-title);
font-size: 20px;
} }
.uaw-title :nth-child(2n) { .uaw-title :nth-child(2n) {
margin-right: 10px;
margin-left: 10px;
color: var(--common-color-white); color: var(--common-color-white);
text-shadow: 0 0 10px var(--common-color-yellow); text-shadow: 0 0 10px var(--common-color-yellow);
margin-left: 10px;
margin-right: 10px;
} }
.dark .uaw-title :nth-child(2n) { .dark .uaw-title :nth-child(2n) {
@@ -205,32 +205,32 @@ async function shareAbyss(): Promise<void> {
} }
.uaw-o-box { .uaw-o-box {
width: 100%;
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); width: 100%;
grid-gap: 10px; grid-gap: 10px;
grid-template-columns: repeat(3, 1fr);
} }
.uaw-d-box { .uaw-d-box {
width: 100%;
display: grid; display: grid;
grid-template-columns: repeat(4, 1fr); width: 100%;
grid-gap: 10px; grid-gap: 10px;
grid-template-columns: repeat(4, 1fr);
} }
.user-empty { .user-empty {
position: absolute; position: absolute;
top: calc(50vh - 200px); top: calc(50vh - 200px);
left: calc(50vw - 400px); left: calc(50vw - 400px);
background: var(--common-shadow-2); display: flex;
border-radius: 5px;
width: 800px; width: 800px;
height: 400px; height: 400px;
display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
font-size: 1.5rem; border-radius: 5px;
background: var(--common-shadow-2);
color: var(--common-text-title); color: var(--common-text-title);
font-family: var(--font-title); font-family: var(--font-title);
font-size: 1.5rem;
} }
</style> </style>

View File

@@ -122,39 +122,39 @@ function selectRole(role: TGApp.Sqlite.Character.UserRole) {
<style lang="css" scoped> <style lang="css" scoped>
.uc-box { .uc-box {
width: 100%; width: 100%;
border-radius: 5px;
padding: 10px; padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px var(--common-shadow-4); box-shadow: 0 0 10px var(--common-shadow-4);
} }
.uc-top { .uc-top {
display: flex;
width: 100%; width: 100%;
height: 50px; height: 50px;
border-radius: 5px;
padding: 10px;
display: flex;
align-items: center; align-items: center;
padding: 10px;
border-radius: 5px;
} }
.uc-top-title { .uc-top-title {
font-family: var(--font-title);
font-size: 20px;
margin-right: 10px; margin-right: 10px;
color: var(--common-text-title); color: var(--common-text-title);
font-family: var(--font-title);
font-size: 20px;
} }
.uc-top-btn { .uc-top-btn {
font-family: var(--font-text);
border-radius: 5px; border-radius: 5px;
margin-left: 15px;
background: var(--common-shadow-2); background: var(--common-shadow-2);
color: var(--common-color-white); color: var(--common-color-white);
margin-left: 15px; font-family: var(--font-text);
} }
.uc-grid { .uc-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, 180px);
grid-gap: 10px v-bind(gridGap);
padding: 10px; padding: 10px;
grid-gap: 10px v-bind(gridGap);
grid-template-columns: repeat(auto-fill, 180px);
} }
</style> </style>

View File

@@ -115,32 +115,32 @@ function getTheme() {
<style lang="css" scoped> <style lang="css" scoped>
.ur-box { .ur-box {
width: 100%; width: 100%;
border-radius: 5px;
padding: 10px; padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px var(--common-shadow-4); box-shadow: 0 0 10px var(--common-shadow-4);
} }
.ur-top { .ur-top {
display: flex;
width: 100%; width: 100%;
height: 50px; height: 50px;
border-radius: 5px;
padding: 10px;
display: flex;
align-items: center; align-items: center;
padding: 10px;
border-radius: 5px;
} }
.ur-top-title { .ur-top-title {
font-family: var(--font-title);
font-size: 20px;
margin-right: 10px; margin-right: 10px;
color: var(--common-text-title); color: var(--common-text-title);
font-family: var(--font-title);
font-size: 20px;
} }
.ur-top-btn { .ur-top-btn {
font-family: var(--font-text);
border-radius: 5px; border-radius: 5px;
margin-left: 15px;
background: var(--common-shadow-2); background: var(--common-shadow-2);
color: var(--common-color-white); color: var(--common-color-white);
margin-left: 15px; font-family: var(--font-text);
} }
</style> </style>

View File

@@ -29,17 +29,17 @@ function getUpdated() {
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.hta-title { .hta-title {
font-family: var(--font-title);
font-size: 20px;
display: flex; display: flex;
align-items: end; align-items: end;
justify-content: start; justify-content: start;
font-family: var(--font-title);
font-size: 20px;
} }
.hta-title :nth-child(2) { .hta-title :nth-child(2) {
margin-left: 10px; margin-left: 10px;
font-size: 12px;
color: #5e7987; /* 淡蓝灰 */ color: #5e7987; /* 淡蓝灰 */
font-size: 12px;
} }
.hta-title :nth-child(2):hover { .hta-title :nth-child(2):hover {

View File

@@ -33,8 +33,8 @@ function toOuter(item: TGApp.App.Character.WikiBriefInfo) {
<style scoped> <style scoped>
.cards-grid { .cards-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
grid-gap: 20px;
padding: 20px; padding: 20px;
grid-gap: 20px;
grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
} }
</style> </style>

View File

@@ -175,18 +175,18 @@ async function searchCard() {
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.cards-tab { .cards-tab {
font-family: Genshin, serif;
margin-bottom: 20px; margin-bottom: 20px;
color: var(--content-text-3); color: var(--content-text-3);
font-family: Genshin, serif;
} }
.cards-grid { .cards-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); overflow: hidden;
grid-gap: 10px;
padding: 10px; padding: 10px;
border-radius: 0 0 10px 10px; border-radius: 0 0 10px 10px;
overflow: hidden; grid-gap: 10px;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
} }
.cards-grid :hover { .cards-grid :hover {
@@ -195,21 +195,21 @@ async function searchCard() {
.card-cls { .card-cls {
position: relative; position: relative;
overflow: hidden;
width: 140px; width: 140px;
height: 240px; height: 240px;
overflow: hidden;
transition: all 0.3s;
border-radius: 10px; border-radius: 10px;
transition: all 0.3s;
} }
.card-cover { .card-cover {
position: absolute; position: absolute;
transition: all 0.3s; z-index: -1;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
z-index: -1; transition: all 0.3s;
} }
.card-cls:hover .card-cover { .card-cls:hover .card-cover {
@@ -219,10 +219,10 @@ async function searchCard() {
.card-border { .card-border {
position: absolute; position: absolute;
border-radius: 10px;
top: 0; top: 0;
left: 0; left: 0;
overflow: hidden; overflow: hidden;
border-radius: 10px;
} }
.card-border img { .card-border img {
@@ -242,16 +242,16 @@ async function searchCard() {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; left: 0;
display: flex;
overflow: hidden;
width: 100%; width: 100%;
height: 40px; height: 40px;
align-items: center;
justify-content: center;
border-radius: 0 0 10px 10px;
background: rgb(0 0 0 / 50%); background: rgb(0 0 0 / 50%);
color: white; color: white;
display: flex;
font-size: small;
overflow: hidden;
font-family: Genshin, serif; font-family: Genshin, serif;
border-radius: 0 0 10px 10px; font-size: small;
justify-content: center;
align-items: center;
} }
</style> </style>

View File

@@ -33,8 +33,8 @@ function toOuter(item: TGApp.App.Weapon.WikiBriefInfo) {
<style scoped> <style scoped>
.cards-grid { .cards-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
grid-gap: 15px;
padding: 15px; padding: 15px;
grid-gap: 15px;
grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
} }
</style> </style>

View File

@@ -60,11 +60,11 @@ onMounted(async () => {
} }
.anno-title { .anno-title {
font-size: 20px; margin: 20px 0;
color: #546d8b; color: #546d8b;
font-family: Genshin-Light, serif; font-family: Genshin-Light, serif;
font-size: 20px;
font-weight: 600; font-weight: 600;
margin: 20px 0;
} }
.jv-container { .jv-container {

View File

@@ -158,34 +158,34 @@ onUpdated(() => {
</script> </script>
<style lang="css"> <style lang="css">
.lottery-box { .lottery-box {
margin-bottom: 10px;
padding: 10px; padding: 10px;
border-radius: 25px 5px 5px;
margin-bottom: 10px;
background: rgb(255 255 255 / 10%); background: rgb(255 255 255 / 10%);
box-shadow: 0 0 10px rgb(0 0 0 / 40%); box-shadow: 0 0 10px rgb(0 0 0 / 40%);
border-radius: 25px 5px 5px;
} }
.lottery-title { .lottery-title {
height: 40px;
margin-left: 40px;
color: var(--content-text-3);
font-family: Genshin, serif; font-family: Genshin, serif;
font-size: 20px; font-size: 20px;
height: 40px;
color: var(--content-text-3);
margin-left: 40px;
} }
.lottery-list { .lottery-list {
padding: 5px;
border-radius: 5px;
margin-bottom: 10px;
background: rgb(0 0 0 / 40%); background: rgb(0 0 0 / 40%);
box-shadow: 0 0 10px rgb(255 255 255 / 10%); box-shadow: 0 0 10px rgb(255 255 255 / 10%);
border-radius: 5px;
padding: 5px;
margin-bottom: 10px;
color: #faf7e8; color: #faf7e8;
font-family: Genshin-Light, serif; font-family: Genshin-Light, serif;
} }
.reward-title { .reward-title {
font-size: 16px;
margin: 10px; margin: 10px;
font-size: 16px;
} }
.reward-subtitle { .reward-subtitle {
@@ -194,27 +194,27 @@ onUpdated(() => {
} }
.lottery-grid { .lottery-grid {
border-radius: 10px;
display: grid; display: grid;
border-radius: 10px;
grid-template-columns: repeat(5, 1fr); grid-template-columns: repeat(5, 1fr);
} }
.lottery-sub-list { .lottery-sub-list {
background: var(--content-bg-2);
border-radius: 40px;
height: 40px;
margin: 5px;
font-family: Genshin-Light, serif;
align-items: center;
display: flex; display: flex;
height: 40px;
align-items: center;
border-radius: 40px;
margin: 5px;
background: var(--content-bg-2);
font-family: Genshin-Light, serif;
} }
.lottery-user-avatar { .lottery-user-avatar {
display: inline-block; display: inline-block;
overflow: hidden;
width: 30px; width: 30px;
height: 30px; height: 30px;
border-radius: 50%; border-radius: 50%;
overflow: hidden;
margin: 5px; margin: 5px;
} }
@@ -226,24 +226,24 @@ onUpdated(() => {
.lottery-user-nickname { .lottery-user-nickname {
display: inline-block; display: inline-block;
font-size: 14px;
font-family: Genshin-Light, "仿宋", serif;
color: var(--content-text-3);
overflow: hidden; overflow: hidden;
color: var(--content-text-3);
font-family: Genshin-Light, "仿宋", serif;
font-size: 14px;
} }
.lottery-json { .lottery-json {
border-radius: 25px 5px;
margin-bottom: 10px; margin-bottom: 10px;
background: rgb(255 255 255 / 10%); background: rgb(255 255 255 / 10%);
box-shadow: 0 0 10px rgb(0 0 0 / 40%); box-shadow: 0 0 10px rgb(0 0 0 / 40%);
border-radius: 25px 5px;
font-family: Consolas, serif;
color: #faf7e8; color: #faf7e8;
font-family: Consolas, serif;
} }
.jv-container { .jv-container {
background: rgb(0 0 0 / 60%) !important;
border-radius: 25px 5px !important; border-radius: 25px 5px !important;
background: rgb(0 0 0 / 60%) !important;
box-shadow: 0 0 10px rgb(0 0 0 / 40%) !important; box-shadow: 0 0 10px rgb(0 0 0 / 40%) !important;
} }

View File

@@ -337,16 +337,16 @@ async function searchPost() {
<style lang="css" scoped> <style lang="css" scoped>
.news-tab { .news-tab {
font-family: Genshin, serif;
margin-bottom: 20px; margin-bottom: 20px;
color: var(--content-text-3); color: var(--content-text-3);
font-family: Genshin, serif;
} }
.news-grid { .news-grid {
font-family: Genshin, serif;
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); font-family: Genshin, serif;
grid-gap: 20px; grid-gap: 20px;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
} }
.news-card { .news-card {
@@ -356,51 +356,51 @@ async function searchPost() {
} }
.news-cover { .news-cover {
height: 150px;
overflow: hidden; overflow: hidden;
height: 150px;
} }
.news-cover :hover { .news-cover :hover {
cursor: pointer;
transform: scale(1.1); transform: scale(1.1);
transition: all 0.3s linear; transition: all 0.3s linear;
cursor: pointer;
} }
.news-cover img { .news-cover img {
object-fit: cover;
width: 100%; width: 100%;
height: 150px; height: 150px;
object-fit: cover;
transition: all 0.3s linear; transition: all 0.3s linear;
} }
/* switch */ /* switch */
.switch-btn { .switch-btn {
font-family: Genshin, serif;
background: var(--btn-bg-1);
height: 40px; height: 40px;
margin-right: 10px;
margin-top: 5px; margin-top: 5px;
margin-right: 10px;
background: var(--btn-bg-1);
color: var(--content-text-3); color: var(--content-text-3);
font-family: Genshin, serif;
} }
.switch-chan { .switch-chan {
font-family: Genshin, serif;
background: var(--btn-bg-1);
height: 40px; height: 40px;
margin-right: 10px;
margin-top: 5px; margin-top: 5px;
margin-right: 10px;
background: var(--btn-bg-1);
color: var(--content-text-3); color: var(--content-text-3);
font-family: Genshin, serif;
} }
/* load more */ /* load more */
.load-news { .load-news {
font-family: Genshin, serif;
margin-top: 10px;
display: flex; display: flex;
justify-content: center;
align-items: center; align-items: center;
justify-content: center;
padding: 10px; padding: 10px;
border-radius: 5px; border-radius: 5px;
margin-top: 10px;
font-family: Genshin, serif;
transition: all 0.3s linear; transition: all 0.3s linear;
} }

View File

@@ -54,11 +54,11 @@ onMounted(async () => {
} }
.post-title { .post-title {
font-size: 20px; margin: 20px 0;
color: #546d8b; color: #546d8b;
font-family: Genshin-Light, serif; font-family: Genshin-Light, serif;
font-size: 20px;
font-weight: 600; font-weight: 600;
margin: 20px 0;
} }
.jv-container { .jv-container {